STRUCT IWL_HE_STA_CONTEXT_CMD_V1(9)
๐ struct iwl_he_sta_context_cmd_v1(9) ๐
okay bestie so this is a page from the Kernel API Manual, and honestly? it's giving "configure FW to work with HE AP" energy and i'm obsessed. this little struct is how you tell the firmware to play nice with an HE access point. no cap. ๐ฆ
โจ NAME โจ
struct iwl_he_sta_context_cmd_v1 โ configure FW to work with HE AP ๐
๐ธ SYNOPSIS ๐ธ
struct iwl_he_sta_context_cmd_v1 {
u8 sta_id;
u8 tid_limit;
u8 reserved1;
u8 reserved2;
__le32 flags;
u8 ref_bssid_addr[6];
__le16 reserved0;
__le32 htc_flags;
u8 frag_flags;
u8 frag_level;
u8 frag_max_num;
u8 frag_min_size;
struct iwl_he_pkt_ext_v1 pkt_ext;
u8 bss_color;
u8 htc_trig_based_pkt_ext;
__le16 frame_time_rts_th;
u8 rand_alloc_ecwmin;
u8 rand_alloc_ecwmax;
__le16 reserved3;
struct iwl_he_backoff_conf trig_based_txf[AC_NUM];
};
like, that's the whole glow-up right there โจ
๐ MEMBERS ๐
sta_idโ the STA id, bestie. that's literally her identity ๐tid_limitโ max num of TIDs in TX HE-SU multi-TID agg. and listen:0is a bad value (not it ๐),1means multi-tid not supported, and2..8gives you the tid limit. iykyk.reserved1โ reserved byte for future use ๐ซถ (they're saving a seat for later, iconic)reserved2โ reserved byte for future use, same vibe, love that for them ๐flagsโ seeiwl_11ax_sta_ctxt_flagsโญref_bssid_addrโ reference BSSID used by the AP, main character identifier fr ๐ฅreserved0โ reserved 2 bytes for aligning theref_bssid_addrfield to 8 bytes. the way it's just there for alignment... a supporting role but crucial ๐ญhtc_flagsโ which features are supported in HTC ๐ฆfrag_flagsโ frag support in A-MSDU ๐frag_levelโ frag support level, leveling up like a video game ๐ฎfrag_max_numโ max num of "open" MSDUs in the receiver (in power of 2) โจ math slayfrag_min_sizeโ min frag size (except last frag). not the last frag specifically, don't come for her ๐pkt_extโ optional, exists according to PPE-present bit in the HE-PHY capa. so like, sometimes she's there, sometimes she's not. mysterious ๐งbss_colorโ 11ax AP ID that is used in the HE SIG-A to mark inter BSS frame. her little signature color, aesthetic ๐htc_trig_based_pkt_extโ default PE in 4us units โฑ๏ธframe_time_rts_thโ HE duration RTS threshold, in units of 32us โฑ๏ธโจrand_alloc_ecwminโ random CWmin =2**ECWmin-1๐ขrand_alloc_ecwmaxโ random CWmax =2**ECWmax-1๐ขreserved3โ reserved byte for future use, the third reserved bestie of the group ๐ซถtrig_based_txfโ MU EDCA Parameter set for the trigger based traffic queues ๐
๐ SEE ALSO ๐
Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/mac.h and all these icons:
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_p2p_sta(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_v2(9), struct iwl_he_sta_context_cmd_v3(9), struct iwl_he_monitor_cmd(9)
like go read all of them, they're all part of the friend group ๐
ngl this struct is lowkey a whole mood board of HE AP config. take care of her and she'll take care of your firmware. periodt. ๐
and that's the page bestie!! ๐ brought to you by the source at ./drivers/net/wireless/intel/i..., dated October 2026, and it goes out being struct iwl_h...ntext_cmd_v1(9) โ slay, she ate, no crumbs. ๐
๐โจ
๐ฆ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms