remarkable-linux/net/wireless
Andrew Zaborowski 4a4b816950 cfg80211: Accept multiple RSSI thresholds for CQM
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.

cfg80211 handles an arbitrary number of RSSI thresholds but drivers have
to provide a method (set_cqm_rssi_range_config) that configures a range
set by a high and a low value.  Drivers have to call back when the RSSI
goes out of that range and there's no additional event for each time the
range is reconfigured as there was with the current one-threshold API.

This method doesn't have a hysteresis parameter because there's no
benefit to the cfg80211 code from having the hysteresis be handled by
hardware/driver in terms of the number of wakeups.  At the same time
it would likely be less consistent between drivers if offloaded or
done in the drivers.

Signed-off-by: Andrew Zaborowski <andrew.zaborowski@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-03-06 09:21:38 +01:00
..
.gitignore
ap.c
chan.c
core.c cfg80211: Accept multiple RSSI thresholds for CQM 2017-03-06 09:21:38 +01:00
core.h cfg80211: Accept multiple RSSI thresholds for CQM 2017-03-06 09:21:38 +01:00
db.txt
debugfs.c cfg80211 debugfs: Cleanup some checkpatch issues 2017-02-08 09:15:59 +01:00
debugfs.h
ethtool.c
genregdb.awk
ibss.c
Kconfig
lib80211.c
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c wireless: fix bogus maybe-uninitialized warning 2016-11-17 08:46:38 +02:00
lib80211_crypt_wep.c
Makefile For 4.11, we seem to have more than in the past few releases: 2017-01-14 12:02:15 -05:00
mesh.c
mlme.c cfg80211: Specify the reason for connect timeout 2017-01-13 09:46:18 +01:00
nl80211.c cfg80211: Accept multiple RSSI thresholds for CQM 2017-03-06 09:21:38 +01:00
nl80211.h cfg80211: Specify the reason for connect timeout 2017-01-13 09:46:18 +01:00
ocb.c
of.c cfg80211: support ieee80211-freq-limit DT property 2017-01-06 14:01:13 +01:00
radiotap.c
rdev-ops.h cfg80211: Accept multiple RSSI thresholds for CQM 2017-03-06 09:21:38 +01:00
reg.c cfg80211: move function checking range fit to util.c 2017-01-06 13:54:04 +01:00
reg.h
regdb.h
scan.c nl80211: rework {sched_,}scan event related functions 2016-12-16 13:32:31 +01:00
sme.c cfg80211: Specify the reason for connect timeout 2017-01-13 09:46:18 +01:00
sysfs.c cfg80211: sysfs: use wiphy_name() 2017-01-04 08:24:49 +01:00
sysfs.h
trace.c
trace.h cfg80211: Accept multiple RSSI thresholds for CQM 2017-03-06 09:21:38 +01:00
util.c net: adjust skb->truesize in pskb_expand_head() 2017-01-27 12:03:29 -05:00
wext-compat.c
wext-compat.h
wext-core.c wext: uninline stream addition functions 2017-01-13 09:38:42 +01:00
wext-priv.c
wext-proc.c
wext-sme.c cfg80211: wext does not need to set monitor channel in managed mode 2017-01-11 14:10:44 +01:00
wext-spy.c