2009-12-25 13:20:35 +01:00
|
|
|
/*
|
|
|
|
* hostapd - Driver operations
|
|
|
|
* Copyright (c) 2009, Jouni Malinen <j@w1.fi>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* Alternatively, this software may be distributed under the terms of BSD
|
|
|
|
* license.
|
|
|
|
*
|
|
|
|
* See README and COPYING for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef AP_DRV_OPS
|
|
|
|
#define AP_DRV_OPS
|
|
|
|
|
|
|
|
void hostapd_set_driver_ops(struct hostapd_driver_ops *ops);
|
2009-12-25 23:12:25 +01:00
|
|
|
int hostapd_set_privacy(struct hostapd_data *hapd, int enabled);
|
|
|
|
int hostapd_set_generic_elem(struct hostapd_data *hapd, const u8 *elem,
|
|
|
|
size_t elem_len);
|
|
|
|
int hostapd_get_ssid(struct hostapd_data *hapd, u8 *buf, size_t len);
|
|
|
|
int hostapd_set_ssid(struct hostapd_data *hapd, const u8 *buf, size_t len);
|
|
|
|
int hostapd_if_add(struct hostapd_data *hapd, enum wpa_driver_if_type type,
|
|
|
|
const char *ifname, const u8 *addr, void *bss_ctx);
|
|
|
|
int hostapd_if_remove(struct hostapd_data *hapd, enum wpa_driver_if_type type,
|
|
|
|
const char *ifname);
|
2009-12-25 13:20:35 +01:00
|
|
|
|
|
|
|
#endif /* AP_DRV_OPS */
|