aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.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 /wpa_supplicant/driver_i.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 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index cba32a9..649de9b 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -532,14 +532,14 @@ static inline int wpa_drv_ampdu(struct wpa_supplicant *wpa_s, int ampdu)
static inline int wpa_drv_send_tdls_mgmt(struct wpa_supplicant *wpa_s,
const u8 *dst, u8 action_code,
u8 dialog_token, u16 status_code,
- u32 peer_capab, const u8 *buf,
- size_t len)
+ u32 peer_capab, int initiator,
+ const u8 *buf, size_t len)
{
if (wpa_s->driver->send_tdls_mgmt) {
return wpa_s->driver->send_tdls_mgmt(wpa_s->drv_priv, dst,
action_code, dialog_token,
status_code, peer_capab,
- buf, len);
+ initiator, buf, len);
}
return -1;
}