wdev_chandef(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is wdev_chandef β€” straight from the Kernel API Manual (9) β€” and its whole entire thing is return chandef pointer from wireless_dev. that's it. that's the vibe. πŸ’…βœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct cfg80211_chan_def * wdev_chandef (struct wireless_dev *wdev ,
       unsigned int link_id );

πŸŽ€ ARGUMENTS πŸŽ€

  • wdev β€” the wdev. literally the wdev. that's the note. 🫢
  • link_id β€” the link ID for MLO. yep, that's what it is. πŸ’–

🌈 RETURN 🌈

the chandef depending on the mode, or NULL. periodt. 🌸πŸ”₯

the map, the lore, the whole entire ecosystem</p> β€” everything else you could possibly want is documented somewhere in the kernel file ./include/net/cfg80211.h, so if you're the kind of girl who reads source at 2am (me, I'm that girl), start there. Then there's the general orientation stuff:


actions & configuration β€” the chaos zone, aka where all your chandef besties actually live πŸ’…


scanning & BSS list handling β€” the "wait, what networks are even out here" era πŸ¦‹

  • Scanning and BSS list handling(9)
  • struct cfg80211_ssid(9)
  • struct cfg80211_scan_info(9)
  • struct cfg80211_scan_6ghz_params(9)
  • struct cfg80211_scan_request(9)
  • struct cfg80211_match_set(9)
  • struct cfg80211_sched_scan_plan(9)
  • struct cfg80211_bss_select_adjust(9)
  • struct cfg80211_sched_scan_request(9)
  • enum cfg80211_signal_type(9)
  • struct cfg80211_inform_bss(9)
  • struct cfg80211_bss_ies(9)
  • struct cfg80211_bss(9)
  • ieee80211_bss_get_elem(9)
  • ieee80211_bss_get_ie(9)
  • struct cfg80211_auth_request(9)
  • struct cfg80211_assoc_link(9)
  • struct cfg80211_ml_reconf_req(9)
  • enum cfg80211_assoc_req_flags(9)
  • struct cfg80211_assoc_request(9)
  • struct cfg80211_deauth_request(9)
  • struct cfg80211_disassoc_request(9)
  • struct cfg80211_ibss_params(9)
  • struct cfg80211_bss_selection(9)
  • struct cfg80211_connect_params(9)
  • enum cfg80211_connect_params_changed(9)
  • enum wiphy_params_flags(9)
  • struct cfg80211_pmksa(9)
  • struct cfg80211_pkt_pattern(9)
  • struct cfg80211_wowlan_tcp(9)
  • struct cfg80211_wowlan(9)
  • struct cfg80211_coalesce_rules(9)
  • struct cfg80211_coalesce(9)
  • struct cfg80211_wowlan_nd_match(9)
  • struct cfg80211_wowlan_nd_info(9)
  • struct cfg80211_wowlan_wakeup(9)
  • struct cfg80211_gtk_rekey_data(9)
  • struct cfg80211_update_ft_ies_params(9)
  • struct cfg80211_mgmt_tx_params(9)
  • struct cfg80211_dscp_exception(9)
  • struct cfg80211_dscp_range(9)
  • struct cfg80211_qos_map(9)
  • Neighbor Awareness Networking (NAN)(9)
  • struct cfg80211_nan_band_config(9)
  • struct cfg80211_nan_conf(9)
  • struct cfg80211_nan_channel(9)
  • struct cfg80211_nan_local_sched(9)
  • struct cfg80211_nan_peer_map(9)
  • struct cfg80211_nan_peer_sched(9)
  • enum cfg80211_nan_conf_changes(9)
  • struct cfg80211_nan_func_filter(9)
  • struct cfg80211_nan_func(9)
  • struct cfg80211_pmk_conf(9)
  • struct cfg80211_external_auth_params(9)
  • struct cfg80211_ftm_responder_stats(9)
  • struct cfg80211_pmsr_ftm_result(9)
  • struct cfg80211_pmsr_result(9)
  • struct cfg80211_pmsr_ftm_request_peer(9)
  • struct cfg80211_pmsr_request_peer(9)
  • struct cfg80211_pmsr_request(9)
  • struct cfg80211_update_owe_info(9)
  • struct mgmt_frame_regs(9)
  • struct cfg80211_ops(9)
  • enum wiphy_flags(9)
  • struct ieee80211_iface_limit(9)
  • struct ieee80211_iface_combination(9)
  • enum wiphy_wowlan_support_flags(9)
  • struct wiphy_wowlan_support(9)
  • struct wiphy_coalesce_support(9)
  • enum wiphy_vendor_command_flags(9)
  • enum wiphy_opmode_flag(9)
  • struct sta_opmode_info(9)
  • struct wiphy_vendor_command(9)
  • struct wiphy_iftype_ext_capab(9)
  • cfg80211_get_iftype_ext_capa(9)
  • struct cfg80211_pmsr_capabilities(9)
  • struct wiphy_iftype_akm_suites(9)
  • struct wiphy_radio_cfg(9)
  • struct wiphy_radio_freq_range(9)
  • struct wiphy_radio(9)
  • enum wiphy_nan_flags(9)
  • struct wiphy_nan_capa(9)
  • struct wiphy(9)
  • wiphy_priv(9)
  • priv_to_wiphy(9)
  • set_wiphy_dev(9)
  • wiphy_dev(9)
  • wiphy_name(9)
  • wiphy_new_nm(9)
  • wiphy_new(9)
  • wiphy_register(9)
  • rcu_dereference_wiphy(9)
  • wiphy_dereference(9)
  • get_wiphy_regdom(9)
  • wiphy_unregister(9)
  • wiphy_free(9)
  • wiphy_lock(9)
  • wiphy_unlock(9)
  • wiphy_work_queue(9)
  • wiphy_work_cancel(9)
  • wiphy_work_flush(9)
  • wiphy_delayed_work_queue(9)
  • wiphy_delayed_work_cancel(9)
  • wiphy_delayed_work_flush(9)
  • wiphy_delayed_work_pending(9)
  • wiphy_hrtimer_work_queue(9)
  • wiphy_hrtimer_work_cancel(9)
  • wiphy_hrtimer_work_flush(9)
  • wiphy_hrtimer_work_pending(9)
  • enum ieee80211_ap_reg_power(9)
  • struct wireless_dev(9)
  • wdev_priv(9)

utility functions β€” the little helpers that carry the whole group project 🫢


regulatory enforcement infrastructure β€” the rules-lawyers, but make it spectrum 🌈

okay and that's genuinely not even the end of the list β€” there's more coming, don't run off yet πŸ‘€βœ¨

okay bestie, we're still deep in the SEE ALSO rabbit hole and honestly there's SO much more β€” the kernel docs really said "here's every friend this function has" and meant it πŸ’… so let's finish the roll call:


and that's the whole friend group, bestie β€” every single one accounted for 🫢

that's a wrap on wdev_chandef(9) fr fr. this page lives in ./include/net, it's dated October 2026, and now you're officially informed πŸ’– go forth and channel-define responsibly, you absolute icon 🌸✨

πŸ“¦ where this page comes from