HARDWARE DESCRIPTOR FUNCTIONS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– Hardware descriptor functions πŸ’–

okay bestie so this is from the Kernel API Manual, section 9 β€” pull up a chair 🫢


🌸 the whole vibe (what's actually going down here)

so like, this is where we handle the processing of the low-level hw descriptors that hw reads and writes via DMA for each TX and RX attempt β€” and yes, that literally means we can also have descriptors for failed TX/RX tries too πŸ˜­πŸ’€ the hw doesn't ghost us just because the packet flopped, the descriptor still shows up.

we have two kind of descriptors for RX and TX:

  • control descriptors β€” these tell the hw how to send or receive a packet, where to read/write it from/to, etc. like the little instruction card for the hw πŸ“‹βœ¨
  • status descriptors β€” these contain information about how the packet was sent or received, errors included. like the receipts, quite literally πŸ§ΎπŸ‘‘

and here's the thing: descriptor format is not exactly the same for each MAC chip version 🫠 so we have function pointers on struct ath5k_hw that we initialize at runtime based on the chip used. iykyk πŸ’…


✨ SEE ALSO ✨

go read these, bestie, no cap:


okay that's the whole page, mwah πŸ’‹ this lil beauty lives at ./drivers/net/wireless/ath/ath5k and it's dated October 2026 β€” iconic, timestamped, done. periodt 🌈⭐

πŸ“¦ where this page comes from