Bläddra i källkod

qcacmn: Remove unused structure while sending probe resp template

While sending probe response template down to firmware, driver
populates some items in data-structure which is not getting used.

Remove those unused items and send only what is needed.

CRs-Fixed: 2130437
Change-Id: I1878f523f0f88c354854dfdb75e60e66c4ecb0e8
Krunal Soni 7 år sedan
förälder
incheckning
36f17d499c
3 ändrade filer med 6 tillägg och 12 borttagningar
  1. 1 2
      wmi_unified_api.h
  2. 4 8
      wmi_unified_param.h
  3. 1 2
      wmi_unified_priv.h

+ 1 - 2
wmi_unified_api.h

@@ -592,8 +592,7 @@ QDF_STATUS wmi_unified_process_update_edca_param(void *wmi_hdl,
 
 QDF_STATUS wmi_unified_probe_rsp_tmpl_send_cmd(void *wmi_hdl,
 		   uint8_t vdev_id,
-		   struct wmi_probe_resp_params *probe_rsp_info,
-		   uint8_t *frm);
+		   struct wmi_probe_resp_params *probe_rsp_info);
 
 QDF_STATUS wmi_unified_setup_install_key_cmd(void *wmi_hdl,
 			struct set_key_params *key_params);

+ 4 - 8
wmi_unified_param.h

@@ -1799,16 +1799,12 @@ struct wmi_gtx_config {
 
 /**
  * struct wmi_probe_resp_params - send probe response parameters
- * @bssId: BSSID
- * @pProbeRespTemplate: probe response template
- * @probeRespTemplateLen: probe response template length
- * @ucProxyProbeReqValidIEBmap: valid IE bitmap
+ * @prb_rsp_template_frm: pointer to template probe response template
+ * @prb_rsp_template_len: length of probe response template
  */
 struct wmi_probe_resp_params {
-	uint8_t  bssId[IEEE80211_ADDR_LEN];
-	uint8_t *pProbeRespTemplate;
-	uint32_t probeRespTemplateLen;
-	uint32_t ucProxyProbeReqValidIEBmap[8];
+	uint8_t *prb_rsp_template_frm;
+	uint32_t prb_rsp_template_len;
 };
 
 /* struct set_key_params: structure containing

+ 1 - 2
wmi_unified_priv.h

@@ -385,8 +385,7 @@ QDF_STATUS (*send_p2p_go_set_beacon_ie_cmd)(wmi_unified_t wmi_handle,
 
 QDF_STATUS (*send_probe_rsp_tmpl_send_cmd)(wmi_unified_t wmi_handle,
 			     uint8_t vdev_id,
-			     struct wmi_probe_resp_params *probe_rsp_info,
-			     uint8_t *frm);
+			     struct wmi_probe_resp_params *probe_rsp_info);
 
 QDF_STATUS (*send_setup_install_key_cmd)(wmi_unified_t wmi_handle,
 				struct set_key_params *key_params);