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
Felix recently added code to calculate airtime of packets to the mt76
driver. Import this into mac80211 so we can use it for airtime queue limit
calculations.
The airtime.c file is copied verbatim from the mt76 driver, and adjusted to
be usable in mac80211. This involves:
- Switching to mac80211
Wen Gong writes:
> On 2019-11-01 15:42, Wen Gong wrote:
>> On 2019-10-31 17:08, Kalle Valo wrote:
>> 、> I just realised that this is RX path so we should use
>> ATH10K_SKB_RXCB()
>>> instead. I made the change below to this commit in pending branch:
>>>
>> I will test with the new patch together
On 2019-11-01 15:42, Wen Gong wrote:
On 2019-10-31 17:08, Kalle Valo wrote:
、> I just realised that this is RX path so we should use
ATH10K_SKB_RXCB()
instead. I made the change below to this commit in pending branch:
I will test with the new patch together with other performance patches.
Hi
Eduardo Abinader writes:
> On Mon, 11 Nov 2019 at 09:50, Kalle Valo wrote:
>
>> Eduardo Abinader writes:
>>
>> > Signed-off-by: Eduardo Abinader
>>
>> No empty commit logs, please.
>>
>> > --- a/drivers/net/wireless/ath/ath10k/mac.c
>> > +++ b/drivers/net/wireless/ath/ath10k/mac.c
>> > @@
Eduardo Abinader writes:
> Signed-off-by: Eduardo Abinader
No empty commit logs, please.
> --- a/drivers/net/wireless/ath/ath10k/mac.c
> +++ b/drivers/net/wireless/ath/ath10k/mac.c
> @@ -6786,13 +6786,13 @@ static int ath10k_sta_state(struct ieee80211_hw *hw,
> /*
>
Signed-off-by: Eduardo Abinader
---
drivers/net/wireless/ath/ath10k/mac.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/mac.c
b/drivers/net/wireless/ath/ath10k/mac.c
index 5e3450cfb07b..038d5c27bed7 100644
---