]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix the mesh channel switch support
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Fri, 8 Nov 2013 07:09:43 +0000 (15:09 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 15:50:13 +0000 (16:50 +0100)
commit6dc569722ec71b2f88d020db54fcf53b1626d769
tree62221339cdbf9612427669850a7d1429e982e2d0
parent6c9bbf35d8b7b6ac15dd878ddbe5c5ab0130d8f7
mac80211: fix the mesh channel switch support

Mesh STA receiving the mesh CSA action frame is not able to trigger
the mesh channel switch due to the incorrect handling and comparison
of mesh channel switch parameters element (MCSP)'s TTL. Make sure
the MCSP's TTL is updated accordingly before calling the
ieee80211_mesh_process_chnswitch. Also, we update the beacon before
forwarding the CSA action frame, so MCSP's precedence value and
initiator flag need to be updated prior to this.

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.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/spectmgmt.c
net/mac80211/util.c