cfg80211_get_chandef_type(9)
β¨ cfg80211_get_chandef_type β Kernel API Manual β¨
okay so bestie, welcome to cfg80211_get_chandef_type(9), a kernel API manual page, and honestly it's a short one so we can totally get through it together π
π NAME π
cfg80211_get_chandef_type β return old channel type from chandef
like, it takes your fancy new-ish channel definition and gives you back the old channel type. a little throwback moment, we love an icon that respects its roots π
β¨ SYNOPSIS β¨
enum nl80211_channel_type cfg80211_get_chandef_type (const struct
cfg80211_chan_def *chandef );
that's the whole signature, no cap. takes one const struct cfg80211_chan_def * and hands you back an enum nl80211_channel_type. π¦
πΈ ARGUMENTS πΈ
chandefβ the channel definition. yeah that's it, that's the whole parameter list. she's lowkey a one-argument queen π
β RETURN β
it returns the old channel type β NOHT, HT20, or HT40+/- β derived from whatever chandef you passed in fr fr.
β οΈ but listen, important vibe check: the chandef you give it must have a bandwidth that allows this conversion. if it doesn't, that's not a slay, that's a problem. π«Ά
and that's where part 1 wrapsβ¦ except no it doesn't, because there's more coming π
utility functions(9)Β·ieee80211_channel_equal(9)Β·ieee80211_channel_to_khz(9)Β·ieee80211_channel_to_freq_khz(9)Β·ieee80211_channel_to_frequency(9)Β·ieee80211_freq_khz_to_channel(9)Β·ieee80211_frequency_to_channel(9)Β·ieee80211_get_channel_khz(9)Β·ieee80211_get_channel(9)Β·cfg80211_channel_is_psc(9)Β·ieee80211_radio_freq_range_valid(9)Β·cfg80211_radio_chandef_valid(9)Β·cfg80211_wdev_channel_allowed(9)Β·ieee80211_get_response_rate(9)Β·ieee80211_mandatory_rates(9)Β·struct ieee80211_radiotap_iterator(9)Β·ieee80211_get_hdrlen_from_skb(9)Β·ieee80211_hdrlen(9)Β·ieee80211_get_mesh_hdrlen(9)Data path helpers(9)Β·ieee80211_data_to_8023_exthdr(9)Β·ieee80211_data_to_8023(9)Β·ieee80211_is_valid_amsdu(9)Β·ieee80211_amsdu_to_8023s(9)Β·ieee80211_get_8023_tunnel_proto(9)Β·ieee80211_strip_8023_mesh_hdr(9)Β·cfg80211_classify8021d(9)Β·cfg80211_find_elem_match(9)Β·cfg80211_find_ie_match(9)Β·cfg80211_find_elem(9)Β·cfg80211_find_ie(9)Β·cfg80211_find_ext_elem(9)Β·cfg80211_find_ext_ie(9)Β·cfg80211_find_vendor_elem(9)Β·cfg80211_find_vendor_ie(9)Β·enum cfg80211_rnr_iter_ret(9)Β·cfg80211_iter_rnr(9)Β·cfg80211_defragment_element(9)Β·cfg80211_send_layer2_update(9)Structural enforcement infrastructure(9)Β·regulatory_hint(9)Β·regulatory_set_wiphy_regd(9)Β·regulatory_set_wiphy_regd_sync(9)Β·wiphy_apply_custom_regulatory(9)Β·freq_reg_info(9)Β·reg_initiator_name(9)Β·regulatory_pre_cac_allowed(9)Internal regulatory db functions(9)Β·reg_query_regdb_wmm(9)Β·cfg80211_scan_done(9)Β·cfg80211_sched_scan_results(9)Β·cfg80211_sched_scan_stopped(9)Β·cfg80211_sched_scan_stopped_locked(9)Β·cfg80211_inform_bss_frame_data(9)Β·cfg80211_gen_new_bssid(9)Β·cfg80211_is_element_inherited(9)Β·cfg80211_merge_profile(9)Β·enum cfg80211_bss_frame_type(9)Β·cfg80211_get_ies_channel_number(9)Β·cfg80211_ssid_eq(9)Β·cfg80211_inform_bss_data(9)Β·__cfg80211_get_bss(9)Β·cfg80211_get_bss(9)Β·cfg80211_ref_bss(9)Β·cfg80211_put_bss(9)Β·cfg80211_unlink_bss(9)Β·cfg80211_bss_iter(9)Β·cfg80211_rx_mlme_mgmt(9)Β·cfg80211_auth_timeout(9)Β·struct cfg80211_rx_assoc_resp_data(9)Β·cfg80211_rx_assoc_resp(9)Β·struct cfg80211_assoc_failure(9)Β·cfg80211_assoc_failure(9)Β·cfg80211_tx_mlme_mgmt(9)Β·cfg80211_rx_unprot_mlme_mgmt(9)Β·cfg80211_michael_mic_failure(9)Β·cfg80211_ibss_joined(9)Β·cfg80211_notify_new_peer_candidate(9)RFkill integration(9)Β·wiphy_rfkill_set_hw_state_reason(9)Β·wiphy_rfkill_start_polling(9)Β·wiphy_rfkill_stop_polling(9)Vendor commands(9)Β·cfg80211_vendor_cmd_alloc_reply_skb(9)Β·cfg80211_vendor_cmd_reply(9)Β·cfg80211_vendor_cmd_get_sender(9)Β·cfg80211_vendor_event_alloc(9)Β·cfg80211_vendor_event_alloc_ucast(9)Β·cfg80211_vendor_event(9)Test mode(9)Β·cfg80211_testmode_alloc_reply_skb(9)Β·cfg80211_testmode_reply(9)Β·cfg80211_testmode_alloc_event_skb(9)Β·cfg80211_testmode_event(9)Β·struct cfg80211_fils_resp_params(9)Β·struct cfg80211_connect_resp_params(9)Β·cfg80211_connect_done(9)Β·cfg80211_connect_bss(9)Β·cfg80211_connect_result(9)Β·cfg80211_connect_timeout(9)Β·struct cfg80211_roam_info(9)Β·cfg80211_roamed(9)Β·cfg80211_port_authorized(9)Β·cfg80211_disconnected(9)Β·cfg80211_ready_on_channel(9)Β·cfg80211_remain_on_channel_expired(9)Β·cfg80211_tx_mgmt_expired(9)Β·cfg80211_sinfo_alloc_tid_stats(9)Β·cfg80211_link_sinfo_alloc_tid_stats(9)Β·cfg80211_sinfo_release_content(9)Β·cfg80211_new_sta(9)Β·cfg80211_del_sta_sinfo(9)Β·cfg80211_del_sta(9)Β·cfg80211_conn_failed(9)Β·struct cfg80211_rx_info(9)Β·cfg80211_rx_mgmt_ext(9)Β·cfg80211_rx_mgmt_khz(9)Β·cfg80211_rx_mgmt(9)Β·struct cfg80211_tx_status(9)Β·cfg80211_mgmt_tx_status_ext(9)Β·cfg80211_mgmt_tx_status(9)Β·cfg80211_control_port_tx_status(9)Β·cfg80211_rx_control_port(9)Β·cfg80211_cqm_rssi_notify(9)Β·cfg80211_cqm_pktloss_notify(9)Β·cfg80211_cqm_txe_notify(9)Β·cfg80211_cqm_beacon_loss_notify(9)Β·__cfg80211_radar_event(9)Β·cfg80211_sta_opmode_change_notify(9)Β·cfg80211_cac_event(9)Β·cfg80211_background_cac_abort(9)Β·cfg80211_gtk_rekey_notify(9)Β·cfg80211_pmksa_candidate_notify(9)Β·cfg80211_rx_spurious_frame(9)Β·cfg80211_rx_unexpected_4addr_frame(9)Β·cfg80211_probe_status(9)Β·cfg80211_report_obss_beacon_khz(9)Β·cfg80211_report_obss_beacon(9)Β·struct cfg80211_beaconing_check_config(9)
...okay so the SEE ALSO section did not stop, she's still going, and honestly? iconic of her π here's the whole rest of the squad, in order, nothing skipped, no cap:
cfg80211_reg_check_beaconing(9)β reg-check era πcfg80211_reg_can_beacon(9)β "can she beacon tho" β¨cfg80211_reg_can_beacon_relax(9)β same question, relaxed vibes πcfg80211_ch_switch_notify(9)β channel switch notif, bestie π£cfg80211_ch_switch_started_notify(9)β and the "we literally started" version πieee80211_operating_class_to_band(9)β converting things π¦ieee80211_operating_class_to_chandef(9)β converting into a chandef this time πΈieee80211_chandef_to_operating_class(9)β she does the reverse too, main character πieee80211_chandef_to_khz(9)β and in kHz, numbers girlie πcfg80211_tdls_oper_request(9)β TDLS request, noted π«Άcfg80211_calculate_bitrate(9)β math moment β¨cfg80211_unregister_wdev(9)β unregistering awdev, respectfully πcfg80211_register_netdevice(9)β netdevice goes on the roster πcfg80211_unregister_netdevice(9)β and off the roster πstruct cfg80211_ft_event_params(9)β a whole struct, she's got structure π₯cfg80211_ft_event(9)β the FT event itself βcfg80211_get_p2p_attr(9)β getting that P2P attribute, iykyk πieee80211_ie_split_ric(9)β IE splitting, RIC flavour πieee80211_ie_split(9)β IE splitting, classic flavour π§ieee80211_fragment_element(9)β fragmenting an element, go off πcfg80211_report_wowlan_wakeup(9)β WoWLAN wakeup reporting, sleepy queen π΄cfg80211_crit_proto_stopped(9)β critical proto stopped, dramatic πieee80211_get_num_supported_channels(9)β counting supported channels π’cfg80211_check_combinations(9)β checking combinations, very thorough πcfg80211_iter_combinations(9)β iterating them, one by one π¦cfg80211_get_radio_idx_by_chan(9)β radio index, by channel, periodt πcfg80211_stop_link(9)β stopping a link, kindly βcfg80211_stop_iface(9)β stopping an iface, also kindly βcfg80211_shutdown_all_interfaces(9)β ALL of them?? yes bestie, all πΈwiphy_ext_feature_set(9)β ext feature, set πwiphy_ext_feature_isset(9)β ext feature, is it set πcfg80211_free_nan_func(9)β freeing NAN stuff π«§struct cfg80211_nan_match_params(9)β another struct, we love her πcfg80211_nan_match(9)β NAN match, slay β¨cfg80211_nan_func_terminated(9)β NAN func said bye πcfg80211_nan_sched_update_done(9)β NAN sched update, done βcfg80211_external_auth_request(9)β external auth request, iconic π₯cfg80211_pmsr_report(9)β PMSR report πcfg80211_pmsr_complete(9)β PMSR complete, mwah πcfg80211_iftype_allowed(9)β iftype, allowed or not πΈcfg80211_assoc_comeback(9)β assoc comeback, she's back πcfg80211_update_owe_info_event(9)β OWE info event update πcfg80211_bss_flush(9)β flush that BSS πΏcfg80211_bss_color_notify(9)β BSS color notif, aesthetic π¨cfg80211_obss_color_collision_notify(9)β OBSS color collision, drama πcfg80211_color_change_started_notify(9)β color change started πcfg80211_color_change_aborted_notify(9)β color change aborted, oop π¬cfg80211_color_change_notify(9)β color change, notif π¦cfg80211_6ghz_power_type(9)β 6 GHz power type, highkey β‘cfg80211_links_removed(9)β links removed, gone girl πstruct cfg80211_mlo_reconf_done_data(9)β MLO reconf data, struct era πcfg80211_mlo_reconf_add_done(9)β MLO reconf add, done βcfg80211_schedule_channels_check(9)β schedule that channels check ποΈcfg80211_epcs_changed(9)β EPCS changed, noted πcfg80211_next_nan_dw_notif(9)β NAN again!! she's everywhere π§cfg80211_nan_cluster_joined(9)β NAN cluster joined, welcome bestie π«Άcfg80211_nan_ulw_update(9)β NAN ULW update β¨cfg80211_nan_channel_evac(9)β NAN channel evac, evacuate πwiphy_locked_debugfs_read(9)β debugfs read, locked edition πwiphy_locked_debugfs_write(9)β debugfs write, locked edition πcfg80211_s1g_get_start_freq_khz(9)β S1G start freq, in kHz βcfg80211_s1g_get_end_freq_khz(9)β S1G end freq, in kHz βcfg80211_s1g_get_primary_sibling(9)β S1G primary sibling, family vibes π―cfg80211_incumbent_signal_notify(9)β incumbent signal notif, last but never least π
and that's the whole page, bestie π it lives in ./include/net, dated October 2026, and it's filed under cfg80211_get_chandef_type(9) β go forth and channel-define responsibly, mwah πβ¨
π¦ 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