Re: iwlwifi: fix kernel crash when unregistering thermal zone

2017-01-20 Thread Kalle Valo
Jens Axboe writes: > A recent firmware change seems to have enabled thermal zones on the > iwlwifi driver. Unfortunately, my device fails when registering the > thermal zone. This doesn't stop the driver from attempting to unregister > the thermal zone at unload time, triggering a NULL pointer de

[PATCH 11/11] rtlwifi: Add work queue for c2h cmd.

2017-01-20 Thread Larry Finger
From: Ping-Ke Shih btcoex needs to sleep, thus it must run in thread context. Signed-off-by: Ping-Ke Shih Signed-off-by: Larry Finger --- drivers/net/wireless/realtek/rtlwifi/base.c| 92 ++ drivers/net/wireless/realtek/rtlwifi/base.h| 3 + .../net/wireless

[PATCH 10/11] rtlwifi: rtl8723be: fix ant_sel code

2017-01-20 Thread Larry Finger
From: Ping-Ke Shih When ant_sel is set, we need to fill single_ant_path to select correct antenna path. Signed-off-by: Ping-Ke Shih Signed-off-by: Larry Finger --- drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/driv

[PATCH 07/11] rtlwifi: move btcoex's ant_num declaration

2017-01-20 Thread Larry Finger
From: Ping-Ke Shih File halbtcoutsrc.c is a better place for routine rtl_get_hwpg_ant_num() than file rtl_btc.c. Signed-off-by: Ping-Ke Shih Signed-off-by: Larry Finger --- .../net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c| 12 drivers/net/wireless/realtek/rtlwifi/btc

[PATCH 08/11] rtlwifi: rtl8723be: btcoex: add package_type function to btcoex

2017-01-20 Thread Larry Finger
From: Ping-Ke Shih The new code handles the package-type of the chip. Signed-off-by: Ping-Ke Shih Signed-off-by: Larry Finger --- .../realtek/rtlwifi/btcoexist/halbtcoutsrc.c | 7 + .../wireless/realtek/rtlwifi/btcoexist/rtl_btc.h | 2 ++ drivers/net/wireless/realtek/rtlwifi/efu

[PATCH 09/11] rtlwifi: btcoex: move bt_type declaration

2017-01-20 Thread Larry Finger
From: Ping-Ke Shih Routine rtl_get_hwpg_bt_type() is better in halbtcoutsrc.c than in rtl_btc.c. Signed-off-by: Ping-Ke Shih Signed-off-by: Larry Finger --- drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c | 5 + drivers/net/wireless/realtek/rtlwifi/btcoexist/rtl_btc.c |

[PATCH 06/11] rtlwifi: rtl8723be: btcoexist: Add single_ant_path

2017-01-20 Thread Larry Finger
From: Ping-Ke Shih Some devices with RTL8732BE wifi/Bluetooth adapters are shipped with only a single antenna. On a subset of these, the EEPROM is incorectly coded to indicate the wrong connection. The resulting problems have been fixed for wifi. This change handles them for BT. Signed-off-by: P

[PATCH 03/11] rtlwifi: Add a new enumeration value to btc_set_type

2017-01-20 Thread Larry Finger
From: Ping-Ke Shih The new value is needed for future capability. Signed-off-by: Ping-Ke Shih Signed-off-by: Larry Finger --- drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc

[PATCH 00/11] rtlwifi: Various updates

2017-01-20 Thread Larry Finger
These 11 changes fix a number of deficiencies. None of them are serious enough to be pushed to stable; however they help in the stability of the drivers, and in the robustness of authentication/ association. This material should be sent to the 4.11 stream. Signed-off-by: Larry Finger --- Larry F

[PATCH 01/11] rtlwifi: Fix programing CAM content sequence.

2017-01-20 Thread Larry Finger
From: Ping-Ke Shih There is a potential race condition when the control byte of a CAM entry is written first. Write in reverse order to correct the condition. Signed-off-by: Ping-Ke Shih Signed-off-by: shaofu Signed-off-by: Larry Finger --- drivers/net/wireless/realtek/rtlwifi/cam.c | 6 +++-

[PATCH 02/11] rtlwifi: Set retry limit depends on vif type.

2017-01-20 Thread Larry Finger
From: Ping-Ke Shih We assign different retry limit according to vif type, because it can boost performance in field. Signed-off-by: Ping-Ke Shih Signed-off-by: shaofu Signed-off-by: Larry Finger --- drivers/net/wireless/realtek/rtlwifi/core.c | 21 ++--- drivers/net/wireless/

[PATCH 05/11] rtlwifi: btcoexist: Change logging in halbtc8192e2ant.c

2017-01-20 Thread Larry Finger
This routine uses its own debugging macros These are changed to use the the recently rewritten RT_TRACE macro. There are also some renamed variables that were missed in the previous step. The only functional change is that some debugging statements have been dropped based on the final code supplie

[PATCH 04/11] rtlwifi: btcoexist: Add vendor definition for new btcoexist

2017-01-20 Thread Larry Finger
From: Ping-Ke Shih Routine halbtc_get() will need to be able to get the vendor ID. Signed-off-by: Ping-Ke Shih Signed-off-by: Larry Finger --- drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c | 3 +++ drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h | 7 +++ 2 fi

Re: [PATCH v3 2/3] NFC: trf7970a: Add device tree option of 1.8 Volt IO voltage

2017-01-20 Thread Mark Greer
On Wed, Dec 21, 2016 at 11:18:33PM -0500, Geoff Lansberry wrote: > The TRF7970A has configuration options for supporting hardware designs > with 1.8 Volt or 3.3 Volt IO. This commit adds a device tree option, > using a fixed regulator binding, for setting the io voltage to match > the hardware co

Re: [PATCH] rtlwifi: rtl8192x: Enabling and disabling hardware interrupts after enabling local irq flags

2017-01-20 Thread Larry Finger
On 01/20/2017 08:14 AM, Bharat Kumar Gogada wrote: > On 01/19/2017 04:14 AM, Bharat Kumar Gogada wrote: -Realtek 8192CE chipset maintains local irq flags after enabling/disabling hardware interrupts. -Hardware interrupts are enabled before enabling the local irq flags(these flags are being chec

Re: [PATCH v4 0/3] rt2x00: RT5350 support

2017-01-20 Thread Stanislaw Gruszka
Hi On Fri, Jan 20, 2017 at 03:32:19PM +0100, Daniel Golle wrote: > On Fri, Jan 20, 2017 at 02:28:23PM +0100, Stanislaw Gruszka wrote: > > Repost patches from Daniel with updated clock handling and > > correct author of RT5350 patch. > > > > Note I did not test patches on SOC devices, but getting

Re: [RFC 0/1] ath9k: Frame corruption simulator

2017-01-20 Thread Wojciech Dubowik
On 20/01/17 15:45, Ben Greear wrote: On 01/20/2017 06:29 AM, Wojciech Dubowik wrote: I have been debugging customer reported timeout and loss of communication and I have relaized that I don't have such a lossy environment available in the lab. To speed up debugging I have written frame corru

Re: [RFC 2/2] ath9k: Add frame corruption simulator

2017-01-20 Thread Wojciech Dubowik
On 20/01/17 16:07, Kalle Valo wrote: +config ATH9K_FRAME_LOSS_SIMULATOR + bool "Atheros ath9k frame loss simulator" + depends on ATH9K && ATH9K_DEBUGFS && DEBUG_FS + default n + ---help--- + Say N. This option should be used only to test fail paths + and

Re: [RFC 2/2] ath9k: Add frame corruption simulator

2017-01-20 Thread Kalle Valo
Wojciech Dubowik writes: > Add debugfs entries to corrupt specified frame types > by invering fcs field upon transmissionm with given probability. > > Select frames to be corrupted. > /corrupt_fcs_fram_mask: > Bit 16 - Null function > Bit 15 - QoS Null function > Bit 14 - EAPOL > Bit 13 - Act

Re: [RFC 0/1] ath9k: Frame corruption simulator

2017-01-20 Thread Ben Greear
On 01/20/2017 06:29 AM, Wojciech Dubowik wrote: I have been debugging customer reported timeout and loss of communication and I have relaized that I don't have such a lossy environment available in the lab. To speed up debugging I have written frame corruption simulator which will allow me to t

Re: [PATCH v4 0/3] rt2x00: RT5350 support

2017-01-20 Thread Daniel Golle
Hi Stanislaw, On Fri, Jan 20, 2017 at 02:28:23PM +0100, Stanislaw Gruszka wrote: > Repost patches from Daniel with updated clock handling and > correct author of RT5350 patch. > > Note I did not test patches on SOC devices, but getting > clock frequency is simple and should be trouble-free. Than

[RFC 1/2] ath9k: Add tx descriptor flag to corrupt frame fcs

2017-01-20 Thread Wojciech Dubowik
When this flag is present the transmitted frame fcs field bits are inverted in hardware so the frame is being treated as corrupted on the recevieng node. It's used by frame corruption simulator coming on the following patch. Signed-off-by: Wojciech Dubowik --- drivers/net/wireless/ath/ath9k/ar90

[RFC 0/1] ath9k: Frame corruption simulator

2017-01-20 Thread Wojciech Dubowik
I have been debugging customer reported timeout and loss of communication and I have relaized that I don't have such a lossy environment available in the lab. To speed up debugging I have written frame corruption simulator which will allow me to totally loose specific types of packets. I have been

[RFC 2/2] ath9k: Add frame corruption simulator

2017-01-20 Thread Wojciech Dubowik
Add debugfs entries to corrupt specified frame types by invering fcs field upon transmissionm with given probability. Select frames to be corrupted. /corrupt_fcs_fram_mask: Bit 16 - Null function Bit 15 - QoS Null function Bit 14 - EAPOL Bit 13 - Action Bit 12 - Deauthentication Bit 11 - Aut

RE: [PATCH] rtlwifi: rtl8192x: Enabling and disabling hardware interrupts after enabling local irq flags

2017-01-20 Thread Bharat Kumar Gogada
> On 01/19/2017 04:14 AM, Bharat Kumar Gogada wrote: > > -Realtek 8192CE chipset maintains local irq flags after enabling/disabling > > hardware interrupts. > > -Hardware interrupts are enabled before enabling the local irq > > flags(these flags are being checked in interrupt handler), > > leading

Re: [PATCH v4 1/3] rt2x00: add copy of clk for soc devices

2017-01-20 Thread Daniel Golle
On Fri, Jan 20, 2017 at 02:28:24PM +0100, Stanislaw Gruszka wrote: > Since clk_get() is not trivial add copy of clk pointer to rt2x00dev > for System On Chip devices and initialize it on probe routine. > > Signed-off-by: Stanislaw Gruszka Acked-by: Daniel Golle

[PATCH v4 1/3] rt2x00: add copy of clk for soc devices

2017-01-20 Thread Stanislaw Gruszka
Since clk_get() is not trivial add copy of clk pointer to rt2x00dev for System On Chip devices and initialize it on probe routine. Signed-off-by: Stanislaw Gruszka --- drivers/net/wireless/ralink/rt2x00/rt2x00.h| 4 drivers/net/wireless/ralink/rt2x00/rt2x00soc.c | 1 + 2 files changed,

[PATCH v4 2/3] rt2x00: rt2800lib: add support for RT3352 with 20MHz crystal

2017-01-20 Thread Stanislaw Gruszka
From: Daniel Golle On Rt3352 the driver needs to know the frequency of an external crystal which can be either 40 MHz (as on all other WiSoCs until now) or 20 MHz. Get the clock attached by ramips WiSoC platform code which probes SYSC_REG_SYSCFG (added by John Crispin in commit 6ac8579b96e3b) and

[PATCH v4 0/3] rt2x00: RT5350 support

2017-01-20 Thread Stanislaw Gruszka
Repost patches from Daniel with updated clock handling and correct author of RT5350 patch. Note I did not test patches on SOC devices, but getting clock frequency is simple and should be trouble-free. Daniel Golle (1): rt2x00: rt2800lib: add support for RT3352 with 20MHz crystal Serge Vasilugi

[PATCH v4 3/3] rt2x00: add support for RT5350 WiSoC

2017-01-20 Thread Stanislaw Gruszka
From: Serge Vasilugin Support for the RT5350 WiSoC was added to OpenWrt after having a lengthy debate about the legality of the original submission, see https://lists.openwrt.org/pipermail/openwrt-devel/2013-January/018224.html MTK/Ralink Acked replied and says we can merge this patch under the G

Re: [PATCH v3] rt2x00: add support for RT5350 WiSoC

2017-01-20 Thread Stanislaw Gruszka
On Thu, Jan 19, 2017 at 02:38:45PM +0100, Daniel Golle wrote: > From: Michel Stempin > > Support for the RT5350 WiSoC was added to OpenWrt after having a > lengthy debate about the legality of the original submission, see > https://lists.openwrt.org/pipermail/openwrt-devel/2013-January/018224.htm

Re: [PATCH v3] rt2x00: rt2800lib: add support for RT3352 with 20MHz crystal

2017-01-20 Thread Stanislaw Gruszka
Hi Daniel On Fri, Jan 20, 2017 at 12:42:44AM +0100, Daniel Golle wrote: > +int rt2800_probe_clk(struct rt2x00_dev *rt2x00dev) > +{ > + struct hw_mode_spec *spec = &rt2x00dev->spec; > + struct clk *clk = clk_get(rt2x00dev->dev, NULL); > + > + if (IS_ERR(clk)) > + return PTR_

Re: [RFC] ath10k: silence firmware file probing warnings

2017-01-20 Thread Michal Kazior
On 20 January 2017 at 13:51, Kalle Valo wrote: > Michal Kazior wrote: >> Firmware files are versioned to prevent older >> driver instances to load unsupported firmware >> blobs. This is reflected with a fallback logic >> which attempts to load several firmware files. >> >> This however produced a

Re: [PATCH RFC 2/2] brcmfmac: add brcmf_err_pub macro for better error messages

2017-01-20 Thread Rafał Miłecki
On 20 January 2017 at 12:37, Arend Van Spriel wrote: > On 20-1-2017 12:17, Rafał Miłecki wrote: >> On 01/20/2017 11:26 AM, Arend Van Spriel wrote: >>> On 18-1-2017 15:27, Rafał Miłecki wrote: From: Rafał Miłecki This macro accepts an extra argument of struct brcmf_pub pointer. It >

Re: [RFC] ath10k: silence firmware file probing warnings

2017-01-20 Thread Kalle Valo
Michal Kazior wrote: > Firmware files are versioned to prevent older > driver instances to load unsupported firmware > blobs. This is reflected with a fallback logic > which attempts to load several firmware files. > > This however produced a lot of unnecessary > warnings sometimes confusing user

Re: [PATCH] net: ethtool: avoid allocation failure for dump_regs

2017-01-20 Thread Kalle Valo
David Miller writes: > From: Kalle Valo > Date: Thu, 19 Jan 2017 20:08:30 +0200 > >> "John W. Linville" writes: >> >>> I forgot to Cc Johannes and Kalle... >> >> Also adding linux-wireless. >> >>> On Thu, Jan 19, 2017 at 09:15:09AM -0500, John W. Linville wrote: >>> I'm responsible for

Re: [PATCH RFC 2/2] brcmfmac: add brcmf_err_pub macro for better error messages

2017-01-20 Thread Arend Van Spriel
On 20-1-2017 12:17, Rafał Miłecki wrote: > On 01/20/2017 11:26 AM, Arend Van Spriel wrote: >> On 18-1-2017 15:27, Rafał Miłecki wrote: >>> From: Rafał Miłecki >>> >>> This macro accepts an extra argument of struct brcmf_pub pointer. It >>> allows referencing struct device and printing error using

Re: [PATCH RFC 2/2] brcmfmac: add brcmf_err_pub macro for better error messages

2017-01-20 Thread Rafał Miłecki
On 01/20/2017 11:26 AM, Arend Van Spriel wrote: On 18-1-2017 15:27, Rafał Miłecki wrote: From: Rafał Miłecki This macro accepts an extra argument of struct brcmf_pub pointer. It allows referencing struct device and printing error using dev_err. This is very useful on devices with more than one

Re: Re: [PATCH] rtlwifi: rtl8192x: Enabling and disabling hardware interrupts after enabling local irq flags

2017-01-20 Thread Lino Sanfilippo
Hi, > > > This patch should be enhanced with the smb_xx() calls as suggested by by Lino. > If you do this, please place the smp_rmb() before the if condition in the irq handler like smp_rmb(); if (rtlpci->irq_enabled == 0) { return ret; as I think that the suggestion I made before was no

Re: [PATCH RFC 1/2] brcmfmac: merge two brcmf_err macros into one

2017-01-20 Thread Arend Van Spriel
On 20-1-2017 11:58, Rafał Miłecki wrote: > On 20 January 2017 at 11:14, Arend Van Spriel > wrote: >> On 20-1-2017 11:13, Arend Van Spriel wrote: >>> On 18-1-2017 15:27, Rafał Miłecki wrote: From: Rafał Miłecki This allows simplifying the code by adding a simple IS_ENABLED check for

Re: [PATCH RFC 1/2] brcmfmac: merge two brcmf_err macros into one

2017-01-20 Thread Rafał Miłecki
On 20 January 2017 at 11:14, Arend Van Spriel wrote: > On 20-1-2017 11:13, Arend Van Spriel wrote: >> On 18-1-2017 15:27, Rafał Miłecki wrote: >>> From: Rafał Miłecki >>> >>> This allows simplifying the code by adding a simple IS_ENABLED check for >>> CONFIG_BRCMDB symbol. > > Actually it should

Re: [PATCH RFC 2/2] brcmfmac: add brcmf_err_pub macro for better error messages

2017-01-20 Thread Arend Van Spriel
On 18-1-2017 15:27, Rafał Miłecki wrote: > From: Rafał Miłecki > > This macro accepts an extra argument of struct brcmf_pub pointer. It > allows referencing struct device and printing error using dev_err. This > is very useful on devices with more than one wireless card suppored by > brcmfmac.

Re: [PATCH] brcmfmac: add support for BCM43455 with modalias sdio:c00v02D0dA9BF

2017-01-20 Thread Ulf Hansson
On 16 January 2017 at 11:17, Martin Blumenstingl wrote: > BCM43455 is a more recent revision of the BCM4345. Some of the BCM43455 > got a dedicated SDIO device ID which is currently not supported by > brcmfmac. > Adding the new sdio_device_id to brcmfmac is enough to get the BCM43455 > supported b

Re: [PATCH] brcmfmac: drop duplicated core selection from brcmf_pcie_attach

2017-01-20 Thread Arend Van Spriel
On 19-1-2017 10:51, Rafał Miłecki wrote: > From: Rafał Miłecki > > It was left after reworking PCIe reset in commit 07fe2e38c7fd > ("brcmfmac: Reset PCIE devices after recognition."). > > Cc: Hante Meuleman Acked-by: Arend van Spriel > Signed-off-by: Rafał Miłecki > --- > drivers/net/wireles

Re: [v2, 1/3] rtlwifi: Redo debugging macros RTPRINT and RT_PRINT_DATA

2017-01-20 Thread Kalle Valo
Larry Finger wrote: > These two debugging formss implement debugging using rather complicated > macro constructions. These are replaced with compiled code that is easier > to understand. > > Signed-off-by: Larry Finger > Cc: Ping-Ke Shih 3 patches applied to wireless-drivers-next.git, thanks.

Re: [PATCH RFC 1/2] brcmfmac: merge two brcmf_err macros into one

2017-01-20 Thread Arend Van Spriel
On 20-1-2017 11:13, Arend Van Spriel wrote: > On 18-1-2017 15:27, Rafał Miłecki wrote: >> From: Rafał Miłecki >> >> This allows simplifying the code by adding a simple IS_ENABLED check for >> CONFIG_BRCMDB symbol. Actually it should be CONFIG_BRCMDBG above. Kalle, Can you fix that in the commit

Re: [PATCH RFC 1/2] brcmfmac: merge two brcmf_err macros into one

2017-01-20 Thread Arend Van Spriel
On 18-1-2017 15:27, Rafał Miłecki wrote: > From: Rafał Miłecki > > This allows simplifying the code by adding a simple IS_ENABLED check for > CONFIG_BRCMDB symbol. Nice! Acked-by: Arend van Spriel > Signed-off-by: Rafał Miłecki > --- > drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h

Re: [v2, 1/3] rtlwifi: Download firmware as bytes rather than as dwords

2017-01-20 Thread Kalle Valo
Larry Finger wrote: > The firmware is read from disk as a little-endian byte string. The code > that loads the firmware into the device transfers it as 4-byte quantities. > The routines that write multi-byte quantities on BE hardware assume that > the data are in CPU order, and automatically do th

Re: [V2, 1/4] brcmfmac: drop unneeded function declarations from headers

2017-01-20 Thread Kalle Valo
Rafał Miłecki wrote: > From: Rafał Miłecki > > Functions brcmf_c_prec_enq and brcmf_sdio_init don't exist so we > really don't need their declarations. Function brcmf_parse_tlvs is used > in cfg80211.c only so make it static and drop from header as well. > > Signed-off-by: Rafał Miłecki > Acked

Re: [v3] brcmfmac: fix incorrect event channel deduction

2017-01-20 Thread Kalle Valo
Gavin Li wrote: > From: Gavin Li > > brcmf_sdio_fromevntchan() was being called on the the data frame > rather than the software header, causing some frames to be > mischaracterized as on the event channel rather than the data channel. > > This fixes a major performance regression (due to dropp

Re: [1/5] rtl8xxxu: Mark 8192eu device 0x0bda:0x818b as tested

2017-01-20 Thread Kalle Valo
Jes Sorensen wrote: > From: Jes Sorensen > > Device reported as working fine, so tell the driver not to warn about > it being untested. > > Reported-by: Aex Aey > Signed-off-by: Jes Sorensen 5 patches applied to wireless-drivers-next.git, thanks. d607e396566a rtl8xxxu: Mark 8192eu device 0x

Re: brcmfmac: add support for BCM43455 with modalias sdio:c00v02D0dA9BF

2017-01-20 Thread Kalle Valo
Martin Blumenstingl wrote: > BCM43455 is a more recent revision of the BCM4345. Some of the BCM43455 > got a dedicated SDIO device ID which is currently not supported by > brcmfmac. > Adding the new sdio_device_id to brcmfmac is enough to get the BCM43455 > supported because the chip itself is alr

Re: mwifiex: don't complain about 'unknown event id: 0x63'

2017-01-20 Thread Kalle Valo
Brian Norris wrote: > Marvell folks tell me this is a debugging event that the driver doesn't > need to handle, but on 8997 w/ firmware 16.68.1.p97, I see several of > these sorts of messages at (for instance) boot time: > > [ 13.825848] mwifiex_pcie :01:00.0: event: unknown event id: 0x63

Re: [v2,1/3] mwifiex: pcie: use posted write to wake up firmware

2017-01-20 Thread Kalle Valo
Brian Norris wrote: > Depending on system factors (e.g., the PCIe link PM state), the first > read to wake up the Wifi firmware can take a long time. There is no > reason to use a (blocking, non-posted) read at this point, so let's just > use a write instead. Write vs. read doesn't matter function

[PATCH v3 1/4] mac80211: Pass new RSSI level in CQM RSSI notification

2017-01-20 Thread Andrew Zaborowski
Extend ieee80211_cqm_rssi_notify with a rssi_level parameter so that this information can be passed to netlink clients in the next patch, if available. Most drivers will have this value at hand. wl1251 receives events from the firmware that only tell it whether latest measurement is above or belo

[PATCH v3 3/4] cfg80211: Accept multiple RSSI thresholds for CQM

2017-01-20 Thread Andrew Zaborowski
Change the SET CQM command's RSSI threshold attribute 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 in both cases. Userspace can check

[PATCH v3 4/4] mac80211: Add set_cqm_rssi_range_config

2017-01-20 Thread Andrew Zaborowski
Support .set_cqm_rssi_range_config if the beacons are available for processing in mac80211. There's no reason that this couldn't be offloaded by mac80211-based drivers but there's no driver method for that added in this patch as I don't have the hardware. The NL80211_EXT_FEATURE_CQM_RSSI_LIST fea

[PATCH v3 2/4] cfg80211: Pass new RSSI level in CQM RSSI notification

2017-01-20 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/mwifiex I pass 0 for the RSS