TDLS: Support mgmt-frame Tx for ctrl-iface operations
Use capability information to decide whether to perform a given TDLS operation internally or through mgmt-frame Tx. Signed-off-by: Arik Nemtsov <arik@wizery.com> Cc: Kalyan C Gaddam <chakkal@iit.edu>
This commit is contained in:
parent
45b722f150
commit
2d565a61f2
3 changed files with 23 additions and 4 deletions
|
@ -2302,3 +2302,9 @@ void wpa_tdls_enable(struct wpa_sm *sm, int enabled)
|
|||
wpa_printf(MSG_DEBUG, "TDLS: %s", enabled ? "enabled" : "disabled");
|
||||
sm->tdls_disabled = !enabled;
|
||||
}
|
||||
|
||||
|
||||
int wpa_tdls_is_external_setup(struct wpa_sm *sm)
|
||||
{
|
||||
return sm->tdls_external_setup;
|
||||
}
|
||||
|
|
|
@ -370,5 +370,6 @@ int wpa_tdls_init(struct wpa_sm *sm);
|
|||
void wpa_tdls_deinit(struct wpa_sm *sm);
|
||||
void wpa_tdls_enable(struct wpa_sm *sm, int enabled);
|
||||
void wpa_tdls_disable_link(struct wpa_sm *sm, const u8 *addr);
|
||||
int wpa_tdls_is_external_setup(struct wpa_sm *sm);
|
||||
|
||||
#endif /* WPA_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue