Namespaces

Records

Functions

  • std::string Alpha2ToStr (cpp20::span<const uint8_t> alpha2)

    Defined at line 14 of file ../../src/connectivity/wlan/lib/common/cpp/phy.cc

  • template <typename Storage, typename Unit>
    bool operator== (const EnergyType<Storage, Unit> & lhs, const EnergyType<Storage, Unit> & rhs)

    Below operators are defined only for the operands with matching template

    types.

    Defined at line 44 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/energy.h

  • template <typename Storage, typename Unit>
    bool operator!= (const EnergyType<Storage, Unit> & lhs, const EnergyType<Storage, Unit> & rhs)

    Defined at line 50 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/energy.h

  • template <typename Storage, typename Unit>
    bool operator> (const EnergyType<Storage, Unit> & lhs, const EnergyType<Storage, Unit> & rhs)

    Defined at line 56 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/energy.h

  • template <typename Storage, typename Unit>
    bool operator< (const EnergyType<Storage, Unit> & lhs, const EnergyType<Storage, Unit> & rhs)

    Defined at line 62 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/energy.h

  • template <typename Storage, typename Unit>
    bool operator>= (const EnergyType<Storage, Unit> & lhs, const EnergyType<Storage, Unit> & rhs)

    Defined at line 68 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/energy.h

  • template <typename Storage, typename Unit>
    bool operator<= (const EnergyType<Storage, Unit> & lhs, const EnergyType<Storage, Unit> & rhs)

    Defined at line 74 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/energy.h

  • FemtoWatt & operator+= (FemtoWatt & lhs, FemtoWatt rhs)

    Defined at line 89 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/energy.h

  • FemtoWatt & operator-= (FemtoWatt & lhs, FemtoWatt rhs)

    Defined at line 94 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/energy.h

  • uint16_t ConvertStatusCode (::fuchsia::wlan::ieee80211::StatusCode status)

    Convert a StatusCode value to/from a uint16_t value. Unknown values are

    defaulted to REFUSED_REASON_UNSPECIFIED.

    IEEE Std 802.11-2016, 9.4.1.9, Table 9-46

    Defined at line 122 of file ../../src/connectivity/wlan/lib/common/cpp/ieee80211_codes.cc

  • ::fuchsia::wlan::ieee80211::StatusCode ConvertStatusCode (uint16_t status)

    Defined at line 127 of file ../../src/connectivity/wlan/lib/common/cpp/ieee80211_codes.cc

  • zx_status_t HtDataRateLookup (const ::fuchsia::wlan::ieee80211::ChannelBandwidth & cbw, uint8_t mcs, const ::fuchsia::wlan::common::GuardInterval & gi, uint32_t * out_kbps)

    Lookup the data rate for the given HT PHY parameters.

    Defined at line 699 of file ../../src/connectivity/wlan/lib/common/cpp/mcs_rate_lookup.cc

  • zx_status_t VhtDataRateLookup (const ::fuchsia::wlan::ieee80211::ChannelBandwidth & cbw, uint8_t mcs, const ::fuchsia::wlan::common::GuardInterval & gi, uint8_t num_sts, uint8_t stbc, uint32_t * out_kbps)

    Lookup the data rate for the given VHT PHY parameters.

    Defined at line 733 of file ../../src/connectivity/wlan/lib/common/cpp/mcs_rate_lookup.cc

  • bool Is5Ghz (uint8_t channel_number)

    TODO(porce): Replace all channel > 14 test throughout the codes

    Defined at line 30 of file ../../src/connectivity/wlan/lib/common/cpp/channel.cc

  • bool Is2Ghz (uint8_t channel_number)

    Defined at line 35 of file ../../src/connectivity/wlan/lib/common/cpp/channel.cc

  • bool Is5Ghz (const fuchsia_wlan_ieee80211::wire::WlanChannel & channel)

    Defined at line 37 of file ../../src/connectivity/wlan/lib/common/cpp/channel.cc

  • FemtoWatt to_femtoWatt_approx (dBm dbm)

    Convert dBm to femtowatts: femtowatts = 10^(12 + dBm/10)

    For input in the [-100, 48] dBm range, inclusive, results will be accurate

    within 3%. This range corresponds to [100 femtoWatts, ~63 Watts], which

    covers most practical applications such as representing rx/tx power.

    Inputs above 48 dBm will be clipped to 48 dBm.

    For inputs below -100 dBm, the result will be below 100 femtowatts.

    The output will be always less than 2^56. This allows the user to safely sum

    up to 256 values without overflowing.

    Defined at line 170 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/energy.h

  • zx_status_t VhtDataRateLookup (const ::fuchsia::wlan::ieee80211::ChannelBandwidth & cbw, uint8_t mcs, const ::fuchsia::wlan::common::GuardInterval & gi, uint8_t nss, uint32_t * out_kbps)

    Lookup the data rate for the given VHT PHY parameters. This is a convenience method for callers

    that have the nss value, but not the num_sts or stbc values.

    Defined at line 741 of file ../../src/connectivity/wlan/lib/common/cpp/mcs_rate_lookup.cc

  • bool Is2Ghz (const fuchsia_wlan_ieee80211::wire::WlanChannel & channel)

    Defined at line 39 of file ../../src/connectivity/wlan/lib/common/cpp/channel.cc

  • bool IsValidChan2Ghz (const fuchsia_wlan_ieee80211::wire::WlanChannel & channel)

    Defined at line 41 of file ../../src/connectivity/wlan/lib/common/cpp/channel.cc

  • bool IsValidChan5Ghz (const fuchsia_wlan_ieee80211::wire::WlanChannel & channel)

    Defined at line 60 of file ../../src/connectivity/wlan/lib/common/cpp/channel.cc

  • bool IsValidChan (const fuchsia_wlan_ieee80211::wire::WlanChannel & channel)

    Defined at line 135 of file ../../src/connectivity/wlan/lib/common/cpp/channel.cc

  • Mhz GetCenterFreq (const fuchsia_wlan_ieee80211::wire::WlanChannel & channel)

    Defined at line 139 of file ../../src/connectivity/wlan/lib/common/cpp/channel.cc

  • uint8_t GetCenterChanIdx (const fuchsia_wlan_ieee80211::wire::WlanChannel & channel)

    Returns the channel index corresponding to the first frequency segment's

    center frequency

    Defined at line 157 of file ../../src/connectivity/wlan/lib/common/cpp/channel.cc

  • std::string ChanStr (const fuchsia_wlan_ieee80211::wire::WlanChannel & channel)

    Defined at line 240 of file ../../src/connectivity/wlan/lib/common/cpp/channel.cc

  • std::string ChanStrLong (const fuchsia_wlan_ieee80211::wire::WlanChannel & channel)

    Defined at line 251 of file ../../src/connectivity/wlan/lib/common/cpp/channel.cc

  • const char * CbwSuffix (fuchsia_wlan_ieee80211::wire::ChannelBandwidth cbw)

    Defined at line 201 of file ../../src/connectivity/wlan/lib/common/cpp/channel.cc

  • const char * CbwStr (fuchsia_wlan_ieee80211::wire::ChannelBandwidth cbw)

    Defined at line 221 of file ../../src/connectivity/wlan/lib/common/cpp/channel.cc

  • dB to_dB (dBh u)

    Defined at line 88 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • dBh to_dBh (dB u)

    Defined at line 90 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • dBm to_dBm (dBmh u)

    Defined at line 92 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • dBmh to_dBmh (dBm u)

    Defined at line 94 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • Rcpi to_Rcpi (dBmh u, bool measured)

    IEEE Std 802.11-2016, Table 9-154

    Defined at line 99 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • mWatt operator+ (const mWatt & lhs, const mWatt & rhs)

    Defined at line 16 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • mWatt operator- (const mWatt & lhs, const mWatt & rhs)

    Defined at line 18 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • mWatt operator- (const mWatt & rhs)

    Defined at line 20 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • dB operator+ (const dB & lhs, const dB & rhs)

    Defined at line 24 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • dB operator- (const dB & lhs, const dB & rhs)

    Defined at line 26 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • dB operator- (const dB & rhs)

    Defined at line 28 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • dBh operator+ (const dBh & lhs, const dBh & rhs)

    Defined at line 32 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • dBh operator- (const dBh & lhs, const dBh & rhs)

    Defined at line 34 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • dBh operator- (const dBh & rhs)

    Defined at line 36 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • dBm operator+ (const dBm & lhs, const dB & rhs)

    Defined at line 38 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • dBm operator- (const dBm & lhs, const dB & rhs)

    Defined at line 40 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • dBm operator+ (const dBm & lhs, const dBm & rhs)

    Defined at line 80 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • dBmh operator+ (const dBmh & lhs, const dBh & rhs)

    Defined at line 84 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • dBmh operator- (const dBmh & lhs, const dBh & rhs)

    Defined at line 86 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

  • dBm to_dBm (FemtoWatt fw)

    Defined at line 113 of file ../../src/connectivity/wlan/lib/common/cpp/energy.cc

Variables

const MacAddr kZeroMac

Defined at line 10 of file ../../src/connectivity/wlan/lib/common/cpp/macaddr.cc

const MacAddr kBcastMac

Defined at line 11 of file ../../src/connectivity/wlan/lib/common/cpp/macaddr.cc