cfg80211_chandef_add_npca(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ cfg80211_chandef_add_npca πŸ¦‹

okay so this is from the Kernel API Manual, bestie β€” the manual name is folded right in here: cfg80211_chandef_add_npca(9). It’s literally giving β€œparse and add NPCA information to chandef” energy ✨

πŸ’– NAME πŸ’–

cfg80211_chandef_add_npca β€” parse and add NPCA information to chandef

✨ SYNOPSIS ✨

int cfg80211_chandef_add_npca (struct wiphy *wiphy , struct
       cfg80211_chan_def *chandef , const struct ieee80211_uhr_npca_info *npca
       );

πŸŽ€ ARGUMENTS πŸŽ€

  • wiphy β€” the wiphy this will be used for, for channel pointer lookup πŸ‘‘
  • chandef β€” the chandef to modify, must be a valid chandef without NPCA. no cap, it has to be valid and NPCA-free already πŸ’…
  • npca β€” the NPCA information, can be NULL. yes bestie, NULL is allowed 🫢

🌈 RETURN 🌈

0 if the NPCA information was added and the resulting chandef is valid, a negative error code on errors πŸ¦‹

πŸ‘€ SEE ALSO πŸ‘€

Okay bestie, this is the part where the page hands you the entire extended friend group β€” every single (9) page in the cfg80211 cinematic universe. It's a lot, but each one is literally one man command away, and they all ate. Go say hi. πŸ’…

🌸 the opening credits

πŸŽ€ actions & configuration energy

✨ the survey / AP / station struct squad

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

πŸ¦‹ scanning & BSS list handling (the lore drop)

  • 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, auth, PMSR, OWE & mgmt frame regs

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

πŸ‘‘ wiphy core cast (main character energy)

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

🧚 wiphy helper besties

🌈 wireless dev & utility functions

πŸ“ data path helpers + element hunting

🧚 regulatory enforcement & internal regdb

⭐ scan/BSS notification besties

πŸ”₯ RFkill, vendor commands & test mode

🫢 connect / roam / disconnect notifications

πŸ’– rx/tx mgmt & the final notification crew

like. the whole regulatory-and-chandef friend group, obviously πŸ’… they all live in the same group chat as this page, so if you're vibing with NPCA you're gonna be vibing with them next.


the device-lifecycle girlies πŸŽ€ register, unregister, and one tdls request for flavour. also bitrate, because someone has to do the math.


ft event besties + the p2p attr icon. yes, struct cfg80211_ft_event_params(9) is a struct page, not a function β€” she's built different πŸ¦‹


splitting and fragmenting IEs, the way that they just… do that 😭


wakeup reporting, crit proto stopping, and counting your channels. unbothered, moisturized, in their lane ✨


combinations checks, iteration, radio index β€” and then the three that shut stuff down (link, iface, all interfaces). not the fun ones but somebody has to πŸ™ˆ


the ext-feature set/isset duo, genuinely obsessed with them 🫢


ok the NAN era begins πŸ’€ free it, match it, terminate it, done the sched update β€” and don't forget struct cfg80211_nan_match_params(9) is a struct page, iykyk.


external auth, pmsr report + complete, iftype checking, assoc comeback (she always comes back πŸ”₯) and the owe info update.


the bss flush + colour era 🌈 collision, started, aborted, notified β€” and cfg80211_6ghz_power_type(9) just chilling at the end of the block.


mlo reconf besties, links removed, scheduled channel checks, epcs changed. patient, powerful, lowkey iconic πŸ‘‘


NAN part two, the sequel nobody asked for but everybody needed πŸ’€ next dw notif, cluster joined, ulw update, channel evac.


debugfs read/write under lock, the s1g freq trio (start, end, primary sibling β€” she's got range πŸ’œ) and the incumbent signal notify to close the whole list out.


ok that's genuinely the whole see-also family, bestie 🧚 if you made it this far you're a real one, fr fr.

and that's the page! source lived in ./include/net, version/date stamp says October 2026, and the whole lovely thing is filed under cfg80211_chandef_add_npca(9) β€” go forth and add your NPCA channels responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from