wlan_common::capabilities

Function derive_join_capabilities

Source
pub fn derive_join_capabilities(
    bss_channel: Channel,
    bss_rates: &[SupportedRate],
    device_info: &DeviceInfo,
) -> Result<ClientCapabilities, Error>
Expand description

The entry point of this module.

  1. Extract the band capabilities from the iface device based on BSS channel.
  2. Derive/Override capabilities based on iface capabilities, BSS requirements and user overridable channel bandwidths.