cfg80211/mac80211: clarify RSSI CQM reporting requirements
authorJohannes Berg <johannes.berg@intel.com>
Thu, 22 Oct 2015 15:35:14 +0000 (17:35 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 3 Nov 2015 09:54:58 +0000 (10:54 +0100)
commite86abc689c5cb963f713c1bab9c37775421a6a96
tree2c475d3c7f360251c8a25cb93eeebd8374889fd7
parent520c75dcae6e588670962243bac6324e7839b648
cfg80211/mac80211: clarify RSSI CQM reporting requirements

The previous patch changed mac80211 to always report an event
after a CQM RSSI reconfiguration. Document that as expected
behaviour in both the cfg80211 and mac80211 API.

Currently, iwlmvm already implements that behaviour; the other
drivers implementing CQM RSSI events may have to be changed.

This behaviour lets userspace know what the current state is
without relying on querying the data which is racy.

Reviewed-by: Sharon, Sara <sara.sharon@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/net/mac80211.h