STRUCT STA_ID_MODIFY(9)
π struct sta_id_modify(9) π
okay so this is from the Kernel API Manual, and it's literally the station modify command struct bestie, like the little form you fill out when you wanna add a station or change one that already exists π
β¨ NAME β¨
struct sta_id_modify β station modify command π«Ά
πΈ SYNOPSIS πΈ
struct sta_id_modify {
u8 addr[ETH_ALEN];
__le16 reserved1;
u8 sta_id;
u8 modify_mask;
__le16 reserved2;
};
like, that's the whole struct, no cap β¨
π Members π
addrβ the station's MAC address, iconic, mandatory, the whole identity of the station fr fr π¦reserved1β reserved for alignment, so please don't be the main character and try to use it πsta_idβ the index of the station in uCode's station table πmodify_maskβ theSTA_MODIFY_*flags;1means modify this,0means don't change it πreserved2β reserved for alignment again, yes there are two of them, it's giving padding energy β
π Description π
so the driver has options, okay? when it's adding a new station it picks an unused table index, and when it's modifying a station it picks the index of a pre-existing station entry. lowkey elegant β¨
heads up though: some indexes have super special purposes β like IWL_AP_ID, index 0, which is for the AP π iykyk
and the modify_mask flags? those are the vibe check that selects which parameters get modified vs. left completely alone π
π¦ SEE ALSO π¦
Kernel file ./drivers/net/wireless/intel/iwlwifi/dvm/commands.h plus these iconic neighbours:
struct iwl5000_channel_switch_cmd(9)struct iwl6000_channel_switch_cmd(9)struct iwl_ac_qos(9)struct statistics_tx_power(9)struct iwl_sensitivity_cmd(9)struct iwl_wipan_slot(9)struct iwl_wipan_params_cmd(9)
aaaand that's the page π it lives at ./drivers/net/wireless/intel/i... and it's dated October 2026, all stamped with struct sta_id_modify(9) at the bottom like a little signature β love that for us, mwah π go read the other structs bestie, slay π§ββοΈ
π¦ 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