Commit d358795
wifi: brcmfmac: support AP isolation to restrict reachability between stations
hostapd & wpa_supplicant userspace daemons exposes an AP mode specific
config file parameter "ap_isolate" to the user, which is used to control
low-level bridging of frames between the stations associated in the BSS.
In driver, handle this user setting in the newly defined cfg80211_ops
function brcmf_cfg80211_change_bss() by enabling "ap_isolate" IOVAR in
the firmware.
In AP mode, the "ap_isolate" value from the cfg80211 layer represents,
0 = allow low-level bridging of frames between associated stations
1 = restrict low-level bridging of frames to isolate associated stations
-1 = do not change existing setting
Signed-off-by: Wright Feng <[email protected]>
Signed-off-by: Chi-hsien Lin <[email protected]>
Signed-off-by: Gokul Sivakumar <[email protected]>
[arend: indicate ap_isolate support in struct wiphy::bss_param_support]
Signed-off-by: Arend van Spriel <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Johannes Berg <[email protected]>1 parent 4f652a3 commit d358795
1 file changed
+23
-0
lines changedLines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5958 | 5958 | | |
5959 | 5959 | | |
5960 | 5960 | | |
| 5961 | + | |
| 5962 | + | |
| 5963 | + | |
| 5964 | + | |
| 5965 | + | |
| 5966 | + | |
| 5967 | + | |
| 5968 | + | |
| 5969 | + | |
| 5970 | + | |
| 5971 | + | |
| 5972 | + | |
| 5973 | + | |
| 5974 | + | |
| 5975 | + | |
| 5976 | + | |
| 5977 | + | |
| 5978 | + | |
| 5979 | + | |
| 5980 | + | |
5961 | 5981 | | |
5962 | 5982 | | |
5963 | 5983 | | |
| |||
6005 | 6025 | | |
6006 | 6026 | | |
6007 | 6027 | | |
| 6028 | + | |
6008 | 6029 | | |
6009 | 6030 | | |
6010 | 6031 | | |
| |||
7659 | 7680 | | |
7660 | 7681 | | |
7661 | 7682 | | |
| 7683 | + | |
| 7684 | + | |
7662 | 7685 | | |
7663 | 7686 | | |
7664 | 7687 | | |
| |||
0 commit comments