cfg80211_unlink_bss(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the cfg80211_unlink_bss page β€” it's short, it's sweet, and it's about yeeting a BSS out of the kernel's little internal bookkeeping ✨


🌸 NAME 🌸

cfg80211_unlink_bss β€” unlink a BSS from the internal data structures, no cap 🫢


✨ SYNOPSIS ✨

void cfg80211_unlink_bss (struct wiphy *wiphy , struct cfg80211_bss *bss
);

literally that's the whole signature, she's not complicated πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • wiphy β€” the wiphy, aka the wireless device thingy you're working with πŸ“‘
  • bss β€” the bss you wanna remove, bestie. that's the one getting unlinked πŸ‘‹

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does this function actually do? it removes the given BSS from the internal data structures, which means it no longer shows up in scan results and all that good stuff. gone. not in the list. bye bestie πŸ’€

use this function when you detect that a BSS is gone β€” like, you looked around and she's not there anymore πŸ”

lowkey important note: normally BSSes will also time out on their own, so honestly it is not necessary to use this function at all. like, the kernel will handle it. this is just for when you know and you wanna be proactive about it 🧚

that's the whole vibe for part 1 β€” more coming, don't go anywhere πŸ“

🫢 SEE ALSO β€” the whole friend group πŸ’…

okay bestie, this is the part where the page just... lists everyone it knows 😭 and it knows a lot of people. like, this is the extended guest list, no cap. every single one of these is a real (9) page you can go read, so let's go through them section by section, yeah? ✨

First up, where the whole thing lives:

  • Kernel file ./include/net/cfg80211.h
  • Introduction(9)
  • Device registration(9)

πŸŽ€ the channel, rate & band lore


πŸ’– Actions and configuration β€” the big one, lowkey the main character

like I said, the page itself links to Actions and configuration(9) and omg it is the chapter. here's everything filed under it:


πŸ¦‹ Scanning and BSS list handling β€” the gossip chapter

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

🌸 Neighbor Awareness Networking (NAN) β€” she has her own chapter, icon behaviour

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

🐚 auth, ranging & mgmt bits

  • 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 & wireless_dev β€” the actual plumbing, obsessed


🌈 Utility functions β€” the little helpers that carry the whole squad


🧚 Data path helpers β€” where packets actually get touched


πŸ“ Regulatory enforcement infrastructure & the internal db functions


πŸ’€ scan results, BSS lookups & MLME notifications


πŸ”₯ RFkill integration


⭐ Vendor commands β€” the make-it-yours era


πŸ’œ Test mode


πŸŽ€ connect / roam / sta / mgmt notification hall of fame

...and the rest of the list, bestie, because this page's SEE ALSO is genuinely a whole friend group πŸ’… β€” everyone here is part of the same cfg80211 / mac80211 cinematic universe, iykyk:

πŸŽ€ regulatory & beaconing besties

πŸ¦‹ channel switch girlies

🌸 operating class & chandef math

🫢 TDLS & bitrate

πŸ’– device registration era

🧚 fast transition (FT) corner

  • struct cfg80211_ft_event_params(9) β€” the struct carrying FT event params
  • cfg80211_ft_event(9) β€” firing off the FT event itself

⭐ P2P & IE wrangling

πŸ”₯ WoWLAN & critical protocol

🌈 channels & combos

πŸ’œ shutting things down (respectfully)

✨ extended features

πŸ“ NAN nation (yes, all of them)

πŸŽ€ external auth & PMSR

πŸ¦‹ iftype, assoc & OWE

🌸 BSS & coloring chaos

πŸ’€ EPCS

πŸ™ˆ debugfs locked helpers

⭐ S1G helpers

🧚 incumbent signal


okay that's genuinely the whole list, every single one, no skips, no cap πŸ’…

tiny reminder before you close the tab: this page lives in the source tree at ./include/net, it's dated October 2026, and its man page name is cfg80211_unlink_bss(9). Go be iconic with your BSS unlinking, bestie 🫢✨
πŸ“¦ where this page comes from