Re: [PATCH v3 1/2] mac80211: invoke sw_scan if hw_scan returns EPERM

2018-09-21 Thread Siva Rebbagondla
On Tue, Sep 11, 2018 at 6:50 PM Siva Rebbagondla wrote: > > On Tue, Sep 11, 2018 at 5:55 PM Johannes Berg > wrote: > > > > [re-adding the previous thread] > > > > > As discussed earlier, please find attached tar ball for driver logs, > > > traces and debug patches. > > > I have added a README

Re: [RFC v2] mac80211: budget outstanding airtime for transmission

2018-09-21 Thread Kan Yan
Hi Rajkumar, It is great to see your patches and thank you for helping bring this to upstream. > Why signed? This should never become negative unless something is wrong > with the accounting somewhere? It is signed because the "budget" is allowed to go negative. In the original version, as

Re: [RFC v2] mac80211: budget outstanding airtime for transmission

2018-09-21 Thread Rajkumar Manoharan
On 2018-09-21 04:13, Felix Fietkau wrote: On 2018-09-20 21:05, Rajkumar Manoharan wrote: Per frame airtime estimation could be used to track outstanding airtime of each txq and can be used to throttle ieee80211_tx_dequeue(). This mechanism on its own will get us the queue limiting and latency

Hallo Freund

2018-09-21 Thread Wang Jianlin
Ich beabsichtige, Ihnen einen Teil meines Vermögens als freiwillige finanzielle Spende an Sie zu geben. Wang Jianlin Wanda Gruppe

Re: [PATCH] mt76x2: fix tx power configuration for VHT mcs 9

2018-09-21 Thread Felix Fietkau
On 2018-09-21 15:57, Lorenzo Bianconi wrote: > Fix tx power configuration for VHT 1SS/STBC mcs 9 since > in MT_TX_PWR_CFG_{8,9} mcs 8,9 bits are GENMASK(21,16) and > GENMASK(29,24) while GENMASK(15,6) are marked as reserved > > Fixes: 7bc04215a66b ("mt76: add driver code for MT76x2e") >

Re: [PATCH 02/20] mt76: add stbc entries to mt76_rate_power

2018-09-21 Thread Felix Fietkau
On 2018-09-20 11:11, Lorenzo Bianconi wrote: > From: Felix Fietkau > > Add stbc tx power eeprom parsing support for mt76x2 driver. > > Signed-off-by: Felix Fietkau > Signed-off-by: Lorenzo Bianconi I folded in the following extra change, and changed the description. VHT8/9 also have STBC

Re: Netgear R7800 - ath10k QCA 9984 firmware crash

2018-09-21 Thread Ben Greear
On 09/19/2018 01:56 PM, Bruno Rosset wrote: Hi, Done, thanks Le mer. 19 sept. 2018 à 22:45, Ben Greear a écrit : On 09/19/2018 01:37 PM, Bruno Rosset wrote: Hi all, Various tests with others firmware from candelatech , stock LEDE 17.01 or dd-wrt give me firmware crash also The

Re: [RFC v2] mac80211: budget outstanding airtime for transmission

2018-09-21 Thread Johannes Berg
> 1. Make sure packets are not freed after dequeue (probably not > feasible). We already require you free via mac80211 after TX, so could tie into that for adjustment? johannes

[PATCH] mt76x2: fix tx power configuration for VHT mcs 9

2018-09-21 Thread Lorenzo Bianconi
Fix tx power configuration for VHT 1SS/STBC mcs 9 since in MT_TX_PWR_CFG_{8,9} mcs 8,9 bits are GENMASK(21,16) and GENMASK(29,24) while GENMASK(15,6) are marked as reserved Fixes: 7bc04215a66b ("mt76: add driver code for MT76x2e") Signed-off-by: Lorenzo Bianconi ---

Re: [RFC 00/12] rtwlan: mac80211 driver for Realtek 802.11ac wireless network chips

2018-09-21 Thread Stanislaw Gruszka
On Fri, Sep 21, 2018 at 02:03:55PM +0800, yhchu...@realtek.com wrote: > From: Yan-Hsuan Chuang > > This is a new mac80211 driver for Realtek 802.11ac wireless network chips. > rtwlan supports 8822BE and 8822CE chips, and will be able to support > multi-vif combinations in run-time. > > For now,

Re: [RFC v2] mac80211: budget outstanding airtime for transmission

2018-09-21 Thread Toke Høiland-Jørgensen
Felix Fietkau writes: > On 2018-09-20 21:05, Rajkumar Manoharan wrote: >> Per frame airtime estimation could be used to track outstanding airtime >> of each txq and can be used to throttle ieee80211_tx_dequeue(). This >> mechanism on its own will get us the queue limiting and latency >>

Re: [PATCH RFC v4 0/4] Move TXQ scheduling into mac80211

2018-09-21 Thread Toke Høiland-Jørgensen
Rajkumar Manoharan writes: > On 2018-09-16 10:42, Toke Høiland-Jørgensen wrote: >> Another update, addressing most of the concerns raised in the last >> round: >> >> - Added schedule_start()/end() functions that adds locking around the >> whole scheduling operation, which means we can get

Re: [RFC v2] mac80211: budget outstanding airtime for transmission

2018-09-21 Thread Felix Fietkau
On 2018-09-20 21:05, Rajkumar Manoharan wrote: > Per frame airtime estimation could be used to track outstanding airtime > of each txq and can be used to throttle ieee80211_tx_dequeue(). This > mechanism on its own will get us the queue limiting and latency > reduction goodness for firmwares with

Re: [RFC] mac80211: budget outstanding airtime for transmission

2018-09-21 Thread Kalle Valo
Rajkumar Manoharan writes: >>> diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h >>> index b1b0fd6a2e21..ddc2c882c91c 100644 >>> --- a/net/mac80211/sta_info.h >>> +++ b/net/mac80211/sta_info.h >>> @@ -135,6 +135,7 @@ struct airtime_info { >>> u64 rx_airtime; >>> u64

Re: Netgear R7800 - ath10k QCA 9984 firmware crash

2018-09-21 Thread Sebastian Gottschall
you may use the backup function at Administration->backup which creates a file for download or from commandline use "nvram backup /tmp/mybackup.bin" for full flash backup on the r7800 do cat /proc/mtd which shows mtd0: 00c8 0002 "qcadata" mtd1: 0050 0002 "APPSBL" mtd2:

[PATCH 01/12] rtwlan: main files

2018-09-21 Thread yhchuang
From: Yan-Hsuan Chuang main files for Realtek 802.11ac wireless network chips Signed-off-by: Yan-Hsuan Chuang --- drivers/net/wireless/realtek/rtwlan/mac80211.c | 447 + drivers/net/wireless/realtek/rtwlan/main.c | 1164 +++

[PATCH 06/12] rtwlan: fw and efuse files

2018-09-21 Thread yhchuang
From: Yan-Hsuan Chuang fw and efuse files for Realtek 802.11ac wireless network chips Signed-off-by: Yan-Hsuan Chuang --- drivers/net/wireless/realtek/rtwlan/efuse.c | 153 +++ drivers/net/wireless/realtek/rtwlan/efuse.h | 53 +++ drivers/net/wireless/realtek/rtwlan/fw.c| 640

[PATCH 11/12] rtwlan: 8822C init table

2018-09-21 Thread yhchuang
From: Yan-Hsuan Chuang 8822C init table for chip files Realtek 802.11ac wireless network chips Signed-off-by: Yan-Hsuan Chuang --- .../net/wireless/realtek/rtwlan/rtw8822c_table.c | 4150 1 file changed, 4150 insertions(+) create mode 100644

[PATCH 09/12] rtwlan: chip files

2018-09-21 Thread yhchuang
From: Yan-Hsuan Chuang chip files Realtek 802.11ac wireless network chips 8822B & 8822C series files Signed-off-by: Yan-Hsuan Chuang --- drivers/net/wireless/realtek/rtwlan/rtw8822b.c | 1572 drivers/net/wireless/realtek/rtwlan/rtw8822b.h | 270

[PATCH 07/12] rtwlan: phy files

2018-09-21 Thread yhchuang
From: Yan-Hsuan Chuang phy files for Realtek 802.11ac wireless network chips Signed-off-by: Yan-Hsuan Chuang --- drivers/net/wireless/realtek/rtwlan/phy.c | 1671 + drivers/net/wireless/realtek/rtwlan/phy.h | 125 +++ 2 files changed, 1796 insertions(+) create

[PATCH 02/12] rtwlan: core files

2018-09-21 Thread yhchuang
From: Yan-Hsuan Chuang core files for Realtek 802.11ac wireless network chips Signed-off-by: Yan-Hsuan Chuang --- drivers/net/wireless/realtek/rtwlan/ps.c | 193 drivers/net/wireless/realtek/rtwlan/ps.h | 21 ++ drivers/net/wireless/realtek/rtwlan/regd.c | 462

[RFC 00/12] rtwlan: mac80211 driver for Realtek 802.11ac wireless network chips

2018-09-21 Thread yhchuang
From: Yan-Hsuan Chuang This is a new mac80211 driver for Realtek 802.11ac wireless network chips. rtwlan supports 8822BE and 8822CE chips, and will be able to support multi-vif combinations in run-time. For now, only PCI bus is supported, but rtwlan was originally designed to optionally support

[PATCH 05/12] rtwlan: mac files

2018-09-21 Thread yhchuang
From: Yan-Hsuan Chuang mac files for Realtek 802.11ac wireless network chips Signed-off-by: Yan-Hsuan Chuang --- drivers/net/wireless/realtek/rtwlan/mac.c | 1063 + drivers/net/wireless/realtek/rtwlan/mac.h | 35 + 2 files changed, 1098 insertions(+) create mode

[PATCH 03/12] rtwlan: hci files

2018-09-21 Thread yhchuang
From: Yan-Hsuan Chuang hci files for Realtek 802.11ac wireless network chips For now there is only PCI bus supported by rtwlan, in the future it will also have USB/SDIO Signed-off-by: Yan-Hsuan Chuang --- drivers/net/wireless/realtek/rtwlan/hci.h | 212 +

[PATCH 12/12] rtwlan: Kconfig & Makefile

2018-09-21 Thread yhchuang
From: Yan-Hsuan Chuang Kconfig & Makefile for Realtek 802.11ac wireless network chips Signed-off-by: Yan-Hsuan Chuang --- drivers/net/wireless/realtek/Kconfig | 1 + drivers/net/wireless/realtek/Makefile| 1 + drivers/net/wireless/realtek/rtwlan/Kconfig | 55

[PATCH 04/12] rtwlan: trx files

2018-09-21 Thread yhchuang
From: Yan-Hsuan Chuang trx files for Realtek 802.11ac wireless network chips Signed-off-by: Yan-Hsuan Chuang --- drivers/net/wireless/realtek/rtwlan/rx.c | 138 drivers/net/wireless/realtek/rtwlan/rx.h | 30 drivers/net/wireless/realtek/rtwlan/tx.c | 271

[PATCH 08/12] rtwlan: debug files

2018-09-21 Thread yhchuang
From: Yan-Hsuan Chuang debug files for Realtek 802.11ac wireless network chips Signed-off-by: Yan-Hsuan Chuang --- drivers/net/wireless/realtek/rtwlan/debug.c | 653 drivers/net/wireless/realtek/rtwlan/debug.h | 45 ++ 2 files changed, 698 insertions(+) create