diff options
author | Mahesh Palivela <maheshp@posedge.com> | 2012-10-11 10:04:52 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-17 11:02:15 +0200 |
commit | f461be3eff662f01a177ecea8c1d7b040bb6bfbe (patch) | |
tree | 7c83ffadf4f1cfe25e69bfdf129643dc1c4e326f /net/mac80211/cfg.c | |
parent | mac80211: VHT peer STA caps (diff) | |
download | linux-f461be3eff662f01a177ecea8c1d7b040bb6bfbe.tar.xz linux-f461be3eff662f01a177ecea8c1d7b040bb6bfbe.zip |
{nl,cfg}80211: Peer STA VHT caps
To save STAs VHT caps in AP mode
Signed-off-by: Mahesh Palivela <maheshp@posedge.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 03216b0408c7..ed27988f9d35 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -1157,6 +1157,11 @@ static int sta_apply_parameters(struct ieee80211_local *local, params->ht_capa, &sta->sta.ht_cap); + if (params->vht_capa) + ieee80211_vht_cap_ie_to_sta_vht_cap(sdata, sband, + params->vht_capa, + &sta->sta.vht_cap); + if (ieee80211_vif_is_mesh(&sdata->vif)) { #ifdef CONFIG_MAC80211_MESH if (sdata->u.mesh.security & IEEE80211_MESH_SEC_SECURED) |