]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: TDLS: use the BSS chandef for HT/VHT operation IEs
authorArik Nemtsov <arik@wizery.com>
Thu, 7 May 2015 12:30:41 +0000 (15:30 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 May 2015 12:52:15 +0000 (14:52 +0200)
commit0edd1343265a58bcf5e8781bba35f1e32deba0fa
treea892a6b6dfc7b9f7e907664481e81c3c59db4245
parent5372c260623cc48172ad7ed2a40bc189a88264d9
mac80211: TDLS: use the BSS chandef for HT/VHT operation IEs

The chandef of the current channel context might be wider (though
compatible). The TDLS link cares only about the channel of the BSS.

In addition make sure to specify the VHT operation IE when VHT is supported
on a non-2.4GHz band, as required by IEEE802.11ac-2013. This is not the
same as HT-operation, to be specified only if the BSS doesn't support HT.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tdls.c