瀏覽代碼

qcacld-3.0: Fix rate population on channel change of SAP

On channel change of SAP to 5G, SAP is populating 2.4G basic
rates in 5G beacon.

Set number of supported and extended rates to zero for populating
rates based on network type. CSR layer will pick default rates if
hostapd rates are passed as zero

Change-Id: Ia393f7b6067f31dc8f792cda2bd74c441c2112e6
CRs-Fixed: 1105867
yeshwanth sriram guntuka 8 年之前
父節點
當前提交
92fefea5ed
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      core/sap/src/sap_module.c

+ 2 - 0
core/sap/src/sap_module.c

@@ -2740,6 +2740,8 @@ wlansap_channel_change_request(void *pSapCtx, uint8_t target_channel)
 						ch_params->center_freq_seg0;
 	sapContext->csr_roamProfile.ch_params.center_freq_seg1 =
 						ch_params->center_freq_seg1;
+	sapContext->csr_roamProfile.supported_rates.numRates = 0;
+	sapContext->csr_roamProfile.extended_rates.numRates = 0;
 
 	qdf_ret_status = sme_roam_channel_change_req(hHal, sapContext->bssid,
 				ch_params, &sapContext->csr_roamProfile);