wpa_supplicant / hostapd
2.5
|
Channel parameters. More...
#include <driver.h>
Data Fields | |
enum hostapd_hw_mode | mode |
Mode/band (HOSTAPD_MODE_IEEE80211A, ..) | |
int | freq |
Primary channel center frequency in MHz. | |
int | channel |
Channel number. | |
int | ht_enabled |
Whether HT is enabled. | |
int | sec_channel_offset |
Secondary channel offset for HT40. More... | |
int | vht_enabled |
Whether VHT is enabled. | |
int | center_freq1 |
Segment 0 center frequency in MHz. More... | |
int | center_freq2 |
Segment 1 center frequency in MHz. More... | |
int | bandwidth |
Channel bandwidth in MHz (20, 40, 80, 160) | |
Channel parameters.
int hostapd_freq_params::center_freq1 |
Segment 0 center frequency in MHz.
Valid for both HT and VHT.
int hostapd_freq_params::center_freq2 |
Segment 1 center frequency in MHz.
Non-zero only for bandwidth 80 and an 80+80 channel
int hostapd_freq_params::sec_channel_offset |
Secondary channel offset for HT40.
0 = HT40 disabled, -1 = HT40 enabled, secondary channel below primary, 1 = HT40 enabled, secondary channel above primary