mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
mac80211: send notification on new peer candidate for our secure mesh
Also, advertise support for mesh authentication. Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
c93b5e717e
commit
1570ca5927
4 changed files with 21 additions and 9 deletions
|
@ -762,6 +762,11 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
|
|||
local->hw.wiphy->interface_modes &= ~BIT(NL80211_IFTYPE_MESH_POINT);
|
||||
#endif
|
||||
|
||||
/* if the underlying driver supports mesh, mac80211 will (at least)
|
||||
* provide routing of mesh authentication frames to userspace */
|
||||
if (local->hw.wiphy->interface_modes & BIT(NL80211_IFTYPE_MESH_POINT))
|
||||
local->hw.wiphy->flags |= WIPHY_FLAG_MESH_AUTH;
|
||||
|
||||
/* mac80211 supports control port protocol changing */
|
||||
local->hw.wiphy->flags |= WIPHY_FLAG_CONTROL_PORT_PROTOCOL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue