cfg80211_s1...art_freq_khz(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… cfg80211_s1g_get_start_freq_khz โ€” a whole kernel API moment

okay so first things first bestie: this is a section 9 manual page (that's the Kernel API Manual, the dev-only side of the house, iykyk โœจ), and the star of the show is cfg80211_s1g_get_start_freq_khz. yes the header up top got cutely truncated, no it is not a typo, that's just how the man page title renders. the function name is the long one, we move ๐Ÿ’…


โœจ NAME โœจ

cfg80211_s1g_get_start_freq_khz โ€” get S1G chandef start frequency ๐Ÿฆ‹

like, that's literally the whole job. it gets you the start frequency. that's it, that's the function, and honestly? iconic for knowing exactly what it is ๐ŸŽ€


๐ŸŒธ SYNOPSIS ๐ŸŒธ

u32 cfg80211_s1g_get_start_freq_khz(const struct cfg80211_chan_def *chandef);

so it's a u32 coming back at you (a nice lil unsigned 32-bit number, no drama), and it takes exactly one thing: a pointer to a const struct cfg80211_chan_def. const, because we are looking, not touching โ€” we respect boundaries in this house ๐Ÿซถ


๐Ÿ’– ARGUMENTS ๐Ÿ’–

  • chandef โ€” the chandef to use ๐Ÿ’ซ that's it. that's the entire argument description. the chandef you hand over is the chandef it works with. give it a chandef, it does chandef things. no cap.

๐Ÿ‘‘ RETURN ๐Ÿ‘‘

it returns the chandef's starting frequency in KHz ๐Ÿ”ฅ (yes, KHz, kilohertz, not the other ones โ€” read the unit, bestie, the unit is doing important work here).

so the vibe check is: chandef goes in, a u32 starting frequency in KHz comes out, everybody slays, periodt ๐Ÿ’…


more of this page is coming btw, we're not done โ€” part 2 is loading ๐ŸŒˆ

๐Ÿ’… SEE ALSO ๐Ÿ’…

okay bestie, this is the part of the page โ€” the whole friend group. Everything below is a real cross-reference in this manual, and I'm keeping every single one, so grab a snack ๐Ÿ“ because the list is long and every name matters.

Some of these are whole sections (like Introduction(9)), some are structs, some are enums, some are straight-up functions. All (9) because that's the section, no cap. ๐Ÿ’–


๐Ÿฆ‹ the origin story + the basics

  • the file itself โ€” Kernel file ./include/net/cfg80211.h
  • start here if you're new โ€” Introduction(9), Device registration(9)

๐ŸŒธ channels, rates, and every capability struct you'll ever meet

these are lowkey the main characters of the band-and-rate lore:

  • 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 helper squad

the "get me the data for this iftype" girlies โœจ:

๐ŸŽ€ actions & configuration: the parameter structs

  • 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

literally the chandef girls, front to back:

๐Ÿซถ survey, crypto, and all the beacon/AP settings

  • 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), 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, monitor, mesh, and OCB

  • 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), struct bss_parameters(9)
  • struct mesh_config(9), struct mesh_setup(9), struct ocb_setup(9), struct ieee80211_txq_params(9)
  • then boom ๐Ÿ’ฅ Scanning and BSS list handling(9)

๐ŸŽ€ scanning & BSS lists, plus all the auth/assoc/connect structs

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

๐Ÿ’– connect params changes, PMK, wowlan, coalesce, mgmt tx

  • 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, PMK conf, external auth, and PMSR

NAN girlies stand up ๐Ÿซถ then the measurement 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)

๐Ÿ”ฅ cfg80211_ops and the wiphy feature flags

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

๐Ÿ‘‘ wiphy lifecycle: new, register, lock, free, and all the work queues

the whole glow-up-to-glow-down arc, plus the timers ๐Ÿ’…:

โญ utility functions: channel math, header lengths, radiotap

๐Ÿ“ data path helpers & element finding

๐ŸŽ€ regulatory enforcement & the internal regdb

๐Ÿ’œ scan done, BSS informing, BSS refcounting

๐Ÿซถ mlme mgmt, auth/assoc handling, and RFkill

๐ŸŒˆ vendor commands & test mode

๐Ÿ’– connect/roam/disconnect notifs, mgmt rx/tx, CQM, radar

the big notifier pile, and yes every single one is here ๐Ÿ˜ญ:

okay so the cross-reference section is still going, and honestly? she has range. the rest of the SEE ALSO besties, in all their glory, no skips, no cap:

  • cfg80211_reg_check_beaconing โ€” the vibe check for beaconing, right there in the name ๐Ÿฆ‹
  • cfg80211_reg_can_beacon โ€” "can we beacon tho" energy โœจ
  • cfg80211_reg_can_beacon_relax โ€” same question, chiller about it ๐Ÿ’…
  • cfg80211_ch_switch_notify โ€” channel switching, but make it a notification ๐Ÿ“ฃ
  • cfg80211_ch_switch_started_notify โ€” the "we've started" version, iconic ๐ŸŒธ
  • ieee80211_operating_class_to_band โ€” converting one thing to another, as one does ๐Ÿ”
  • ieee80211_operating_class_to_chandef โ€” same pipeline, different destination ๐ŸŽ€
  • ieee80211_chandef_to_operating_class โ€” the reverse glow-up, we love a round trip โญ
  • ieee80211_chandef_to_khz โ€” numbers going to kHz, obviously ๐Ÿงฎ
  • cfg80211_tdls_oper_request โ€” TDLS said "let me ask real quick" ๐Ÿ™ˆ
  • cfg80211_calculate_bitrate โ€” math era, lowkey obsessed ๐Ÿ”ฅ
  • cfg80211_unregister_wdev โ€” the un-register bestie, she taketh away ๐Ÿ’€
  • cfg80211_register_netdevice โ€” and then she giveth back ๐Ÿซถ
  • cfg80211_unregister_netdevice โ€” taketh away again, sorry ๐Ÿ˜ญ
  • struct cfg80211_ft_event_params โ€” a struct, love that for us ๐Ÿ‘‘
  • cfg80211_ft_event โ€” the event itself, main character ๐Ÿ’œ
  • cfg80211_get_p2p_attr โ€” get that P2P attribute, periodt ๐ŸŒˆ
  • ieee80211_ie_split_ric โ€” splitting IEs, with RIC in the mix โœ‚๏ธ
  • ieee80211_ie_split โ€” the plain split, no notes ๐Ÿ“
  • ieee80211_fragment_element โ€” fragmentation but make it demure ๐ŸŽ€
  • cfg80211_report_wowlan_wakeup โ€” wake-up report, WoWLAN girlies rise ๐ŸŒ…
  • cfg80211_crit_proto_stopped โ€” critical protocol stopped, dramatic as always ๐Ÿ˜ญ
  • ieee80211_get_num_supported_channels โ€” counting channels, somebody has to ๐Ÿงš
  • cfg80211_check_combinations โ€” combinations check, the responsible friend ๐Ÿซก
  • cfg80211_iter_combinations โ€” same combos, iterator edition ๐Ÿ”
  • cfg80211_get_radio_idx_by_chan โ€” finding a radio index, detective mode ๐Ÿ”
  • cfg80211_stop_link โ€” stop that link, respectfully โœ‹
  • cfg80211_stop_iface โ€” stop that interface too, we're cleaning house ๐Ÿ’…
  • cfg80211_shutdown_all_interfaces โ€” ALL of them. absolutely all of them ๐Ÿ’€
  • wiphy_ext_feature_set โ€” extended feature: set โœ…
  • wiphy_ext_feature_isset โ€” extended feature: is it set though ๐Ÿค”
  • cfg80211_free_nan_func โ€” NAN func, free her โœจ
  • struct cfg80211_nan_match_params โ€” another struct, we stan ๐ŸŽ€
  • cfg80211_nan_match โ€” NAN match, cute ๐Ÿ’–
  • cfg80211_nan_func_terminated โ€” terminated, tragic but necessary ๐Ÿ˜ญ
  • cfg80211_nan_sched_update_done โ€” schedule update: done, slay ๐Ÿฆ‹
  • cfg80211_external_auth_request โ€” external auth asked politely ๐Ÿ™ˆ
  • cfg80211_pmsr_report โ€” PMSR report, here's the tea ๐Ÿต
  • cfg80211_pmsr_complete โ€” and PMSR complete, fin ๐ŸŽฌ
  • cfg80211_iftype_allowed โ€” is the iftype allowed? enquiring minds ๐Ÿง
  • cfg80211_assoc_comeback โ€” assoc comeback, she came BACK ๐Ÿ’…
  • cfg80211_update_owe_info_event โ€” OWE info update, eventified โœจ
  • cfg80211_bss_flush โ€” flush it, cleanse the palette ๐ŸŒŠ
  • cfg80211_bss_color_notify โ€” BSS color notification, colorful ๐ŸŽจ
  • cfg80211_obss_color_collision_notify โ€” obss collision, uh oh, notify anyway ๐Ÿ˜ฌ
  • cfg80211_color_change_started_notify โ€” color change: started ๐Ÿ“ข
  • cfg80211_color_change_aborted_notify โ€” color change: aborted, it happens ๐Ÿ˜ญ
  • cfg80211_color_change_notify โ€” color change: just notify ๐Ÿ””
  • cfg80211_6ghz_power_type โ€” 6GHz power type, very current ๐Ÿ’œ
  • cfg80211_links_removed โ€” links removed, gone girl ๐Ÿ’€
  • struct cfg80211_mlo_reconf_done_data โ€” MLO reconf data struct, king ๐Ÿ‘‘
  • cfg80211_mlo_reconf_add_done โ€” MLO reconf add: done โœ…
  • cfg80211_schedule_channels_check โ€” schedule that channel check, calendar girl ๐Ÿ—“๏ธ
  • cfg80211_epcs_changed โ€” EPCS changed, noted ๐Ÿ“
  • cfg80211_next_nan_dw_notif โ€” next NAN DW notification, coming soon โญ๏ธ
  • cfg80211_nan_cluster_joined โ€” joined the cluster, we're in ๐ŸŒธ
  • cfg80211_nan_ulw_update โ€” ULW update, fresh ๐Ÿฆ‹
  • cfg80211_nan_channel_evac โ€” channel evac, everybody out ๐Ÿšช
  • wiphy_locked_debugfs_read โ€” debugfs read, but locked ๐Ÿ”’
  • wiphy_locked_debugfs_write โ€” debugfs write, also locked, rules are rules ๐Ÿ”
  • cfg80211_s1g_get_end_freq_khz โ€” S1G end freq in kHz, the sequel ๐ŸŽฌ
  • cfg80211_s1g_get_primary_sibling โ€” primary sibling, family reunion ๐Ÿซถ
  • cfg80211_incumbent_signal_notify โ€” incumbent signal, she has an announcement ๐Ÿ“ฃ

and that's the whole list, every last one, nothing cut, nothing merged, nothing invented. go click through them if you're nosy, i support it ๐Ÿ’–

a lil sign-off ๐ŸŽ€ โ€” this page lives over in ./include/net, and it's dated October 2026, filed under the very same cfg80211_s1...art_freq_khz(9) title you've been reading this whole time. mwah, go read some kernel source, ily ๐Ÿ’…โœจ

๐Ÿ“ฆ where this page comes from