aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_atheros.c
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2020-02-24 09:14:27 (GMT)
committerJouni Malinen <j@w1.fi>2020-02-29 21:03:20 (GMT)
commitc4988e73c09be168c060eec75e5a6834c89dcf58 (patch)
tree58dbf70e3778c7d68403bec919239666dc15049d /src/drivers/driver_atheros.c
parentd046f2a9f93691215ed112080abd0954557cd90c (diff)
downloadhostap-c4988e73c09be168c060eec75e5a6834c89dcf58.zip
hostap-c4988e73c09be168c060eec75e5a6834c89dcf58.tar.gz
hostap-c4988e73c09be168c060eec75e5a6834c89dcf58.tar.bz2
driver: Extend send_mlme() with wait option
PASN authentication can be performed while a station interface is connected to an AP. To allow sending PASN frames while connected, extend the send_mlme() driver callback to also allow a wait option. Update the relevant drivers and wpa_supplicant accordingly. hostapd calls for send_mlme() are left unchanged, since the wait option is not required there. Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Diffstat (limited to 'src/drivers/driver_atheros.c')
-rw-r--r--src/drivers/driver_atheros.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c
index 2014f9d..d630c3d 100644
--- a/src/drivers/driver_atheros.c
+++ b/src/drivers/driver_atheros.c
@@ -1965,7 +1965,7 @@ static int atheros_set_ap(void *priv, struct wpa_driver_ap_params *params)
static int atheros_send_mgmt(void *priv, const u8 *frm, size_t data_len,
int noack, unsigned int freq,
const u16 *csa_offs, size_t csa_offs_len,
- int no_encrypt)
+ int no_encrypt, unsigned int wait)
{
struct atheros_driver_data *drv = priv;
u8 buf[1510];