[PATCH 2/2] ath10k: support MAC address randomization in scan
Kalle Valo
kvalo at codeaurora.org
Mon Apr 16 04:32:47 PDT 2018
cjhuang at codeaurora.org writes:
> On 2018-04-14 05:13, Arend van Spriel wrote:
>> On 4/13/2018 1:28 PM, Kalle Valo wrote:
>>> cjhuang at codeaurora.org writes:
>>>
>>>>>> + if (test_bit(WMI_SERVICE_SPOOF_MAC_SUPPORT, ar->wmi.svc_map)) {
>>>>>> + ret = ath10k_wmi_scan_prob_req_oui(ar, ar->mac_addr);
>>>>>> + if (ret) {
>>>>>> + ath10k_err(ar, "failed to set prob req oui: %i\n", ret);
>>>>>> + goto err_dfs_detector_exit;
>>>>>> + }
>>>>>> +
>>>>>> + ar->hw->wiphy->features |=
>>>>>> + NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR;
>>>>>
>>>>> Do you support NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR too?
>>>>
>>>> I'll add this flag too.
>>>
>>> Are you going to send v2 or what's the plan?
>>
>> Maybe a stupid question, but does ath10k support scheduled scan?
AFAICS ath10k does not support it (sched_scan_start() op).
> The reason is AVL test case needs this flag to enable random mac
> address scan. Maybe Brian Can explain why this flag is necessary.
If ath10k does not support scheduled scan what's the point? Shouldn't
the test case then be it fixed instead of making hacks in ath10k?
--
Kalle Valo
More information about the ath10k
mailing list