STRUCT QLINK_CMD_REG_NOTIFY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so picture this: you're deep in the kernel docs, section 9 of the Kernel API Manual, and you land on struct qlink_cmd_reg_notify. Don't panic πŸ’– β€” it's literally just the data payload for the QLINK_CMD_REG_NOTIFY command, and we're gonna walk through it together.


✨ NAME ✨

struct qlink_cmd_reg_notify β€” the data for the QLINK_CMD_REG_NOTIFY command. that's it, that's the whole vibe πŸŽ€


🌸 SYNOPSIS 🌸

here's the whole struct, copied exactly because we do not play with kernel headers:

struct qlink_cmd_reg_notify {
    struct qlink_cmd chdr;
    u8 alpha2[2];
    u8 initiator;
    u8 user_reg_hint_type;
    u8 num_channels;
    u8 dfs_region;
    u8 slave_radar;
    u8 dfs_offload;
    u8 info[];
 };

periodt. the info[] at the end is flexible-array energy, we love to see it πŸ¦‹


🫢 Members 🫢

let's go field by field, bestie, no skipping πŸ‘‘

  • alpha2 β€” the ISO / IEC 3166 alpha2 country code. yes, the cute two-letter one, it's two whole bytes of u8 and it's living in alpha2[2] 🌍
  • initiator β€” which entity sent the request, one of enum qlink_reg_initiator. like, who started this? we must know πŸ’…
  • user_reg_hint_type β€” the type of hint for a QLINK_REGDOM_SET_BY_USER request, one of enum qlink_user_reg_hint_type. it's giving "here's my suggestion bestie" πŸ™ˆ
  • num_channels β€” the number of struct qlink_tlv_channel in a variable portion of a payload. count 'em, queen πŸ”’
  • dfs_region β€” one of enum qlink_dfs_regions. radar country business, iykyk πŸ“‘
  • slave_radar β€” whether the slave device should enable radar detection. yes/no energy, but in a u8 πŸŽ€
  • dfs_offload β€” enable or disable DFS offload to firmware. handing the work off, iconic delegation behavior ✨
  • info β€” the variable portion of the regulatory notifier callback. this is the "rest of the payload lives here" situation πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

okay this list is long long, but we're not skipping a single one, because every last reference deserves its moment πŸ’œ They all 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)
  • 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)
  • 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)

that's the whole friend group, love them all 🌈

quick reminder bestie: this page came from the Kernel file ./drivers/net/wireless/quanten... (the path is truncated in the original footer, so we're keeping it truncated β€” no inventing the rest πŸ’€), dated October 2026.

and that's the page!! you ate that, honestly πŸ“ mwah πŸ’… β€” signed off from the source ./drivers/net/wireless/quanten..., October 2026, struct qlink_cmd_reg_notify(9) forever and always πŸ’–βœ¨

πŸ“¦ where this page comes from