cfg80211_bss_flush(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… cfg80211_bss_flush โ€” a Kernel API Manual moment (section 9, bestie, we're in the kernel API manual)

okay so picture this: you open cfg80211_bss_flush(9) and it's giving "short and iconic". That's the whole vibe. Let me walk you through it ๐Ÿซถ


โœจ NAME โœจ

cfg80211_bss_flush โ€” literally resets all the scan entries. all of them. every last one. it's giving "clean slate, new semester, fresh notebook" energy ๐ŸŒธ


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

void cfg80211_bss_flush (struct wiphy *wiphy );

no cap, that's the whole signature. returns void โ€” meaning it does not come back with receipts, it just does the thing and leaves ๐Ÿ‘‘


๐ŸŽ€ ARGUMENTS ๐ŸŽ€

  • wiphy โ€” the wiphy. that's it. that's the argument. it's the wiphy, bestie ๐Ÿ’–

so yeah, that's the setup โ€” one function, one argument, one job: resetting all the scan entries on the wiphy you hand it. short, sweet, slays ๐Ÿ’…

hold that thought though, because there's more of this page coming and we are not done yet ๐Ÿงš

๐Ÿ’ซ SEE ALSO ๐Ÿ’ซ

okay bestie, this is the part where the page just dumps every single related thing at you, and honestly? it's giving reference-section main character energy. no cap, this list is LONG. but every one of these is a real thing you can go read next, so let's get into it ๐Ÿ’…

first up, the actual source file this whole page lives in:

  • ./include/net/cfg80211.h โ€” the kernel file, the mothership, the place where it all lives ๐Ÿ 

then the big intro-level stuff, aka your orientation reading:

and now the band/channel/rate fundamentals โ€” literally the whole alphabet of wifi:

  • 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)
  • struct ieee80211_he_obss_pd(9)
  • struct cfg80211_he_bss_color(9)
  • 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)
  • 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 sband-and-iftype-helper crew, obsessed with them actually:


now we're getting into Actions and configuration(9) territory, and this is where the list really starts to pop off. buckle up ๐ŸŽ€

  • Actions and configuration(9)
  • struct vif_params(9)
  • struct key_params(9)
  • struct cfg80211_chan_def(9)
  • struct cfg80211_tid_cfg(9)
  • struct cfg80211_tid_config(9)
  • struct cfg80211_fils_aad(9)
  • struct cfg80211_set_hw_timestamp(9)

the entire chandef cinematic universe, and yes there is a lot of it:

survey + crypto + the AP-side structs (beacon era ๐Ÿ’–):

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

station params, rates, and all the stats you could ever want โœจ

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

SAR (specific absorption rate) stuff, lowkey important, don't skip it:

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

monitor + mesh path + BSS params + mesh/ocb/txq setup โ€” the "everything else in config" section fr fr:

  • 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 and BSS list handling(9) โ€” this one's a whole vibe, get comfy:

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

connection-era structs, the auth/assoc/deauth/disassoc gang ๐Ÿซถ:

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

power-save / wowlan / coalesce / GTK rekey / mgmt tx / QoS map goodness:

  • 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) โ€” the whole NAN family, they ate:

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

more connect/external-auth/FTM/PMSR/OWE things, iconic lineup:

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

the ops + wiphy + iface combination era ๐Ÿ‘‘

  • 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 wiphy lifecycle + private-data + locking + work-queue helpers, literally the plumbing of the whole thing ๐Ÿงš:

wireless dev + reg power + chandef-on-wdev:


โญ Utility functions(9) โ€” the lil helpers that do the most:

radiotap + header-length helpers:

๐ŸŒธ Data path helpers(9) โ€” converting frames and finding IEs, the actual useful stuff:

the element-finding family (this is where you live if you parse IEs all day):


๐Ÿ’œ Regulatory enforcement infrastructure(9) โ€” yes the rules matter, read them:

Internal regulatory db functions(9) โ€” internal, so yk, internal:

back to BSS handling with the reporting/inform/unlink crew:

MLME / mgmt notification squad โ€” auth, assoc, deauth, michael mic failure, ibss joined, and peer candidate stuff:


๐Ÿ”ฅ RFkill integration(9) โ€” hardware kill switch, not a drill:

๐Ÿฆ‹ Vendor commands(9) โ€” where the driver-specific magic happens:

๐Ÿงš Test mode(9) โ€” for testing, obvi:

fils/connect/roam/disconnect outcome reporting โ€” the "tell the world what happened" gang:

remain-on-channel + mgmt tx expiry + station info stat allocation:

new/del station + conn failure, the station lifecycle:

rx path + tx status + control port + CQM notifications โ€” the "events, events, events" section ๐ŸŒˆ:

radar + CAC + opmode change + GTK rekey + PMKSA candidate โ€” the "tell userspace something's up" crew:

and finally, the odd-frame reporters + probe status + OBSS beacon reporting + the beaconing check config that closes us out ๐Ÿ’–:

okay that was a LOT, i know ๐Ÿ˜ญ but that's genuinely every single reference on the page โ€” no skips, no cuts, periodt. if you made it to the bottom you're officially a wifi scholar, bestie ๐Ÿ‘‘โœจ

โ€ฆand the rest of the crew, fr fr โ€” every single one of these is a real page you can pull up, so go be nosy ๐Ÿ‘€


That's the whole roster โ€” sixty-three whole pages, and yeah, I listed every one of them, don't test me ๐Ÿ’œ

ngl bestie, that's a lot of SEE ALSO โ€” if you actually read all of them in one sitting, you're built different. hydrate first. ๐Ÿ“

Okay so credits, because we stan attribution: this page lives in the source tree at ./include/net, it's the cfg80211_bss_flush(9) page, and the version stamp on it is October 2026. Love that for us โ€” future-dated and still flawless. ๐Ÿ’…โœจ๐ŸŽ€

Now go flush some BSSes, king. ๐Ÿซถ๐Ÿ‘‘

๐Ÿ“ฆ where this page comes from