cfg80211_ge...annel_number(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… cfg80211_get_ies_channel_number(9) โ€” Kernel API Manual ๐ŸŽ€

okay bestie, so this one lives in the Kernel API Manual, and the function's full name is literally cfg80211_get_ies_channel_number โ€” yes it's a mouthful, yes it eats, we move ๐Ÿ’…


โœจ NAME โœจ

cfg80211_get_ies_channel_number โ€” returns the channel number from ies

yeah. that's the whole job. it digs through your IEs and hands you back a channel number. no cap, that's it ๐Ÿซถ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

int cfg80211_get_ies_channel_number (const u8 *ie , size_t ielen , enum
nl80211_band band );

look at her. three args, one int coming back. iconic signature ngl โœจ


๐Ÿฆ‹ ARGUMENTS ๐Ÿฆ‹

  • ie โ€” the IEs. literally just the IEs, that's the whole vibe ๐Ÿ’–
  • ielen โ€” the length of the IEs, so she knows how far to look before she's done ๐Ÿ‘‘
  • band โ€” an enum nl80211_band of the channel, i.e. which band we're living in for this one ๐ŸŒˆ

โญ RETURN โญ

she gives you back the channel number ๐Ÿ’ซ โ€” or -1 if none could be determined ๐Ÿ˜ญ (fr fr, that's the "bestie I looked and there's nothing here" answer).


part 1 of 3, keep scrolling, we're so not done yet ๐Ÿ’œ

๐ŸŒˆ SEE ALSO ๐ŸŒˆ

okay bestie, this is the part where the manpage just dumps the entire friend group on you ๐Ÿ˜ญ like yes these are all related pages, and no you don't have to read them all tonight, but they're all here, every single one, i checked twice ๐Ÿ’…

The source of truth is the kernel file ./include/net/cfg80211.h, and the starter pack is:

  • Introduction(9) and Device registration(9) โ€” read these first fr, they set the whole scene ๐Ÿซถ

๐Ÿฆ‹ channels, bands and rates

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

โœจ the capability era (ht โ†’ vht โ†’ he โ†’ eht โ†’ uhr)


๐ŸŽ€ Actions and configuration (the whole arc)

  • Actions and configuration(9)
  • 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)

๐Ÿ’œ chandef girlies, assemble

๐Ÿ“ survey + crypto + beacon-ish structs

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

๐Ÿ‘‘ stations, rates, bss params, sar

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

๐Ÿ’€ 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)

๐Ÿงš Neighbor Awareness Networking (NAN)

  • 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, pmk, pmsr and friends

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

๐Ÿ”ฅ the big wiphy section


โญ Utility functions

๐Ÿซถ Data path helpers

๐Ÿ’œ Regulatory enforcement infrastructure


๐ŸŽ€ bss + mlme notifications

๐Ÿฆ‹ RFkill integration, Vendor commands, Test mode


๐Ÿ’– connection / roaming notifications

๐Ÿ”ฅ mgmt frames, control port, cqm, radar, cac


and that's the whole squad, no cap ๐Ÿ’… like i said, you do NOT have to read all 300-something of these tonight, but they're all here so you never have to wonder "wait was there a page for that" โ€” there was, it's in the list, go off bestie ๐Ÿซถโœจ

okay so picking up right where we left off, because this SEE ALSO list is genuinely not done with us yet โ€” the entire kernel API friend group showed up to the party and honestly? iconic. ๐Ÿ’…

Here's the rest of the guest list, one by one, so nobody gets left off the invite:

<div></div>

<div></div>

<div></div>

<div></div>

  • struct cfg80211_ft_event_params(9) โ€” a whole struct, not just a function, respect the range ๐Ÿซถ
  • cfg80211_ft_event(9) โ€” the FT event itself

<div></div>

<div></div>

<div></div>

<div></div>

<div></div>

<div></div>

And now the NAN corner of the party, which is lowkey the biggest group here ๐ŸŒธ:

<div></div>

Auth and assoc crew, assemble โœจ:

<div></div>

Colour-change girlies, this is your moment ๐ŸŒˆ:

<div></div>

The modern-Wi-Fi section, i.e. the 6 GHz / MLO / links crowd ๐Ÿ‘‘

<div></div>

<div></div>

The debugfs duo, because even debugfs needs a buddy system ๐Ÿ’œ:

<div></div>

S1G trio, tiny but mighty ๐Ÿฆ‹:

<div></div>

And last but absolutely not least:


okay bestie, that's the whole list, every single one, nobody dropped ๐Ÿซถ that's the entire kernel-API group chat accounted for.

this page lives in ./include/net, and it's the October 2026 edition โ€” so go forth, read the cross-refs, and slay your wireless driver journey. mwah ๐Ÿ’–โœจ๐ŸŽ€

๐Ÿ“ฆ where this page comes from