get_wiphy_regdom(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ get_wiphy_regdom(9)

okay so welcome to the get_wiphy_regdom(9) page, bestie πŸ’– this is straight out of the Kernel API Manual and honestly it's a little nugget of a function but it's important, so let's give it the attention it deserves ✨


🌸 NAME 🌸

get_wiphy_regdom β€” get custom regdomain for the given wiphy πŸ‘‘

like, it hands you back the custom regulatory domain that belongs to a wiphy. that's the whole vibe. no cap 🫢


✨ SYNOPSIS ✨

const struct ieee80211_regdomain * get_wiphy_regdom (struct wiphy *wiphy
);

ok so it takes exactly one thing and gives you back one thing, iconic behaviour honestly πŸŽ€


🧚 ARGUMENTS 🧚

  • wiphy β€” the wiphy to get the regdomain from πŸ¦‹ this is literally the thing you're pulling the regulatory domain out of, so, y'know, you do gotta give it one

πŸ”₯ CONTEXT πŸ”₯

Requires any of RTNL, wiphy mutex or RCU protection.

bestie please do not forget this part 😭 you need any of RTNL, the wiphy mutex, or RCU protection held when you call this. it's not optional, it's giving "locked door, you need a key" energy πŸ’… so pick your protection and hold it, fr fr

🌈 RETURN 🌈

pointer to the regulatory domain associated with the wiphy ⭐

so yeah, you get back a pointer to the regdomain that's tied to that wiphy β€” that's the whole gift 🎁 and it's a const struct ieee80211_regdomain *, so pls don't go trying to write through it, that's not the move πŸ™ˆ


🌈 SEE ALSO 🌈

okay so this is the part where the page just... lists everyone. it's giving award-show seating chart, bestie β€” and honestly? iconic behavior. every single one of these is a real reference you can go pull up, so here's the full guest list in order, no cuts, no skips, fr fr πŸ’…

  • Kernel file ./include/net/cfg80211.h

that's home base β€” the file this whole page lives in β€” and literally everything under here comes straight out of it, so buckle up πŸŽ€

not the capability structs showing up in full force β€” they ate, periodt ✨

the chandef girlies are literally carrying this section ngl πŸ¦‹

  • struct survey_info(9), struct cfg80211_crypto_settings(9), struct cfg80211_mbssid_config(9), struct cfg80211_mbssid_elems(9), struct cfg80211_rnr_elems(9), struct cfg80211_beacon_data(9)
  • struct cfg80211_acl_data(9), struct cfg80211_fils_discovery(9), struct cfg80211_unsol_bcast_probe_resp(9), struct cfg80211_s1g_short_beacon(9), struct cfg80211_ap_settings(9), struct cfg80211_ap_update(9)
  • struct cfg80211_csa_settings(9), struct cfg80211_color_change_settings(9), struct iface_combination_params(9), enum station_parameters_apply_mask(9), struct sta_txpwr(9), struct link_station_parameters(9)
  • struct link_station_del_parameters(9), struct cfg80211_ttlm_params(9), struct station_parameters(9), struct station_del_parameters(9), enum cfg80211_station_type(9), cfg80211_check_station_change(9)
  • enum rate_info_flags(9), enum rate_info_bw(9), struct rate_info(9), enum bss_param_flags(9), struct sta_bss_parameters(9), struct cfg80211_txq_stats(9)
  • struct cfg80211_tid_stats(9), struct link_station_info(9), struct station_info(9), struct cfg80211_sar_sub_specs(9), struct cfg80211_sar_specs(9), struct cfg80211_sar_freq_ranges(9)
  • struct cfg80211_sar_capa(9), cfg80211_get_station(9), enum monitor_flags(9), enum mpath_info_flags(9), struct mpath_info(9), enum wiphy_bss_param_flags(9)
  • struct bss_parameters(9), struct mesh_config(9), struct mesh_setup(9), struct ocb_setup(9), struct ieee80211_txq_params(9), Scanning and BSS list handling(9)

station info and mesh and SAR all in one breath?? the range, honestly πŸ’€

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

NAN got its own whole corner of the list, we love a niche queen πŸ‘‘

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

pmsr walked in with five structs and no apology, main character energy fr πŸ”₯

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

okay the wiphy cluster is lowkey the whole personality of the page, we're getting to the good stuff 🫢

queue, cancel, flush, pending β€” the work trio said copy paste slay, and honestly? valid 🌸

the find_elem / find_ie matching pairs are so synchronized, it's giving twin icons πŸ’œ

regulatory said "you will respect my authority" and honestly, fair 🧚

ref / put / unlink β€” the bss lifecycle trio, we see you 😭

and that's where this part of the list lands β€” deep in the notify-and-event corner of the group chat, which is lowkey everyone's favorite messy subsection πŸ™ˆ

okay bestie, the SEE ALSO list does NOT stop, it just keeps going, and honestly? iconic behavior. here's the rest of the cross-references, in the exact order the page gives them, because we do not shuffle the sacred list πŸ’…

like… that's sixty-four cross-refs, bestie. sixty-four!! no cap, that's a whole friend group πŸ’€πŸ«Ά


and that's a wrap on get_wiphy_regdom(9)!! you made it to the end of the whole page, which is genuinely a flex πŸŽ€βœ¨

little housekeeping for the record books: this page lives in the source tree at ./include/net, it's dated October 2026, and yes it's still the get_wiphy_regdom(9) page the whole way through. ship it, you ate πŸ’…πŸ‘‘
πŸ“¦ where this page comes from