libhd  5.0
wlan.h
Go to the documentation of this file.
s_hd_t::base_class
hd_id_t base_class
Base class (id and name).
Definition: hd.h:2236
hd_data_t::hd
hd_t * hd
Current hardware list.
Definition: hd.h:2615
res_wlan_t::channels
str_list_t * channels
Definition: hd.h:1807
PROGRESS
#define PROGRESS(a, b, c)
Definition: hd_int.h:65
u_hd_res_t::wlan
res_wlan_t wlan
Definition: hd.h:1845
pr_wlan
@ pr_wlan
Definition: hd.h:124
s_hd_t::unix_dev_name
char * unix_dev_name
Special device file.
Definition: hd.h:2353
res_wlan_t::frequencies
str_list_t * frequencies
in GHz units
Definition: hd.h:1808
s_hd_t
Individual hardware item.
Definition: hd.h:2201
iw_sockets_open
int iw_sockets_open(void)
Definition: wlan.c:30
u_hd_res_t
libhd resource union
Definition: hd.h:1827
s_hd_t::next
struct s_hd_t * next
Link to next hardware item.
Definition: hd.h:2202
res_wlan_t::auth_modes
str_list_t * auth_modes
open, sharedkey, wpa-psk, wpa-eap, wpa-leap
Definition: hd.h:1810
bc_network
@ bc_network
Definition: hd.h:162
res_any_t::type
enum resource_types type
Definition: hd.h:1688
hw_network_ctrl
@ hw_network_ctrl
Definition: hd.h:143
hd_data_t::module
unsigned module
(Internal) the current probing module we are in
Definition: hd.h:2686
ADD2LOG
#define ADD2LOG(a...)
Definition: hd_int.h:66
wlan.h
hd_probe_feature
int hd_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:595
iw_get_ext
static int iw_get_ext(int skfd, const char *ifname, int request, struct iwreq *pwrq)
Definition: wlan.c:60
s_hd_t::is
struct s_hd_t::is_s is
hd_id_t::id
unsigned id
Numeric id.
Definition: hd.h:401
hd.h
mod_wlan
@ mod_wlan
Definition: hd_int.h:83
s_hd_t::res
hd_res_t * res
Device resources.
Definition: hd.h:2432
s_hd_t::sub_class
hd_id_t sub_class
Sub class (id and name).
Definition: hd.h:2241
res_wlan
@ res_wlan
Definition: hd.h:1642
hd_int.h
s_hd_t::is_s::wlan
unsigned wlan
WLAN card.
Definition: hd.h:2502
res_wlan_t::bitrates
str_list_t * bitrates
in Mbps units
Definition: hd.h:1809
hd_data
static hd_data_t * hd_data
Definition: pppoe.c:29
add_res_entry
hd_res_t * add_res_entry(hd_res_t **res, hd_res_t *new_res)
Definition: hd.c:1786
iw_freq2float
double iw_freq2float(const struct iw_freq *in)
Definition: wlan.c:112
hd_is_hw_class
int hd_is_hw_class(hd_t *hd, hd_hw_item_t hw_class)
Definition: hd.c:5322
s_str_list_t::add_str_list
str_list_t * add_str_list(str_list_t **sl, char *str)
Add a string to a string list.
Definition: hd.c:2496
res_wlan_t::enc_modes
str_list_t * enc_modes
WEP40, WEP104, WEP128, WEP232, TKIP, CCMP.
Definition: hd.h:1811
hd_data_t
Holds all data accumulated during hardware probing.
Definition: hd.h:2609
new_mem
void * new_mem(size_t size)
Definition: hd.c:1552
iw_get_range_info
int iw_get_range_info(int skfd, const char *ifname, struct iw_range *range)
Definition: wlan.c:71
hd_scan_wlan
void hd_scan_wlan(hd_data_t *hd_data)
Definition: wlan.c:121
u_hd_res_t::any
res_any_t any
Definition: hd.h:1829