cfg80211_connect_done(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cfg80211_connect_done β€” the Kernel API Manual tea πŸŽ€

okay so bestie, buckle up, we're in cfg80211_connect_done(9) territory β€” this is the kernel API manual's page on it, and it's lowkey iconic ✨


🌸 NAME 🌸

cfg80211_connect_done β€” notify cfg80211 of connection result πŸ’–

Like, that's literally her whole job: she tells cfg80211 how the connection went. no cap.


✨ SYNOPSIS ✨

void cfg80211_connect_done (struct net_device *dev , struct
       cfg80211_connect_resp_params *params , gfp_t gfp );

she takes three things and returns void β€” meaning she doesn't hand you anything back, she just does the thing and dips 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the network device πŸ’» like, the actual netdev we're talking about here
  • params β€” the connection response parameters πŸ“¦ the whole little bundle of "here's what happened when we tried to connect"
  • gfp β€” the allocation flags 🌱 yes, the classic gfp_t flags, you know her, you love her

πŸ’œ DESCRIPTION πŸ’œ

okay so the vibe is: the underlying driver should call this once execution of the connection request from connect has been completed. that's it. that's the moment. the connection request started, it ran, it finished β€” and now you ring her up πŸ“žβœ¨

this one is similar to cfg80211_connect_bss, but β€” and this is the glow-up β€” she takes a structure pointer for the connection response parameters. so instead of passing a million args, you hand her a struct cfg80211_connect_resp_params * and she's like "slay, got it" πŸ’…

⚠️ okay this part is important bestie, don't skip it: only one of these functions should be called: - cfg80211_connect_bss - cfg80211_connect_result - cfg80211_connect_timeout - cfg80211_connect_done literally one. pick one. choose your fighter. calling more than one is not giving what you think it's giving 😭

and that's chapter one, there's more coming so don't go anywhere 🧚

πŸŽ€ the header-file homies (bands, caps & rates)

okay so literally every single one of these lives in the kernel file ./include/net/cfg80211.h β€” that's the sacred text, the mothership, the whole extended universe πŸ’« and this section is just the manpage handing you the entire cast list. Buckle up bestie, because we are going through ALL of them, no skips, no cap.

  • Introduction(9) β€” the intro chapter. start here if you're new, bestie 🫢
  • Device registration(9) β€” the device registration chapter.
  • enum ieee80211_channel_flags(9), struct ieee80211_channel(9) β€” channel flags plus the channel struct itself ✨
  • enum ieee80211_rate_flags(9), enum ieee80211_bss_type(9), enum ieee80211_privacy(9), struct ieee80211_rate(9) β€” rate flags, BSS type, privacy, and the rate struct.
  • struct ieee80211_he_obss_pd(9), struct cfg80211_he_bss_color(9) β€” HE OBSS PD and the HE BSS colour struct 🎨
  • struct ieee80211_sta_ht_cap(9), struct ieee80211_sta_vht_cap(9), struct ieee80211_sta_he_cap(9) β€” the HT / VHT / HE capability structs, the glow-up trilogy.
  • struct ieee80211_eht_mcs_nss_supp(9), struct ieee80211_sta_eht_cap(9), struct ieee80211_sta_uhr_cap(9) β€” EHT MCS/NSS support, EHT cap, UHR cap. yes we're still going πŸ”₯
  • struct ieee80211_sband_iftype_data(9), enum ieee80211_edmg_bw_config(9), struct ieee80211_edmg(9) β€” sband iftype data, EDMG bandwidth config, EDMG struct.
  • struct ieee80211_sta_s1g_cap(9), struct ieee80211_supported_band(9) β€” S1G cap and the supported band struct.
  • _ieee80211_set_sband_iftype_data(9), ieee80211_set_sband_iftype_data(9) β€” the same setter twice, once with the lil underscore. twins πŸ’…
  • for_each_sband_iftype_data(9), ieee80211_get_sband_iftype_data(9) β€” the for-each loop and the matching getter.
  • ieee80211_get_he_iftype_cap(9), ieee80211_get_he_6ghz_capa(9), ieee80211_get_eht_iftype_cap(9), ieee80211_get_uhr_iftype_cap(9) β€” HE iftype cap, HE 6GHz capa, EHT iftype cap, UHR iftype cap. getter girlies unite 🧚
  • wiphy_read_of_freq_limits(9) β€” reads the frequency limits.

πŸ’… Actions and configuration crew

  • Actions and configuration(9) β€” the chapter, the main character, the moment πŸ‘‘
  • struct vif_params(9), struct key_params(9) β€” vif params and key params.
  • struct cfg80211_chan_def(9), struct cfg80211_tid_cfg(9), struct cfg80211_tid_config(9) β€” channel definition, TID config, and the other TID config.
  • struct cfg80211_fils_aad(9), struct cfg80211_set_hw_timestamp(9) β€” FILS AAD and hw timestamp setting.
  • cfg80211_get_chandef_type(9), cfg80211_chandef_create(9) β€” get the chandef type, create a chandef.
  • cfg80211_chandef_identical(9), cfg80211_chandef_is_edmg(9), cfg80211_chandef_is_s1g(9), cfg80211_chandef_compatible(9) β€” is it identical, is it EDMG, is it S1G, is it compatible. the chandef vibe check squad πŸ”
  • nl80211_chan_width_to_mhz(9), cfg80211_chandef_get_width(9) β€” channel width to MHz, and grab the width.
  • cfg80211_chandef_valid(9), cfg80211_chandef_usable(9) β€” valid? usable? both, separately, bestie.
  • cfg80211_chandef_dfs_required(9), cfg80211_chandef_dfs_usable(9), cfg80211_chandef_dfs_cac_time(9) β€” DFS required, DFS usable, DFS CAC time.
  • cfg80211_chandef_primary(9), cfg80211_chandef_npca_valid(9), cfg80211_chandef_add_npca(9), cfg80211_chandef_add_dbe(9) β€” primary channel, NPCA validity, add NPCA, add DBE.
  • nl80211_send_chandef(9), ieee80211_chandef_max_power(9), cfg80211_chandef_s1g_pri_width(9) β€” send the chandef, max power, S1G primary width.
  • cfg80211_any_usable_channels(9), enum survey_info_flags(9), struct survey_info(9) β€” any usable channels, survey flags, survey info.
  • struct cfg80211_crypto_settings(9), struct cfg80211_mbssid_config(9), struct cfg80211_mbssid_elems(9) β€” crypto settings, M-BSSID config, M-BSSID elements.
  • struct cfg80211_rnr_elems(9), struct cfg80211_beacon_data(9), struct cfg80211_acl_data(9) β€” RNR elements, beacon data, ACL data.
  • struct cfg80211_fils_discovery(9), struct cfg80211_unsol_bcast_probe_resp(9), struct cfg80211_s1g_short_beacon(9) β€” FILS discovery, unsolicited broadcast probe response, S1G short beacon.
  • struct cfg80211_ap_settings(9), struct cfg80211_ap_update(9), struct cfg80211_csa_settings(9), struct cfg80211_color_change_settings(9) β€” AP settings, AP update, CSA settings, colour change settings. the AP admin clique ✨
  • struct iface_combination_params(9), enum station_parameters_apply_mask(9), struct sta_txpwr(9) β€” iface combination params, station parameters apply mask, station tx power.
  • struct link_station_parameters(9), struct link_station_del_parameters(9), struct cfg80211_ttlm_params(9) β€” link station params, link station delete params, TTLM params.
  • struct station_parameters(9), struct station_del_parameters(9), enum cfg80211_station_type(9) β€” station params, station delete params, station type enum.
  • cfg80211_check_station_change(9), enum rate_info_flags(9), enum rate_info_bw(9), struct rate_info(9) β€” check station change, rate info flags, rate info bandwidth, rate info.
  • enum bss_param_flags(9), struct sta_bss_parameters(9) β€” BSS param flags and station BSS parameters.
  • struct cfg80211_txq_stats(9), struct cfg80211_tid_stats(9) β€” txq stats and TID stats, the stats besties πŸ“Š
  • struct link_station_info(9), struct station_info(9) β€” link station info and station info.
  • struct cfg80211_sar_sub_specs(9), struct cfg80211_sar_specs(9), struct cfg80211_sar_freq_ranges(9), struct cfg80211_sar_capa(9) β€” SAR sub specs, SAR specs, SAR freq ranges, SAR capabilities.
  • cfg80211_get_station(9), enum monitor_flags(9), enum mpath_info_flags(9), struct mpath_info(9) β€” get station, monitor flags, mpath info flags, mpath info.
  • enum wiphy_bss_param_flags(9), struct bss_parameters(9) β€” wiphy BSS param flags and BSS parameters.
  • struct mesh_config(9), struct mesh_setup(9), struct ocb_setup(9) β€” mesh config, mesh setup, OCB setup πŸ•ΈοΈ
  • struct ieee80211_txq_params(9) β€” the txq params, last one in this lil cluster.

πŸ” Scanning and BSS list handling squad

  • Scanning and BSS list handling(9) β€” the chapter where the scanning lore lives.
  • struct cfg80211_ssid(9), struct cfg80211_scan_info(9), struct cfg80211_scan_6ghz_params(9) β€” SSID, scan info, 6GHz scan params.
  • struct cfg80211_scan_request(9), struct cfg80211_match_set(9), struct cfg80211_sched_scan_plan(9) β€” scan request, match set, sched scan plan.
  • struct cfg80211_bss_select_adjust(9), struct cfg80211_sched_scan_request(9), enum cfg80211_signal_type(9) β€” BSS select adjust, sched scan request, signal type.
  • struct cfg80211_inform_bss(9), struct cfg80211_bss_ies(9), struct cfg80211_bss(9) β€” inform BSS, BSS IEs, BSS. the BSS trio πŸ¦‹
  • ieee80211_bss_get_elem(9), ieee80211_bss_get_ie(9) β€” get an element / get an IE from a BSS.
  • struct cfg80211_auth_request(9), struct cfg80211_assoc_link(9), struct cfg80211_ml_reconf_req(9) β€” auth request, assoc link, ML reconf request.
  • enum cfg80211_assoc_req_flags(9), struct cfg80211_assoc_request(9) β€” assoc request flags and the assoc request itself.
  • struct cfg80211_deauth_request(9), struct cfg80211_disassoc_request(9) β€” deauth request, disassoc request. bye bestie 😭
  • struct cfg80211_ibss_params(9), struct cfg80211_bss_selection(9), struct cfg80211_connect_params(9) β€” IBSS params, BSS selection, connect params. connect params is literally the star of this whole page, hi πŸ’–
  • enum cfg80211_connect_params_changed(9), enum wiphy_params_flags(9), struct cfg80211_pmksa(9) β€” connect params changed, wiphy params flags, PMKSA.
  • struct cfg80211_pkt_pattern(9), struct cfg80211_wowlan_tcp(9), struct cfg80211_wowlan(9) β€” packet pattern, WoWLAN TCP, WoWLAN 😴
  • struct cfg80211_coalesce_rules(9), struct cfg80211_coalesce(9) β€” coalesce rules, coalesce.
  • struct cfg80211_wowlan_nd_match(9), struct cfg80211_wowlan_nd_info(9), struct cfg80211_wowlan_wakeup(9) β€” WoWLAN net-detect match, net-detect info, wakeup.
  • struct cfg80211_gtk_rekey_data(9), struct cfg80211_update_ft_ies_params(9) β€” GTK rekey data, update FT IEs params.
  • struct cfg80211_mgmt_tx_params(9), struct cfg80211_dscp_exception(9), struct cfg80211_dscp_range(9), struct cfg80211_qos_map(9) β€” mgmt tx params, DSCP exception, DSCP range, QoS map.

🌸 NAN girlies, PMKSA-adjacent besties & FTM

  • Neighbor Awareness Networking (NAN)(9) β€” the whole NAN chapter, our social butterfly πŸ¦‹
  • struct cfg80211_nan_band_config(9), struct cfg80211_nan_conf(9), struct cfg80211_nan_channel(9) β€” NAN band config, NAN conf, NAN channel.
  • struct cfg80211_nan_local_sched(9), struct cfg80211_nan_peer_map(9), struct cfg80211_nan_peer_sched(9) β€” NAN local sched, peer map, peer sched.
  • enum cfg80211_nan_conf_changes(9), struct cfg80211_nan_func_filter(9), struct cfg80211_nan_func(9) β€” NAN conf changes, func filter, func.
  • struct cfg80211_pmk_conf(9), struct cfg80211_external_auth_params(9) β€” PMK conf, external auth params.
  • struct cfg80211_ftm_responder_stats(9), struct cfg80211_pmsr_ftm_result(9), struct cfg80211_pmsr_result(9) β€” FTM responder stats, PMSR FTM result, PMSR result.
  • struct cfg80211_pmsr_ftm_request_peer(9), struct cfg80211_pmsr_request_peer(9), struct cfg80211_pmsr_request(9) β€” the FTM request peer, request peer, and request.
  • struct cfg80211_update_owe_info(9) β€” update OWE info, last of this group 🫢

πŸ‘‘ wiphy, ops & device registration royalty


🧚 Utility functions & data path helpers


πŸ“‘ Regulatory, internal regdb & BSS informing


πŸ’« MLME, station events & notifications


πŸ’– connect / roam / disconnect results & the notify girlies

…and the see-also list keeps going, because apparently this page's love language is "and also everyone I've ever met" πŸ˜­πŸ’–. These are all your mutuals, bestie β€” go say hi:

No cap, that's 64 whole cross-references β€” the full friend group, every single one a real page you can go open. Obsessed with the follow-through, honestly πŸ’…βœ¨


That's a wrap on this little masterpiece, bestie πŸŽ€ It lives in ./include/net and it's dated October 2026 β€” so if you're reading this in October 2026, congrats, you're right on schedule, iconic behaviour ⏰🌟 It's the cfg80211_connect_done(9) page and we are done β€” mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from