STRUCT QLINK_RESP_GET_MAC_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct qlink_resp_get_mac_info β€” response for QLINK_CMD_MAC_INFO command.

Okay bestie, welcome to the Kernel API Manual page for struct qlink_resp_get_mac_info. This is the response struct for the QLINK_CMD_MAC_INFO command, and we are gonna cover every single thing the manual gives us. No skipping, no cap. 🫢


✨ SYNOPSIS ✨

Here's the whole struct, exact and iconic, just like the manual lays it out:

struct qlink_resp_get_mac_info {
    struct qlink_resp rhdr;
    u8 dev_mac[ETH_ALEN];
    u8 num_tx_chain;
    u8 num_rx_chain;
    struct ieee80211_vht_cap vht_cap_mod_mask;
    struct ieee80211_ht_cap ht_cap_mod_mask;
    __le16 max_ap_assoc_sta;
    __le32 hw_version;
    __le32 probe_resp_offload;
    __le32 bss_select_support;
    __le16 n_addresses;
    __le16 radar_detect_widths;
    __le16 max_remain_on_channel_duration;
    __le16 max_acl_mac_addrs;
    __le32 frag_threshold;
    __le32 rts_threshold;
    u8 retry_short;
    u8 retry_long;
    u8 coverage_class;
    u8 max_scan_ssids;
    u8 max_sched_scan_reqs;
    u8 max_sched_scan_ssids;
    u8 max_match_sets;
    u8 max_adj_channel_rssi_comp;
    __le16 max_scan_ie_len;
    __le16 max_sched_scan_ie_len;
    __le32 max_sched_scan_plans;
    __le32 max_sched_scan_plan_interval;
    __le32 max_sched_scan_plan_iterations;
    u8 n_cipher_suites;
    u8 n_akm_suites;
    u8 max_num_pmkids;
    u8 num_iftype_ext_capab;
    u8 extended_capabilities_len;
    u8 max_data_retry_count;
    u8 n_iface_combinations;
    u8 max_num_csa_counters;
    u8 bands_cap;
    u8 alpha2[2];
    u8 n_reg_rules;
    u8 dfs_region;
    u8 rsvd[3];
    u8 var_info[];
};

πŸŽ€ Members πŸŽ€

The manual gives specific little blurbs for these members β€” everyone else is still chillin' in the struct up top. πŸ’…

  • dev_mac β€” MAC address of physical WMAC device (used for first BSS on specified WMAC).
  • num_tx_chain β€” Number of transmit chains used by WMAC.
  • num_rx_chain β€” Number of receive chains used by WMAC.
  • vht_cap_mod_mask β€” mask specifying which VHT capabilities can be altered.
  • ht_cap_mod_mask β€” mask specifying which HT capabilities can be altered.
  • max_ap_assoc_sta β€” Maximum number of associations supported by WMAC.
  • radar_detect_widths β€” bitmask of channels BW for which WMAC can detect radar.
  • max_scan_ssids β€” maximum number of SSIDs the device can scan for in any scan.
  • bands_cap β€” wireless bands WMAC can operate in, bitmap of enum qlink_band.
  • alpha2 β€” country code ID firmware is configured to.
  • n_reg_rules β€” number of regulatory rules TLVs in variable portion of the message.
  • dfs_region β€” regulatory DFS region, one of enum qlink_dfs_regions.
  • var_info β€” variable-length WMAC info data.

πŸ¦‹ Description πŸ¦‹

Data describing specific physical device providing wireless MAC functionality.

It's literally the data that describes the specific physical device giving you wireless MAC functionality. Hardware-identity realness, no cap. ✨


🌈 SEE ALSO 🌈

The page points at the kernel file ./drivers/net/wireless/quantenna/qtnfmac/qlink.h, then name-drops this entire friend group:

  • 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_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)
  • 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)

Okay that's the whole page, bestie! Cute little sign-off vibes: source/version ./drivers/net/wireless/quanten..., date October 2026, and the page is struct qlink...get_mac_info(9). Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from