[RFC v2 2/2] ath10k: reporting estimated tx airtime for fairness

2018-09-28 Thread Rajkumar Manoharan
Transmit airtime will be estimated from last tx rate used. Firmware report tx rate by peer stats. Airtime is computed on tx path and the same will be reported to mac80211 upon tx completion. Signed-off-by: Kan Yan Signed-off-by: Rajkumar Manoharan --- drivers/net/wireless/ath/ath10k/core.h |

Re: [RFC 2/2] ath10k: reporting estimated tx airtime for fairness

2018-09-28 Thread Ben Greear
On 09/28/2018 03:47 PM, Rajkumar Manoharan wrote: On 2018-09-28 12:57, Ben Greear wrote: On 09/28/2018 12:47 PM, Rajkumar Manoharan wrote: On 2018-09-28 08:25, Toke Høiland-Jørgensen wrote: So this just uses the calculated airtime based on rate and size? Wasn't there supposed to be an

Re: [RFC 2/2] ath10k: reporting estimated tx airtime for fairness

2018-09-28 Thread Rajkumar Manoharan
On 2018-09-28 12:57, Ben Greear wrote: On 09/28/2018 12:47 PM, Rajkumar Manoharan wrote: On 2018-09-28 08:25, Toke Høiland-Jørgensen wrote: So this just uses the calculated airtime based on rate and size? Wasn't there supposed to be an airtime usage value reported by the firmware? :)

Re: [RFC 1/2] ath10k: migrate to mac80211 txq scheduling

2018-09-28 Thread Rajkumar Manoharan
On 2018-09-26 17:41, Rajkumar Manoharan wrote: @@ -4293,32 +4281,7 @@ static void ath10k_mac_op_tx(struct ieee80211_hw *hw, static void ath10k_mac_op_wake_tx_queue(struct ieee80211_hw *hw, struct ieee80211_txq *txq) { - struct ath10k *ar =

Re: [RFC 2/2] ath10k: reporting estimated tx airtime for fairness

2018-09-28 Thread Rajkumar Manoharan
On 2018-09-28 08:25, Toke Høiland-Jørgensen wrote: So this just uses the calculated airtime based on rate and size? Wasn't there supposed to be an airtime usage value reported by the firmware? :) Firmware interface changes are in progress. Airtime for sta/tid will be reported via htt

Update board-2.bin files in linux-firmware

2018-09-28 Thread Hauke Mehrtens
Hi, the ath10k-firmware repository already contains updated board-2.bin files with support for more devices. Please also update the board-2.bin files shipped in the linux-firmware repository as they are normally taken by distributions. Hauke signature.asc Description: OpenPGP digital

Re: [RFC v4 2/2] ath10k: report tx rate using ieee80211_tx_rate_update()

2018-09-28 Thread Peter Oh
On 09/28/2018 12:10 PM, Peter Oh wrote: > > On 09/24/2018 12:10 AM, Anilkumar Kolli wrote: >> diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c >> b/drivers/net/wireless/ath/ath10k/htt_rx.c >> index f2405258a6d3..355c39a0486c 100644 >> --- a/drivers/net/wireless/ath/ath10k/htt_rx.c >> +++

Re: [RFC v4 2/2] ath10k: report tx rate using ieee80211_tx_rate_update()

2018-09-28 Thread Peter Oh
On 09/24/2018 12:10 AM, Anilkumar Kolli wrote: > diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c > b/drivers/net/wireless/ath/ath10k/htt_rx.c > index f2405258a6d3..355c39a0486c 100644 > --- a/drivers/net/wireless/ath/ath10k/htt_rx.c > +++ b/drivers/net/wireless/ath/ath10k/htt_rx.c > @@

Re: [RFC 2/2] ath10k: reporting estimated tx airtime for fairness

2018-09-28 Thread Toke Høiland-Jørgensen
Rajkumar Manoharan writes: > Transmit airtime will be estimated from last tx rate used. > Firmware report tx rate by peer stats. Airtime is computed > on tx path and the same will be reported to mac80211 upon > tx completion. > > Signed-off-by: Kan Yan > Signed-off-by: Rajkumar Manoharan > ---

WLE900VX / QCA9880 poor TCP performances

2018-09-28 Thread Gilbert Moisio
Hi, using linux-firmware 1.173.1 as well as 1.175 with Ubuntu 18.04 kernel 4.15.0-34-generic, I got poor TCP performances. For a connection with a Data Rates going from 975 Mbps to 1,170 Mbps I got the following results with Iperf3 3.1.3: UDP during 60 secondes: Max --> 480 Mbps Min --> 318 Mbps