aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-07-09 00:14:24 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-09 14:17:20 (GMT)
commitaefb53bd5d837bc3f7a848e0f800f2a9a1cf6d21 (patch)
treecce98777c9273b9fad9dd25149de212d090b3c97 /wpa_supplicant/driver_i.h
parent4c08c0bd5765aa5bc6b7093e3eaa2d7a8f1c20c7 (diff)
downloadhostap-aefb53bd5d837bc3f7a848e0f800f2a9a1cf6d21.zip
hostap-aefb53bd5d837bc3f7a848e0f800f2a9a1cf6d21.tar.gz
hostap-aefb53bd5d837bc3f7a848e0f800f2a9a1cf6d21.tar.bz2
P2P: Disable periodic NoA when non-P2P STA is connected
For now, this applies to the test command that can be used to set periodic NoA (p2p_set noa). The value are stored and periodic NoA is enabled whenever there are no non-P2P STAs connected to the GO.
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 0868fa8..2e404e9 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -514,14 +514,6 @@ static inline int wpa_drv_get_noa(struct wpa_supplicant *wpa_s,
return wpa_s->driver->get_noa(wpa_s->drv_priv, buf, buf_len);
}
-static inline int wpa_drv_set_noa(struct wpa_supplicant *wpa_s, u8 count,
- int start, int duration)
-{
- if (!wpa_s->driver->set_noa)
- return -1;
- return wpa_s->driver->set_noa(wpa_s->drv_priv, count, start, duration);
-}
-
static inline int wpa_drv_set_p2p_powersave(struct wpa_supplicant *wpa_s,
int legacy_ps, int opp_ps,
int ctwindow)