소스 검색

qcacmn: Add enum to map AFC response format.

Add enum to parse and store AFC response format type. This enum is
used to map the response format negotiated with FW during WMI init.

Change-Id: I5c0b61aeddfce1d1b64f9225f64546f80d0e9e3e
CRs-Fixed: 3420549
Rakesh Boyina 2 년 전
부모
커밋
2567b43224
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      umac/cmn_services/regulatory/inc/wlan_reg_afc.h

+ 11 - 0
umac/cmn_services/regulatory/inc/wlan_reg_afc.h

@@ -102,6 +102,17 @@ enum reg_afc_dev_deploy_type {
 	AFC_DEPLOYMENT_OUTDOOR = 2,
 };
 
+/**
+ * enum reg_afc_resp_format_type - Response type supported by AP
+ *
+ * @AFC_RESP_TYPE_JSON_RESP: JSON format
+ * @AFC_RESP_TYPE_BIN_RESP: Binary format
+ */
+enum reg_afc_resp_format_type {
+	AFC_RESP_TYPE_JSON_RESP = 0,
+	AFC_RESP_TYPE_BIN_RESP = 1,
+};
+
 /**
  * enum afc_object_type - AFC Request object types
  * @AFC_OBJ_LOCATION: Location object