[PATCH 2/2] ath10k: Set sk_pacing_shift to 6 for 11AC WiFi chips

2018-07-26 Thread Wen Gong
Upstream kernel has an interface to help adjust sk_pacing_shift to help improve TCP UL throughput. The sk_pacing_shift is 8 in mac80211, this is based on test with 11N WiFi chips with ath9k. For QCA6174/QCA9377 PCI 11AC chips, the 11AC VHT80 TCP UL throughput testing result shows 6 is the optimal.

[PATCH 1/2] mac80211: Save sk_pacing_shift to ieee80211_hw

2018-07-26 Thread Wen Gong
Add the skb_pacing_shirt adjustment, but this change make it configurable for other driver. If no other driver set it, then mac8011 will use the default value. Signed-off-by: Wen Gong --- include/net/mac80211.h | 1 + net/mac80211/main.c| 2 ++ net/mac80211/tx.c | 2 +- 3 files

[PATCH 1/2] mac80211: Save sk_pacing_shift to ieee80211_hw

2018-07-26 Thread Wen Gong
From: Wen Gong Add the skb_pacing_shirt adjustment, but this change make it configurable for other driver. If no other driver set it, then mac8011 will use the default value. Signed-off-by: Wen Gong --- include/net/mac80211.h | 1 + net/mac80211/main.c| 2 ++ net/mac80211/tx.c | 2 +-

[PATCH 0/2] Change sk_pacing_shift in ieee80211_hw for best tx throughput

2018-07-26 Thread Wen Gong
From: Wen Gong Add a field for ath10k to adjust the sk_pacing_shift, mac80211 set the default value to 8, and ath10k will change it to 6. Then mac80211 will use the changed value 6 as sk_pacing_shift since 6 is the best value for tx throughput by test result. Wen Gong (2): mac80211: Change

[PATCH 2/2] ath10k: Set sk_pacing_shift to 6 for 11AC WiFi chips

2018-07-26 Thread Wen Gong
From: Wen Gong Upstream kernel has an interface to help adjust sk_pacing_shift to help improve TCP UL throughput. The sk_pacing_shift is 8 in mac80211, this is based on test with 11N WiFi chips with ath9k. For QCA6174/QCA9377 PCI 11AC chips, the 11AC VHT80 TCP UL throughput testing result shows

[PATCH 0/2] Change sk_pacing_shift in ieee80211_hw for best tx throughput

2018-07-26 Thread Wen Gong
Add a field for ath10k to adjust the sk_pacing_shift, mac80211 set the default value to 8, and ath10k will change it to 6. Then mac80211 will use the changed value 6 as sk_pacing_shift since 6 is the best value for tx throughput by test result. Wen Gong (2): mac80211: Change sk_pacing_shift

[PATCH v3 2/3] ath10k: Don't try un-supported idle_ps_config command.

2018-07-26 Thread greearb
From: Ben Greear The warning the the logs does not give user a clue as to what command is failing, so it is worth it to check for un-supported command before trying the call. And add return-code to survey error message. Signed-off-by: Ben Greear --- drivers/net/wireless/ath/ath10k/mac.c | 14

[PATCH v3 3/3] ath10k: Support survey dump for ath10k-ct 10.1 firmware.

2018-07-26 Thread greearb
From: Ben Greear Recent ath10k-ct 10.1 firmware supports survey results, and advertises the appropriate service flags. This confuses the ath10k driver because the 10.1 wmi commands are not set up for survey information. So, this patch adds support for handling survey information. Example

[PATCH v3 1/3] ath10k: Add ath10k-ct firmware feature flags and descriptions.

2018-07-26 Thread greearb
From: Ben Greear These feature flags are used by ath10k-ct firmware. Add these so we can use them in future patches and so there are no warnings about feature flags on loading ath10k-ct firmware. Signed-off-by: Ben Greear --- No significant changes since v2 (though I rebased against latest

Re: [PATCH 1/2] mac80211: Save sk_pacing_shift to ieee80211_hw

2018-07-26 Thread kbuild test robot
/0day-ci/linux/commits/Wen-Gong/Change-sk_pacing_shift-in-ieee80211_hw-for-best-tx-throughput/20180726-190055 base: https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master reproduce: make htmldocs All warnings (new ones prefixed by >>): WARNING: convert(1) not

ath10k: 160MHz/80+80 radar detect with Wave2 cards

2018-07-26 Thread Sven Eckelmann
Hi, as we know, some wave2 cards support 160MHz (with some limitations). This also requires support for radar detection with 160MHz/80+80 or otherwise cfg80211 will reject this setting. I would like to propose following change but I am unsure whether it actually works correctly on this

Re: [PATCH 2/2] ath10k: Set sk_pacing_shift to 6 for 11AC WiFi chips

2018-07-26 Thread Toke Høiland-Jørgensen
Wen Gong writes: > Upstream kernel has an interface to help adjust sk_pacing_shift to help > improve TCP UL throughput. > The sk_pacing_shift is 8 in mac80211, this is based on test with 11N > WiFi chips with ath9k. For QCA6174/QCA9377 PCI 11AC chips, the 11AC > VHT80 TCP UL throughput testing

Re: [PATCH] ath10k: Prevent active scans on potential unusable channels

2018-07-26 Thread Kalle Valo
Sven Eckelmann writes: > The QCA4019 hw1.0 firmware 10.4-3.2.1-00050 and 10.4-3.5.3-00053 (and most > likely all other) seem to ignore the WMI_CHAN_FLAG_DFS flag during the > scan. This results in transmission (probe requests) on channels which are > not "available" for transmissions. > > Since

[PATCH RESENT] ath10k: Prevent active scans on potential unusable channels

2018-07-26 Thread Sven Eckelmann
From: Sven Eckelmann The QCA4019 hw1.0 firmware 10.4-3.2.1-00050 and 10.4-3.5.3-00053 (and most likely all other) seem to ignore the WMI_CHAN_FLAG_DFS flag during the scan. This results in transmission (probe requests) on channels which are not "available" for transmissions. Since the firmware

Re: [PATCH] ath10k: Prevent active scans on potential unusable channels

2018-07-26 Thread Sven Eckelmann
On Donnerstag, 26. Juli 2018 16:47:00 CEST Kalle Valo wrote: [...] > > Fixes: e8a50f8ba44b ("ath10k: introduce DFS implementation") > > Signed-off-by: Sven Eckelmann > > You didn't CC linux-wireless so I don't see this in patchwork. Can you > resend, please? In that case, you should maybe think

Re: [PATCH 2/2] ath10k: Set sk_pacing_shift to 6 for 11AC WiFi chips

2018-07-26 Thread Michał Kazior
On 26 July 2018 at 13:45, Toke Høiland-Jørgensen wrote: > Wen Gong writes: > >> Upstream kernel has an interface to help adjust sk_pacing_shift to help >> improve TCP UL throughput. >> The sk_pacing_shift is 8 in mac80211, this is based on test with 11N >> WiFi chips with ath9k. For

Re: ath10k: tpc_stats(_final) odd twicepowers and 160Mhz not supported

2018-07-26 Thread Sven Eckelmann
On Dienstag, 10. Juli 2018 08:52:35 CEST Sven Eckelmann wrote: > On Donnerstag, 28. Juni 2018 12:05:18 CEST Sven Eckelmann wrote: > > Hi, > > > > I have some small question regarding the debugging functionality introduced > > by > > commit bc64d05220f3 ("ath10k: debugfs support to get final TPC

Re: [PATCH] ath10k: Prevent active scans on potential unusable channels

2018-07-26 Thread Kalle Valo
Sven Eckelmann writes: > On Donnerstag, 26. Juli 2018 16:47:00 CEST Kalle Valo wrote: > [...] >> > Fixes: e8a50f8ba44b ("ath10k: introduce DFS implementation") >> > Signed-off-by: Sven Eckelmann >> >> You didn't CC linux-wireless so I don't see this in patchwork. Can you >> resend, please? > >

Re: [PATCH] ath10k: Prevent active scans on potential unusable channels

2018-07-26 Thread Sven Eckelmann
On Donnerstag, 26. Juli 2018 17:22:31 CEST Kalle Valo wrote: > Sven Eckelmann writes: > > > On Donnerstag, 26. Juli 2018 16:47:00 CEST Kalle Valo wrote: > > [...] > >> > Fixes: e8a50f8ba44b ("ath10k: introduce DFS implementation") > >> > Signed-off-by: Sven Eckelmann > >> > >> You didn't CC