hd_id_t base_class
Base class (id and name).
Definition: hd.h:2231
hd_t * hd
Current hardware list.
Definition: hd.h:2610
str_list_t * channels
Definition: hd.h:1802
#define PROGRESS(a, b, c)
Definition: hd_int.h:61
res_wlan_t wlan
Definition: hd.h:1840
@ pr_wlan
Definition: hd.h:121
char * unix_dev_name
Special device file.
Definition: hd.h:2348
str_list_t * frequencies
in GHz units
Definition: hd.h:1803
Individual hardware item.
Definition: hd.h:2196
int iw_sockets_open(void)
Definition: wlan.c:30
libhd resource union
Definition: hd.h:1822
struct s_hd_t * next
Link to next hardware item.
Definition: hd.h:2197
str_list_t * auth_modes
open, sharedkey, wpa-psk, wpa-eap, wpa-leap
Definition: hd.h:1805
@ bc_network
Definition: hd.h:159
enum resource_types type
Definition: hd.h:1683
@ hw_network_ctrl
Definition: hd.h:140
unsigned module
(Internal) the current probing module we are in
Definition: hd.h:2681
#define ADD2LOG(a...)
Definition: hd_int.h:62
int hd_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:579
static int iw_get_ext(int skfd, const char *ifname, int request, struct iwreq *pwrq)
Definition: wlan.c:60
unsigned id
Numeric id.
Definition: hd.h:397
@ mod_wlan
Definition: hd_int.h:79
hd_res_t * res
Device resources.
Definition: hd.h:2427
hd_id_t sub_class
Sub class (id and name).
Definition: hd.h:2236
@ res_wlan
Definition: hd.h:1637
unsigned wlan
WLAN card.
Definition: hd.h:2497
str_list_t * bitrates
in Mbps units
Definition: hd.h:1804
static hd_data_t * hd_data
Definition: pppoe.c:29
hd_res_t * add_res_entry(hd_res_t **res, hd_res_t *new_res)
Definition: hd.c:1769
double iw_freq2float(const struct iw_freq *in)
Definition: wlan.c:112
int hd_is_hw_class(hd_t *hd, hd_hw_item_t hw_class)
Definition: hd.c:5251
str_list_t * add_str_list(str_list_t **sl, char *str)
Definition: hd.c:2479
str_list_t * enc_modes
WEP40, WEP104, WEP128, WEP232, TKIP, CCMP.
Definition: hd.h:1806
Holds all data accumulated during hardware probing.
Definition: hd.h:2604
void * new_mem(size_t size)
Definition: hd.c:1535
int iw_get_range_info(int skfd, const char *ifname, struct iw_range *range)
Definition: wlan.c:71
void hd_scan_wlan(hd_data_t *hd_data)
Definition: wlan.c:121
res_any_t any
Definition: hd.h:1824