STRUCT QLINK_CHANNEL(9)
okay so bestie, this is struct qlink_channel(9) from the Kernel API Manual, and it is literally the qlink control channel definition. Buckle up, it's giving kernel wireless lore but make it cute π
π NAME π
struct qlink_channel β qlink control channel definition. That's the name, that's the vibe, periodt.
β¨ SYNOPSIS β¨
Here's the exact struct, no touchy:
struct qlink_channel {
__le16 hw_value;
__le16 center_freq;
__le32 flags;
u8 band;
u8 max_antenna_gain;
u8 max_power;
u8 max_reg_power;
__le32 dfs_cac_ms;
u8 dfs_state;
u8 beacon_found;
u8 rsvd[2];
};
πΈ Members πΈ
hw_valueβ hardware-specific value for the channel β¨center_freqβ center frequency in MHz π‘flagsβ channel flags fromenum qlink_channel_flagsπ©bandβ band this channel belongs to πmax_antenna_gainβ maximum antenna gain in dBi πΆmax_powerβ maximum transmission power (in dBm) π₯max_reg_powerβ maximum regulatory transmission power (in dBm) πdfs_stateβ current state of this channel. Only relevant if radar is required on this channel. π«Άbeacon_foundβ helper to regulatory code to indicate when a beacon has been found on this channel. Useregulatory_hint_found_beaconto enable this β it's useful only on the 5 GHz band. π
Tiny side note: the struct above also has __le32 dfs_cac_ms and u8 rsvd[2], but the Members list on this page doesn't give them individual blurbs, so I'm not inventing any. π
π SEE ALSO π
Kernel file: ./drivers/net/wireless/quantenna/qtnfmac/qlink.h β yes, that exact path, bestie.
The whole reference squad, in the original order:
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_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_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)
byeee π
β source/version vibe: ./drivers/net/wireless/quanten..., date: October 2026, and it's still struct qlink_channel(9) forever π«Ά
π¦ 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