pub fn derive_channel(
rx_primary_channel: u8,
dsss_channel: Option<u8>,
ht_op: Option<HtOperation>,
vht_op: Option<VhtOperation>,
) -> WlanChannel
Expand description
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.
Primary channel is extracted from HT op, DSSS param set, or rx_primary_channel
,
in descending priority.