mac80211: Use suitable semantics for beacon availability indication
authorAlexander Bondar <alexander.bondar@intel.com>
Thu, 16 May 2013 14:34:17 +0000 (17:34 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 5 Jun 2013 07:12:20 +0000 (09:12 +0200)
commit989c6505cdda587f87573bb6828f23964dd3d19b
tree5804f7d8569273db24015655b16cd3e703756053
parent482a9c74fa17c5d584995c19e1a36eaf710d1193
mac80211: Use suitable semantics for beacon availability indication

Currently beacon availability upon association is marked by have_beacon
flag of assoc_data structure that becomes unavailable when association
completes. However beacon availability indication is required also after
association to inform a driver. Currently dtim_period parameter is used
for this purpose. Move have_beacon flag to another structure, persistant
throughout a interface's life cycle. Use suitable sematics for beacon
availability indication.

Signed-off-by: Alexander Bondar <alexander.bondar@intel.com>
[fix another instance of BSS_CHANGED_DTIM_PERIOD in docs]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
include/net/mac80211.h
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/util.c