cfg80211_chandef_is_s1g(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ cfg80211_chandef_is_s1g ✨

okay so bestie, welcome to <pink>cfg80211_chandef_is_s1g</pink> β€” section 9 of the Kernel API Manual, aka the kernel's own little corner of the docs. this one's short but it's cute, i promise πŸŽ€


πŸ’– NAME πŸ’–

cfg80211_chandef_is_s1g β€” check if chandef represents an S1G channel.

like, that's the whole job. it looks at your channel definition and goes "hmm, is this an S1G channel or not?" and then tells you. no cap. πŸ¦‹


🌸 SYNOPSIS 🌸

bool cfg80211_chandef_is_s1g(const struct cfg80211_chan_def *chandef);

so it's a bool-returning function, it takes exactly one thing, and that one thing is a pointer to a const struct cfg80211_chan_def 🫢 the const is doing its little protective thing β€” nobody's mutating your chandef in here, she's just looking.


Okay that first batch was the band/capability fam β€” literally the whole "what can this radio even do" friend group πŸ¦‹ next up, the configuration girlies:


See how many of those are cfg80211_chandef_*? That's not a coincidence bestie, that's the whole channel-definition cinematic universe ✨ and yes, the function this page is about lives right there in it β€” main character energy fr.


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

AP settings, station params, rate info, SAR specs β€” the whole "who's connected and how hard are they allowed to transmit" section 🌸 obsessed.


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

Mesh hive represent 🐝 (and OCB, the lowkey forgotten sibling, we still love you).


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

Scans and BSS lists, aka "the part where your laptop snitches on every access point in the neighborhood" πŸ“‘ iconic behaviour tbh.


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

Auth, assoc, deauth, disassoc, connect, WoWLAN… the full "hello / bye / stay asleep" pipeline πŸ’€


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

NAN gang + PMSR ranging crew, out here doing proximity stuff 🌈 that's a whole lot of struct cfg80211_nan_*, and honestly? slay.


The struct wiphy core + every lifecycle, lock and workqueue helper around it πŸ’– this is like the wiphy family reunion and everybody showed up.


Channel ↔ frequency conversions and validity checks β€” the "is this channel even real and are you allowed to touch it" friend group πŸŽ€


Header lengths, 802.3 conversion, A-MSDU checks, element finding β€” the packet-plumbing besties πŸ”₯ cfg80211_find_ie(9) and friends are lowkey the most-used functions in all of this, iykyk.


Regulatory + BSS notification land πŸ—ΊοΈ note the double-underscore __cfg80211_get_bss(9) sitting right next to the regular cfg80211_get_bss(9) β€” yes they're different, no you can't swap them, don't @ me.


RFkill (the "airplane mode but make it kernel" subsystem ✈️), vendor commands, and test mode β€” the special-ops corner of the API.


Connection result, roaming, port authorization, station add/remove β€” the "tell userspace what just happened" squad πŸ“£ every single one of these is a notification path, so yeah, they all matter.


And that's the last batch: mgmt rx/tx status, all four cfg80211_cqm_*_notify(9) connection-quality warnings, radar/CAC events, and the OBSS beacon reporters 🌸 the list is long but every single one is here, no skipping, we do not do that here πŸ’…

…and now the big SEE ALSO roll call 🫢 this is the whole extended friend group, so yeah it's long β€” but bestie, every single one of these is part of the lore, so we're listing them all, in order, no skipping πŸ’…

the regulatory + channel-shape fam:

device + event things:

elements, wowlan, crit proto, channel counting:

combinations & teardown era:

feature bits + NAN besties:

auth, PMSR & the whole color-change cinematic universe 🌈:

6 GHz, MLO & channel checks:

more NAN, because NAN:

debugfs + S1G + incumbent, the final boss row πŸ‘‘:


okay and that's the whole page, bestie β€” you made it to the end, I'm literally so proud 😭✨

this one lives in ./include/net, it's the October 2026 era of the docs, and it's filed under cfg80211_chandef_is_s1g(9) β€” go forth and slay your channel definitions πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from