STRUCT STA_ID_MODIFY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 β€” the STA_MODIFY_* flags; 1 means modify this, 0 means 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