]> git.baikalelectronics.ru Git - kernel.git/commit
{nl,cfg,mac}80211: implement mesh channel switch userspace API
authorChun-Yeow Yeoh <yeohchunyeow@cozybit.com>
Thu, 17 Oct 2013 22:55:02 +0000 (15:55 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Oct 2013 14:05:30 +0000 (15:05 +0100)
commit643e5e6e4aeebe56427df357cdbd87f2d72a862b
tree858ae69cd2d695116afc582377984070f645ff01
parent4e39706d22910ced57edd64b71aeb6fe44220497
{nl,cfg,mac}80211: implement mesh channel switch userspace API

Implement the required procedures for mesh channel switching as defined
in the IEEE Std 802.11-2012 section 10.9.8.4.3 and also handle the CSA
and MCSP elements as followed:
 * Add the function for updating the beacon and probe response frames
   with CSA and MCSP elements during the period of switching to the new
   channel. Both CSA and MCSP elements must be included in beacon and
   probe response frames until the intended channel switch time.
 * The ifmsh->csa_settings is set to NULL and the CSA and MCSP elements
   will then be removed from the beacon or probe response frames once the
   new channel is switched to.

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/mesh.c
net/mac80211/rx.c
net/mac80211/tx.c
net/wireless/nl80211.c