Add bridge handling for WDS STA interfaces

By default, add them to the configured bridge of the AP interface
(if present), but allow the user to specify a separate bridge.
This commit is contained in:
Felix Fietkau 2010-11-09 16:12:42 +02:00 committed by Jouni Malinen
parent 4a8c72959e
commit d38ae2ea85
6 changed files with 32 additions and 7 deletions

View file

@ -1698,9 +1698,12 @@ struct wpa_driver_ops {
* @addr: MAC address of the associated station
* @aid: Association ID
* @val: 1 = bind to 4-address WDS; 0 = unbind
* @bridge_ifname: Bridge interface to use for the WDS station or %NULL
* to indicate that bridge is not to be used
* Returns: 0 on success, -1 on failure
*/
int (*set_wds_sta)(void *priv, const u8 *addr, int aid, int val);
int (*set_wds_sta)(void *priv, const u8 *addr, int aid, int val,
const char *bridge_ifname);
/**
* send_action - Transmit an Action frame