STRUCT IWL_MAC_DATA_P2P_STA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct iwl_mac_data_p2p_sta πŸ’–

okay bestie, so we're in the Kernel API Manual today and honestly? this one's a little cutie. it's a struct β€” no cap β€” and it's literally just two fields doing their thing for P2P client MAC context config. short king energy. we love to see it πŸŽ€


✨ NAME ✨

struct iwl_mac_data_p2p_sta β€” configuration data for P2P client MAC context

like, that's it. that's the whole job. it holds the config data for a P2P client MAC context and it does it flawlessly, periodt πŸ’…


🌸 SYNOPSIS 🌸

struct iwl_mac_data_p2p_sta {
    struct iwl_mac_data_sta sta;
    __le32 ctwin;
};

two members. that's the whole struct. she's compact, she's efficient, she's iconic πŸ‘‘


πŸ¦‹ Members πŸ¦‹

so bestie, let's meet the cast:

  • sta β€” an iwl_mac_data_sta struct that's carrying most of the config data. yeah she's doing the heavy lifting here, main character energy fr fr πŸ’œ
  • ctwin β€” client traffic window, measured in TU. this is the period after TBTT when the GO is present. and listen β€” if it's 0, that means there is no CT window. zero. none. nada πŸ™ˆ
ngl, the 0 case is lowkey important to remember β€” it's not "a really tiny window", it's "there is no CT window", okay? different vibes entirely πŸ’€

🧚 SEE ALSO 🧚

go check out this kernel file bestie:

./drivers/net/wireless/intel/iwlwifi/fw/api/mac.h

and while you're there, here's the whole friend group β€” every single one of them, no gatekeeping:

  • enum iwl_mac_protection_flags(9)
  • enum iwl_mac_types(9)
  • enum iwl_tsf_id(9)
  • struct iwl_mac_data_ap(9)
  • struct iwl_mac_data_ibss(9)
  • enum iwl_mac_data_policy(9)
  • struct iwl_mac_data_sta(9)
  • struct iwl_mac_data_go(9)
  • struct iwl_mac_data_pibss(9)
  • enum iwl_mac_filter_flags(9)
  • enum iwl_mac_qos_flags(9)
  • struct iwl_ac_qos(9)
  • struct iwl_mac_ctx_cmd(9)
  • struct iwl_missed_beacons_notif_ver_3(9)
  • struct iwl_missed_beacons_notif_v4(9)
  • struct iwl_he_backoff_conf(9)
  • enum iwl_he_pkt_ext_constellations(9)
  • struct iwl_he_pkt_ext_v1(9)
  • struct iwl_he_pkt_ext_v2(9)
  • enum iwl_he_sta_ctxt_flags(9)
  • enum iwl_he_htc_flags(9)
  • struct iwl_he_sta_context_cmd_v1(9)
  • struct iwl_he_sta_context_cmd_v2(9)
  • struct iwl_he_sta_context_cmd_v3(9)
  • struct iwl_he_monitor_cmd(9)

that's the squad. go say hi 🫢


okay that's the whole page, you ate that πŸ’– this one comes from ./drivers/net/wireless/intel/i... and it's dated October 2026, and the whole thing is filed under struct iwl_mac_data_p2p_sta(9). slay, go read your headers bestie 🌈⭐

πŸ“¦ where this page comes from