cfg80211_ven...d_get_sender(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ cfg80211_vendor_cmd_get_sender(9) ✨

okay so bestie, welcome to the kernel API manual for cfg80211_vendor_cmd_get_sender πŸ’… this one is lowkey iconic because it's exactly what it says on the tin β€” no cap, no plot twists, just a tiny little helper doing its one job beautifully πŸŽ€


🌸 NAME 🌸

cfg80211_vendor_cmd_get_sender β€” get the current sender netlink ID

like... that's it. that's the whole vibe. it gets the sender. the netlink ID of the sender. fr fr πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

unsigned int cfg80211_vendor_cmd_get_sender (struct wiphy *wiphy );

so the return type is unsigned int (yes, an unsigned int, not an int, not a size_t, don't come for me) and it takes exactly one argument: a struct wiphy * called wiphy ✨ there's that trailing space before the closing paren in the original signature and we're keeping it because character-for-character is the assignment, periodt 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • wiphy β€” the wiphy πŸ’– that's the entire description. the wiphy. the one and only. she's a struct wiphy * and she's the wiphy and we love her for it 🧚

⭐ RETURN ⭐

returns the current netlink port ID in a vendor command handler 🌈

that's the whole return contract, bestie β€” the current netlink port ID, and specifically in a vendor command handler, so don't go expecting this to be meaningful outside of that context, iykyk πŸ‘‘


πŸ’œ CONTEXT πŸ’œ

may only be called from a vendor command handler 🚨

this is a hard restriction, not a suggestion, not a soft guideline, not a "whatever feels right" situation 😭 only. from. a. vendor. command. handler. that's the vibe check and if you fail it, that's on you bestie πŸ’€


more parts incoming, don't go anywhere πŸŒΈπŸ¦‹πŸ’…

πŸ¦‹ where to start, bestie

  • ./include/net/cfg80211.h + Introduction(9) β€” the kernel file this whole page lives in, plus the intro page that eases you in first πŸ’–

πŸŽ€ band lore & iftype cap energy

  • enum ieee80211_channel_flags(9) β€” the flags that describe a channel ✨
  • struct ieee80211_channel(9) β€” the channel struct itself, iconic
  • enum ieee80211_rate_flags(9) β€” flags for rates
  • enum ieee80211_bss_type(9) β€” the BSS type enum
  • enum ieee80211_privacy(9) β€” the privacy enum
  • struct ieee80211_rate(9) β€” the rate struct, short and sweet
  • struct ieee80211_he_obss_pd(9) β€” HE OBSS PD, yes that's the whole name 🫢
  • struct cfg80211_he_bss_color(9) β€” HE BSS color struct
  • struct ieee80211_sta_ht_cap(9) β€” HT capabilities
  • struct ieee80211_sta_vht_cap(9) β€” VHT capabilities
  • struct ieee80211_sta_he_cap(9) β€” HE capabilities
  • struct ieee80211_eht_mcs_nss_supp(9) β€” EHT MCS/NSS support
  • struct ieee80211_sta_eht_cap(9) β€” EHT capabilities
  • struct ieee80211_sta_uhr_cap(9) β€” UHR capabilities
  • struct ieee80211_sband_iftype_data(9) β€” sband iftype data, the main character of this little cluster πŸ‘‘
  • enum ieee80211_edmg_bw_config(9) β€” EDMG bandwidth config enum
  • struct ieee80211_edmg(9) β€” the EDMG struct
  • struct ieee80211_sta_s1g_cap(9) β€” S1G capabilities
  • struct ieee80211_supported_band(9) β€” the supported band struct
  • _ieee80211_set_sband_iftype_data(9) β€” the underscore-flavored setter (yes the leading _ matters, don't come for me)
  • ieee80211_set_sband_iftype_data(9) β€” the setter, no underscore
  • for_each_sband_iftype_data(9) β€” the loop macro, live your iteration fantasy
  • ieee80211_get_sband_iftype_data(9) β€” the getter
  • ieee80211_get_he_iftype_cap(9) β€” grab the HE iftype cap
  • ieee80211_get_he_6ghz_capa(9) β€” grab the HE 6GHz capa
  • ieee80211_get_eht_iftype_cap(9) β€” grab the EHT iftype cap
  • ieee80211_get_uhr_iftype_cap(9) β€” grab the UHR iftype cap
  • wiphy_read_of_freq_limits(9) β€” reads frequency limits from OF 🌸

πŸ’… actions & configuration core

  • Actions and configuration(9) β€” the big section page, your tour guide
  • struct vif_params(9) β€” vif params struct
  • struct key_params(9) β€” key params struct
  • struct cfg80211_chan_def(9) β€” channel definition struct, you'll see her everywhere
  • struct cfg80211_tid_cfg(9) β€” TID config struct
  • struct cfg80211_tid_config(9) β€” the TID config wrapper
  • struct cfg80211_fils_aad(9) β€” FILS AAD struct
  • struct cfg80211_set_hw_timestamp(9) β€” hw timestamp setter struct

🧚 chandef clique (she's everywhere, honestly)

🌸 AP, beacon & assorted structs

  • enum survey_info_flags(9) β€” survey flags
  • struct survey_info(9) β€” survey info struct
  • struct cfg80211_crypto_settings(9) β€” crypto settings
  • struct cfg80211_mbssid_config(9) β€” MBSSID config
  • struct cfg80211_mbssid_elems(9) β€” MBSSID elements
  • struct cfg80211_rnr_elems(9) β€” RNR elements
  • struct cfg80211_beacon_data(9) β€” beacon data
  • struct cfg80211_acl_data(9) β€” ACL data
  • struct cfg80211_fils_discovery(9) β€” FILS discovery
  • struct cfg80211_unsol_bcast_probe_resp(9) β€” unsolicited broadcast probe response, say that five times
  • struct cfg80211_s1g_short_beacon(9) β€” S1G short beacon
  • struct cfg80211_ap_settings(9) β€” AP settings
  • struct cfg80211_ap_update(9) β€” AP update
  • struct cfg80211_csa_settings(9) β€” CSA settings
  • struct cfg80211_color_change_settings(9) β€” color change settings

πŸ‘‘ stations, rates, mesh & OCB

  • struct iface_combination_params(9) β€” interface combination params
  • enum station_parameters_apply_mask(9) β€” the apply mask enum
  • struct sta_txpwr(9) β€” station TX power
  • struct link_station_parameters(9) β€” link station parameters
  • struct link_station_del_parameters(9) β€” link station delete parameters
  • struct cfg80211_ttlm_params(9) β€” TTLM params
  • struct station_parameters(9) β€” station parameters
  • struct station_del_parameters(9) β€” station delete parameters
  • enum cfg80211_station_type(9) β€” station type enum
  • cfg80211_check_station_change(9) β€” check a station change
  • enum rate_info_flags(9) β€” rate info flags
  • enum rate_info_bw(9) β€” rate info bandwidth enum
  • struct rate_info(9) β€” rate info struct
  • enum bss_param_flags(9) β€” BSS param flags
  • struct sta_bss_parameters(9) β€” station BSS parameters
  • struct cfg80211_txq_stats(9) β€” TXQ stats
  • struct cfg80211_tid_stats(9) β€” TID stats
  • struct link_station_info(9) β€” link station info
  • struct station_info(9) β€” station info, the big one
  • struct cfg80211_sar_sub_specs(9) β€” SAR sub-specs
  • struct cfg80211_sar_specs(9) β€” SAR specs
  • struct cfg80211_sar_freq_ranges(9) β€” SAR frequency ranges
  • struct cfg80211_sar_capa(9) β€” SAR capabilities
  • cfg80211_get_station(9) β€” get a station
  • enum monitor_flags(9) β€” monitor flags
  • enum mpath_info_flags(9) β€” mesh path info flags
  • struct mpath_info(9) β€” mesh path info
  • enum wiphy_bss_param_flags(9) β€” wiphy BSS param flags
  • struct bss_parameters(9) β€” BSS parameters
  • struct mesh_config(9) β€” mesh config
  • struct mesh_setup(9) β€” mesh setup
  • struct ocb_setup(9) β€” OCB setup
  • struct ieee80211_txq_params(9) β€” TXQ params

🌈 scanning & BSS list handling

  • Scanning and BSS list handling(9) β€” the section page for all of this
  • struct cfg80211_ssid(9) β€” SSID struct
  • struct cfg80211_scan_info(9) β€” scan info
  • struct cfg80211_scan_6ghz_params(9) β€” 6GHz scan params
  • struct cfg80211_scan_request(9) β€” scan request
  • struct cfg80211_match_set(9) β€” match set
  • struct cfg80211_sched_scan_plan(9) β€” scheduled scan plan
  • struct cfg80211_bss_select_adjust(9) β€” BSS select adjust
  • struct cfg80211_sched_scan_request(9) β€” scheduled scan request
  • enum cfg80211_signal_type(9) β€” signal type enum
  • struct cfg80211_inform_bss(9) β€” inform BSS struct
  • struct cfg80211_bss_ies(9) β€” BSS IEs
  • struct cfg80211_bss(9) β€” the BSS struct 🫢
  • ieee80211_bss_get_elem(9) β€” get an element from a BSS
  • ieee80211_bss_get_ie(9) β€” get an IE from a BSS
  • struct cfg80211_auth_request(9) β€” auth request
  • struct cfg80211_assoc_link(9) β€” assoc link
  • struct cfg80211_ml_reconf_req(9) β€” ML reconfig request
  • enum cfg80211_assoc_req_flags(9) β€” assoc request flags
  • struct cfg80211_assoc_request(9) β€” assoc request
  • struct cfg80211_deauth_request(9) β€” deauth request 😭
  • struct cfg80211_disassoc_request(9) β€” disassoc request
  • struct cfg80211_ibss_params(9) β€” IBSS params
  • struct cfg80211_bss_selection(9) β€” BSS selection
  • struct cfg80211_connect_params(9) β€” connect params
  • enum cfg80211_connect_params_changed(9) β€” what changed in connect params
  • enum wiphy_params_flags(9) β€” wiphy params flags
  • struct cfg80211_pmksa(9) β€” PMKSA struct
  • struct cfg80211_pkt_pattern(9) β€” packet pattern
  • struct cfg80211_wowlan_tcp(9) β€” WoWLAN TCP struct
  • struct cfg80211_wowlan(9) β€” WoWLAN struct
  • struct cfg80211_coalesce_rules(9) β€” coalesce rules
  • struct cfg80211_coalesce(9) β€” coalesce struct
  • struct cfg80211_wowlan_nd_match(9) β€” WoWLAN net-detect match
  • struct cfg80211_wowlan_nd_info(9) β€” WoWLAN net-detect info
  • struct cfg80211_wowlan_wakeup(9) β€” WoWLAN wakeup
  • struct cfg80211_gtk_rekey_data(9) β€” GTK rekey data
  • struct cfg80211_update_ft_ies_params(9) β€” update FT IEs params
  • struct cfg80211_mgmt_tx_params(9) β€” mgmt TX params
  • struct cfg80211_dscp_exception(9) β€” DSCP exception
  • struct cfg80211_dscp_range(9) β€” DSCP range
  • struct cfg80211_qos_map(9) β€” QoS map

🧚 NAN, or Neighbor Awareness Networking

  • Neighbor Awareness Networking (NAN)(9) β€” the NAN section page, she's aware ✨
  • struct cfg80211_nan_band_config(9) β€” NAN band config
  • struct cfg80211_nan_conf(9) β€” NAN config
  • struct cfg80211_nan_channel(9) β€” NAN channel
  • struct cfg80211_nan_local_sched(9) β€” NAN local schedule
  • struct cfg80211_nan_peer_map(9) β€” NAN peer map
  • struct cfg80211_nan_peer_sched(9) β€” NAN peer schedule
  • enum cfg80211_nan_conf_changes(9) β€” NAN config changes
  • struct cfg80211_nan_func_filter(9) β€” NAN function filter
  • struct cfg80211_nan_func(9) β€” NAN function

⭐ auth, PMK, FTM & PMSR

  • struct cfg80211_pmk_conf(9) β€” PMK config
  • struct cfg80211_external_auth_params(9) β€” external auth params
  • struct cfg80211_ftm_responder_stats(9) β€” FTM responder stats
  • struct cfg80211_pmsr_ftm_result(9) β€” PMSR FTM result
  • struct cfg80211_pmsr_result(9) β€” PMSR result
  • struct cfg80211_pmsr_ftm_request_peer(9) β€” PMSR FTM request peer
  • struct cfg80211_pmsr_request_peer(9) β€” PMSR request peer
  • struct cfg80211_pmsr_request(9) β€” PMSR request
  • struct cfg80211_update_owe_info(9) β€” update OWE info
  • struct mgmt_frame_regs(9) β€” management frame registrations

πŸ”₯ wiphy structs & flags

  • struct cfg80211_ops(9) β€” the ops struct, the blueprint of it all πŸ‘‘
  • enum wiphy_flags(9) β€” wiphy flags
  • struct ieee80211_iface_limit(9) β€” interface limit
  • struct ieee80211_iface_combination(9) β€” interface combination
  • enum wiphy_wowlan_support_flags(9) β€” WoWLAN support flags
  • struct wiphy_wowlan_support(9) β€” WoWLAN support
  • struct wiphy_coalesce_support(9) β€” coalesce support
  • enum wiphy_vendor_command_flags(9) β€” vendor command flags
  • enum wiphy_opmode_flag(9) β€” opmode flag
  • struct sta_opmode_info(9) β€” station opmode info
  • struct wiphy_vendor_command(9) β€” vendor command struct
  • struct wiphy_iftype_ext_capab(9) β€” iftype extended capabilities
  • cfg80211_get_iftype_ext_capa(9) β€” get the iftype ext capa
  • struct cfg80211_pmsr_capabilities(9) β€” PMSR capabilities
  • struct wiphy_iftype_akm_suites(9) β€” iftype AKM suites
  • struct wiphy_radio_cfg(9) β€” radio config
  • struct wiphy_radio_freq_range(9) β€” radio frequency range
  • struct wiphy_radio(9) β€” radio struct
  • enum wiphy_nan_flags(9) β€” wiphy NAN flags
  • struct wiphy_nan_capa(9) β€” wiphy NAN capabilities

🫢 wiphy lifecycle & wireless_dev


πŸ’œ utility functions

πŸ“ data path helpers


🌸 regulatory enforcement infrastructure


πŸŽ€ BSS informing, MLME & notifications

πŸ’€ RFkill integration

✨ vendor commands

πŸ¦‹ test mode


πŸ‘‘ connect, disconnect, roam & all the RX/TX notifications

and that's the whole guest list for this section bestie, no one got left out πŸ’–

okay so the SEE ALSO list continues, and bestie it is LONG β€” but every one of these is a whole vibe and you're gonna want them bookmarked. no skimming, i'm watching you πŸ‘€


okay that's the first chunk, hydration check πŸ“ drink some water, then keep scrolling:


we're in the NAN era now and honestly? iconic ✨ not me getting attached to a function list:


final stretch bestie, we're so close, main character energy only πŸ’…:


and that's the whole list!! you made it, i'm so proud 😭🫢 go read a few of these for fun, it's giving study buddy era.

okay and before you close the tab: this page came out of ./include/net, dated October 2026, and it's the cfg80211_ven...d_get_sender(9) page β€” so if you ever need to cite it or find it again, that's your receipt, bestie. mwah, go touch some grass (after you finish the docs) 🌸✨
πŸ“¦ where this page comes from