iwl_mvm_sta_send_to_fw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ iwl_mvm_sta_send_to_fw(9) ✨

bestie. you found it. this is the <pink>Kernel API Manual</pink> entry for one very specific, very iconic function, and honestly? it's giving "small function, big responsibilities". 🫢

🌸 NAME 🌸

iwl_mvm_sta_send_to_fw β€” literally just Send the STA info to the FW. that's the whole job. that's the assignment. periodt. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

int iwl_mvm_sta_send_to_fw (struct iwl_mvm *mvm , struct ieee80211_sta
*sta , bool update , unsigned int flags );

yeah she takes four things and she gives you back an int. no cap. πŸ”₯

πŸŽ€ ARGUMENTS πŸŽ€

  • mvm β€” the iwl_mvm* to use. this is your main character struct, the one throwing the whole party. πŸŽ‰
  • sta β€” the STA. the station itself. that's it, that's the girl. 🧚
  • update β€” this one's a bool and it's lowkey the vibe check of the whole call: it's true if the FW is being updated about a STA it already knows about. otherwise β€” and this is the important part, bestie β€” if this is a new STA, this should be false. don't be out here lying to the firmware about knowing someone. πŸ™ˆ
  • flags β€” if update==true, this marks what is being changed, via ORs of values from enum iwl_sta_modify_flag. and if update isn't true? this is ignored. literally just sitting there. πŸ’€

⭐ RETURN ⭐

a negative error code, or 0 on success. so like, 0 = slay, negative = not slay. 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/wireless/intel/iwlwifi/mvm/sta.h β€” and then the whole friend group, fr fr:

  • DQA - Dynamic Queue Allocation -introduction(9)
  • station table - introduction(9)
  • station table - locking(9)
  • station table - internal stations(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)
  • struct iwl_mvm_sta_state_ops(9)

okay that's the page!! sourced from ./drivers/net/wireless/intel/i..., dated October 2026 β€” go forth and send that STA info to the FW, you're gonna ate πŸ’–βœ¨πŸ‘‘

πŸ“¦ where this page comes from