for_each_sband_iftype_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– for_each_sband_iftype_data β€” the Kernel API Manual moment πŸ’–

okay bestie, so we're in the <pink>Kernel API Manual</pink> and the function we're stanning today is for_each_sband_iftype_data(9). she's a macro, she's a loop, she's literally the group-chat admin of iftype data entries. let's get into it 🫢


✨ NAME ✨

for_each_sband_iftype_data β€” iterate sband iftype data entries πŸ¦‹

like, that's the whole vibe. you're walking through those entries one by one. no cap.


🌸 SYNOPSIS 🌸

for_each_sband_iftype_data (sband , i , iftd );

that's it. three little cuties in the parentheses and you're off. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • sband β€” the sband whose iftype_data array to iterate πŸ’… this is the main character. the array lives here and you're about to scroll through it.
  • i β€” iterator counter πŸ‘‘ she's your index, your little tracker, the one keeping count while the loop does its thing.
  • iftd β€” iftype data pointer to set 🌟 the loop hands you the pointer here, so this is where you'll find each entry as you go.

lowkey obsessed with how small this one is, but bestie we are not done β€” more parts are coming, so don't wander off πŸ’–

✨ SEE ALSO ✨

okay bestie, before you close this tab and go touch grass, here's the entire friend group this function rolls with β€” every single one, no cap. it's a lot. like, a lot lot. but you got this πŸ’…

first up, the home base file and the immediate squad:

then we get into the actions and configuration era β€” this is where the real ones live:

next chapter of the group chat: scanning and BSS list handling. lowkey iconic:

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

and then NAN walks in like it's the main character energy it is:

  • 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)
  • 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 family is huge, but they're all slay:

utility functions said "let us introduce ourselves":

data path helpers, aka the ones that actually move the packets:

regulatory enforcement infrastructure β€” the hall monitors of the group:

then the BSS handling besties keep showing up:

RFkill integration and vendor commands β€” very demure, very mindful:

and the final stretch β€” connection, roaming, and all the notification besties (no skips, periodt):

that's the whole squad, bestie. every single one accounted for. you're welcome πŸ’–βœ¨

Okay bestie, the guest list continues β€” this is the rest of the SEE ALSO crew, and honestly? It's a lot of icons in one room πŸ’…


And that's the whole page, bestie β€” you made it to the end, which is honestly slay of you. πŸ¦‹

This little masterpiece lives in ./include/net, dated October 2026, and the manual itself is for_each_sband_iftype_data(9). Now go forth and iterate, icon. πŸ’–βœ¨

πŸ“¦ where this page comes from