Andrzej Zaborowski bee427b862 cfg80211: Pass new RSSI level in CQM RSSI notification
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 RSSI value because the new
RSSI value is not available to the driver at the time of the
cfg80211_cqm_rssi_notify call, but the driver queries the new value
immediately after that, so it is actually available just a moment later
if we wanted to defer caling cfg80211_cqm_rssi_notify until that moment.
Without this, the new cfg80211 code (patch 3) will call .get_station
which will send a duplicate HostCmd_CMD_RSSI_INFO command to the hardware.

Signed-off-by: Andrew Zaborowski <andrew.zaborowski@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-02-08 10:43:40 +01:00
..
2017-01-22 16:46:13 -05:00
2016-12-25 17:21:22 +01:00
2017-01-20 12:22:25 -05:00
2016-12-03 23:54:25 -05:00
2017-01-18 13:04:28 -05:00
2017-01-20 14:42:51 -05:00
2016-12-25 17:21:22 +01:00
2016-11-14 13:17:21 -05:00
2017-01-17 14:38:43 -05:00
2016-10-20 11:23:08 -04:00
2017-01-24 11:07:35 +01:00
2016-12-25 17:21:22 +01:00
2017-01-09 16:07:38 -05:00