ENUM ATH5K_DMASIZE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum ath5k_dmasize(9) β€” the Kernel API Manual moment

okay so bestie, we're looking at enum ath5k_dmasize today β€” it's the DMA size definitions one, and the whole vibe is 2^(n+2) ✨ lowkey iconic math.


🌸 NAME 🌸

enum ath5k_dmasize β€” DMA size definitions (2^(n+2)) πŸŽ€


✨ SYNOPSIS ✨

enum ath5k_dmasize {
    AR5K_DMASIZE_4B ,
    AR5K_DMASIZE_8B ,
    AR5K_DMASIZE_16B ,
    AR5K_DMASIZE_32B ,
    AR5K_DMASIZE_64B ,
    AR5K_DMASIZE_128B ,
    AR5K_DMASIZE_256B ,
    AR5K_DMASIZE_512B

};

πŸ¦‹ Constants πŸ¦‹

like, the whole squad, one by one:

  • AR5K_DMASIZE_4B β€” 4Bytes πŸ“
  • AR5K_DMASIZE_8B β€” 8Bytes πŸ“
  • AR5K_DMASIZE_16B β€” 16Bytes 🌸
  • AR5K_DMASIZE_32B β€” 32Bytes 🌸
  • AR5K_DMASIZE_64B β€” 64Bytes (Default) πŸ‘‘ this one's the main character, no cap
  • AR5K_DMASIZE_128B β€” 128Bytes πŸ’œ
  • AR5K_DMASIZE_256B β€” 256Bytes πŸ’œ
  • AR5K_DMASIZE_512B β€” 512Bytes πŸ”₯

πŸ’– Description πŸ’–

so these are literally used to set the DMA burst size on hw. that's the whole job. she's employed πŸ’…


πŸ’€ Note πŸ’€

⚠️ some platforms can't handle more than 4Bytes β€” be careful on embedded boards, fr fr. like do not just send it on an embedded board, that's giving chaos 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/wireless/ath/ath5k/ath5k.h β€” the enum lives here, go say hi 🫢

  • enum ath5k_version(9)
  • enum ath5k_radio(9)
  • Atheros XR(9)
  • Atheros SuperAG(9)
  • enum ath5k_driver_mode(9)
  • enum ath5k_ant_mode(9)
  • enum ath5k_bw_mode(9)
  • struct ath5k_tx_status(9)
  • enum ath5k_tx_queue(9)
  • enum ath5k_tx_queue_subtype(9)
  • enum ath5k_tx_queue_id(9)
  • struct ath5k_txq(9)
  • struct ath5k_txq_info(9)
  • enum ath5k_pkt_type(9)
  • struct ath5k_rx_status(9)
  • enum ath5k_rfgain(9)
  • struct ath5k_gain(9)
  • struct ath5k_athchan_2ghz(9)
  • Rate codes(9)
  • enum ath5k_int(9)
  • enum ath5k_calibration_mask(9)
  • enum ath5k_power_mode(9)

and that's the page bestie ✨ this one dropped from ./drivers/net/wireless/ath/ath5k in October 2026 β€” go read the header, it's an icon, it's a legend, iykyk πŸ’…πŸŽ€

πŸ“¦ where this page comes from