[PATCH] ath10k: remove the max_sched_scan_reqs value

2019-11-11 Thread Wen Gong
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

[PATCH v7] mac80211: Import airtime calculation code from mt76

2019-11-11 Thread Toke Høiland-Jørgensen
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

Re: [PATCH v6 3/3] ath10k: add workqueue for RX path of sdio

2019-11-11 Thread Kalle Valo
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

Re: [PATCH v6 3/3] ath10k: add workqueue for RX path of sdio

2019-11-11 Thread Wen Gong
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

Re: [PATCH] ath10k:mac: disassoc dbg msg after return check

2019-11-11 Thread Kalle Valo
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 >> > @@

Re: [PATCH] ath10k:mac: disassoc dbg msg after return check

2019-11-11 Thread Kalle Valo
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, > /* >

[PATCH] ath10k:mac: disassoc dbg msg after return check

2019-11-11 Thread Eduardo Abinader
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 ---