diff options
author | Ashok Nagarajan <ashok@cozybit.com> | 2012-04-30 23:20:32 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-09 03:53:59 +0200 |
commit | 70c33eaae79e53f9e48324736c0cb85534d3f093 (patch) | |
tree | 103c59d0356e55341052adca0624b6256525ddbb /net/mac80211/mesh_plink.c | |
parent | mac80211: Allow nonHT/HT peering in mesh (diff) | |
download | linux-70c33eaae79e53f9e48324736c0cb85534d3f093.tar.xz linux-70c33eaae79e53f9e48324736c0cb85534d3f093.zip |
{nl,cfg,mac}80211: Allow user to see/configure HT protection mode
This patch introduces a new mesh configuration parameter "ht_opmode" and will
allow user to check the current HT protection mode selected. Users could
configure the protection mode by the command "iw mesh_iface set mesh_param
mesh_ht_protection_mode=2". The default protection mode of mesh is set to
non-HT mixed mode.
Signed-off-by: Ashok Nagarajan <ashok@cozybit.com>
Reviewed-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mesh_plink.c')
-rw-r--r-- | net/mac80211/mesh_plink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/mesh_plink.c b/net/mac80211/mesh_plink.c index 2e0ae7310697..8cc8461b48a0 100644 --- a/net/mac80211/mesh_plink.c +++ b/net/mac80211/mesh_plink.c @@ -157,6 +157,7 @@ out: if (sdata->vif.bss_conf.ht_operation_mode != ht_opmode) { sdata->vif.bss_conf.ht_operation_mode = ht_opmode; + sdata->u.mesh.mshcfg.ht_opmode = ht_opmode; changed = BSS_CHANGED_HT; mpl_dbg("mesh_plink %pM: protection mode changed to %d", sdata->vif.addr, ht_opmode); |