Skip to contentSkip to conversation

ath10k: remove the max_sched_scan_reqs value

PATCH Superseded Wen Gong 1 participant 1 message Nov 12, 2019 Qualcomm Atheros ATH10K wireless driver

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Wen Gong

author
#0 lore raw

PATCH 1/1 ath10k: remove the max_sched_scan_reqs value

ath10k do not support NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR, if set max_sched_scan_reqs to a non zero value, then nl80211_add_commands_unsplit will set a SCHED_SCAN attribute, some application tool will use this attribute to check mac random support, when it check SCHED_SCAN has set and not set NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR, it will report mac random not support.

Remove the max_sched_scan_reqs value will pass the application tool's check and pass test case of random mac address.

testd with QCA6174 SDIO with firmware
WLAN.RMH.4.4.1-00017-QCARMSWP-1.

Fixes ce834e280f2f875 ("ath10k: support NET_DETECT WoWLAN feature")
---
 drivers/net/wireless/ath/ath10k/mac.c | 1 -
 1 file changed, 1 deletion(-)
drivers/net/wireless/ath/ath10k/mac.c +0 -1
index e8bdb2ba9b18..9aa499b0527e 100644
@@ -8902,7 +8902,6 @@ int ath10k_mac_register(struct ath10k *ar)
 	ar->hw->wiphy->max_scan_ie_len = WLAN_SCAN_PARAMS_MAX_IE_LEN;
 
 	if (test_bit(WMI_SERVICE_NLO, ar->wmi.svc_map)) {
-		ar->hw->wiphy->max_sched_scan_reqs = 1;
 		ar->hw->wiphy->max_sched_scan_ssids = WMI_PNO_MAX_SUPP_NETWORKS;
 		ar->hw->wiphy->max_match_sets = WMI_PNO_MAX_SUPP_NETWORKS;
 		ar->hw->wiphy->max_sched_scan_ie_len = WMI_PNO_MAX_IE_LENGTH;
Signature · 7 lines
2.23.0


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k