ENUM QLINK_STA_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is a Kernel API Manual page and you're about to become the world's foremost expert on one (1) bitmap enum. no cap. let's go πŸ’…


✨ NAME ✨

enum qlink_sta_info β€” the station information bitmap. that's it, that's the whole vibe.


✨ SYNOPSIS ✨

enum qlink_sta_info {
    QLINK_STA_INFO_CONNECTED_TIME ,
    QLINK_STA_INFO_INACTIVE_TIME ,
    QLINK_STA_INFO_RX_BYTES ,
    QLINK_STA_INFO_TX_BYTES ,
    QLINK_STA_INFO_RX_BYTES64 ,
    QLINK_STA_INFO_TX_BYTES64 ,
    QLINK_STA_INFO_RX_DROP_MISC ,
    QLINK_STA_INFO_BEACON_RX ,
    QLINK_STA_INFO_SIGNAL ,
    QLINK_STA_INFO_SIGNAL_AVG ,
    QLINK_STA_INFO_RX_BITRATE ,
    QLINK_STA_INFO_TX_BITRATE ,
    QLINK_STA_INFO_RX_PACKETS ,
    QLINK_STA_INFO_TX_PACKETS ,
    QLINK_STA_INFO_TX_RETRIES ,
    QLINK_STA_INFO_TX_FAILED ,
    QLINK_STA_INFO_STA_FLAGS ,
    QLINK_STA_INFO_NUM

};

look at her. seventeen little flag constants plus a NUM at the end. absolute main character energy 🌟


πŸŽ€ Constants πŸŽ€

every one of these is basically saying "hey bestie, this particular value over here? it's valid, trust" β€” here's the full roll call:

  • QLINK_STA_INFO_CONNECTED_TIME β€” the connected_time value is valid. yes queen, we know how long they've been here πŸ’–
  • QLINK_STA_INFO_INACTIVE_TIME β€” the inactive_time value is valid. it's giving "they've been quiet for a min" πŸ™ˆ
  • QLINK_STA_INFO_RX_BYTES β€” the lower 32 bits of the rx_bytes value are valid. just the low half, okay? not the whole thing, don't be greedy 😌
  • QLINK_STA_INFO_TX_BYTES β€” the lower 32 bits of the tx_bytes value are valid. same deal, low 32 only ✨
  • QLINK_STA_INFO_RX_BYTES64 β€” the rx_bytes value is valid. the whole value this time. the full 64 bits. slay πŸ‘‘
  • QLINK_STA_INFO_TX_BYTES64 β€” the tx_bytes value is valid. full width, no notes.
  • QLINK_STA_INFO_RX_DROP_MISC β€” the rx_dropped_misc value is valid. dropped packets, misc flavour πŸ’€
  • QLINK_STA_INFO_BEACON_RX β€” the rx_beacon value is valid. beacons received, we love to see it πŸ”₯
  • QLINK_STA_INFO_SIGNAL β€” the signal value is valid. how loud is it? very. πŸ“Ά
  • QLINK_STA_INFO_SIGNAL_AVG β€” the signal_avg value is valid. the average version, for the people who like smooth data 🌸
  • QLINK_STA_INFO_RX_BITRATE β€” the rxrate value is valid. (note: field's rxrate, flag's RX_BITRATE β€” that's just how she is, don't question it πŸ¦‹)
  • QLINK_STA_INFO_TX_BITRATE β€” the txrate value is valid.
  • QLINK_STA_INFO_RX_PACKETS β€” the rx_packets value is valid. packets! coming in! πŸ“¦
  • QLINK_STA_INFO_TX_PACKETS β€” the tx_packets value is valid. packets! going out! πŸ“¦
  • QLINK_STA_INFO_TX_RETRIES β€” the tx_retries value is valid. we tried again. and again. iconic persistence πŸ’ͺ
  • QLINK_STA_INFO_TX_FAILED β€” the tx_failed value is valid. it flopped. we're tracking it anyway 😭
  • QLINK_STA_INFO_STA_FLAGS β€” the sta_flags value is valid. flags inside flags, it's very meta of her πŸŽ€
  • QLINK_STA_INFO_NUM β€” -- undescribed --. the man page literally has nothing for her. she's a mystery. she's a number. she's the number. let her be 🧚

πŸ’œ Description πŸ’œ

so what does this enum actually do, you ask? it's the validity checklist, fr fr β€” it's used to indicate which statistics values in struct qlink_sta_stats are valid.

and the individual values? they get used to fill a bitmap, and that bitmap rides along in a payload of QTN_TLV_ID_BITMAP. so like, one pretty little bitmap, carried in a payload, saying "these stats are real, those ones are a vibe and nothing more" ✨


🌈 SEE ALSO 🌈

first up, the source itself: Kernel file ./drivers/net/wireless/quantenna/qtnfmac/qlink.h

then the whole extended family, and bestie there are so many of them β€” every single one linked here, no skips, no crumbs left behind 🫢

  • enum qlink_msg_type(9)
  • struct qlink_msg_header(9)
  • enum qlink_hw_capab(9)
  • enum qlink_driver_capab(9)
  • struct qlink_intf_info(9)
  • struct qlink_channel(9)
  • struct qlink_chandef(9)
  • struct qlink_sta_info_state(9)
  • enum qlink_sr_ctrl_flags(9)
  • struct qlink_sr_params(9)
  • enum qlink_cmd_type(9)
  • struct qlink_cmd(9)
  • struct qlink_cmd_init_fw(9)
  • struct qlink_cmd_manage_intf(9)
  • struct qlink_cmd_mgmt_frame_register(9)
  • struct qlink_cmd_frame_tx(9)
  • struct qlink_cmd_get_sta_info(9)
  • struct qlink_cmd_add_key(9)
  • struct qlink_cmd_set_def_key(9)
  • struct qlink_cmd_set_def_mgmt_key(9)
  • struct qlink_cmd_change_sta(9)
  • struct qlink_cmd_del_sta(9)
  • struct qlink_cmd_connect(9)
  • struct qlink_cmd_external_auth(9)
  • struct qlink_cmd_disconnect(9)
  • struct qlink_cmd_updown(9)
  • enum qlink_band(9)
  • struct qlink_cmd_band_info_get(9)
  • struct qlink_cmd_get_chan_stats(9)
  • enum qlink_reg_initiator(9)
  • enum qlink_user_reg_hint_type(9)
  • struct qlink_cmd_reg_notify(9)
  • enum qlink_chan_sw_flags(9)
  • struct qlink_cmd_chan_switch(9)
  • enum qlink_hidden_ssid(9)
  • struct qlink_cmd_start_ap(9)
  • struct qlink_cmd_start_cac(9)
  • struct qlink_acl_data(9)
  • enum qlink_pm_mode(9)
  • struct qlink_cmd_pm_set(9)
  • enum qlink_txpwr_op(9)
  • struct qlink_cmd_txpwr(9)
  • enum qlink_wowlan_trigger(9)
  • struct qlink_cmd_wowlan_set(9)
  • struct qlink_cmd_ndev_event(9)
  • struct qlink_cmd_ndev_changeupper(9)
  • enum qlink_scan_flags(9)
  • struct qlink_cmd_scan(9)
  • struct qlink_cmd_update_owe(9)
  • struct qlink_resp(9)
  • struct qlink_resp_init_fw(9)
  • enum qlink_dfs_regions(9)
  • struct qlink_resp_get_mac_info(9)
  • struct qlink_resp_get_hw_info(9)
  • struct qlink_resp_manage_intf(9)
  • struct qlink_resp_get_sta_info(9)
  • struct qlink_resp_band_info_get(9)
  • struct qlink_resp_get_chan_stats(9)
  • struct qlink_resp_channel_get(9)
  • struct qlink_resp_txpwr(9)
  • struct qlink_event(9)
  • struct qlink_event_sta_assoc(9)
  • struct qlink_event_sta_deauth(9)
  • struct qlink_event_bss_join(9)
  • struct qlink_event_bss_leave(9)
  • struct qlink_event_freq_change(9)
  • struct qlink_event_rxmgmt(9)
  • struct qlink_event_scan_result(9)
  • enum qlink_scan_complete_flags(9)
  • struct qlink_event_scan_complete(9)
  • struct qlink_event_radar(9)
  • struct qlink_event_external_auth(9)
  • struct qlink_event_mic_failure(9)
  • struct qlink_event_update_owe(9)
  • enum qlink_tlv_id(9)
  • enum qlink_reg_rule_flags(9)
  • struct qlink_tlv_reg_rule(9)
  • struct qlink_tlv_channel(9)
  • struct qlink_tlv_chandef(9)
  • struct qlink_tlv_ie_set(9)
  • struct qlink_tlv_ext_ie(9)
  • struct qlink_tlv_iftype_data(9)
  • enum qlink_chan_stat(9)
  • struct qlink_chan_stats(9)
  • struct qlink_sta_info_rate(9)
  • struct qlink_sta_stats(9)
  • struct qlink_random_mac_addr(9)
  • struct qlink_wowlan_capab_data(9)
  • struct qlink_wowlan_support(9)

ok that's the whole page bestie. ninety-two-ish cross references and one very valid bitmap. you ate that πŸ’…βœ¨

mwah πŸ’‹ β€” this has been ./drivers/net/wireless/quanten..., dated October 2026, filed under enum qlink_sta_info(9). go forth and validate your stats πŸ¦‹πŸ’–

πŸ“¦ where this page comes from