]> 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)
commitdf498b048722bf688dac2b36a24247204dad8ff3
treea892a6b6dfc7b9f7e907664481e81c3c59db4245
parenta10e3bde7e322002f95c0d434a2f33c8fd1b904e
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