aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Huang <cjhuang@codeaurora.org>2019-12-20 16:31:06 +0800
committerKalle Valo <kvalo@codeaurora.org>2019-12-20 16:10:44 +0200
commit8753c0269822a4e8a89ef28ba733a97bb2387f80 (patch)
tree9020c4e4e5b9e0cb2308239f600d7645da115e84
parent99871e369288efb0aa6c55364ea2ad132374b021 (diff)
ath11k: fix ZERO address in probe requestath11k-qca6390-bringup-201912201415
Host needs to pass at least on bssid with all 0xff to firmware in WMI_START_SCAN_CMDID, otherwise the bssid and receiver address in probe requeste are all ZEROs. This also fixed some hidden AP connection issue because some AP doesn't respond to probe request which receiver address are all ZEROs. Signed-off-by: Carl Huang <cjhuang@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r--drivers/net/wireless/ath/ath11k/wmi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath11k/wmi.c b/drivers/net/wireless/ath/ath11k/wmi.c
index 4375e592d0b8..1a78002a2502 100644
--- a/drivers/net/wireless/ath/ath11k/wmi.c
+++ b/drivers/net/wireless/ath/ath11k/wmi.c
@@ -1842,6 +1842,9 @@ void ath11k_wmi_start_scan_init(struct ath11k *ar,
WMI_SCAN_EVENT_DEQUEUED;
arg->scan_flags |= WMI_SCAN_CHAN_STAT_EVENT;
arg->num_bssid = 1;
+ /* fill bssid_list[0] with 0xff */
+ ether_addr_copy(arg->bssid_list[0].addr, "\xFF\xFF\xFF\xFF\xFF\xFF");
+
}
static inline void