mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qcacld-3.0: Fix SAP replying to BC probe request in hiddenssid
The SAP configured in hidden ssid mode sends probe response to BC probe requests in hidden ssid mode after force SCC. In wma_set_channel, req.ssidhidden is not set by the host which in turn sets the param->flags last bit to 0, and the firmware receives these flags and sends the probe responses.In the wma_vdev_start api, the host sets the flags based upon the req.ssidhidden received from wma_set_channel only in vdev start case , and not in vdev restart case. Fix is to set the value of req.ssidhidden in wma_set_channel and to set the hidden ssid flag in both vdev start and vdev restart case. Change-Id: I988d8d64b06128a37824c7d31d4407247ba46dce CRs-Fixed: 2142430
This commit is contained in:
parent
3dda815399
commit
1b42e8d4cb
2 changed files with 7 additions and 5 deletions
|
|
@ -2477,15 +2477,15 @@ QDF_STATUS wma_vdev_start(tp_wma_handle wma,
|
|||
temp_ssid_len);
|
||||
}
|
||||
|
||||
params.hidden_ssid = req->hidden_ssid;
|
||||
params.pmf_enabled = req->pmf_enabled;
|
||||
if (req->hidden_ssid)
|
||||
temp_flags |= WMI_UNIFIED_VDEV_START_HIDDEN_SSID;
|
||||
|
||||
if (req->pmf_enabled)
|
||||
temp_flags |= WMI_UNIFIED_VDEV_START_PMF_ENABLED;
|
||||
}
|
||||
|
||||
params.hidden_ssid = req->hidden_ssid;
|
||||
if (req->hidden_ssid)
|
||||
temp_flags |= WMI_UNIFIED_VDEV_START_HIDDEN_SSID;
|
||||
|
||||
params.num_noa_descriptors = 0;
|
||||
params.preferred_rx_streams = req->preferred_rx_streams;
|
||||
params.preferred_tx_streams = req->preferred_tx_streams;
|
||||
|
|
|
|||
|
|
@ -3482,8 +3482,10 @@ void wma_set_channel(tp_wma_handle wma, tpSwitchChannelParams params)
|
|||
* true
|
||||
*/
|
||||
if ((wma_is_vdev_in_ap_mode(wma, req.vdev_id) == true) ||
|
||||
(params->restart_on_chan_switch == true))
|
||||
(params->restart_on_chan_switch == true)) {
|
||||
wma->interfaces[req.vdev_id].is_channel_switch = true;
|
||||
req.hidden_ssid = intr[vdev_id].vdev_restart_params.ssidHidden;
|
||||
}
|
||||
|
||||
if (params->restart_on_chan_switch == true &&
|
||||
wma->interfaces[req.vdev_id].beacon_filter_enabled)
|
||||
|
|
|
|||
Loading…
Reference in a new issue