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

2018-07-27 Thread Toke Høiland-Jørgensen
Wen Gong writes: > On 2018-07-26 19: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

Re: [RFC] ath10k: Support configuring firmware tx-retry counter.

2018-07-27 Thread Ben Greear
On 07/16/2018 05:48 PM, gree...@candelatech.com wrote: From: Ben Greear Firmware already supports this, so just enable the path to configure the vdev parameter. One potential issue: The firmware (10.1 at least) defaults to 2, and the mac80211 stack defaults to 4. So applying this patch

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

2018-07-27 Thread Michał Kazior
On 27 July 2018 at 11:39, Wen Gong wrote: > On 2018-07-26 21:02, Michał Kazior wrote: >> >> 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

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

2018-07-27 Thread Wen Gong
On 2018-07-26 21:02, Michał Kazior wrote: 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

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

2018-07-27 Thread Kalle Valo
Wen Gong writes: > Thanks, > I will add description of tx_sk_pacing_shift as below and sent next > patch. > * > * @tx_sk_pacing_shift: The TCP stack allow more than a single ms of data > * to be queued in the stack. The value is a bit-shift of 1 second, > e.g. 8 > * is ~4ms of queued

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

2018-07-27 Thread Wen Gong
On 2018-07-26 19: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 QCA6174/QCA9377 PCI 11AC

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

2018-07-27 Thread Wen Gong
Thanks, I will add description of tx_sk_pacing_shift as below and sent next patch. * * @tx_sk_pacing_shift: The TCP stack allow more than a single ms of data * to be queued in the stack. The value is a bit-shift of 1 second, e.g. 8 * is ~4ms of queued data. It only affects local TCP