hostapd
Public Attributes | List of all members
hostapd_freq_params Struct Reference

struct hostapd_freq_params - Channel parameters More...

#include <driver.h>

Public Attributes

enum hostapd_hw_mode mode
 mode - Mode/band (HOSTAPD_MODE_IEEE80211A, ..)
 
int freq
 freq - Primary channel center frequency in MHz
 
int channel
 channel - Channel number
 
int ht_enabled
 ht_enabled - Whether HT is enabled
 
int sec_channel_offset
 sec_channel_offset - Secondary channel offset for HT40 More...
 
int vht_enabled
 vht_enabled - Whether VHT is enabled
 
int center_freq1
 center_freq1 - Segment 0 center frequency in MHz More...
 
int center_freq2
 center_freq2 - Segment 1 center frequency in MHz More...
 
int bandwidth
 bandwidth - Channel bandwidth in MHz (20, 40, 80, 160)
 

Detailed Description

struct hostapd_freq_params - Channel parameters

Member Data Documentation

§ center_freq1

int hostapd_freq_params::center_freq1

center_freq1 - Segment 0 center frequency in MHz

Valid for both HT and VHT.

§ center_freq2

int hostapd_freq_params::center_freq2

center_freq2 - Segment 1 center frequency in MHz

Non-zero only for bandwidth 80 and an 80+80 channel

§ sec_channel_offset

int hostapd_freq_params::sec_channel_offset

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


The documentation for this struct was generated from the following file: