diff options
author | Arik Nemtsov <arik@wizery.com> | 2015-06-10 20:41:23 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-07-17 16:38:12 +0300 |
commit | 0fabfaafec3ae017fc7c82997035872ff385752f (patch) | |
tree | ef9d80d956372af6119f779070dc6369f047bd9d /net/mac80211/mesh_hwmp.c | |
parent | b98fb44ffceeac717789e8f2fb3497e6b8c5c65b (diff) | |
download | linux-0fabfaafec3ae017fc7c82997035872ff385752f.tar.xz |
mac80211: upgrade BW of TDLS peers when possible
Define a station chandef, to be used for wider-bw TDLS peers. When both
peers support the feature, upgrade the channel bandwidth to the maximum
allowed by both peers and regulatory. Currently widths up to 80MHz are
supported in the 5GHz band.
When a TDLS peer connects/disconnects recalculate the channel type of the
current chanctx.
Make the chanctx width calculation consider wider-bw TDLS peers and
similarly fix the max_required_bw calculation for the chanctx min_def.
Since the sta->bandwidth is calculated only later on, take
bss_conf.chandef.width as the minimal width for station interface.
Set the upgraded channel width in the VHT-operation set during TDLS setup.
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh_hwmp.c')
0 files changed, 0 insertions, 0 deletions