aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2016-10-09 08:43:24 -0400
committerLuca Coelho <luciano.coelho@intel.com>2016-10-19 05:46:34 -0400
commit19c52f460f6d84af8225d8a769d66871dc5ed65b (patch)
treef1e23544ece0316ecc61fc8b94183277b026f0b2 /drivers/net/wireless/intel/iwlwifi
parent64fa3aff89785b5a924ce3934f6595c35b4dffee (diff)
iwlwifi: mvm: tell the firmware about the AID of the peer
When a peer associates, the firmware will soon want to know its AID to be able to compute the TIM IE by itself. In DQA, the firmware has all the information it needs to update the TIM internally. The only missing part is the AID. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mvm/sta.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/sta.c b/drivers/net/wireless/intel/iwlwifi/mvm/sta.c
index 82ee786bba63..636c8b03e318 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/sta.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/sta.c
@@ -202,6 +202,7 @@ int iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
202 cpu_to_le32(agg_size << STA_FLG_MAX_AGG_SIZE_SHIFT); 202 cpu_to_le32(agg_size << STA_FLG_MAX_AGG_SIZE_SHIFT);
203 add_sta_cmd.station_flags |= 203 add_sta_cmd.station_flags |=
204 cpu_to_le32(mpdu_dens << STA_FLG_AGG_MPDU_DENS_SHIFT); 204 cpu_to_le32(mpdu_dens << STA_FLG_AGG_MPDU_DENS_SHIFT);
205 add_sta_cmd.assoc_id = cpu_to_le16(sta->aid);
205 206
206 if (sta->wme) { 207 if (sta->wme) {
207 add_sta_cmd.modify_mask |= STA_MODIFY_UAPSD_ACS; 208 add_sta_cmd.modify_mask |= STA_MODIFY_UAPSD_ACS;