ieee80211_o...lass_to_band(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ieee80211_operating_class_to_band(9) ✨

okay so bestie, welcome to the Kernel API Manual, section 9 (yes, the 9 β€” that's the kernel-functions section, iykyk 🫢). today's main character is ieee80211_operating_class_to_band, and honestly? she's a little translator icon and we're obsessed πŸ’…


πŸ’– NAME πŸ’–

ieee80211_operating_class_to_band β€” convert operating class to band

like, she takes an operating class and turns it into a band. that's the whole vibe. slay.


πŸ¦‹ SYNOPSIS πŸ¦‹

bool ieee80211_operating_class_to_band(u8 operating_class, enum nl80211_band *band);

literally just one function call, no drama, no cap:

bool ieee80211_operating_class_to_band (u8 operating_class , enum nl80211_band *band );

🌸 ARGUMENTS 🌸

  • operating_class β€” the operating class to convert πŸŽ€ this is the <italic>u8</italic> you're handing over, and she's gonna do her thing with it.
  • band β€” band pointer to fill ✨ note the "to fill" bestie, because this one is an out-param: it's a pointer to an enum nl80211_band and the function fills it in for you. it's giving "you bring the container, i bring the content" 🫢

πŸ‘‘ RETURN πŸ‘‘

  • true β€” the conversion was successful 🌈 periodt, you got your band.
  • false β€” otherwise 😭 the conversion did not go through.

ngl this one is short and sweet, but don't get too comfy β€” there's more coming in the next parts, so stay tuned bestie πŸ’œ

✨ SEE ALSO ✨

okay bestie, this is the part where the page hands you the whole friend group 😭 β€” every single cross-reference, no gatekeeping, and there are literally hundreds of them. Grab a snack πŸ“, we're going through them all. Not one dropped, not one merged, fr fr.

🌈 the starting point + the header file itself

  • Kernel file ./include/net/cfg80211.h β€” the actual header where all of this lives, say hi to the source πŸ’…
  • Introduction(9) β€” start here if you're new, it's giving orientation energy
  • Device registration(9) β€” how devices get themselves on the list ✨
  • enum ieee80211_channel_flags(9) β€” the flags a channel can carry
  • struct ieee80211_channel(9) β€” one single channel, iconic
  • enum ieee80211_rate_flags(9) β€” flags attached to rates
  • enum ieee80211_bss_type(9) β€” what kind of BSS we're dealing with
  • enum ieee80211_privacy(9) β€” privacy settings enum
  • struct ieee80211_rate(9) β€” a rate, plain and simple
  • struct ieee80211_he_obss_pd(9) β€” HE OBSS PD struct
  • struct cfg80211_he_bss_color(9) β€” the HE BSS color struct 🎨
  • struct ieee80211_sta_ht_cap(9) β€” HT capabilities of a station
  • struct ieee80211_sta_vht_cap(9) β€” VHT caps
  • struct ieee80211_sta_he_cap(9) β€” HE caps
  • struct ieee80211_eht_mcs_nss_supp(9) β€” EHT MCS/NSS support
  • struct ieee80211_sta_eht_cap(9) β€” EHT caps
  • struct ieee80211_sta_uhr_cap(9) β€” UHR caps, the newest main character
  • struct ieee80211_sband_iftype_data(9) β€” per-iftype data for a band
  • enum ieee80211_edmg_bw_config(9) β€” EDMG bandwidth config enum
  • struct ieee80211_edmg(9) β€” the EDMG struct itself
  • struct ieee80211_sta_s1g_cap(9) β€” S1G caps
  • struct ieee80211_supported_band(9) β€” a whole supported band, big vibes
  • _ieee80211_set_sband_iftype_data(9) β€” the underscored internal setter
  • ieee80211_set_sband_iftype_data(9) β€” the public setter, slay
  • for_each_sband_iftype_data(9) β€” the iteration macro
  • ieee80211_get_sband_iftype_data(9) β€” getter for the above
  • ieee80211_get_he_iftype_cap(9) β€” grab the HE iftype cap
  • ieee80211_get_he_6ghz_capa(9) β€” HE 6 GHz capability getter
  • ieee80211_get_eht_iftype_cap(9) β€” EHT iftype cap getter
  • ieee80211_get_uhr_iftype_cap(9) β€” UHR iftype cap getter
  • wiphy_read_of_freq_limits(9) β€” read frequency limits from OF 🫢

πŸ’– actions and configuration (the big one)

  • Actions and configuration(9) β€” the whole section, buckle up
  • struct vif_params(9) β€” virtual interface params
  • struct key_params(9) β€” key params
  • struct cfg80211_chan_def(9) β€” channel definition, lowkey central to everything
  • struct cfg80211_tid_cfg(9) β€” TID config
  • struct cfg80211_tid_config(9) β€” TID config, the collection version
  • struct cfg80211_fils_aad(9) β€” FILS AAD
  • struct cfg80211_set_hw_timestamp(9) β€” hardware timestamp setter struct
  • cfg80211_get_chandef_type(9) β€” get the chandef type
  • cfg80211_chandef_create(9) β€” make a chandef
  • cfg80211_chandef_identical(9) β€” are these two chandefs twins? πŸ‘―
  • cfg80211_chandef_is_edmg(9) β€” is it EDMG?
  • cfg80211_chandef_is_s1g(9) β€” is it S1G?
  • cfg80211_chandef_compatible(9) β€” do they get along?
  • nl80211_chan_width_to_mhz(9) β€” width β†’ MHz conversion
  • cfg80211_chandef_get_width(9) β€” get that width
  • cfg80211_chandef_valid(9) β€” vibe check on the chandef βœ…
  • cfg80211_chandef_usable(9) β€” is it usable tho
  • cfg80211_chandef_dfs_required(9) β€” DFS required?
  • cfg80211_chandef_dfs_usable(9) β€” DFS usable?
  • cfg80211_chandef_dfs_cac_time(9) β€” the CAC time, iconic
  • cfg80211_chandef_primary(9) β€” primary channel of a chandef
  • cfg80211_chandef_npca_valid(9) β€” NPCA valid check
  • cfg80211_chandef_add_npca(9) β€” add NPCA
  • cfg80211_chandef_add_dbe(9) β€” add DBE
  • nl80211_send_chandef(9) β€” send it over nl80211
  • ieee80211_chandef_max_power(9) β€” max power for a chandef
  • cfg80211_chandef_s1g_pri_width(9) β€” S1G primary width
  • cfg80211_any_usable_channels(9) β€” literally any usable channels?
  • enum survey_info_flags(9) β€” survey flags enum
  • struct survey_info(9) β€” the 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
  • 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 🎨
  • struct iface_combination_params(9) β€” interface combination params
  • enum station_parameters_apply_mask(9) β€” apply-mask enum for station params
  • struct sta_txpwr(9) β€” station TX power
  • struct link_station_parameters(9) β€” link station params
  • struct link_station_del_parameters(9) β€” link station delete params
  • struct cfg80211_ttlm_params(9) β€” TTLM params
  • struct station_parameters(9) β€” station params, the classic
  • struct station_del_parameters(9) β€” station delete params
  • enum cfg80211_station_type(9) β€” station type enum
  • cfg80211_check_station_change(9) β€” validate 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 freq 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 and BSS list handling

  • Scanning and BSS list handling(9) β€” the scanning section itself
  • struct cfg80211_ssid(9) β€” an SSID, bestie
  • struct cfg80211_scan_info(9) β€” scan info
  • struct cfg80211_scan_6ghz_params(9) β€” 6 GHz scan params
  • struct cfg80211_scan_request(9) β€” a 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 cfg80211_bss_ies(9) β€” BSS IEs
  • struct cfg80211_bss(9) β€” a BSS 🌸
  • ieee80211_bss_get_elem(9) β€” grab an element
  • ieee80211_bss_get_ie(9) β€” grab an IE
  • 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) β€” which connect params changed enum
  • 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 cfg80211_wowlan(9) β€” WoWLAN, wake-on-LAN energy 😴
  • struct cfg80211_coalesce_rules(9) β€” coalesce rules
  • struct cfg80211_coalesce(9) β€” coalesce
  • 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

🧚 neighbor awareness networking (NAN)

  • Neighbor Awareness Networking (NAN)(9) β€” the NAN section, so niche and so cute
  • 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 enum
  • struct cfg80211_nan_func_filter(9) β€” NAN function filter
  • struct cfg80211_nan_func(9) β€” NAN function

πŸ’œ auth, PMK, PMSR and friends

  • 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

πŸ‘‘ wiphy, the whole family tree

🌈 utility functions(9) β€” the little helpers

πŸŽ€ data path helpers(9)

πŸ’€ regulatory enforcement infrastructure(9)

🫢 the notification + BSS handling gang

🌸 RFkill integration(9)

⭐ vendor commands(9)

πŸ“ test mode(9)

πŸ’… connect / roam / station lifecycle notifications

🌈 the rest of the notification besties


and that's the whole list, no cap β€” every single one accounted for πŸ’– (and we're not done yet, keep scrolling bestie)

…and honestly? the whole squad showed up. here's the full guest list, bestie β€” every single one of these has its own page, so tap in whenever you're curious ✨

like, that's sixty-three little cross-references, and every one of them is a real page you can pull up. go be nosy, it's giving research era πŸ”₯

and that's the whole page, bestie β€” you made it to the end πŸŽ€ this one lives in ./include/net in the kernel tree, and it's dated October 2026, so yes she's fresh, she's current, she's lowkey iconic. now go read some kernel source, ily, bye πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from