wdev_priv(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ wdev_priv β€” return wiphy priv from wireless_dev ✨

okay bestie so you're deep in the kernel networking sauce and you need the priv pointer off a struct wireless_dev's wiphy? this lil page is literally your girl. it's from the Kernel API Manual, section 9, and it's giving "tiny function, huge convenience" energy πŸ’…


🌸 SYNOPSIS 🌸

void * wdev_priv (struct wireless_dev *wdev );

like yes that's the whole signature. one arg, one pointer back, no drama πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • wdev β€” the wireless device whose wiphy's priv pointer you want returned, periodt. that's the whole brief 🫢

πŸ’– RETURN πŸ’–

the wiphy priv of wdev. that's it, that's the return value, and honestly we love a clean one-liner πŸ’œ

✨ SEE ALSO ✨

okay so this is the part where the manpage literally just dumps its entire friend list on you and honestly? iconic. respect the hustle. every single one of these is a real (9) page, so like, pick your fighter. πŸ’–

First up, the actual home base:

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

🫢 the intro & registration girlies

πŸŽ€ channels, rates & BSS vibes


πŸ’… actions & configuration (the whole squad)


🌸 scanning & BSS list handling (the detective 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)

πŸ¦‹ NAN, PMK, PMSR & friends


🧚 utility functions (the little helpers that could)


πŸ’œ data path helpers


πŸ‘‘ regulatory enforcement infrastructure (the law, bestie)


🌈 notify-the-world squad


πŸ”₯ RFkill integration

πŸŽ€ vendor commands

🫢 test mode


πŸ“ connect / roam / disconnect era

and that's the whole contact list bestie, no cap 🌟 (there's more where this came from, don't you worry β€” keep scrolling)

...and we're still going, bestie β€” this is the rest of the cross-refs and honestly it's giving "the whole friend group showed up" πŸ’– I'm grouping them by vibe so your brain doesn't melt, but every single one is here, no skips, no cap.

the cfg80211_reg_* beaconing girlies

channel switch squad

operating class ↔ chandef converter crew ✨

tdls, bitrate, and the register/unregister trio

fast-transition event

p2p attr + IE splitting/fragmenting icons πŸŽ€

wowlan, crit proto, channel counting

combinations & channel lookups

the "make it stop" section πŸ›‘

ext feature get/set

NAN crew, batch one

auth, pmsr, iftype, come back 🫢

bss flush + the colour-change family 🌈

6 GHz power type + MLO reconfig

channel checks + epcs

NAN crew, batch two (they're back)

debugfs, but make it locked πŸ”’

S1G frequency helpers

and the final girl herself


that's the whole list, we made it, nobody got left behind πŸ’…βœ¨

and yeah β€” if a name here looks new, go read that page, because this one is just the hub and these are the spokes, iykyk.

okay that's genuinely the end of the page πŸŽ€ it lives in ./include/net, it's the wdev_priv(9) page, and it's dated October 2026 β€” so future-dated and still iconic, we love a timestamp that ate. go touch some grass, then go read the cross-refs. mwah πŸ’œ

πŸ“¦ where this page comes from