wiphy_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– wiphy_unregister(9) πŸ’–

okay bestie, welcome to the Kernel API Manual, section 9 β€” this one's called wiphy_unregister and it's genuinely shorter than my attention span, so we'll be done in a sec. πŸŽ€


✨ NAME ✨

wiphy_unregister β€” deregister a wiphy from cfg80211 πŸ¦‹

🌸 SYNOPSIS 🌸

void wiphy_unregister (struct wiphy *wiphy );

πŸ’… ARGUMENTS πŸ’…

  • wiphy β€” the wiphy you're unregistering, literally the main character of this whole call. πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

So here's the vibe: once this call happens, no more requests can be made with this priv pointer β€” like, that door is closed, periodt. πŸšͺπŸ’€

But β€” and this is the part that matters, ngl β€” the call may sleep while it waits for an outstanding request that's currently being handled. so it's not one of those "fire and forget, instant, no thoughts head empty" situations. it'll sit there and wait its turn like a good little syscall. 😴✨

fr fr do not forget the sleeping part, bestie, that's the whole personality of this function 🫢

okay that's the whole top section β€” more coming, don't go anywhere πŸ’œ

✨ SEE ALSO ✨

okay bestie, this is the section and it is genuinely enormous 😭 β€” it's the whole cfg80211 universe in a list. Every single entry is down here, nothing skipped, nothing merged, no cap πŸ’… Buckle in.

Starting with where all the magic lives:

bestie the capability structs alone are giving entire trilogy πŸ“šβœ¨


Now the configuration girlies β€” actions, channels, and every chandef helper known to womankind:

the chandef family ate and left no crumbs πŸ’…πŸ”₯

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

mesh, OCB, stations, SAR β€” the whole extended fam showed up 🫢


Scanning era πŸ’– every scan struct you will ever need:

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

wowlan + coalesce content is lowkey iconic for anyone doing power save 😴✨


the wiphy_work_* and wiphy_hrtimer_work_* crew πŸ’€ so many work helpers, but they're all here, fr fr


Utility functions 🧚✨ the little helpers that carry the whole driver:

the cfg80211_find_* set is your ride-or-die for parsing IEs, obsessed πŸ’–


Regulatory era πŸ‘‘ because the government always has opinions:

rfkill bestie, the one everybody forgets until their radio won't turn on 😭


vendor + testmode = the "my driver does secret stuff" corner πŸ•΅οΈβ€β™€οΈβœ¨


The notify/handler squad, aka the biggest chunk, no cap:

okay that's the whole vibe check of the see-also list πŸ’œ every last one is accounted for β€” and there's more page coming, so don't go anywhere bestie πŸ¦‹

...and the list keeps going, bestie, because of course it does πŸ’… every single one of these lives in the same friend group:

Like, that's the whole group chat right there 😭 so when you're done unregistering your wiphy and you're like "okay what now", literally just tap any of these names and the right page comes through, no cap 🫢


and that's the whole page, bestie! πŸŽ€ Consider this my little sign-off: the source lives at ./include/net, this edition is dated October 2026, and the star of the show β€” the one, the only, main character β€” is wiphy_unregister(9) βœ¨πŸ‘‘ Go unregister something responsibly πŸ’–

πŸ“¦ where this page comes from