cfg80211_chandef_valid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ cfg80211_chandef_valid(9) ✨

okay so this is a page from the Kernel API Manual and honestly it's a short one but it's lowkey important, so let's get into it πŸ’…


πŸŽ€ NAME πŸŽ€

cfg80211_chandef_valid β€” check if a channel definition is valid

like, it's the vibe check for your channel definition, no cap 🌈


πŸ¦‹ SYNOPSIS πŸ¦‹

bool cfg80211_chandef_valid(const struct cfg80211_chan_def *chandef);

bestie it returns a bool, so you already know this is a yes-or-no situation πŸ‘‘


🌸 ARGUMENTS 🌸

  • chandef β€” the channel definition to check. that's the thing you're putting through the vibe check, she's a const struct cfg80211_chan_def * and we love her for it πŸ’–

⭐ RETURN ⭐

Returns true if the channel definition is valid. Returns false otherwise.

literally that simple β€” true means slay, false means not slay 😭 periodt.

✨ SEE ALSO ✨

okay bestie, buckle up β€” this list is long, like actually long, and we're gonna get through every single one of them together. no skipping, no "eh close enough" πŸ’…


now we roll into the config zone, aka where our main character lives πŸ’–


scanning time πŸ“‘ like we're out here looking for vibes, except the vibes are BSS entries

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

NAN squad, assemble 🫢 (Neighbor Awareness Networking, not your grandma)

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

the wiphy zone πŸ‘‘ this is the big one, the main character energy of the whole list


utility functions 🧰 the little helpers that are lowkey carrying everything


data path helpers πŸ›£οΈ where the packets actually go


regulatory land βš–οΈ aka the vibes police telling you what channels you're allowed to touch


back to BSS stuff, but the event side this time πŸ””


RFkill + vendor + test mode πŸ§ͺ yes we're still going, hydrate bestie πŸ’§


connect / roam / disconnect saga 😭 the emotional arc of every wifi session

...and the rest of the group chat πŸ’¬ β€” these are the other pages you'll be living in while you're poking at chandefs, lowkey the whole neighborhood:


That's the whole roster, bestie β€” go click through whichever one you actually needed, this page is just the doorway 🫢✨

Okay so that's the page! It came out of ./include/net, the version notes read October 2026, and it's literally titled cfg80211_chandef_valid(9). Slay, go validate some chandefs, ily, bye πŸ’–πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from