浏览代码

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