cfg80211_connect_timeout(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cfg80211_connect_timeout(9) β€” the Kernel API Manual tea β˜•βœ¨

okay so bestie, welcome to cfg80211_connect_timeout, straight out of the Kernel API Manual. this one's a little function with big "pls notice me" energy β€” it's how your driver tells cfg80211 that a connection attempt just timed out. let's get into it 🫢


✨ NAME ✨

cfg80211_connect_timeout β€” notify cfg80211 of connection timeout. literally just "hey bestie, we timed out" πŸ’€


πŸ¦‹ SYNOPSIS πŸ¦‹

void cfg80211_connect_timeout (struct net_device *dev , const u8 *bssid
, const u8 *req_ie , size_t req_ie_len , gfp_t gfp , enum
nl80211_timeout_reason timeout_reason );

like, that's the whole signature. iconic. no cap. πŸ‘‘


🌸 ARGUMENTS 🌸

  • dev β€” network device. the device we're talking about, bestie πŸŽ€
  • bssid β€” the BSSID of the AP. yup, which access point this whole situation is about πŸ’…
  • req_ie β€” association request IEs (maybe be NULL). so like, the association request IEs β€” and fr fr, this one's allowed to be NULL πŸ™ˆ
  • req_ie_len β€” association request IEs length. the length of those IEs, obviously ✨
  • gfp β€” allocation flags. the allocation flags, slay 🌈
  • timeout_reason β€” reason for connection timeout. literally the reason the connection timed out, iykyk πŸ’€

πŸ’– DESCRIPTION πŸ’–

okay so here's the vibe: the underlying driver should call this whenever connect has failed in a sequence where no explicit authentication/association rejection was received from the AP. like, the AP didn't clap back and say "no" β€” it just… ghosted you 😭

this could happen, e.g., due to not being able to send out the Authentication or Association Request frame, or timing out while waiting for the response. both of those are giving "sent a text, no reply" energy fr.

⚠️ the one rule, bestie: only one of the functions among cfg80211_connect_bss, cfg80211_connect_result, cfg80211_connect_timeout, and cfg80211_connect_done should be called. not two, not three β€” pick one and commit. periodt. πŸ’…πŸ”₯

more parts coming, don't go anywhere πŸ§šπŸ’œ

✨ SEE ALSO ✨

Okay bestie, so this section is the "everything that's even slightly related to this page" wall, and I need you to trust me β€” every single one of these is here on purpose, so I'm not dropping a single one. Buckle in. πŸŽ€

First up, the actual home of all of this:

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

And then the party starts:


Next era: actually doing stuff with the config πŸ¦‹


Station / AP / mesh / OCB business, plus all the survey and SAR goodies πŸ’…

  • 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 era πŸ” β€” this is where you go looking for networks instead of waiting for them to find you.

  • 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, PMSR, external auth, and then the big wiphy / cfg80211_ops universe πŸ‘‘ (yes, this list really does keep going, welcome to wireless)

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

The struct wiphy accessor squad and alllll the work-queue scheduling helpers ⏰


Utility functions β€” the little helpers that make life not miserable 🌸


Data path helpers 🧚 β€” frame conversion, element finding, all that crunchy stuff


Regulatory hour 🌍 β€” where the law and your radio have a little chat


BSS notification / association / management frame reporting β€” the "tell the rest of the kernel what just happened" zone ✨


RFkill, vendor commands, and test mode β€” the special-purpose aisles of the store πŸ’œ


And the final stretch of connection / roaming / notification helpers β€” we are SO close, don't leave me now 😭

Bestie this page does not end there β€” there's literally more coming, so don't close the tab πŸ’€

…and bestie the list literally keeps going, so here's the rest of the crew, all in the same order, no skips, no edits, no "we didn't have time for these" 😀🫢

Like, that's the whole squad πŸ’… every single one of them cross-referenced exactly as written, so if you need the deep lore on literally any of these, go read their pages. This one's done, bestie 🌸


and that's a wrap on cfg80211_connect_timeout(9)!! πŸŽ€βœ¨ Source situation for the credits girlies: it lives over in ./include/net, dated October 2026, and yes the page name on the tin (and in the footer) is cfg80211_connect_timeout(9) β€” periodt πŸ’–πŸ¦‹

πŸ“¦ where this page comes from