hd_id_t base_class
Base class (id and name).
Definition: hd.h:2236
hd_t * hd
Current hardware list.
Definition: hd.h:2615
str_list_t * channels
Definition: hd.h:1807
#define PROGRESS(a, b, c)
Definition: hd_int.h:65
res_wlan_t wlan
Definition: hd.h:1845
@ pr_wlan
Definition: hd.h:124
char * unix_dev_name
Special device file.
Definition: hd.h:2353
str_list_t * frequencies
in GHz units
Definition: hd.h:1808
Individual hardware item.
Definition: hd.h:2201
int iw_sockets_open(void)
Definition: wlan.c:30
libhd resource union
Definition: hd.h:1827
struct s_hd_t * next
Link to next hardware item.
Definition: hd.h:2202
str_list_t * auth_modes
open, sharedkey, wpa-psk, wpa-eap, wpa-leap
Definition: hd.h:1810
@ bc_network
Definition: hd.h:162
enum resource_types type
Definition: hd.h:1688
@ hw_network_ctrl
Definition: hd.h:143
unsigned module
(Internal) the current probing module we are in
Definition: hd.h:2686
#define ADD2LOG(a...)
Definition: hd_int.h:66
int hd_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:583
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:401
@ mod_wlan
Definition: hd_int.h:83
hd_res_t * res
Device resources.
Definition: hd.h:2432
hd_id_t sub_class
Sub class (id and name).
Definition: hd.h:2241
@ res_wlan
Definition: hd.h:1642
unsigned wlan
WLAN card.
Definition: hd.h:2502
str_list_t * bitrates
in Mbps units
Definition: hd.h:1809
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:1774
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:5310
str_list_t * add_str_list(str_list_t **sl, char *str)
Add a string to a string list.
Definition: hd.c:2484
str_list_t * enc_modes
WEP40, WEP104, WEP128, WEP232, TKIP, CCMP.
Definition: hd.h:1811
Holds all data accumulated during hardware probing.
Definition: hd.h:2609
void * new_mem(size_t size)
Definition: hd.c:1540
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:1829