mesh: Make forwarding configurable

Allow mesh_fwding (dot11MeshForwarding) to be specified in a mesh BSS
config, pass that to the driver (only nl80211 implemented for now) and
announce forwarding capability accordingly.

Signed-off-by: José Pekkarinen <jose.pekkarinen@unikie.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2021-08-31 10:44:07 +03:00 committed by Jouni Malinen
parent 5ef9277d0b
commit e6db1bc5da
10 changed files with 41 additions and 2 deletions

View file

@ -549,6 +549,11 @@ struct wpa_ssid {
int dot11MeshConfirmTimeout; /* msec */
int dot11MeshHoldingTimeout; /* msec */
/**
* Mesh network layer-2 forwarding (dot11MeshForwarding)
*/
int mesh_fwding;
int ht;
int ht40;