diff options
author | Arik Nemtsov <arik@wizery.com> | 2016-03-03 00:28:32 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-04-05 11:50:52 +0300 |
commit | 59021c675995281d453eee45b3e2e1e3edbc0ec2 (patch) | |
tree | 3aa795ecea3d0d712419121d978733649b14c760 /net/802 | |
parent | db8d99774c2682559b7648857697b9b588c6795a (diff) | |
download | linux-59021c675995281d453eee45b3e2e1e3edbc0ec2.tar.xz |
mac80211: TDLS: change BW calculation for WIDER_BW peers
The previous approach simply ignored chandef restrictions when calculating
the appropriate peer BW for a WIDER_BW peer. This could result in a
regulatory violation if both peers indicated 80MHz support, but the
regdomain forbade it.
Change the approach to setting a WIDER_BW peer's BW. Don't exempt it from
the chandef width at first. If during TDLS negotiation the chandef width
is upgraded, update the peer's BW to match.
Fixes: 0fabfaafec3a ("mac80211: upgrade BW of TDLS peers when possible")
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/802')
0 files changed, 0 insertions, 0 deletions