ieee80211_data_to_8023(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ieee80211_data_to_8023 β€” Kernel API Manual, bestie edition πŸ’–

okay so welcome to ieee80211_data_to_8023(9), a real one from the Kernel API Manual. this is the ✨glow-up✨ page where we take an 802.11 data frame and turn it into an 802.3 one. yes it's a conversion glow-up. no cap. πŸ¦‹


🌸 NAME 🌸

ieee80211_data_to_8023 β€” convert an 802.11 data frame to 802.3

like, it literally says it right there. 802.11 goes in, 802.3 comes out. the transformation is giving main character energy. πŸ’…


✨ SYNOPSIS ✨

int ieee80211_data_to_8023(struct sk_buff *skb, const u8 *addr, enum
nl80211_iftype iftype);

that's the whole signature, bestie β€” returns an int, takes three args. screenshot it, put it on your wall. πŸŽ€


πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the 802.11 data frame. this is the one getting converted. the little guy. the subject of the makeover. πŸ™ˆ
  • addr β€” the device MAC address. yes, that MAC address. the hardware's whole identity. πŸ‘‘
  • iftype β€” the virtual interface type. it's an enum nl80211_iftype, so it's a whole vibe check of a value. 🌈

πŸ”₯ RETURN πŸ”₯

  • 0 on success. slay. 🫢
  • Non-zero on error. not slay, but at least it tells you. πŸ’€

okay that's part one down, and there's more pages coming so don't go anywhere β€” stay tuned, we're literally not done. πŸ’œ

πŸ’… SEE ALSO πŸ’…

okay bestie, brace yourself β€” the SEE ALSO on this page is not a little list, it's a whole syllabus 😭. Everything below lives in the kernel file ./include/net/cfg80211.h (that's the mothership, the main character), and every single one of these pages is linked and real. I'm not skipping a single one, so grab a snack πŸ“.


πŸŽ€ the file itself, the intros, and the band/cap besties


✨ Actions and configuration β€” the channel-definition girlies

the way this next block is basically nothing but chandef this and chandef that 🫢 like yes queen, define your channel:

and then it's beacon era, AP era, station era 🌸:

  • 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 β€” the "did you see that AP" section

  • 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) β€” yes it gets its own era

  • 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, PMK, PMSR and the entire wiphy cinematic universe


🌈 Utility functions β€” the little helpers that ate


🧚 Data path helpers β€” hi bestie, these are YOUR people

lowkey this is the group our page hangs out with, so show some respect πŸ’…:


πŸ‘‘ Regulatory enforcement infrastructure (& the internal db girlies)


⭐ scan results, BSS bookkeeping and MLME moments


πŸ’€ RFkill, vendor commands, test mode


πŸ™ˆ connect / roam / notify β€” the drama arc


bestie the list literally trails off with a comma after struct cfg80211_beaconing_check_config(9) β€” it's giving "to be continued" 😭 keep reading, there's more page after this 🫢

...and the see-also roster keeps going, bestie β€” no cap, it's a whole squad. Every single one, in order, exactly as written:

Like, that's the entire friend group πŸ’– manifesting in your man pages. Go click through them, iykyk.


And that's a wrap on this one, bestie! πŸŽ€ This lil masterpiece lives in ./include/net, it's stamped October 2026, and the whole thing is filed under ieee80211_data_to_8023(9). Slay, read responsibly, and go touch some grass β€” or at least go read the next man page. πŸ¦‹βœ¨πŸ‘‘

πŸ“¦ where this page comes from