libwifi 0.0.3
An 802.11 Frame Parsing and Generation library in C
common.h File Reference

Go to the source code of this file.

Macros

#define LIBWIFI_DEFAULT_AP_CAPABS   0x0001
 A sane default for an AP-side capabilities information field. More...
 
#define LIBWIFI_DEFAULT_STA_CAPABS   0x0000
 A sane default for an STA-side capabilities information field. More...
 
#define LIBWIFI_DEFAULT_LISTEN_INTERVAL   0x0001
 A sane default for the listen_interval field. More...
 
#define LIBWIFI_DEFAULT_BEACON_INTERVAL   0x0064
 A sane default for a beacon_interval field. More...
 
#define LIBWIFI_DEFAULT_SUPP_RATES   "\x82\x84\x8b\x96\x24\x30\x48\x6c"
 A sane default for the supported rates frame field. More...
 

Macro Definition Documentation

◆ LIBWIFI_DEFAULT_AP_CAPABS

#define LIBWIFI_DEFAULT_AP_CAPABS   0x0001

A sane default for an AP-side capabilities information field.

0x0001 = Transmitter is an AP

Definition at line 24 of file common.h.

◆ LIBWIFI_DEFAULT_BEACON_INTERVAL

#define LIBWIFI_DEFAULT_BEACON_INTERVAL   0x0064

A sane default for a beacon_interval field.

0x0064 = 0.1024 Seconds

Definition at line 45 of file common.h.

◆ LIBWIFI_DEFAULT_LISTEN_INTERVAL

#define LIBWIFI_DEFAULT_LISTEN_INTERVAL   0x0001

A sane default for the listen_interval field.

0x0001 = 1 Beacon Interval

Definition at line 38 of file common.h.

◆ LIBWIFI_DEFAULT_STA_CAPABS

#define LIBWIFI_DEFAULT_STA_CAPABS   0x0000

A sane default for an STA-side capabilities information field.

0x0000 = None

Definition at line 31 of file common.h.

◆ LIBWIFI_DEFAULT_SUPP_RATES

#define LIBWIFI_DEFAULT_SUPP_RATES   "\x82\x84\x8b\x96\x24\x30\x48\x6c"

A sane default for the supported rates frame field.

1, 2, 5.5, 11, 18, 24, 36, 54 Mbit/s

Definition at line 52 of file common.h.