iwlwifi: mvm: implement rate_update hook in rs

Re-initialize rs when we get a rate_update hook called which
happens when remote STA changes bandwidth or sends a VHT opmode
notification.

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:
Eyal Shapira
2013-11-09 23:37:55 +02:00
committed by Emmanuel Grumbach
父節點 431591ccb3
當前提交 b87c2179a7
共有 3 個文件被更改,包括 29 次插入6 次删除

查看文件

@@ -353,7 +353,7 @@ static inline u8 num_of_ant(u8 mask)
/* Initialize station's rate scaling information after adding station */
void iwl_mvm_rs_rate_init(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
enum ieee80211_band band);
enum ieee80211_band band, bool init);
/**
* iwl_rate_control_register - Register the rate control algorithm callbacks