Skip to main content

Module channel

Module channel 

Source

Structs§

Channel
A Channel defines the frequency spectrum to be used for radio synchronization. See for sister definitions in FIDL and C/C++

Enums§

Cbw
Channel bandwidth. Cbw80P80 requires the specification of channel index corresponding to the center frequency of the secondary consecutive frequency segment.

Constants§

BASE_FREQ_2GHZ
BASE_FREQ_5GHZ
INVALID_CHAN_IDX

Functions§

derive_channel
Derive channel given DSSS param set, HT operation, and VHT operation IEs from beacon or probe response, and the primary channel from which such frame is received on.
derive_wide_channel_bandwidth
Derive a CBW for a primary channel or channel switch. VHT parameter derivation is defined identically by: IEEE Std 802.11-2016 9.4.2.159 Table 9-252 for channel switching IEEE Std 802.11-2016 11.40.1 Table 11-24 for VHT operation SecChanOffset is defined identially by: IEEE Std 802.11-2016 9.4.2.20 for channel switching IEEE Std 802.11-2016 9.4.2.57 Table 9-168 for HT operation
primary_channel_from_freq
Converts a 20MHz primary channel center frequency in MHz to a channel number. Returns an error if the frequency does not correspond to the center frequency of a valid standard channel in the 2.4GHz or 5GHz bands.

Type Aliases§

MHz