]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
iwlwifi: mvm: Send power command on BSS_CHANGED_BEACON_INFO if needed
authorAvri Altman <avri.altman@intel.com>
Sun, 24 Jan 2016 20:16:08 +0000 (22:16 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sat, 27 Feb 2016 20:00:14 +0000 (22:00 +0200)
commit283115fb1dcf6b2162e988db98e156b998a5ebb3
tree167982ebfc7462f1b1e16a447c9fbc47d8b6b1c1
parentcee5a882d0273aac0d622368885c9aac676cce33
iwlwifi: mvm: Send power command on BSS_CHANGED_BEACON_INFO if needed

Beacon abort (ba) is set while sending power command, but only
after at least one beacon_filter command was successfully sent.

If we heard a beacon before starting association, this order
is maintained and ba is properly set.

However, if the first beacon is received after association,
we send the power command upon association, configure the
beacon filtering when the first beacon arrives, and in that case,
beacon abort is not set.

So identify this, and send a power command post the beacon_filter
command if needed.

Signed-off-by: Avri Altman <avri.altman@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c