iwlwifi: mvm: don't delay the association until after beacon
authorJohannes Berg <johannes.berg@intel.com>
Thu, 24 Jan 2013 22:48:23 +0000 (23:48 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 12 Feb 2013 15:52:25 +0000 (16:52 +0100)
commit210a544e78c7ce4e5aa5ec199eeb807b0f03b5b2
tree0afac8659a19ab3a93ae636ecb87da0c9c7afe17
parent739e42f4f3fc5906db049b54e45498c7ab5bba81
iwlwifi: mvm: don't delay the association until after beacon

If we haven't heard a beacon before we associate we can
still start the association process and set the MAC in
the firmware to associated only after having received a
beacon with DTIM period by reacting to the new change
flag (BSS_CHANGED_DTIM_PERIOD) from mac80211.

This reduces the association time in these cases.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/time-event.c