ENUM QLINK_CMD_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the glow-up of the century: this is the manual page for enum qlink_cmd_type, straight out of the Kernel API Manual ✨. It's literally the list of supported commands β€” the whole menu of stuff a driver can ask the wireless device to do πŸŽ€.


✨ NAME ✨

enum qlink_cmd_type β€” list of supported commands 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

enum qlink_cmd_type {
    QLINK_CMD_FW_INIT ,
    QLINK_CMD_FW_DEINIT ,
    QLINK_CMD_REGISTER_MGMT ,
    QLINK_CMD_SEND_FRAME ,
    QLINK_CMD_MGMT_SET_APPIE ,
    QLINK_CMD_PHY_PARAMS_SET ,
    QLINK_CMD_GET_HW_INFO ,
    QLINK_CMD_MAC_INFO ,
    QLINK_CMD_ADD_INTF ,
    QLINK_CMD_DEL_INTF ,
    QLINK_CMD_CHANGE_INTF ,
    QLINK_CMD_UPDOWN_INTF ,
    QLINK_CMD_REG_NOTIFY ,
    QLINK_CMD_BAND_INFO_GET ,
    QLINK_CMD_CHAN_SWITCH ,
    QLINK_CMD_CHAN_GET ,
    QLINK_CMD_START_CAC ,
    QLINK_CMD_START_AP ,
    QLINK_CMD_STOP_AP ,
    QLINK_CMD_SET_MAC_ACL ,
    QLINK_CMD_GET_STA_INFO ,
    QLINK_CMD_ADD_KEY ,
    QLINK_CMD_DEL_KEY ,
    QLINK_CMD_SET_DEFAULT_KEY ,
    QLINK_CMD_SET_DEFAULT_MGMT_KEY ,
    QLINK_CMD_CHANGE_STA ,
    QLINK_CMD_DEL_STA ,
    QLINK_CMD_SCAN ,
    QLINK_CMD_CHAN_STATS ,
    QLINK_CMD_NDEV_EVENT ,
    QLINK_CMD_CONNECT ,
    QLINK_CMD_DISCONNECT ,
    QLINK_CMD_PM_SET ,
    QLINK_CMD_WOWLAN_SET ,
    QLINK_CMD_EXTERNAL_AUTH ,
    QLINK_CMD_TXPWR ,
    QLINK_CMD_UPDATE_OWE

};

like, that's the whole cast of characters, no cap πŸ’€πŸ”₯


πŸ‘‘ CONSTANTS πŸ‘‘

so here's the tea on each one, one by one, bestie πŸ“

  • QLINK_CMD_FW_INIT β€” -- undescribed -- (the source literally has nothing for this one, we move πŸ™ˆ)
  • QLINK_CMD_FW_DEINIT β€” -- undescribed -- πŸ’€
  • QLINK_CMD_REGISTER_MGMT β€” -- undescribed -- ✨
  • QLINK_CMD_SEND_FRAME β€” sends the specified frame over the air; the firmware will encapsulate the 802.3 packet into an 802.11 frame automatically. it's giving auto-conversion icon behavior πŸ”₯
  • QLINK_CMD_MGMT_SET_APPIE β€” -- undescribed -- πŸŽ€
  • QLINK_CMD_PHY_PARAMS_SET β€” -- undescribed -- 🌸
  • QLINK_CMD_GET_HW_INFO β€” -- undescribed -- πŸ¦‹
  • QLINK_CMD_MAC_INFO β€” -- undescribed -- πŸ’œ
  • QLINK_CMD_ADD_INTF β€” -- undescribed -- ⭐
  • QLINK_CMD_DEL_INTF β€” -- undescribed -- 🧚
  • QLINK_CMD_CHANGE_INTF β€” -- undescribed -- 🌈
  • QLINK_CMD_UPDOWN_INTF β€” -- undescribed -- 😭
  • QLINK_CMD_REG_NOTIFY β€” notifies the device about a regulatory domain change ✨. This command is supported only if the device reports the QLINK_HW_SUPPORTS_REG_UPDATE capability. (vibe check first, always 🫢)
  • QLINK_CMD_BAND_INFO_GET β€” for the specified MAC and the specified band, it grabs that band's description: number of operational channels, info on each channel, HT/VHT capabilities, supported rates, etc. πŸ“Š This command is generic to a specified MAC, so the interface index must be set to QLINK_VIFID_RSVD in the command header. no skipping that, bestie πŸ‘€
  • QLINK_CMD_CHAN_SWITCH β€” -- undescribed -- 🌸
  • QLINK_CMD_CHAN_GET β€” -- undescribed -- πŸŽ€
  • QLINK_CMD_START_CAC β€” starts the radar detection procedure on the specified channel πŸ¦‹ (radar girlies rise)
  • QLINK_CMD_START_AP β€” -- undescribed -- πŸ’œ
  • QLINK_CMD_STOP_AP β€” -- undescribed -- ⭐
  • QLINK_CMD_SET_MAC_ACL β€” -- undescribed -- 🧚
  • QLINK_CMD_GET_STA_INFO β€” -- undescribed -- 🌈
  • QLINK_CMD_ADD_KEY β€” -- undescribed -- 😭
  • QLINK_CMD_DEL_KEY β€” -- undescribed -- πŸ™ˆ
  • QLINK_CMD_SET_DEFAULT_KEY β€” -- undescribed -- πŸ’€
  • QLINK_CMD_SET_DEFAULT_MGMT_KEY β€” -- undescribed -- πŸ”₯
  • QLINK_CMD_CHANGE_STA β€” -- undescribed -- ✨
  • QLINK_CMD_DEL_STA β€” -- undescribed -- πŸŽ€
  • QLINK_CMD_SCAN β€” -- undescribed -- 🌸
  • QLINK_CMD_CHAN_STATS β€” -- undescribed -- πŸ¦‹
  • QLINK_CMD_NDEV_EVENT β€” signalizes changes made with a corresponding network device πŸ“‘ (it's the messenger, periodt)
  • QLINK_CMD_CONNECT β€” -- undescribed -- πŸ’œ
  • QLINK_CMD_DISCONNECT β€” -- undescribed -- ⭐
  • QLINK_CMD_PM_SET β€” -- undescribed -- 🧚
  • QLINK_CMD_WOWLAN_SET β€” -- undescribed -- 🌈
  • QLINK_CMD_EXTERNAL_AUTH β€” -- undescribed -- 😭
  • QLINK_CMD_TXPWR β€” gets or sets the current channel transmit power for the specified MAC ⚑ (main character energy fr fr)
  • QLINK_CMD_UPDATE_OWE β€” -- undescribed -- πŸ™ˆ

🌟 DESCRIPTION 🌟

okay so the big picture: commands are QLINK messages of type QLINK_MSG_TYPE_CMD, sent by the driver to the wireless network device for processing πŸ’Œ.

The device is expected to send back a reply message of type QLINK_MSG_TYPE_CMDRSP, and that reply contains at least the command execution status β€” one of enum qlink_cmd_result β€” and it may also carry a data payload specific to the command type. so yeah, it's a whole conversation, not a monologue πŸ—£οΈβœ¨


πŸ’– SEE ALSO πŸ’–

the whole friend group, incoming 🌸 β€” the kernel file ./drivers/net/wireless/quantenna/qtnfmac/qlink.h, plus:

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

and that's the whole page, bestie πŸ«ΆπŸ’–βœ¨ this little gem lives at ./drivers/net/wireless/quanten... and it's dated October 2026, signed enum qlink_cmd_type(9) β€” go off, queen πŸ‘‘πŸ’…

πŸ“¦ where this page comes from