diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2009-04-02 16:09:48 +0300 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2009-04-02 16:09:48 +0300 |
commit | d2440ba01b058138052c9914bab0f3d1de7d51b1 (patch) | |
tree | dc5312c6562d4918f322f7a73936cf26cd32ba32 /wpa_supplicant/driver_i.h | |
parent | 74f2ad326f91608202eadbdcd99946ae5d7f4245 (diff) | |
download | external_wpa_supplicant_8_ti-d2440ba01b058138052c9914bab0f3d1de7d51b1.zip external_wpa_supplicant_8_ti-d2440ba01b058138052c9914bab0f3d1de7d51b1.tar.gz external_wpa_supplicant_8_ti-d2440ba01b058138052c9914bab0f3d1de7d51b1.tar.bz2 |
Add Beacon configuration for wpa_supplicant AP mode
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r-- | wpa_supplicant/driver_i.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h index 8bf0ae5..4d1446f 100644 --- a/wpa_supplicant/driver_i.h +++ b/wpa_supplicant/driver_i.h @@ -378,4 +378,24 @@ static inline int wpa_drv_set_probe_req_ie(struct wpa_supplicant *wpa_s, return -1; } +static inline int wpa_drv_set_beacon(struct wpa_supplicant *wpa_s, + const u8 *head, size_t head_len, + const u8 *tail, size_t tail_len, + int dtim_period) +{ + if (wpa_s->driver->set_beacon) + return wpa_s->driver->set_beacon(wpa_s->drv_priv, head, + head_len, tail, tail_len, + dtim_period); + return -1; +} + +static inline int wpa_drv_set_beacon_int(struct wpa_supplicant *wpa_s, + int value) +{ + if (wpa_s->driver->set_beacon_int) + return wpa_s->driver->set_beacon_int(wpa_s->drv_priv, value); + return -1; +} + #endif /* DRIVER_I_H */ |