Re: [PATCH 2/2] rtl8xxxu: Fix for bogus data used to determine macpower

2016-11-02 Thread David Miller
From: Larry Finger Date: Wed, 2 Nov 2016 20:00:03 -0500 > On 10/30/2016 05:21 AM, John Heenan wrote: >> Code tests show data returned by rtl8xxxu_read8(priv, REG_CR), used to >> set >> macpower, is never 0xea. It is only ever 0x01 (first time after >> modprobe) >> using wpa_supplicant and 0x00 th

Re: [PATCH 2/2] rtl8xxxu: Fix for bogus data used to determine macpower

2016-11-02 Thread Larry Finger
On 10/30/2016 05:21 AM, John Heenan wrote: Code tests show data returned by rtl8xxxu_read8(priv, REG_CR), used to set macpower, is never 0xea. It is only ever 0x01 (first time after modprobe) using wpa_supplicant and 0x00 thereafter using wpa_supplicant. These results occurs with 'Fix for authent

Re: [PATCH 1/2] rtl8xxxu: Fix for authentication failure

2016-11-02 Thread Larry Finger
On 10/30/2016 05:20 AM, John Heenan wrote: This fix enables the same sequence of init behaviour as the alternative working driver for the wireless rtl8723bu IC at https://github.com/lwfinger/rtl8723bu For exampe rtl8xxxu_init_device is now called each time userspace wpa_supplicant is executed in

STRICTLY CONFIDENTIAL

2016-11-02 Thread Acct. Dept.
I have important transaction for you as next of kin to claim US$18.37m Mail me on my private email: chimwia...@gmail.com so I can send you more details Thanks Mr.Chim Wai Kim ==MOVE TO INBOX=== DISCLAIMER: This email and any

Re: [PATCH 5/5] mwifiex: wait for firmware dump completion in remove_card

2016-11-02 Thread Brian Norris
On Thu, Oct 27, 2016 at 04:20:25PM +0300, Kalle Valo wrote: > Dmitry Torokhov writes: > > >> +/* reset_trigger variable is used to identify if mwifiex_sdio_remove() > >> + * is called by sdio_work during reset or the call is from sdio subsystem. > >> + * We will cancel sdio_work only if the call

Re: BCM43602 firmware reports multiple BRCMF_E_DEAUTH

2016-11-02 Thread Arend Van Spriel
On 19-10-2016 14:34, Rafał Miłecki wrote: > On 10/04/2016 08:15 PM, Rafał Miłecki wrote: >> # My smartphone remains in the same place (1 m from the AP) but there >> is some >> # connection/A-MPDU problem. >> Tue Oct 4 17:22:22 2016 kern.debug kernel: [ 247.509120] brcmfmac: >> CONSOLE: 026970.308

Re: ath10k and compex WLE600V5-27

2016-11-02 Thread Sebastian Gottschall
depends how you test. the antennas need to have the right distance from each other (portion of lampda) and mimo also doesnt work well at too short distances. so place them at 10 meters distance minimum Am 02.11.2016 um 15:27 schrieb Matteo Grandi: Hello all, I'm using two WiFi module Compex WL

ath10k and compex WLE600V5-27

2016-11-02 Thread Matteo Grandi
Hello all, I'm using two WiFi module Compex WLE600V5-27 http://www.compex.com.sg/product/wle600v5-27/ capable of 2x2 MIMO on two boards (Gateworks ventana 5410) using ath10k drivers. The chipset is the Qualcomm-Atheros QCA9882 but I didn't find a firmware for this chipset, so I'm using the QCA988X.

[PATCH 10/10] rt2800: disable CCK rates on HT

2016-11-02 Thread Stanislaw Gruszka
Sending frames in CCK rates on HT can cause performance problems. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/ralink/rt2x00/rt2800lib.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c b/drivers/net/wireless/ra

[PATCH 06/10] rt2800: correct AUTO_RSP_CFG

2016-11-02 Thread Stanislaw Gruszka
Initialize AUTO_RSP_CFG register to similar value as vendor driver does. Do not set BAC_ACK_POLICY based on short preamble setting, those are unrelated. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/ralink/rt2x00/rt2800lib.c |6 ++ 1 files changed, 2 insertions(+), 4 deletio

[PATCH 07/10] rt2800: correct TX_SW_CFG1 for 5592

2016-11-02 Thread Stanislaw Gruszka
Those TX_SW_CFG1 values are used in vendor driver. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/ralink/rt2x00/rt2800lib.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c b/drivers/net/wireless/ralink/rt2x

[PATCH 04/10] rt2800: do not overwrite WPDMA_GLO_CFG_WP_DMA_BURST_SIZE

2016-11-02 Thread Stanislaw Gruszka
We already initlized WPDMA_GLO_CFG_WP_DMA_BURST_SIZE to 3 on rt2800_init_registers(). Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/ralink/rt2x00/rt2800lib.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c b/dri

[PATCH 08/10] rt2800: use RTS/CTS protection instead of CTS-to-self

2016-11-02 Thread Stanislaw Gruszka
Change default to RTS/CTS protection. This has a cost of transmitting one more control frame (RTS) however protect us from traffic from hidden node. On station mode will use CTS-to-self if AP will configure that for the network. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/ralink/r

[PATCH 09/10] rt2800: tune *_PROT_CFG parameters

2016-11-02 Thread Stanislaw Gruszka
Use RTS/CTS protection for TXOP on all rates modes as default and disable CCK rates (this cause performance problems). Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drive

[PATCH 00/10] rt2800: random fixes

2016-11-02 Thread Stanislaw Gruszka
Random fixes mostly related to HT performance. Stanislaw Gruszka (10): rt2800: correctly report MCS TX parameters rt2800usb: do not wipe out USB_DMA_CFG settings rt2800: OFDM rates are mandatory rt2800: do not overwrite WPDMA_GLO_CFG_WP_DMA_BURST_SIZE rt2800: make ba_size depend on ampdu

[PATCH 01/10] rt2800: correctly report MCS TX parameters

2016-11-02 Thread Stanislaw Gruszka
We should only set IEEE80211_HT_MCS_TX_RX_DIF when TX and RX MCS sets are not equal, i.e. when number of tx streams is different than number of RX streams. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 23 +-- 1 files changed, 13 inse

[PATCH 05/10] rt2800: make ba_size depend on ampdu_factor

2016-11-02 Thread Stanislaw Gruszka
We can calculate BA window size (max number of pending frames not yet block acked) of remote station using Maximum A-MPDU length factor for that station. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/ralink/rt2x00/rt2x00queue.c | 15 ++- 1 files changed, 10 insertions(+

[PATCH 03/10] rt2800: OFDM rates are mandatory

2016-11-02 Thread Stanislaw Gruszka
Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/ralink/rt2x00/rt2800lib.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c index aab59f6..feceb13 100644 --- a/driver

[PATCH 02/10] rt2800usb: do not wipe out USB_DMA_CFG settings

2016-11-02 Thread Stanislaw Gruszka
We should not reset USB_DMA_CFG on rt2800usb_init_registers() as this function is called indirectly from rt2800_enable_radio(). If we do so, we wipe out USB_DMA_CFG settings from rt2800usb_enable_radio(). Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/ralink/rt2x00/rt2800usb.c |5

[PATCH V2] mac80211: Ignore VHT IE from peer with wrong rx_mcs_map

2016-11-02 Thread Filip Matusiak
This is a workaround for VHT-enabled STAs which break the spec and have the VHT-MCS Rx map filled in with value 3 for all eight spacial streams, an example is AR9462 in AP mode. As per spec, in section 22.1.1 Introduction to the VHT PHY A VHT STA shall support at least single spactial stream VHT-M