STRUCT IEEE80211_CHANNEL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ieee80211_channel(9) β€” channel definition πŸŽ€

okay so this is a struct ieee80211_channel(9) page from the Kernel API Manual, and bestie, it's literally the whole glow-up of one (1) wifi channel. let's get into it πŸ¦‹


✨ NAME ✨

struct ieee80211_channel β€” channel definition. that's it, that's the vibe. one struct, one channel, iconic πŸ‘‘


🌸 SYNOPSIS 🌸

here's the shape of her, no cap, copy it exactly:

struct ieee80211_channel {
    enum nl80211_band band;
    u32 center_freq;
    u16 freq_offset;
    u16 hw_value;
    u32 flags;
    int max_antenna_gain;
    int max_power;
    int max_reg_power;
    bool beacon_found;
    u32 orig_flags;
    int orig_mag, orig_mpwr;
    enum nl80211_dfs_state dfs_state;
    unsigned long dfs_state_entered;
    unsigned int dfs_cac_ms;
    u64 cac_start_time;
    s8 psd;
 };

🫢 MEMBERS 🫢

every field gets her moment, periodt:

  • band β€” which band this channel belongs to. the whole "am i 2.4 or 5" identity crisis, resolved πŸ’«
  • center_freq β€” the center frequency, in MHz. the main character number fr fr πŸ“»
  • freq_offset β€” how far off you are from center_freq, in KHz. tiny little offset energy πŸŽ€
  • hw_value β€” the hardware-specific value for the channel. your NIC's own private nickname for her 🧚
  • flags β€” channel flags, and they come straight from enum ieee80211_channel_flags. 🚩
  • max_antenna_gain β€” maximum antenna gain, in dBi. how much she can serve looks-wise πŸ“‘
  • max_power β€” maximum transmission power, in dBm. loud and proud πŸ”₯
  • max_reg_power β€” maximum regulatory transmission power, in dBm. same energy but the regulators are watching πŸ‘€
  • beacon_found β€” a little helper for the regulatory code that says "hey, a beacon was found on this channel". to turn it on you use regulatory_hint_found_beacon β€” and heads up, this is useful only on the 5 GHz band. iykyk πŸ›°οΈ
  • orig_flags β€” the channel flags exactly as they were at registration time. the regulatory code uses this to support devices that have extra restrictions πŸ’œ
  • orig_mag β€” internal use. not for you bestie πŸ™ˆ
  • orig_mpwr β€” internal use. also not for you πŸ™ˆ
  • dfs_state β€” the current state of this channel. this one's only relevant if radar is required on this channel. radar?? yes babe, DFS things πŸ“Ά
  • dfs_state_entered β€” timestamp (in jiffies) of when the dfs state was entered. a lil time capsule ⏰
  • dfs_cac_ms β€” DFS CAC time in milliseconds, and this is valid for DFS channels. πŸ•°οΈ
  • cac_start_time β€” timestamp (CLOCK_BOOTTIME, nanoseconds) of when CAC was started on this channel. it's zero when CAC is not in progress β€” so a zero here is literally the "nothing's happening" of timestamps πŸ’€
  • psd β€” power spectral density, in dBm. density but make it power 🌈

πŸ‘‘ DESCRIPTION πŸ‘‘

so what is she? this structure describes a single channel, for use with cfg80211. one struct, one channel, and she's serving exactly that πŸ’–

and that's the struct, bestie β€” more of this page is coming in part 2, so stay tuned πŸŽ€βœ¨

✨ SEE ALSO ✨

okay bestie, buckle up πŸ’– this is THE list. like, the whole entire neighborhood of the kernel's wireless API, every single one of them linked as (9), and yes you're gonna scroll. no cap. but it's worth it β€” this is basically the friend group that struct ieee80211_channel rolls with 🫢


🌸 the kernel source + the intro crew

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

πŸ¦‹ channel + rate + BSS type enums & structs

  • enum ieee80211_channel_flags(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)

πŸ’… station caps (ht / vht / he / eht / uhr)

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

πŸ”₯ Actions and configuration(9) β€” the big one

  • 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 squad (obsessed with these honestly)

🧚 survey + crypto + beacon bits

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

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

  • 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, PMSR, mgmt frames, ops

  • 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)
  • 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 (main character energy)

🧚 Utility functions(9)

πŸ’€ Data path helpers(9)

πŸŽ€ element / IE hunting tools

🌸 Regulatory enforcement infrastructure(9)

Internal regulatory db functions(9)

πŸ¦‹ scan results, BSS inform & get

πŸ’œ mlme / assoc / rx-tx notifications

⭐ RFkill integration(9)

πŸŽ€ Vendor commands(9)

πŸ“ Test mode(9)

🌈 connect / disconnect / roam goodies

🧚 station info + mgmt rx/tx + CQM


πŸ’‘ ngl bestie, that's a lot of cross-refs β€” but every single one of them is a real page, fr fr. don't come for me, I just typed them all out πŸ’…

okay bestie this SEE ALSO list is genuinely a whole scroll session 😭 but every single one of them is right here β€” same names, same (9) section, no skips, no cap πŸ’…


and that's a wrap on the whole page, bestie πŸŽ€βœ¨ whew. this one lives in ./include/net, it's dated October 2026, and the page title is struct ieee80211_channel(9) β€” go forth and channel-hop responsibly, you absolute icon πŸ’–πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from