]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: allow the plink state blocking for user managed mesh
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Fri, 17 Apr 2015 17:30:02 +0000 (01:30 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 24 Apr 2015 10:22:36 +0000 (12:22 +0200)
commit1456fce4d0209d43281ca3a19d72beee67873c65
tree59f1b484852a3ca32dae76175da37f9fc9022790
parentd03417fefcd934b6309488146ceeacaf68a687a4
cfg80211: allow the plink state blocking for user managed mesh

wpa_supplicant or authsae handles the mesh peering in user
space, but the plink state is still managed in kernel space.
Currently, there is no implementation by wpa_supplicant or
authsae to block the plink state after it is set to ESTAB.

By applying this patch, we can use the "iw mesh0 station set
<MAC address> plink_action block" to block the peer mesh STA.
This is useful for experimenting purposes.

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c