ENUM NL80211_STA_INFO(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… enum nl80211_sta_info(9) ๐Ÿ’…

okay bestie, welcome to the Kernel API Manual โ€” this is the enum that holds all the station info tea โ˜•, and we're about to read it like a group chat.


โœจ NAME โœจ

enum nl80211_sta_info โ€” station information, aka the full lore drop on a Wi-Fi station ๐Ÿซถ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

enum nl80211_sta_info {
    __NL80211_STA_INFO_INVALID ,
    NL80211_STA_INFO_INACTIVE_TIME ,
    NL80211_STA_INFO_RX_BYTES ,
    NL80211_STA_INFO_TX_BYTES ,
    NL80211_STA_INFO_LLID ,
    NL80211_STA_INFO_PLID ,
    NL80211_STA_INFO_PLINK_STATE ,
    NL80211_STA_INFO_SIGNAL ,
    NL80211_STA_INFO_TX_BITRATE ,
    NL80211_STA_INFO_RX_PACKETS ,
    NL80211_STA_INFO_TX_PACKETS ,
    NL80211_STA_INFO_TX_RETRIES ,
    NL80211_STA_INFO_TX_FAILED ,
    NL80211_STA_INFO_SIGNAL_AVG ,
    NL80211_STA_INFO_RX_BITRATE ,
    NL80211_STA_INFO_BSS_PARAM ,
    NL80211_STA_INFO_CONNECTED_TIME ,
    NL80211_STA_INFO_STA_FLAGS ,
    NL80211_STA_INFO_BEACON_LOSS ,
    NL80211_STA_INFO_T_OFFSET ,
    NL80211_STA_INFO_LOCAL_PM ,
    NL80211_STA_INFO_PEER_PM ,
    NL80211_STA_INFO_NONPEER_PM ,
    NL80211_STA_INFO_RX_BYTES64 ,
    NL80211_STA_INFO_TX_BYTES64 ,
    NL80211_STA_INFO_CHAIN_SIGNAL ,
    NL80211_STA_INFO_CHAIN_SIGNAL_AVG ,
    NL80211_STA_INFO_EXPECTED_THROUGHPUT ,
    NL80211_STA_INFO_RX_DROP_MISC ,
    NL80211_STA_INFO_BEACON_RX ,
    NL80211_STA_INFO_BEACON_SIGNAL_AVG ,
    NL80211_STA_INFO_TID_STATS ,
    NL80211_STA_INFO_RX_DURATION ,
    NL80211_STA_INFO_PAD ,
    NL80211_STA_INFO_ACK_SIGNAL ,
    NL80211_STA_INFO_ACK_SIGNAL_AVG ,
    NL80211_STA_INFO_RX_MPDUS ,
    NL80211_STA_INFO_FCS_ERROR_COUNT ,
    NL80211_STA_INFO_CONNECTED_TO_GATE ,
    NL80211_STA_INFO_TX_DURATION ,
    NL80211_STA_INFO_AIRTIME_WEIGHT ,
    NL80211_STA_INFO_AIRTIME_LINK_METRIC ,
    NL80211_STA_INFO_ASSOC_AT_BOOTTIME ,
    NL80211_STA_INFO_CONNECTED_TO_AS ,
    __NL80211_STA_INFO_AFTER_LAST ,
    NL80211_STA_INFO_MAX

};

๐ŸŽ€ Constants ๐ŸŽ€

bestie, there are so many of these and each one is a little icon ๐Ÿ’… โ€” here's the whole set, no skips:

  • __NL80211_STA_INFO_INVALID โ€” attribute number 0 is reserved, so don't touch it ๐Ÿ™ˆ
  • NL80211_STA_INFO_INACTIVE_TIME โ€” time since last activity (u32, msecs) โณ
  • NL80211_STA_INFO_RX_BYTES โ€” total received bytes (MPDU length) (u32, from this station) ๐Ÿ“ฅ
  • NL80211_STA_INFO_TX_BYTES โ€” total transmitted bytes (MPDU length) (u32, to this station) ๐Ÿ“ค
  • NL80211_STA_INFO_LLID โ€” the station's mesh LLID ๐Ÿ•ธ๏ธ
  • NL80211_STA_INFO_PLID โ€” the station's mesh PLID ๐Ÿ•ธ๏ธ
  • NL80211_STA_INFO_PLINK_STATE โ€” peer link state for the station (see enum nl80211_plink_state) ๐Ÿ”—
  • NL80211_STA_INFO_SIGNAL โ€” signal strength of last received PPDU (u8, dBm) ๐Ÿ“ถ
  • NL80211_STA_INFO_TX_BITRATE โ€” current unicast tx rate, nested attribute containing info as possible, see enum nl80211_rate_info ๐Ÿš€
  • NL80211_STA_INFO_RX_PACKETS โ€” total received packet (MSDUs and MMPDUs) (u32, from this station) ๐Ÿ“ฆ
  • NL80211_STA_INFO_TX_PACKETS โ€” total transmitted packets (MSDUs and MMPDUs) (u32, to this station) ๐Ÿ“ฆ
  • NL80211_STA_INFO_TX_RETRIES โ€” total retries (MPDUs) (u32, to this station) ๐Ÿ”
  • NL80211_STA_INFO_TX_FAILED โ€” total failed packets (MPDUs) (u32, to this station) ๐Ÿ’€
  • NL80211_STA_INFO_SIGNAL_AVG โ€” signal strength average (u8, dBm) ๐Ÿ“ถ
  • NL80211_STA_INFO_RX_BITRATE โ€” last unicast data frame rx rate, nested attribute, like NL80211_STA_INFO_TX_BITRATE. ๐Ÿ›ฌ
  • NL80211_STA_INFO_BSS_PARAM โ€” current station's view of BSS, nested attribute containing info as possible, see enum nl80211_sta_bss_param ๐Ÿ‘€
  • NL80211_STA_INFO_CONNECTED_TIME โ€” time since the station is last connected โฑ๏ธ
  • NL80211_STA_INFO_STA_FLAGS โ€” Contains a struct nl80211_sta_flag_update. ๐Ÿšฉ
  • NL80211_STA_INFO_BEACON_LOSS โ€” count of times beacon loss was detected (u32) ๐Ÿ˜ญ
  • NL80211_STA_INFO_T_OFFSET โ€” timing offset with respect to this STA (s64) โฒ๏ธ
  • NL80211_STA_INFO_LOCAL_PM โ€” local mesh STA link-specific power mode ๐Ÿ”‹
  • NL80211_STA_INFO_PEER_PM โ€” peer mesh STA link-specific power mode ๐Ÿ”‹
  • NL80211_STA_INFO_NONPEER_PM โ€” neighbor mesh STA power save mode towards non-peer STA ๐Ÿ”‹
  • NL80211_STA_INFO_RX_BYTES64 โ€” total received bytes (MPDU length) (u64, from this station) ๐Ÿ“ฅ
  • NL80211_STA_INFO_TX_BYTES64 โ€” total transmitted bytes (MPDU length) (u64, to this station) ๐Ÿ“ค
  • NL80211_STA_INFO_CHAIN_SIGNAL โ€” per-chain signal strength of last PPDU Contains a nested array of signal strength attributes (u8, dBm) ๐Ÿ“ถ
  • NL80211_STA_INFO_CHAIN_SIGNAL_AVG โ€” per-chain signal strength average Same format as NL80211_STA_INFO_CHAIN_SIGNAL. ๐Ÿ“ถ
  • NL80211_STA_INFO_EXPECTED_THROUGHPUT โ€” expected throughput considering also the 802.11 header (u32, kbps) ๐ŸŽ๏ธ
  • NL80211_STA_INFO_RX_DROP_MISC โ€” RX packets dropped for unspecified reasons (u64) ๐Ÿ—‘๏ธ
  • NL80211_STA_INFO_BEACON_RX โ€” number of beacons received from this peer (u64) ๐Ÿ“ก
  • NL80211_STA_INFO_BEACON_SIGNAL_AVG โ€” signal strength average for beacons only (u8, dBm) ๐Ÿ“ก
  • NL80211_STA_INFO_TID_STATS โ€” per-TID statistics (see enum nl80211_tid_stats) This is a nested attribute where each the inner attribute number is the TID+1 and the special TID 16 (i.e. value 17) is used for non-QoS frames; each one of those is again nested with enum nl80211_tid_stats attributes carrying the actual values. ๐Ÿงฎ
  • NL80211_STA_INFO_RX_DURATION โ€” aggregate PPDU duration for all frames received from the station (u64, usec) โณ
  • NL80211_STA_INFO_PAD โ€” attribute used for padding for 64-bit alignment ๐Ÿงท
  • NL80211_STA_INFO_ACK_SIGNAL โ€” signal strength of the last ACK frame(u8, dBm) โœ…
  • NL80211_STA_INFO_ACK_SIGNAL_AVG โ€” avg signal strength of ACK frames (s8, dBm) โœ…
  • NL80211_STA_INFO_RX_MPDUS โ€” total number of received packets (MPDUs) (u32, from this station) ๐Ÿ“ฆ
  • NL80211_STA_INFO_FCS_ERROR_COUNT โ€” total number of packets (MPDUs) received with an FCS error (u32, from this station). This count may not include some packets with an FCS error due to TA corruption. Hence this counter might not be fully accurate. โš ๏ธ
  • NL80211_STA_INFO_CONNECTED_TO_GATE โ€” set to true if STA has a path to a mesh gate (u8, 0 or 1) ๐Ÿšช
  • NL80211_STA_INFO_TX_DURATION โ€” aggregate PPDU duration for all frames sent to the station (u64, usec) โณ
  • NL80211_STA_INFO_AIRTIME_WEIGHT โ€” current airtime weight for station (u16) โš–๏ธ
  • NL80211_STA_INFO_AIRTIME_LINK_METRIC โ€” airtime link metric for mesh station ๐Ÿ•ธ๏ธ
  • NL80211_STA_INFO_ASSOC_AT_BOOTTIME โ€” Timestamp (CLOCK_BOOTTIME, nanoseconds) of STA's association ๐Ÿ•ฐ๏ธ
  • NL80211_STA_INFO_CONNECTED_TO_AS โ€” set to true if STA has a path to a authentication server (u8, 0 or 1) ๐Ÿ›ก๏ธ
  • __NL80211_STA_INFO_AFTER_LAST โ€” internal ๐Ÿคซ
  • NL80211_STA_INFO_MAX โ€” highest possible station info attribute ๐Ÿ‘‘

๐Ÿฆ‹ Description ๐Ÿฆ‹

These attribute types are used with NL80211_ATTR_STA_INFO when getting information about a station. that's the whole vibe โ€” you pair them up and suddenly you know everything about that station, no cap ๐Ÿ’–


and that's part 1, bestie โ€” the enum and all its little constants are served ๐Ÿ“ part 2 is right behind this, don't go anywhere โœจ

โœจ SEE ALSO โœจ

okay so this is the part where enum nl80211_sta_info(9) is like โ€œbestie, I cannot be understood in isolationโ€ and points at literally the entire nl80211 extended universe ๐Ÿ’…. No cap, itโ€™s a long roster โ€” every single link is below, same order, same names, same (9) energy.

  • Kernel file ./include/uapi/linux/nl80211.h โ€” the actual header, the receipts, the mothership.
  • Station handling(9) โ€” station behavior, obviously.
  • Frame transmission/registration support(9) โ€” frame tx/registration support.
  • Virtual interface / concurrency capabilities(9) โ€” vif/concurrency capabilities.
  • packet coalesce support(9) โ€” packet coalesce support.
  • WPA/WPA2 EAPOL handshake offload(9) โ€” handshake offload.
  • FILS shared key authentication offload(9) โ€” FILS auth offload.
  • SAE authentication offload(9) โ€” SAE auth offload.
  • VLAN offload support for setting group keys and binding STAs to VLANs(9) โ€” VLAN group keys + STA binding offload.
  • TID configuration(9) โ€” TID config.
  • FILS shared key crypto offload(9) โ€” FILS crypto offload.
  • Multi-Link Operation(9) โ€” MLO.
  • OWE DH IE handling offload(9) โ€” OWE DH IE offload.
  • enum nl80211_commands(9) โ€” the commands enum.
  • enum nl80211_attrs(9) โ€” the attrs enum.
  • enum nl80211_iftype(9) โ€” the iftype enum.
  • enum nl80211_sta_flags(9) โ€” station flags.
  • enum nl80211_sta_p2p_ps_status(9) โ€” P2P PS status.
  • struct nl80211_sta_flag_update(9) โ€” flag update struct.
  • enum nl80211_he_gi(9) โ€” HE GI enum.
  • enum nl80211_he_ltf(9) โ€” HE LTF enum.
  • enum nl80211_he_ru_alloc(9) โ€” HE RU alloc enum.
  • enum nl80211_eht_gi(9) โ€” EHT GI enum.
  • enum nl80211_eht_ltf(9) โ€” EHT LTF enum.
  • enum nl80211_eht_ru_alloc(9) โ€” EHT RU alloc enum.
  • enum nl80211_rate_info(9) โ€” rate info.
  • enum nl80211_sta_bss_param(9) โ€” station BSS params.
  • enum nl80211_tid_stats(9) โ€” TID stats.
  • enum nl80211_txq_stats(9) โ€” TXQ stats.
  • enum nl80211_mpath_flags(9) โ€” mpath flags.
  • enum nl80211_mpath_info(9) โ€” mpath info.
  • enum nl80211_band_iftype_attr(9) โ€” band/iftype attrs.
  • enum nl80211_band_attr(9) โ€” band attrs.
  • enum nl80211_nan_phy_cap_attr(9) โ€” NAN PHY cap attrs.
  • enum nl80211_wmm_rule(9) โ€” WMM rules.
  • enum nl80211_frequency_attr(9) โ€” frequency attrs.
  • enum nl80211_bitrate_attr(9) โ€” bitrate attrs.
  • enum nl80211_reg_initiator(9) โ€” regulatory initiator.
  • enum nl80211_reg_type(9) โ€” regulatory type.
  • enum nl80211_reg_rule_attr(9) โ€” reg rule attrs.
  • enum nl80211_sched_scan_match_attr(9) โ€” sched scan match attrs.
  • enum nl80211_reg_rule_flags(9) โ€” reg rule flags.
  • enum nl80211_dfs_regions(9) โ€” DFS regions.
  • enum nl80211_user_reg_hint_type(9) โ€” user reg hint type.
  • enum nl80211_survey_info(9) โ€” survey info.
  • enum nl80211_mntr_flags(9) โ€” monitor flags.
  • enum nl80211_mesh_power_mode(9) โ€” mesh power mode.
  • enum nl80211_meshconf_params(9) โ€” mesh conf params.
  • enum nl80211_mesh_setup_params(9) โ€” mesh setup params.
  • enum nl80211_txq_attr(9) โ€” TXQ attrs.
  • enum nl80211_channel_type(9) โ€” channel type.
  • enum nl80211_key_mode(9) โ€” key mode.
  • enum nl80211_chan_width(9) โ€” channel width.
  • enum nl80211_bss_scan_width(9) โ€” BSS scan width.
  • enum nl80211_bss_use_for(9) โ€” BSS use-for.
  • enum nl80211_bss_cannot_use_reasons(9) โ€” BSS cannot-use reasons.
  • enum nl80211_bss(9) โ€” the BSS enum.
  • enum nl80211_bss_status(9) โ€” BSS status.
  • enum nl80211_auth_type(9) โ€” auth type.
  • enum nl80211_key_type(9) โ€” key type.
  • enum nl80211_mfp(9) โ€” MFP.
  • enum nl80211_key_default_types(9) โ€” key default types.
  • enum nl80211_key_attributes(9) โ€” key attrs.
  • enum nl80211_tx_rate_attributes(9) โ€” TX rate attrs.
  • struct nl80211_txrate_vht(9) โ€” VHT txrate struct.
  • struct nl80211_txrate_he(9) โ€” HE txrate struct.
  • struct nl80211_txrate_eht(9) โ€” EHT txrate struct.
  • enum nl80211_band(9) โ€” the band enum.
  • enum nl80211_ps_state(9) โ€” PS state.
  • enum nl80211_attr_cqm(9) โ€” CQM attrs.
  • enum nl80211_cqm_rssi_threshold_event(9) โ€” CQM RSSI threshold event.
  • enum nl80211_tx_power_setting(9) โ€” TX power setting.
  • enum nl80211_tid_config(9) โ€” TID config.
  • enum nl80211_packet_pattern_attr(9) โ€” packet pattern attrs.
  • struct nl80211_pattern_support(9) โ€” pattern support struct.
  • enum nl80211_wowlan_triggers(9) โ€” WoWLAN triggers.
  • TCP connection wakeup(9) โ€” TCP connection wakeup.
  • struct nl80211_wowlan_tcp_data_seq(9) โ€” WoWLAN TCP data seq struct.
  • struct nl80211_wowlan_tcp_data_token(9) โ€” WoWLAN TCP data token struct.
  • struct nl80211_wowlan_tcp_data_token_feature(9) โ€” WoWLAN TCP data token feature struct.
  • enum nl80211_wowlan_tcp_attrs(9) โ€” WoWLAN TCP attrs.
  • struct nl80211_coalesce_rule_support(9) โ€” coalesce rule support struct.
  • enum nl80211_attr_coalesce_rule(9) โ€” coalesce rule attrs.
  • enum nl80211_coalesce_condition(9) โ€” coalesce condition.
  • enum nl80211_iface_limit_attrs(9) โ€” iface limit attrs.
  • enum nl80211_if_combination_attrs(9) โ€” iface combination attrs.
  • enum nl80211_plink_state(9) โ€” plink state.
  • enum nl80211_plink_action(9) โ€” plink action.
  • enum nl80211_rekey_data(9) โ€” rekey data.
  • enum nl80211_hidden_ssid(9) โ€” hidden SSID.
  • enum nl80211_sta_wme_attr(9) โ€” station WME attrs.
  • enum nl80211_pmksa_candidate_attr(9) โ€” PMKSA candidate attrs.
  • enum nl80211_tdls_operation(9) โ€” TDLS operation.
  • enum nl80211_ap_sme_features(9) โ€” AP SME features.
  • enum nl80211_feature_flags(9) โ€” feature flags.
  • enum nl80211_ext_feature_index(9) โ€” ext feature index.
  • enum nl80211_probe_resp_offload_support_attr(9) โ€” probe resp offload support attrs.
  • enum nl80211_connect_failed_reason(9) โ€” connect failed reason.
  • enum nl80211_timeout_reason(9) โ€” timeout reason.
  • enum nl80211_scan_flags(9) โ€” scan flags.
  • enum nl80211_acl_policy(9) โ€” ACL policy.
  • enum nl80211_smps_mode(9) โ€” SMPS mode.
  • enum nl80211_radar_event(9) โ€” radar event.
  • enum nl80211_dfs_state(9) โ€” DFS state.
  • enum nl80211_protocol_features(9) โ€” protocol features.
  • enum nl80211_crit_proto_id(9) โ€” critical proto ID.
  • enum nl80211_rxmgmt_flags(9) โ€” RX mgmt flags.
  • struct nl80211_vendor_cmd_info(9) โ€” vendor cmd info struct.
  • enum nl80211_tdls_peer_capability(9) โ€” TDLS peer capability.
  • enum nl80211_sched_scan_plan(9) โ€” sched scan plan.
  • struct nl80211_bss_select_rssi_adjust(9) โ€” BSS select RSSI adjust struct.
  • enum nl80211_bss_select_attr(9) โ€” BSS select attrs.
  • enum nl80211_nan_function_type(9) โ€” NAN function type.
  • enum nl80211_nan_publish_type(9) โ€” NAN publish type.
  • enum nl80211_nan_func_term_reason(9) โ€” NAN func term reason.
  • enum nl80211_nan_func_attributes(9) โ€” NAN func attrs.
  • enum nl80211_nan_srf_attributes(9) โ€” NAN SRF attrs.
  • enum nl80211_nan_match_attributes(9) โ€” NAN match attrs.
  • enum nl80211_nan_band_conf_attributes(9) โ€” NAN band conf attrs.
  • enum nl80211_nan_conf_attributes(9) โ€” NAN conf attrs.
  • enum nl80211_external_auth_action(9) โ€” external auth action.
  • enum nl80211_ftm_responder_attributes(9) โ€” FTM responder attrs.
  • enum nl80211_preamble(9) โ€” preamble.
  • enum nl80211_peer_measurement_type(9) โ€” peer measurement type.
  • enum nl80211_peer_measurement_status(9) โ€” peer measurement status.
  • enum nl80211_peer_measurement_req(9) โ€” peer measurement req.
  • enum nl80211_peer_measurement_resp(9) โ€” peer measurement resp.
  • enum nl80211_peer_measurement_ftm_req_type(9) โ€” peer measurement FTM req type.
  • enum nl80211_peer_measurement_peer_attrs(9) โ€” peer measurement peer attrs.
  • enum nl80211_peer_measurement_attrs(9) โ€” peer measurement attrs.
  • enum nl80211_peer_measurement_ftm_capa(9) โ€” peer measurement FTM capa.
  • enum nl80211_peer_measurement_ftm_type_capa(9) โ€” peer measurement FTM type capa.
  • enum nl80211_peer_measurement_ftm_req(9) โ€” peer measurement FTM req.
  • enum nl80211_peer_measurement_ftm_failure_reasons(9) โ€” peer measurement FTM failure reasons.
  • enum nl80211_peer_measurement_ftm_resp(9) โ€” peer measurement FTM resp.
  • enum nl80211_obss_pd_attributes(9) โ€” OBSS PD attrs.
  • enum nl80211_bss_color_attributes(9) โ€” BSS color attrs.
  • enum nl80211_iftype_akm_attributes(9) โ€” iftype AKM attrs.
  • enum nl80211_fils_discovery_attributes(9) โ€” FILS discovery attrs.
  • enum nl80211_unsol_bcast_probe_resp_attributes(9) โ€” unsolicited broadcast probe resp attrs.
  • enum nl80211_sae_pwe_mechanism(9) โ€” SAE PWE mechanism.
  • enum nl80211_sar_type(9) โ€” SAR type.
  • enum nl80211_sar_attrs(9) โ€” SAR attrs.
  • enum nl80211_sar_specs_attrs(9) โ€” SAR specs attrs.
  • enum nl80211_mbssid_config_attributes(9) โ€” MBSSID config attrs.
  • enum nl80211_ap_settings_flags(9) โ€” AP settings flags.
  • enum nl80211_wiphy_radio_attrs(9) โ€” wiphy radio attrs.
  • enum nl80211_wiphy_radio_freq_range(9) โ€” wiphy radio freq range.
  • enum nl80211_s1g_short_beacon_attrs(9) โ€” S1G short beacon attrs.
  • enum nl80211_nan_capabilities(9) โ€” NAN capabilities.
  • enum nl80211_nan_peer_map_attrs(9) โ€” NAN peer map attrs.

Thatโ€™s the whole squad ๐Ÿซถ if a link is here, itโ€™s here for a reason โ€” go read it, bestie.


footer tea โ˜•: source/version ./include/uapi/linux, date October 2026, page enum nl80211_sta_info(9). mwah ๐Ÿ’‹
๐Ÿ“ฆ where this page comes from