cfg80211_merge_profile(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

cfg80211_merge_profile β€” bestie, this one merges a MBSSID profile when it's been split up between IEs 🧩✨

So like, the kernel API manual page is cfg80211_merge_profile(9), and here's the whole vibe πŸ‘‘


✨ SYNOPSIS ✨

size_t cfg80211_merge_profile(const u8 *ie, size_t ielen,
                              const struct element *mbssid_elem,
                              const struct element *sub_elem,
                              u8 *merged_ie, size_t max_copy_len);

🌸 ARGUMENTS 🌸

  • ie β€” the ies. that's it. that's the whole description. iconic honestly πŸŽ€
  • ielen β€” length of IEs, aka how much ie we're working with πŸ“
  • mbssid_elem β€” the current MBSSID element, main character energy πŸ‘‘
  • sub_elem β€” the current MBSSID subelement (the profile) πŸ¦‹
  • merged_ie β€” where the merged profile goes to live, its forever home πŸ‘πŸ’–
  • max_copy_len β€” max merged profile length, so pls don't overflow, we're begging πŸ™ˆ

⭐ RETURN ⭐

Returns the number of bytes merged πŸ”’ β€” lowkey the most important number in this whole function ngl.


bestie there's more of this page coming, don't scroll away yet 🫢

πŸ‘€ SEE ALSO πŸ‘€

okay so this is the part of the page where the author just... lists the entire kernel at you πŸ’€ no cap, it's a lot. But it's also lowkey the best part, because every single one of these is a doc page you can jump to next, and they all live in the kernel file ./include/net/cfg80211.h. I'm not skipping a single one β€” you know I wouldn't do you like that 🫢


πŸŽ€ the very first ones

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

✨ channels, rates, bands & iftype data (the radio-nerd starter pack)


πŸ’… actions and configuration (the big one, buckle up)


πŸ¦‹ scanning and BSS list handling

  • 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 besties + the auth/pmksa/pmsr crew

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

πŸ‘‘ ops, wiphy flags, iface combos & vendor command scaffolding

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

πŸ’– the wiphy life cycle saga (struct wiphy and every wiphy_* under the sun)


🧚 utility functions (little helpers, big main character energy)


🌈 data path helpers


πŸ”₯ regulatory enforcement infrastructure + internal regulatory db functions


πŸ“ scan completion, informing BSS, and all the mlme dramatics


⭐ RFkill integration, vendor commands & test mode


πŸ’œ connect / roam / disconnect notification central


πŸ™ˆ rx/tx mgmt, cqm notifications & radar/cac events

okay so that's genuinely every single reference the page throws at you, in the exact same order, nothing dropped πŸ’… the way this list just keeps going is iconic honestly β€” like yes queen, cite the whole kernel, we love an overachiever ✨

…and fr fr, the see-also list is giving extended cinematic universe, so here's the whole friend group, in the exact order the page serves them β€” no skips, no cuts, we don't do that here 🫢

like, that's a lot of siblings, bestie 😭 but every single one is linked on purpose, so if you're hunting something adjacent to profiles and merges, it's lowkey probably in there. go click around, iykyk πŸ”₯

okay that's the whole page, we ate and left no crumbs πŸ‘‘πŸ’…

this lil beauty ships out of the ./include/net directory, dated October 2026, and it's filed under the extremely iconic name cfg80211_merge_profile(9) β€” that's the whole footer, periodt πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from