]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: use firmware station PM notification for AP_LINK_PS
authorJohannes Berg <johannes.berg@intel.com>
Wed, 13 Apr 2016 12:24:22 +0000 (14:24 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 19 Oct 2016 09:46:32 +0000 (12:46 +0300)
commita7e00fb07830c18e4b7207098c3db54686af81c6
tree8d68b8a394094354bae156ddda2a75aa31d54871
parent959a0e74e1e1dd5c0202b8895f32e1276ec465a6
iwlwifi: mvm: use firmware station PM notification for AP_LINK_PS

When using RSS on 9000 series devices, we can't rely on processing the
received frames for station powersave handling, since they could be
processed on different CPUs and out of order.

In order to still manage the powersave of stations, the firmware sends
a notification on sleep->wake, wake->sleep and - for U-APSD - frames
received with PM while already sleeping (with the TID.)

With this, the driver can set AP_LINK_PS, which is required for real
parallel RX. In addition, this requires checking for PS-Poll frames
and calling ieee80211_sta_pspoll() appropriately.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-fw-file.h
drivers/net/wireless/intel/iwlwifi/mvm/fw-api-rx.h
drivers/net/wireless/intel/iwlwifi/mvm/fw-api-sta.h
drivers/net/wireless/intel/iwlwifi/mvm/fw-api.h
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.h