pub fn derive_wide_channel_bandwidth(
    vht_cbw_and_segs: Option<(VhtChannelBandwidth, u8, u8)>,
    sec_chan_offset: SecChanOffset
) -> Cbw
Expand description

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