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:
parent
5ef9277d0b
commit
e6db1bc5da
10 changed files with 41 additions and 2 deletions
|
@ -51,6 +51,7 @@ struct mesh_conf {
|
|||
int dot11MeshRetryTimeout; /* msec */
|
||||
int dot11MeshConfirmTimeout; /* msec */
|
||||
int dot11MeshHoldingTimeout; /* msec */
|
||||
int mesh_fwding;
|
||||
};
|
||||
|
||||
#define MAX_STA_COUNT 2007
|
||||
|
@ -696,6 +697,7 @@ struct hostapd_bss_config {
|
|||
|
||||
#define MESH_ENABLED BIT(0)
|
||||
int mesh;
|
||||
int mesh_fwding;
|
||||
|
||||
u8 radio_measurements[RRM_CAPABILITIES_IE_LEN];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue