ENUM QLINK_STA_INFO(9)
π¦ enum qlink_sta_info π¦
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β theconnected_timevalue is valid. yes queen, we know how long they've been here πQLINK_STA_INFO_INACTIVE_TIMEβ theinactive_timevalue is valid. it's giving "they've been quiet for a min" πQLINK_STA_INFO_RX_BYTESβ the lower 32 bits of therx_bytesvalue 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 thetx_bytesvalue are valid. same deal, low 32 only β¨QLINK_STA_INFO_RX_BYTES64β therx_bytesvalue is valid. the whole value this time. the full 64 bits. slay πQLINK_STA_INFO_TX_BYTES64β thetx_bytesvalue is valid. full width, no notes.QLINK_STA_INFO_RX_DROP_MISCβ therx_dropped_miscvalue is valid. dropped packets, misc flavour πQLINK_STA_INFO_BEACON_RXβ therx_beaconvalue is valid. beacons received, we love to see it π₯QLINK_STA_INFO_SIGNALβ thesignalvalue is valid. how loud is it? very. πΆQLINK_STA_INFO_SIGNAL_AVGβ thesignal_avgvalue is valid. the average version, for the people who like smooth data πΈQLINK_STA_INFO_RX_BITRATEβ therxratevalue is valid. (note: field'srxrate, flag'sRX_BITRATEβ that's just how she is, don't question it π¦)QLINK_STA_INFO_TX_BITRATEβ thetxratevalue is valid.QLINK_STA_INFO_RX_PACKETSβ therx_packetsvalue is valid. packets! coming in! π¦QLINK_STA_INFO_TX_PACKETSβ thetx_packetsvalue is valid. packets! going out! π¦QLINK_STA_INFO_TX_RETRIESβ thetx_retriesvalue is valid. we tried again. and again. iconic persistence πͺQLINK_STA_INFO_TX_FAILEDβ thetx_failedvalue is valid. it flopped. we're tracking it anyway πQLINK_STA_INFO_STA_FLAGSβ thesta_flagsvalue 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms