STRUCT QLINK_RESP_GET_CHAN_STATS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual ✨ this one is a little struct page from the kernel docs and it's honestly iconic in a "quietly doing its job" way. No cap, it's short, it's sweet, and it's the reply you get back after you ask the firmware about channel stats. Let's get into it 🫢


🌸 NAME 🌸

struct qlink_resp_get_chan_stats β€” the response for the QLINK_CMD_CHAN_STATS cmd πŸ’«

Literally what it says on the tin: it's the response struct, as in the thing that comes back, for the QLINK_CMD_CHAN_STATS command. That's the whole vibe check. πŸ‘‘


✨ SYNOPSIS ✨

struct qlink_resp_get_chan_stats {
    struct qlink_resp rhdr;
    __le32 chan_freq;
    u8 info[];
};

look at her. three members. clean. no notes. πŸŽ€


πŸ¦‹ Members πŸ¦‹

  • chan_freq β€” the center frequency for a channel the report is sent for πŸ’– so like, which channel this whole report is about, frequency-wise.
  • info β€” variable-length channel info 🌈 she's a flexible array member, she grows to fit, main character energy honestly.

πŸŽ€ SEE ALSO πŸŽ€

okay this is the part where the manpage goes absolutely feral and lists basically the entire qlink family tree 😭 but we're not skipping a single one, because every single reference is a baddie and they all deserve their moment. Also, fair warning, all of these live in the kernel file ./drivers/net/wireless/quantenna/qtnfmac/qlink.h πŸ‘‘

  • 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_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)
  • enum qlink_sta_info(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)
fr fr that's the whole squad and yes, struct qlink_cmd_get_chan_stats(9) is the ask-y one and this page is the answer-y one. they're a matched set, iykyk πŸ’…

πŸ’œ cute little sign-off πŸ’œ

and that's the page!! this lovely little number is from the kernel file path ./drivers/net/wireless/quanten... (yes, it really is truncated like that, we don't fix it, we respect it πŸ™ˆ) and it's dated October 2026 🌸 and the title wraps up as struct qlink...t_chan_stats(9) because even manpage footers get a little chopped sometimes. go read your channel stats bestie, you've earned it πŸ˜­πŸ’–πŸŽ€

πŸ“¦ where this page comes from