]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: support MAC address randomization in scan
authorCarl Huang <quic_cjhuang@quicinc.com>
Thu, 9 Dec 2021 08:17:49 +0000 (10:17 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 13 Dec 2021 09:47:04 +0000 (11:47 +0200)
commitda1755a3732b45a5f2afaf6e8f48202dc0acaac5
tree5e257ac6a86856e200df76fc0aa63478fbb1b172
parente2ffb356af31d9d2f1524bdbd3fa815b8010918b
ath11k: support MAC address randomization in scan

The driver reports NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR capability
to upper layer based on the service bit firmware reported. Driver
sets the spoofed flag in scan_ctrl_flag to firmware if upper layer
has enabled this feature in scan request.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1

Signed-off-by: Carl Huang <quic_cjhuang@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/1638948007-9609-1-git-send-email-quic_cjhuang@quicinc.com
drivers/net/wireless/ath/ath11k/mac.c
drivers/net/wireless/ath/ath11k/wmi.c
drivers/net/wireless/ath/ath11k/wmi.h