Răsfoiți Sursa

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 ani în urmă
părinte
comite
2567b43224
1 a modificat fișierele cu 11 adăugiri și 0 ștergeri
  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