iwl_get_closed_rb_stts(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– iwl_get_closed_rb_stts β€” the Kernel API Manual moment πŸŽ€

okay so bestie, welcome to iwl_get_closed_rb_stts(9), literally the cutest little helper in the whole Kernel API Manual era. it's giving "small function, big job" and honestly? we're obsessed. ✨


✨ NAME ✨

iwl_get_closed_rb_stts β€” get closed rb stts from different structs πŸ’…

like, it goes and fetches the closed rb stts out of whatever structs are holding it. no cap, that's the whole vibe.


🌸 SYNOPSIS 🌸

u16 iwl_get_closed_rb_stts (struct iwl_trans *trans , struct iwl_rxq
*rxq );

so iconic. returns a u16, takes two pointers, slays. πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • trans β€” transport pointer (for configuration) πŸš‚ she's the one holding the config, the setup, the whole situation. main character energy fr fr.
  • rxq β€” the rxq to get the rb stts from πŸ‘‘ this is literally the queue we're pulling the stats out of. the way that she's just a pointer to struct iwl_rxq and yet she's everything.

⭐ RETURN ⭐

last closed RB index πŸ’œ that's it, that's the answer. one u16, one closed RB index, zero notes, periodt.

ngl there's no error return mentioned here, so don't be out here inventing one, bestie πŸ™ˆ

🌈 SEE ALSO 🌈

okay so this is the part where the manpage absolutely ATE and listed literally everyone in the friend group. iykyk:

  • Kernel file ./drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/internal.h πŸ“
  • struct iwl_rx_mem_buffer(9)
  • struct iwl_rx_transfer_desc(9)
  • struct iwl_rx_completion_desc(9)
  • struct iwl_rx_completion_desc_bz(9)
  • struct iwl_rxq(9)
  • struct iwl_rb_allocator(9)
  • enum iwl_fw_mon_dbgfs_state(9)
  • enum iwl_shared_irq_flags(9)
  • enum iwl_image_response_code(9)
  • struct cont_rec(9)
  • enum iwl_pcie_imr_status(9)
  • struct iwl_txq(9)
  • struct iwl_pcie_txqs(9)
  • struct iwl_trans_pcie(9)
  • iwl_txq_inc_wrap(9)
  • iwl_txq_dec_wrap(9)

literally the whole cast list. go read them, they're all linked and they're all valid. πŸ”₯


and that's the page, bestie 🫢 huge shoutout to the source ./drivers/net/wireless/intel/i... and to October 2026 for the date stamp, version iwl_get_closed_rb_stts(9) β€” she's a legend, she's a star, and she's closed RB stats-ing to this day πŸ’…βœ¨πŸ’–

πŸ“¦ where this page comes from