aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorMahesh Palivela <maheshp@posedge.com>2012-10-11 04:04:52 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-10-17 05:02:15 -0400
commitf461be3eff662f01a177ecea8c1d7b040bb6bfbe (patch)
tree7c83ffadf4f1cfe25e69bfdf129643dc1c4e326f /net/mac80211/cfg.c
parent818255ea47709065c53c86ca47fce96d8580bee1 (diff)
{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.c5
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,
1157 params->ht_capa, 1157 params->ht_capa,
1158 &sta->sta.ht_cap); 1158 &sta->sta.ht_cap);
1159 1159
1160 if (params->vht_capa)
1161 ieee80211_vht_cap_ie_to_sta_vht_cap(sdata, sband,
1162 params->vht_capa,
1163 &sta->sta.vht_cap);
1164
1160 if (ieee80211_vif_is_mesh(&sdata->vif)) { 1165 if (ieee80211_vif_is_mesh(&sdata->vif)) {
1161#ifdef CONFIG_MAC80211_MESH 1166#ifdef CONFIG_MAC80211_MESH
1162 if (sdata->u.mesh.security & IEEE80211_MESH_SEC_SECURED) 1167 if (sdata->u.mesh.security & IEEE80211_MESH_SEC_SECURED)