[PATCH 3/3][RFC] nl80211/mac80211: Accept multiple RSSI thresholds for CQM

2016-11-05 Thread Andrew Zaborowski
Change the SET CQM command RSSI threshold attribute semantic to accept any number of thresholds as a sorted array. The API should be backwards compatible so that if one s32 threshold value is passed, the old mechanism is enabled. The netlink event generated is the same too. cfg80211 handles an

[PATCH 0/3][RFC] CQM RSSI event with many thresholds

2016-11-05 Thread Andrew Zaborowski
From: Andrew Zaborowski This is a first stab at a nl80211 API using multiple RSSI thresholds discussed previously. It is similar to the current CQM RSSI event with one threshold and a hysteresis parameter. I tried to avoid creating new nl80211 commands and events so I

[PATCH 2/3][RFC] cfg80211: Pass new RSSI level in CQM RSSI notification

2016-11-05 Thread Andrew Zaborowski
Update the drivers to pass the RSSI level as a cfg80211_cqm_rssi_notify parameter and pass this value to userspace in a new nl80211 attribute. This helps both userspace and also helps in the implementation of the multiple RSSI thresholds CQM mechanism. Note for marvell/mwifiexe I pass 0 for the

[PATCH 1/3][RFC] mac80211: Pass new RSSI level in CQM RSSI notification

2016-11-05 Thread Andrew Zaborowski
--- drivers/net/wireless/intel/iwlwifi/mvm/rx.c | 2 ++ drivers/net/wireless/rsi/rsi_91x_mac80211.c | 2 +- drivers/net/wireless/st/cw1200/sta.c| 2 +- drivers/net/wireless/ti/wl1251/event.c | 4 ++-- drivers/net/wireless/ti/wlcore/event.c | 3 ++- include/net/mac80211.h

[PATCH] ssb: Fix error routine when fallback SPROM fails

2016-11-05 Thread Larry Finger
When there is a CRC error in the SPROM read from the device, the code attempts to handle a fallback SPROM. When this also fails, the driver returns zero rather than an error code. Signed-off-by: Larry Finger Cc: Stable --- drivers/ssb/pci.c |

Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-05 Thread Ben Greear
Looks to me like 10.4 defaults to the right value, but possibly there are other issues with it. I tested my CT 10.4 and it worked OK with vlans for me. Thanks, Ben On 11/05/2016 01:05 AM, Sebastian Gottschall wrote: would be good if qca can fix this bug finally in all available firmwares. its

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

2016-11-05 Thread Mathias Kresin
02.11.2016 15:11, 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 ---

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

2016-11-05 Thread Mathias Kresin
02.11.2016 15:10, 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

Re: [OpenWrt-Devel] ATH10K VLAN firmware issue

2016-11-05 Thread Sebastian Gottschall
would be good if qca can fix this bug finally in all available firmwares. its a very annoying issue since a long time Sebastian Am 04.11.2016 um 23:23 schrieb Ben Greear: The bug appears that vlan-tx-stripping is unconditionally enabled in at least my firmware. I have re-compiled w/out that