cfg80211_register_netdevice(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cfg80211_register_netdevice(9) β€” Kernel API Manual ✨

okay so bestie, welcome to the Kernel API Manual page for cfg80211_register_netdevice(9) β€” this one is lowkey important if you're doing netdev registration in wireless land πŸ¦‹

🌸 NAME 🌸

cfg80211_register_netdevice β€” register the given netdev πŸ’–

✨ SYNOPSIS ✨

int cfg80211_register_netdevice (struct net_device *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the netdev to register πŸ‘‘

πŸ’… NOTE πŸ’…

In contexts coming from cfg80211 callbacks, you must call this rather than register_netdevice β€” and unregister_netdev is impossible as the RTNL is held 😭

Otherwise, both register_netdevice and register_netdev are usable instead as well. fr fr, context matters here 🫢

🧚 CONTEXT 🧚

Requires the RTNL and wiphy mutex to be held πŸ”’βœ¨

⭐ RETURN ⭐

0 on success. Non-zero on error πŸ’€

🌈 SEE ALSO 🌈

okay bestie, this is the part where the manpage pulls out its entire contact list. like, the whole group chat. every single one of these is a real page you can go read, and no i'm not skipping any of them, we're doing the full roll call πŸ’…


πŸŽ€ the header file and the intro crew

  • Kernel file ./include/net/cfg80211.h β€” the actual header, the source of truth, the mothership
  • Introduction(9) β€” start here if you're brand new, no cap
  • Device registration(9) β€” the whole registration saga, our main character's home turf

πŸ’– the channel / band / cap family


πŸ¦‹ Actions and configuration(9) β€” the big one, pls hydrate first

like… it's giving "I have a struct for that." iconic honestly πŸ”₯


🧚 Scanning and BSS list handling(9)

  • 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) β€” she has her own section, main character energy

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

and then the list just keeps rolling straight on, no divider, no warning, she simply continues:

the way the work-queue functions come in a full matched set of queue / cancel / flush / pending… we love a consistent queen πŸ‘‘


πŸ’œ Utility functions(9)


πŸ“ Data path helpers(9)


πŸ‘‘ Regulatory enforcement infrastructure(9) β€” the law, literally


⭐ the rest of the roll call (still going, she does not stop)

scanning callbacks & BSS sorcery

mlme & connection drama

RFkill integration, vendor commands & test mode

connect / roam / disconnect notifs

remain-on-channel & mgmt tx

station info & peers

rx / tx frames & status

notifications & events (the gossip channel)

...and the guest list keeps going, bestie β€” the rest of the SEE ALSO crew pulling up one by one, in order, no skipping, no cap:


and that's the whole SEE ALSO situation β€” absolutely no crumbs left, we listed every single one of them, periodt πŸ’–

🌸 that's a wrap on cfg80211_register_netdevice(9)! this lil beauty comes from ./include/net, dated October 2026, and it's filed under its own very cute little version tag, cfg80211_register_netdevice(9). go forth and register those netdevices, bestie β€” slay responsibly βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from