STATION TABLE - INTERNAL STATIONS(9)
π station table - internal stations π
ok so this one's from the Kernel API Manual, and it's giving very much "behind the scenes lore" energy. buckle up bestie π
β¨ DESCRIPTION β¨
okay so here's the situation: the FW needs a few internal stations that are not reflected in mac80211. like, they just don't show up there. who are they? we're talking:
- the broadcast station in AP / GO mode
- the AUX sta, which is for scanning and P2P device (during the GO negotiation)
for these kinds of stations we have the iwl_mvm_int_sta struct, and it holds the data that's relevant for them β pulled from both iwl_mvm_sta and ieee80211_sta. two icons sharing one closet, iykyk π«Ά
usually the data for these stations is static, so no locking is required, and there's no TID data either since that's also not needed. lowkey chill like that β¨
β οΈ but here's the one thing you actually need to note: these stations have an ID in the fw, but not in mac80211. so in order to "reserve" them asta_idinfw_id_to_mac_id, we fillERR_PTR(-EINVAL)in this mapping β and all other dereferencing of pointers from this mapping needs to check that the value is not error or NULL. no cap, do the check or it's gonna be a whole thing π
currently there is only one auxiliary station for scanning, initialized on init. that's it, that's the whole squad π
π SEE ALSO π
- Kernel file
./drivers/net/wireless/intel/iwlwifi/mvm/sta.h DQA - Dynamic Queue Allocation -introduction(9)station table - introduction(9)station table - locking(9)station table - AP Station in STA mode(9)station table - Drain vs. Flush(9)station table - fw restart(9)AP mode - PS(9)enum iwl_mvm_agg_state(9)struct iwl_mvm_tid_data(9)enum iwl_mvm_rxq_notif_type(9)struct iwl_mvm_internal_rxq_notif(9)struct iwl_mvm_rxq_dup_data(9)struct iwl_mvm_link_sta(9)struct iwl_mvm_sta(9)struct iwl_mvm_int_sta(9)iwl_mvm_sta_send_to_fw(9)struct iwl_mvm_sta_state_ops(9)
and that's the whole page, bestie!! π¦ this one came from ./drivers/net/wireless/intel/i... (yeah the path got cut off, not my fault π), dated October 2026, and it lives under the name station tab...nal stations(9) β also truncated, the terminal is just being mysterious today π go read the whole thing, mwah π
π¦ 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