Re: [PATCH v2 2/2] brcmfmac: make firmware frameburst mode a module parameter

2018-11-02 Thread Wright Feng
Arend van Spriel 於 11/2/2018 8:31 PM 寫道: > On 11/2/2018 9:24 AM, Wright Feng wrote: >> This patch is for adding a new module parameter "frameburst". >> With setting "frameburst=1" in module parameters, firmware frameburst >> mode >> will be enabled. The feature can enable per-packet

Re: [PATCH 1/3] brcmfmac: calling skb_orphan before sending skb to SDIO bus

2018-11-02 Thread Wright Feng
Franky Lin 於 11/3/2018 3:51 AM 寫道: > On Thu, Nov 1, 2018 at 8:08 PM Wright Feng wrote: >> >> >> >> On 2018/10/30 上午 02:50, Franky Lin wrote: >>> On Mon, Oct 29, 2018 at 3:27 AM Wright Feng wrote: Linux 3.6 introduces TSQ which has a per socket threshold for TCP Tx packets to

[PATCH 3/5] ath9k: dynack: check da->enabled first in sampling routines

2018-11-02 Thread Lorenzo Bianconi
Check da->enabled flag first in ath_dynack_sample_tx_ts and ath_dynack_sample_ack_ts routines in order to avoid useless processing Tested-by: Koen Vandeputte Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/ath/ath9k/dynack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 0/5] fix ath9k dynack in ad-hoc mode

2018-11-02 Thread Lorenzo Bianconi
Add properly support for dynack in ibss mode. Moreover allow acktimeout ewma estimation to converge faster to the correct value during 'late ack' phase. This series has been tested on devices mounted on offshore high-voltage stations connected through ~24Km link Lorenzo Bianconi (5): ath9k:

[PATCH 4/5] ath9k: dynack: make ewma estimation faster

2018-11-02 Thread Lorenzo Bianconi
In order to make propagation time estimation faster, use current sample as ewma output value during 'late ack' tracking Tested-by: Koen Vandeputte Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/ath/ath9k/ath9k.h | 2 +- drivers/net/wireless/ath/ath9k/dynack.c | 28

[PATCH 5/5] ath9k: dynack: remove 'experimental' tag

2018-11-02 Thread Lorenzo Bianconi
Remove experimental tag from dynack Kconfig entry since it has been tested on outdoor 25Km links Tested-by: Koen Vandeputte Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/ath/ath9k/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/5] ath9k: dynack: move debug log after buffer increments

2018-11-02 Thread Lorenzo Bianconi
Move debug log in ath_dynack_sample_tx_ts and ath_dynack_sample_ack_ts after timestamp buffer head/tail increments in order to make debugging more user friendly Tested-by: Koen Vandeputte Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/ath/ath9k/dynack.c | 26 -

[PATCH 1/5] ath9k: dynack: use authentication messages for 'late' ack

2018-11-02 Thread Lorenzo Bianconi
In order to properly support dynack in ad-hoc mode running wpa_supplicant, take into account authentication frames for 'late ack' detection. This patch has been tested on devices mounted on offshore high-voltage stations connected through ~24Km link Reported-by: Koen Vandeputte Tested-by: Koen

Re: [PATCH 1/3] brcmfmac: calling skb_orphan before sending skb to SDIO bus

2018-11-02 Thread Franky Lin
On Thu, Nov 1, 2018 at 8:08 PM Wright Feng wrote: > > > > On 2018/10/30 上午 02:50, Franky Lin wrote: > > On Mon, Oct 29, 2018 at 3:27 AM Wright Feng wrote: > >> > >> Linux 3.6 introduces TSQ which has a per socket threshold for TCP Tx > >> packets to reduce latency. In fcmode 1 and fcmode 2, host

Re: [PATCH 2/4] mt76: remove wait argument from mt76x02_mcu_calibrate

2018-11-02 Thread Felix Fietkau
On 2018-11-02 13:56, Stanislaw Gruszka wrote: > On Thu, Nov 01, 2018 at 06:29:01PM +0100, Felix Fietkau wrote: >> On 2018-10-26 14:00, Stanislaw Gruszka wrote: >> > We always wait for CMD_CALIBRATION_OP mcu message, but wait argument is >> > used >> > for do additioanl MT_MCU_COM_REG0 register

Re: [PATCH 2/3] mt76x0: phy: introduce tssi calibration support

2018-11-02 Thread Lorenzo Bianconi
> (cc Mediatek.com engineers) > > On Mon, Oct 29, 2018 at 10:31:24PM +0100, Lorenzo Bianconi wrote: > > Run mt76x0 tssi calibration process if enabled in eeprom data. > > Perform calibration procedure every 4s > > I just checked the Mediatek vendor drivers for both MT7610E (at > github

Re: [PATCH] mt76: fix building without CONFIG_LEDS_CLASS

2018-11-02 Thread Lorenzo Bianconi
> Lorenzo Bianconi writes: > > > From: Arnd Bergmann > > > > When CONFIG_LEDS_CLASS is disabled, or it is a loadable module while > > mt76 is built-in, we run into a link error: > > > > drivers/net/wireless/mediatek/mt76/mac80211.o: In function > > `mt76_register_device': > >

Re: [PATCH 2/3] mt76x0: phy: introduce tssi calibration support

2018-11-02 Thread Stanislaw Gruszka
(cc Mediatek.com engineers) On Mon, Oct 29, 2018 at 10:31:24PM +0100, Lorenzo Bianconi wrote: > Run mt76x0 tssi calibration process if enabled in eeprom data. > Perform calibration procedure every 4s I just checked the Mediatek vendor drivers for both MT7610E (at github

Re: [PATCH 2/4] mt76: remove wait argument from mt76x02_mcu_calibrate

2018-11-02 Thread Stanislaw Gruszka
On Thu, Nov 01, 2018 at 06:29:01PM +0100, Felix Fietkau wrote: > On 2018-10-26 14:00, Stanislaw Gruszka wrote: > > We always wait for CMD_CALIBRATION_OP mcu message, but wait argument is used > > for do additioanl MT_MCU_COM_REG0 register operations, which are needed > > for MMIO devices and we

Re: [PATCH v2 0/2] brcmfmac: throughput enhancement for flow control mode

2018-11-02 Thread Arend van Spriel
On 11/2/2018 9:24 AM, Wright Feng wrote: The patches are for throughput enhancement with flow control mode enabled and introduce a new module parameter to enhance TX throughput as well. Changes since v1: Remove the patch "calling skb_orphan before sending skb to SDIO bus" Revise the patch

Re: [PATCH v2 2/2] brcmfmac: make firmware frameburst mode a module parameter

2018-11-02 Thread Arend van Spriel
On 11/2/2018 9:24 AM, Wright Feng wrote: This patch is for adding a new module parameter "frameburst". With setting "frameburst=1" in module parameters, firmware frameburst mode will be enabled. The feature can enable per-packet framebursting in firmware side and get higher TX throughput in High

Re: [PATCH] mt76: fix building without CONFIG_LEDS_CLASS

2018-11-02 Thread Kalle Valo
Lorenzo Bianconi writes: > From: Arnd Bergmann > > When CONFIG_LEDS_CLASS is disabled, or it is a loadable module while > mt76 is built-in, we run into a link error: > > drivers/net/wireless/mediatek/mt76/mac80211.o: In function > `mt76_register_device': > mac80211.c:(.text+0xb78): relocation

[PATCH 12/15] iwlwifi: dbg: use helper to check if debug type is set

2018-11-02 Thread Luca Coelho
From: Sara Sharon This enables to incorporate more logic in one place. Signed-off-by: Sara Sharon Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/fw/dbg.c | 36 ++--- drivers/net/wireless/intel/iwlwifi/fw/dbg.h | 7 +++- 2 files changed, 24 insertions(+),

[PATCH 13/15] iwlwifi: mvm: remove unused conversion table

2018-11-02 Thread Luca Coelho
From: Emmanuel Grumbach chanwidths isn't used now in debugfs-vif.c. Remove it. Signed-off-by: Emmanuel Grumbach Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c | 9 - 1 file changed, 9 deletions(-) diff --git

[PATCH 07/15] iwlwifi: mvm: toggle tx antenna if tx fails during connection establishment

2018-11-02 Thread Luca Coelho
From: Avraham Stern If tx fails during connection establishment, try another antenna for the next tx. This will increase the chance to establish connection if one of the antennas is blocked. Note that the antenna is toggled even when failing to tx data frames since connection establishment may

[PATCH 08/15] iwlwifi: pcie: don't reset TXQ write pointer

2018-11-02 Thread Luca Coelho
From: Sara Sharon Currently code sets the write pointer when getting the TX queue allocate response. This causes a redundant interrupt with any actual change in the pointer. Remove this write altogether. Fixes: 310181ec34e2 ("iwlwifi: move to TVQM mode") Signed-off-by: Sara Sharon

[PATCH 05/15] iwlwifi: mvm: switch management tx antenna only on tx failure

2018-11-02 Thread Luca Coelho
From: Avraham Stern Switch the antenna used for management tx only if previous tx failed. If previous tx succeeded, there is no reason to switch antennas. Signed-off-by: Avraham Stern Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 7 ++-

[PATCH 01/15] iwlwifi: mvm: synchronize TID queue removal

2018-11-02 Thread Luca Coelho
From: Johannes Berg When we mark a TID as no longer having a queue, there's no guarantee the TX path isn't using this txq_id right now, having accessed it just before we reset the value. To fix this, add synchronize_net() when we change the TIDs from having a queue to not having one, so that we

[PATCH 06/15] iwlwifi: fw: do not set sgi bits for HE connection

2018-11-02 Thread Luca Coelho
From: Naftali Goldstein If the association supports HE, HT/VHT rates will never be used for Tx and therefore there's no need to set the sgi-per-channel-width-support bits, so don't set them in this case. Fixes: 110b32f065f3 ("iwlwifi: mvm: rs: add basic implementation of the new RS API

[PATCH 00/15] iwlwifi: updates intended for v4.21 2018-11-02

2018-11-02 Thread Luca Coelho
From: Luca Coelho Hi, Here's the first set of patches intended for v4.21. It's the usual development, with some small new feauters, cleanups and bugfixes. The changes are: * PCI IDs for some new 9000-series cards; * Improve antenna usage on connection problems; * Some improvements in the

[PATCH 09/15] iwlwifi: dbg: avoid passing trigger around

2018-11-02 Thread Luca Coelho
From: Sara Sharon The trigger structure is being passed around, when all we care about is whether to dump only monitor or not. Pass a bool instead. Signed-off-by: Sara Sharon Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/fw/dbg.c | 20 +--

[PATCH 11/15] iwlwifi: mvm: Send non offchannel traffic via AP sta

2018-11-02 Thread Luca Coelho
From: Andrei Otcheretianski TDLS discovery response frame is a unicast direct frame to the peer. Since we don't have a STA for this peer, this frame goes through iwl_tx_skb_non_sta(). As the result aux_sta and some completely arbitrary queue would be selected for this frame, resulting in a queue

[PATCH 15/15] iwlwifi: fw: use helper to determine whether to dump paging

2018-11-02 Thread Luca Coelho
From: Sara Sharon Logic is there twice, and we'll need a third place soon for ini dumping. In addition move the dumping to a function, also to enable reuse. Signed-off-by: Sara Sharon Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/fw/dbg.c | 57 +++--

[PATCH 14/15] iwlwifi: add new cards for 9560, 9462, 9461 and killer series

2018-11-02 Thread Luca Coelho
From: Ihab Zhaika add few PCI ID'S for 9560, 9462, 9461 and killer series. Cc: sta...@vger.kernel.org Signed-off-by: Ihab Zhaika Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 50 +++ 1 file changed, 50 insertions(+) diff --git

[PATCH 10/15] iwlwifi: mvm: add description to a few generic assert numbers

2018-11-02 Thread Luca Coelho
From: Naftali Goldstein FW asserts 0x70, 0x71, and 0x73 all just mean that the real error happened in another MAC, and to look there for the problem. Add their descriptions to the assert number lookup table so users get a nicer error message in the logs. Also, since the 4 most-significant bits

[PATCH 04/15] iwlwifi: mvm: enable low latency for soft ap

2018-11-02 Thread Luca Coelho
From: Tova Mussai Enable low latency for softAP in all modes (standalone, SCM and DCM). This is in order to minimize the time the softAP leaves the channel for other operations Signed-off-by: Tova Mussai Signed-off-by: Luca Coelho --- .../wireless/intel/iwlwifi/mvm/debugfs-vif.c | 5 ++-

[PATCH 02/15] iwlwifi: mvm: remove queue_info_lock

2018-11-02 Thread Luca Coelho
From: Johannes Berg All the queue management code runs under mvm->mutex, so there are only very few cases of accessing the data structures without it: * TX path, which doesn't take any locks anyway * iwl_mvm_wake_sw_queue() and iwl_mvm_stop_sw_queue() where we just (atomically) read a

[PATCH 03/15] iwlwifi: trans: Clear persistence bit when starting the FW

2018-11-02 Thread Luca Coelho
From: Shahar S Matityahu In D3 suspend flow in 9260 gen2 HW, the NIC receives two PERST signals. The first PERST is expected and indicates the device on coming resume flow. The second PERST causes FW restart FW restart. In order to avoid this issue, the FW set the persistence bit on. Once this

[PATCH] mt76: fix building without CONFIG_LEDS_CLASS

2018-11-02 Thread Lorenzo Bianconi
From: Arnd Bergmann When CONFIG_LEDS_CLASS is disabled, or it is a loadable module while mt76 is built-in, we run into a link error: drivers/net/wireless/mediatek/mt76/mac80211.o: In function `mt76_register_device': mac80211.c:(.text+0xb78): relocation truncated to fit: R_AARCH64_CALL26

Re: iwlwifi firmware

2018-11-02 Thread Luca Coelho
Hi Michael, On Fri, 2018-11-02 at 09:47 +0100, Michael Köbberich wrote: > Sehr geehrtes Intel Team > > Ich bin auf der Suche nach Firmware für einen Axxiv FIN NUC DH17012, > genauer gesagt dessen WIFI Karte. Sind die Treiber: > > iwlwifi-8000C-26.ucode > iwlwifi-8000C-25.ucode >

iwlwifi firmware

2018-11-02 Thread Michael Köbberich
Sehr geehrtes Intel Team Ich bin auf der Suche nach Firmware für einen Axxiv FIN NUC DH17012, genauer gesagt dessen WIFI Karte. Sind die Treiber: iwlwifi-8000C-26.ucode iwlwifi-8000C-25.ucode iwlwifi-8000C-24.ucode iwlwifi-8000C-23.ucode iwlwifi-8000C-22.ucode iwlwifi-8000C-21.ucode

[PATCH v2 2/2] brcmfmac: make firmware frameburst mode a module parameter

2018-11-02 Thread Wright Feng
This patch is for adding a new module parameter "frameburst". With setting "frameburst=1" in module parameters, firmware frameburst mode will be enabled. The feature can enable per-packet framebursting in firmware side and get higher TX throughput in High Throughput(HT) mode. Signed-off-by:

[PATCH v2 1/2] brcmfmac: add credit numbers updating support

2018-11-02 Thread Wright Feng
The credit numbers are static and tunable per chip in firmware side. However the credit number may be changed that is based on packet pool length and will send BRCMF_E_FIFO_CREDIT_MAP event to notify host driver updates the credit numbers during interface up. The purpose of this patch is making

[PATCH v2 0/2] brcmfmac: throughput enhancement for flow control mode

2018-11-02 Thread Wright Feng
The patches are for throughput enhancement with flow control mode enabled and introduce a new module parameter to enhance TX throughput as well. Changes since v1: Remove the patch "calling skb_orphan before sending skb to SDIO bus" Revise the patch "brcmfmac: add credit numbers updating

Re: [PATCH 2/3] brcmfmac: add credit numbers updating support

2018-11-02 Thread Wright Feng
On 2018/10/30 下午 07:04, Arend van Spriel wrote: > On 10/29/2018 11:27 AM, Wright Feng wrote: >> The credit numbers are static and tunable per chip in firmware side. >> However the credit number may be changed that is based on packet pool >> length and will send BRCMF_E_FIFO_CREDIT_MAP event to