aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsn_supp/wpa.h
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2014-09-29 18:47:51 (GMT)
committerJouni Malinen <j@w1.fi>2014-10-03 08:52:21 (GMT)
commit984dadc23a85d61037b66e6acf99fb0d7fa3671a (patch)
tree052056c630aa3000333812823b86037af5a9d01c /src/rsn_supp/wpa.h
parent01cb5df20c2baf7e47a609f4d231060f73152106 (diff)
downloadhostap-984dadc23a85d61037b66e6acf99fb0d7fa3671a.zip
hostap-984dadc23a85d61037b66e6acf99fb0d7fa3671a.tar.gz
hostap-984dadc23a85d61037b66e6acf99fb0d7fa3671a.tar.bz2
TDLS: Set the initiator during tdls_mgmt operations
Some drivers need to know the initiator of a TDLS connection in order to generate a correct TDLS mgmt packet. It is used to determine the link identifier IE. Pass this information to the driver. Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Diffstat (limited to 'src/rsn_supp/wpa.h')
-rw-r--r--src/rsn_supp/wpa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rsn_supp/wpa.h b/src/rsn_supp/wpa.h
index 07a7bf9..e7c5569 100644
--- a/src/rsn_supp/wpa.h
+++ b/src/rsn_supp/wpa.h
@@ -55,7 +55,7 @@ struct wpa_sm_ctx {
int (*send_tdls_mgmt)(void *ctx, const u8 *dst,
u8 action_code, u8 dialog_token,
u16 status_code, u32 peer_capab,
- const u8 *buf, size_t len);
+ int initiator, const u8 *buf, size_t len);
int (*tdls_oper)(void *ctx, int oper, const u8 *peer);
int (*tdls_peer_addset)(void *ctx, const u8 *addr, int add, u16 aid,
u16 capability, const u8 *supp_rates,