priv_to_wiphy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ priv_to_wiphy ✨

okay so this is priv_to_wiphy(9) from the Kernel API Manual, and honestly? she's a short queen and she knows it πŸ’…

πŸŽ€ NAME πŸŽ€

priv_to_wiphy β€” returns the wiphy that contains the priv, bestie. that's it. that's the whole job 🫢

🌸 SYNOPSIS 🌸

struct wiphy * priv_to_wiphy (void *priv );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • priv β€” a pointer that was previously returned by wiphy_priv. like, the whole bit is that you already got this thing out of wiphy_priv and now you're going the other way. iykyk 🧚

⭐ RETURN ⭐

The wiphy of priv, periodt. that's what you get back πŸŽ€ no cap, no surprises.


and yeah, that's genuinely the entire first chunk β€” more coming, don't go anywhere πŸ’œ

πŸ” SEE ALSO πŸ”

okay bestie, this is the part where the page stops explaining and just lists everyone. it's giving group-chat roster energy β€” the whole squad, name by name, and we are not skipping a single one 😀 every entry below is here exactly as it appears, in the exact same order, no cap. grab a snack, we're going down the whole list πŸ’…


first up, the header that started it all, then the intro-level lore:


and now the actions & configuration girlies, aka the ones who actually do stuff ✨:


scanning & BSS list handling β€” the ones who go out and find the networks, main character energy fr πŸ”₯:

  • 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) and the peer-to-peer besties πŸ¦‹:

  • 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 herself and her whole entourage πŸ‘‘ β€” the way this block just goes on forever:


utility functions β€” the little helpers who fix everything behind the scenes, obsessed with them πŸŽ€:


data path helpers β€” the ones moving the actual packets, doing the most πŸ’…:


regulatory enforcement infrastructure β€” the rules girlies, they will absolutely tell on you 🌸:


the scan/BSS notification squad and the mlme besties ✨:


RFkill integration, Vendor commands, and Test mode β€” three lil sections that get exactly one shoutout each 🫢:


and the last chunk β€” connect / roam / notify / mgmt, the whole finale πŸ˜­πŸ’–:

bestie that's the whole roster, and yes you do have to at least know these exist β€” iykyk πŸ’€ no skipping, that's the whole point of a SEE ALSO list 🫢

okay the reading list continues, bestie β€” here's the rest of the squad, no cap 🫢


that's a wrap on the reading list, bestie β€” go click through them at your own pace, iykyk πŸ’–

and for the receipts: this page lives in ./include/net, it's dated October 2026, and it's the manual page for priv_to_wiphy(9) β€” screenshot it, cite it, print it out and stick it on your wall, she's iconic πŸ”₯πŸ‘‘πŸŽ€

πŸ“¦ where this page comes from