cfg80211_gen_new_bssid(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’– cfg80211_gen_new_bssid(9) ๐Ÿ’–

okay so bestie, welcome to the Kernel API Manual page for cfg80211_gen_new_bssid โ€” yes i know that name is a mouthful, say it with me, we're gonna get through it together ๐Ÿซถ


โœจ NAME โœจ

cfg80211_gen_new_bssid โ€” generate a nontransmitted BSSID for multi-BSSID ๐Ÿ’…

like, literally what it says on the tin. it makes you a brand-new nontransmitted BSSID. iconic behaviour, no cap.


๐ŸŒธ SYNOPSIS ๐ŸŒธ

void cfg80211_gen_new_bssid (const u8 *bssid , u8 max_bssid , u8
mbssid_index , u8 *new_bssid );

so it returns void โ€” meaning it's not gonna hand you back a value, it just does the thing and dips ๐Ÿ˜Œ the actual result lands in new_bssid, which you hand it as a pointer. we love an out-param moment.


๐ŸŽ€ ARGUMENTS ๐ŸŽ€

  • bssid โ€” the transmitter BSSID. this is your main character, the one doing the transmitting ๐Ÿฆ‹
  • max_bssid โ€” the max BSSID indicator, and bestie listen โ€” this one gets taken from the Multiple BSSID element. that's where it lives. don't go looking anywhere else ๐Ÿ‘‘
  • mbssid_index โ€” the BSSID index, and this lil guy is taken from the Multiple BSSID index element. yes, index element. different element. keep them straight, i believe in you ๐Ÿ’–
  • new_bssid โ€” the calculated nontransmitted BSSID. this is where the magic gets written, so it's the calculated one, not the transmitted one. very demure, very mindful ๐ŸŒธ

ngl the naming on this whole family of symbols is a lot, so just remember: bssid in = transmitter, new_bssid out = nontransmitted. the two middles are just the raw numbers you pulled out of their respective elements ๐Ÿ’€

and that's the whole function, bestie โ€” short and sweet, it's giving tiny-but-loaded ๐Ÿงš

๐Ÿ’– SEE ALSO ๐Ÿ’–

okay bestie, this is the part where the page just โ€ฆ lists everything. and i mean everything. it's giving "group chat where someone adds all 300 of their mutuals to the same chat" energy ๐Ÿ˜ญ like genuinely, this is the whole cfg80211 extended family and they ALL showed up to the party. take a breath, we're going through them ๐Ÿ’…

the very first one is the source of truth, the mothership, the actual file these docs came from:

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

and then the intro + device registration vibes:

  • Introduction(9) โ€” where the whole saga starts, def start here if you're new ๐Ÿซถ
  • Device registration(9) โ€” the "how do i even become a device" chapter

channel, rate and BSS core stuff โ€” the foundational girlies โœจ

  • 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 iftype data function squad โ€” look, the naming is consistent, that's all i'm saying ๐Ÿ™ˆ


ACTIONS AND CONFIGURATION โ€” the "we're doing stuff now" era ๐Ÿ˜ค

  • Actions and configuration(9) โ€” the section that lowkey runs the world
  • 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 chandef cinematic universe ๐ŸŽฌ โ€” yes there really are this many


survey + crypto + the beacon/AP-adjacent fam ๐ŸŽ€

  • 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) โ€” try saying it five times fast, i dare you ๐Ÿ’€
  • 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 era ๐ŸŒธ โ€” the structs and helpers for the little guys connected to you

  • 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 + station lookup + mesh/mpath/ocb bits ๐Ÿฆ‹

  • 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) โ€” not to be confused with the other bss_param_flags up there, they're different, i promise, i'm not messing with you ๐Ÿซถ
  • 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 โ€” the "ooh what's out there" 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)

auth / assoc / connect era โ€” the actual "get me on the network" storyline ๐Ÿ”ฅ

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

wowlan / coalesce / power-save girlies ๐Ÿ’ค โ€” the "we sleep now" economy

  • 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) โ€” the social butterfly of the spec, she knows everyone ๐Ÿงš

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

pmk / external auth / ftm / pmsr โ€” i'm not gonna pretend this cluster isn't a lot, but it's all here ๐Ÿ’œ

  • 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) โ€” the big one, the driver's whole personality honestly
  • 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)

the wiphy lifecycle saga โ€” birth, registration, locking, work queueing, all of it ๐Ÿ‘‘


reg power + wireless_dev + its little helpers ๐ŸŒˆ


UTILITY FUNCTIONS โ€” the little toolbox every driver reaches into ๐Ÿ’…


DATA PATH HELPERS โ€” where the actual packets live, slay ๐Ÿ’€


REGULATORY ENFORCEMENT INFRASTRUCTURE โ€” the "no, you can't transmit there" department ๐Ÿšจ


scan done / BSS inform / get-put-ref era โ€” the BSS bookkeeping girlies ๐Ÿ“š


mlme mgmt notifications โ€” auth timeout, assoc resp, failures, the whole emotional arc ๐Ÿ˜ญ


RFKILL INTEGRATION โ€” the airplane-mode besties โœˆ๏ธ


VENDOR COMMANDS + TEST MODE โ€” the "we made our own rules" section ๐Ÿ™ˆ


connect / roam / disconnect โ€” the relationship status updates ๐Ÿ’”โžก๏ธ๐Ÿ’–


station bookkeeping notifications ๐Ÿ“


rx/tx mgmt + control port โญ


cqm + radar + cac + gtk rekey โ€” the "something changed, tell everyone" club ๐Ÿ“ฃ


and the last one we get to before this list literally hits the character limit:

  • struct cfg80211_beaconing_check_config(9)

and bestieโ€ฆ she's not even done. the comma is still there. there's more. part 3 has the rest, hold onโ€” ๐Ÿ’–

โ€ฆand the list keeps going, bestie, because this page is thorough. Part two of the SEE ALSO squad, in exactly the order the kernel gods wrote them:





ngl bestie if you read all 64 of those you are genuinely built different. go touch some grass, then come back and read the actual pages ๐Ÿ’œ

๐ŸŒธ okay that's the whole page, bye ๐ŸŒธ

That's it, that's the manpage, you made it to the end, I'm so proud ๐Ÿซถ This lil gem lives in ./include/net and the version of record is dated October 2026 โ€” so if you're reading this in the future, hi, hope the kernel is still slaying. Now go write some code, bestie, you've got this โœจ๐Ÿ”ฅ๐Ÿ‘‘

๐Ÿ“ฆ where this page comes from