wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
ap_drv_ops.h File Reference

hostapd - Driver operations More...

#include "drivers/driver.h"

Go to the source code of this file.

Functions

u32 hostapd_sta_flags_to_drv (u32 flags)
 
int hostapd_build_ap_extra_ies (struct hostapd_data *hapd, struct wpabuf **beacon, struct wpabuf **proberesp, struct wpabuf **assocresp)
 
void hostapd_free_ap_extra_ies (struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp)
 
int hostapd_reset_ap_wps_ie (struct hostapd_data *hapd)
 
int hostapd_set_ap_wps_ie (struct hostapd_data *hapd)
 
int hostapd_set_authorized (struct hostapd_data *hapd, struct sta_info *sta, int authorized)
 
int hostapd_set_sta_flags (struct hostapd_data *hapd, struct sta_info *sta)
 
int hostapd_set_drv_ieee8021x (struct hostapd_data *hapd, const char *ifname, int enabled)
 
int hostapd_vlan_if_add (struct hostapd_data *hapd, const char *ifname)
 
int hostapd_vlan_if_remove (struct hostapd_data *hapd, const char *ifname)
 
int hostapd_set_wds_sta (struct hostapd_data *hapd, char *ifname_wds, const u8 *addr, int aid, int val)
 
int hostapd_sta_add (struct hostapd_data *hapd, const u8 *addr, u16 aid, u16 capability, const u8 *supp_rates, size_t supp_rates_len, u16 listen_interval, const struct ieee80211_ht_capabilities *ht_capab, const struct ieee80211_vht_capabilities *vht_capab, u32 flags, u8 qosinfo, u8 vht_opmode)
 
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, void **drv_priv, char *force_ifname, u8 *if_addr, const char *bridge, int use_existing)
 
int hostapd_if_remove (struct hostapd_data *hapd, enum wpa_driver_if_type type, const char *ifname)
 
int hostapd_set_ieee8021x (struct hostapd_data *hapd, struct wpa_bss_params *params)
 
int hostapd_get_seqnum (const char *ifname, struct hostapd_data *hapd, const u8 *addr, int idx, u8 *seq)
 
int hostapd_flush (struct hostapd_data *hapd)
 
int hostapd_set_freq (struct hostapd_data *hapd, enum hostapd_hw_mode mode, int freq, int channel, int ht_enabled, int vht_enabled, int sec_channel_offset, int vht_oper_chwidth, int center_segment0, int center_segment1)
 
int hostapd_set_rts (struct hostapd_data *hapd, int rts)
 
int hostapd_set_frag (struct hostapd_data *hapd, int frag)
 
int hostapd_sta_set_flags (struct hostapd_data *hapd, u8 *addr, int total_flags, int flags_or, int flags_and)
 
int hostapd_set_country (struct hostapd_data *hapd, const char *country)
 
int hostapd_set_tx_queue_params (struct hostapd_data *hapd, int queue, int aifs, int cw_min, int cw_max, int burst_time)
 
struct hostapd_hw_modeshostapd_get_hw_feature_data (struct hostapd_data *hapd, u16 *num_modes, u16 *flags)
 
int hostapd_driver_commit (struct hostapd_data *hapd)
 
int hostapd_drv_none (struct hostapd_data *hapd)
 
int hostapd_driver_scan (struct hostapd_data *hapd, struct wpa_driver_scan_params *params)
 
struct wpa_scan_resultshostapd_driver_get_scan_results (struct hostapd_data *hapd)
 
int hostapd_driver_set_noa (struct hostapd_data *hapd, u8 count, int start, int duration)
 
int hostapd_drv_set_key (const char *ifname, struct hostapd_data *hapd, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len)
 
int hostapd_drv_send_mlme (struct hostapd_data *hapd, const void *msg, size_t len, int noack)
 
int hostapd_drv_sta_deauth (struct hostapd_data *hapd, const u8 *addr, int reason)
 
int hostapd_drv_sta_disassoc (struct hostapd_data *hapd, const u8 *addr, int reason)
 
int hostapd_drv_send_action (struct hostapd_data *hapd, unsigned int freq, unsigned int wait, const u8 *dst, const u8 *data, size_t len)
 
int hostapd_add_sta_node (struct hostapd_data *hapd, const u8 *addr, u16 auth_alg)
 
int hostapd_sta_auth (struct hostapd_data *hapd, const u8 *addr, u16 seq, u16 status, const u8 *ie, size_t len)
 
int hostapd_sta_assoc (struct hostapd_data *hapd, const u8 *addr, int reassoc, u16 status, const u8 *ie, size_t len)
 
int hostapd_add_tspec (struct hostapd_data *hapd, const u8 *addr, u8 *tspec_ie, size_t tspec_ielen)
 
int hostapd_start_dfs_cac (struct hostapd_iface *iface, enum hostapd_hw_mode mode, int freq, int channel, int ht_enabled, int vht_enabled, int sec_channel_offset, int vht_oper_chwidth, int center_segment0, int center_segment1)
 
int hostapd_drv_do_acs (struct hostapd_data *hapd)
 
int hostapd_drv_wnm_oper (struct hostapd_data *hapd, enum wnm_oper oper, const u8 *peer, u8 *buf, u16 *buf_len)
 
int hostapd_drv_set_qos_map (struct hostapd_data *hapd, const u8 *qos_map_set, u8 qos_map_set_len)
 

Detailed Description

hostapd - Driver operations