ENUM QLINK_CMD_TYPE(9)
πΈ enum qlink_cmd_type(9) β Kernel API Manual π
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 the802.3packet into an802.11frame 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 theQLINK_HW_SUPPORTS_REG_UPDATEcapability. (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 toQLINK_VIFID_RSVDin 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
- 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