ACTIONS AND CONFIGURATION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– Actions and Configuration πŸ’–

Kernel API Manual Β· section 9 β€” okay bestie, this is the wireless configuration page, and it’s lowkey important. πŸ’…

So here’s the vibe: every wireless device and every virtual interface offers a set of configuration operations and other actions that are invoked by userspace. Each of these actions is described in the operations structure, and the parameters these operations use are described separately. ✨

Also β€” and this is important, no cap β€” some operations are asynchronous and expect to get status information via some functions that drivers need to call. πŸ“ž

And scanning plus BSS list handling with its associated functionality? That’s described in a separate chapter, bestie. 🫢

🌸 SEE ALSO 🌸

okay bestie, deep breath β€” this is the "go read these next" section, and it is long long. Like, group-chat-with-400-unread-messages long. But plot twist: every single one of these is a (9) page, which means kernel-internals documentation, not a command you type in a terminal. So don't go mashing them into your shell and then @-ing me asking why nothing happened 😭 iykyk.

The actual source of truth for everything below is the kernel file ./include/net/cfg80211.h β€” that's the mothership, the main character, the blueprint 🫢

  • kernel file ./include/net/cfg80211.h β€” yes, this one. the Whole Thing. πŸ’…

πŸ’– the starting point

  • Introduction(9) β€” start here if you're new, no cap.
  • Device registration(9) β€” the "how do I even show up" page.

πŸ¦‹ band, rate and capability besties

  • enum ieee80211_channel_flags(9)
  • struct ieee80211_channel(9)
  • enum ieee80211_rate_flags(9)
  • enum ieee80211_bss_type(9)
  • enum ieee80211_privacy(9)
  • struct ieee80211_rate(9) β€” rates, iconic.
  • struct ieee80211_he_obss_pd(9)
  • struct cfg80211_he_bss_color(9) β€” the coloring book of Wi-Fi 🎨
  • struct ieee80211_sta_ht_cap(9)
  • struct ieee80211_sta_vht_cap(9)
  • struct ieee80211_sta_he_cap(9)
  • struct ieee80211_eht_mcs_nss_supp(9)
  • struct ieee80211_sta_eht_cap(9)
  • struct ieee80211_sta_uhr_cap(9) β€” the newest cap bestie, ate.
  • struct ieee80211_sband_iftype_data(9)
  • enum ieee80211_edmg_bw_config(9)
  • struct ieee80211_edmg(9)
  • struct ieee80211_sta_s1g_cap(9)
  • struct ieee80211_supported_band(9) β€” the band lineup, lowkey the whole vibe check.

then the sband helper girlies:

πŸŽ€ channel definitions and the chandef cinematic universe

  • struct vif_params(9)
  • struct key_params(9) β€” keys πŸ”‘
  • struct cfg80211_chan_def(9) β€” the chandef queen herself.
  • struct cfg80211_tid_cfg(9)
  • struct cfg80211_tid_config(9)
  • struct cfg80211_fils_aad(9)
  • struct cfg80211_set_hw_timestamp(9)

then, like, every chandef function that has ever existed:

✨ AP, survey and station gear

  • enum survey_info_flags(9)
  • 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) β€” beacon data, the moment.
  • 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)

station-adjacent besties, gather round:

  • 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) β€” the big one. hydrate before reading.
  • 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, BSS and connection vibes

  • Scanning and BSS list handling(9) β€” the whole scanning saga, start here for that arc.
  • 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) β€” wowlan my beloved 😴
  • 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 and the wiphy-adjacent universe

  • Neighbor Awareness Networking (NAN)(9) β€” NAN! the friend-finding tech, very on brand for a group chat.
  • 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) β€” the ops table, the main character energy of driver land.
  • 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) β€” the wiphy struct. the icon. the blueprint. bow down πŸ‘‘
  • wiphy_priv(9)
  • priv_to_wiphy(9)
  • set_wiphy_dev(9)
  • wiphy_dev(9)
  • wiphy_name(9)
  • wiphy_new_nm(9)
  • wiphy_new(9)
  • wiphy_register(9)
  • rcu_dereference_wiphy(9)
  • wiphy_dereference(9)
  • get_wiphy_regdom(9)
  • wiphy_unregister(9)
  • wiphy_free(9)
  • wiphy_lock(9)
  • wiphy_unlock(9)

πŸ”₯ wiphy async work besties (the scheduling girlies)

and then:

🐚 utility functions 🐚

πŸ“ data path helpers

πŸ’œ regulatory enforcement (the vibes police)

ngl the regulatory stuff is where "fun" goes to think about its choices, but it's important so we're reading it anyway πŸ’…

🌸 BSS + MLME notification besties

🌟 RFkill, vendor + test mode

πŸ‘‘ connect / roam / disconnect, the emotional arc

πŸ’€ the final boss list (we're so close bestie, keep going)

and that's the list, no cap β€” every single one of these is a real (9) page, so if you're bored on a Friday night you now have 300+ new besties to meet 🫢

...and the SEE ALSO list just keeps going, bestie 😭 like it literally does not stop. Keep scrolling, we're nearly there 🫢

🌈 the regulatory + channel-change girlies


🌸 the absolute grab-bag (no notes, they're all icons)


πŸ¦‹ the NAN squad (they showed up as a group, main character energy)


πŸŽ€ the rest of the lineup, slaying in order


and that is genuinely the whole thing, no cap. every single one of those (9) pages is out there waiting for you, so go click around and get your learn on πŸ”₯

real talk though: that's the end of the page, bestie. nothing after this but the footer πŸ’–

alright, signing off β€” this one's filed under ./include/net, it's from October 2026, and its whole government name is Actions and configuration(9). wrap party time, you ate that πŸŽ‰βœ¨πŸ‘‘

πŸ“¦ where this page comes from