ath5k_hw_setup_mrr_tx_desc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ath5k_hw_setup_mrr_tx_desc(9) πŸ’…

okay so you found the ath5k_hw_setup_mrr_tx_desc(9) page in the Kernel API Manual, and honestly? iconic. this is the function that initializes an MRR tx control descriptor, and we're gonna keep every single detail intact. no cap. 🫢

πŸ’– NAME πŸ’–

ath5k_hw_setup_mrr_tx_desc β€” initialize an MRR tx control descriptor. that's the whole vibe, but the details are below, bestie. ✨

✨ SYNOPSIS ✨

int ath5k_hw_setup_mrr_tx_desc (struct ath5k_hw *ah , struct ath5k_desc
*desc , u_int tx_rate1 , u_int tx_tries1 , u_int tx_rate2 , u_int
tx_tries2 , u_int tx_rate3 , u_int tx_tries3 );

lowkey a whole lineup of arguments, but we're handling them one by one. πŸ’…

πŸŽ€ ARGUMENTS πŸŽ€

  • ah β€” the struct ath5k_hw. yes, that one. πŸ’–
  • desc β€” the struct ath5k_desc. the descriptor cutie in question.
  • tx_rate1 β€” HW idx for rate used on transmission series 1. literally the first series' rate index. ⭐
  • tx_tries1 β€” max number of retransmissions for transmission series 1. periodt.
  • tx_rate2 β€” HW idx for rate used on transmission series 2.
  • tx_tries2 β€” max number of retransmissions for transmission series 2.
  • tx_rate3 β€” HW idx for rate used on transmission series 3.
  • tx_tries3 β€” max number of retransmissions for transmission series 3. and that's the full set, bestie. πŸ¦‹

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so Multi rate retry (MRR) tx control descriptors are available only on AR5212 MACs. not everywhere, bestie β€” only those. they are part of the normal 4-word tx control descriptor (see above), but we handle them through a separate function for better abstraction. it's giving clean-little-abstraction energy, and we respect it. ✨

it returns 0 on success or -EINVAL on invalid input. that's the whole return situation. πŸ’€

🌈 SEE ALSO 🌈

all the related function besties are right there. iykyk. πŸ‘‘


mwah πŸ’‹ this page comes from source/version ./drivers/net/wireless/ath/ath5k, dated October 2026, and it's the ath5k_hw_setup_mrr_tx_desc(9) page. bye bestie, go initialize those MRR tx control descriptors responsibly. πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from