[2/2] ath10k: support MAC address randomization in scan

Kalle Valo kvalo at codeaurora.org
Fri Apr 20 03:30:47 PDT 2018

cjhuang at codeaurora.org writes:

> On 2018-04-16 21:42, Kalle Valo wrote:
>> Carl Huang <cjhuang at codeaurora.org> wrote:
>>> The ath10k reports the 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.
>>> Test with QCA6174 hw3.0 and
>>> firmware-6.bin_WLAN.RM.4.4.1-00102-QCARMSWP-1,
>>> but QCA9377 is also affected.
>>> Signed-off-by: Carl Huang <cjhuang at codeaurora.org>
>>> Signed-off-by: Kalle Valo <kvalo at codeaurora.org>
>> This added a new checkpatch warning:
>> drivers/net/wireless/ath/ath10k/wmi-ops.h:123: Alignment should match
>> open parenthesis
>> I fixed it in the pending branch.
> Kvalo, as the flag issue NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR
> will be fixed from Brian side, I don't need to submit V2 for it.
> For this alignment warning and sparse warnings in [1/2], as you fixed
> them in the pending branch, so I needn't do anything, right?

Correct, I'm planning to apply this soon.

Kalle Valo

More information about the ath10k mailing list