ENUM ATH5K_PHY_ERROR_CODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ enum ath5k_phy_error_code(9) πŸ’…

okay so this is a page from the Kernel API Manual, and bestie, we're about to get into PHY error codes. yes, those PHY error codes. the ath5k ones. stay with me, it's gonna slay actually.


✨ NAME ✨

enum ath5k_phy_error_code β€” literally just PHY Error codes. that's the whole vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

here's the whole enum, and yes you're getting every single member because we don't gatekeep:

enum ath5k_phy_error_code {
    AR5K_RX_PHY_ERROR_UNDERRUN ,
    AR5K_RX_PHY_ERROR_TIMING ,
    AR5K_RX_PHY_ERROR_PARITY ,
    AR5K_RX_PHY_ERROR_RATE ,
    AR5K_RX_PHY_ERROR_LENGTH ,
    AR5K_RX_PHY_ERROR_RADAR ,
    AR5K_RX_PHY_ERROR_SERVICE ,
    AR5K_RX_PHY_ERROR_TOR ,
    AR5K_RX_PHY_ERROR_OFDM_TIMING ,
    AR5K_RX_PHY_ERROR_OFDM_SIGNAL_PARITY ,
    AR5K_RX_PHY_ERROR_OFDM_RATE_ILLEGAL ,
    AR5K_RX_PHY_ERROR_OFDM_LENGTH_ILLEGAL ,
    AR5K_RX_PHY_ERROR_OFDM_POWER_DROP ,
    AR5K_RX_PHY_ERROR_OFDM_SERVICE ,
    AR5K_RX_PHY_ERROR_OFDM_RESTART ,
    AR5K_RX_PHY_ERROR_CCK_TIMING ,
    AR5K_RX_PHY_ERROR_CCK_HEADER_CRC ,
    AR5K_RX_PHY_ERROR_CCK_RATE_ILLEGAL ,
    AR5K_RX_PHY_ERROR_CCK_SERVICE ,
    AR5K_RX_PHY_ERROR_CCK_RESTART

};

like, twenty constants. twenty! she's committed. πŸŽ€


πŸ’– Constants πŸ’–

okay so this is the part where each one gets its little moment in the spotlight. every single one, no skips:

  • AR5K_RX_PHY_ERROR_UNDERRUN β€” transmit underrun, [5210] No error. iconic little contradiction, we love her πŸ’€
  • AR5K_RX_PHY_ERROR_TIMING β€” timing error. not beating the timing allegations.
  • AR5K_RX_PHY_ERROR_PARITY β€” illegal parity. she's not like other parities fr fr.
  • AR5K_RX_PHY_ERROR_RATE β€” illegal rate. the rate was, in fact, illegal.
  • AR5K_RX_PHY_ERROR_LENGTH β€” illegal length. too long, too short, who's to say 😭
  • AR5K_RX_PHY_ERROR_RADAR β€” radar detect, [5210] 64 QAM rate πŸ‘€
  • AR5K_RX_PHY_ERROR_SERVICE β€” illegal service. we do not endorse that service.
  • AR5K_RX_PHY_ERROR_TOR β€” transmit override receive. main character energy honestly.
  • AR5K_RX_PHY_ERROR_OFDM_TIMING β€” OFDM Timing error [5212+]
  • AR5K_RX_PHY_ERROR_OFDM_SIGNAL_PARITY β€” OFDM Signal parity error [5212+]
  • AR5K_RX_PHY_ERROR_OFDM_RATE_ILLEGAL β€” OFDM Illegal rate [5212+]
  • AR5K_RX_PHY_ERROR_OFDM_LENGTH_ILLEGAL β€” OFDM Illegal length [5212+]
  • AR5K_RX_PHY_ERROR_OFDM_POWER_DROP β€” OFDM Power drop [5212+] ⚑
  • AR5K_RX_PHY_ERROR_OFDM_SERVICE β€” OFDM Service (?) [5212+] β€” yes the (?) is canon, the kernel itself is unsure, and honestly same 🫢
  • AR5K_RX_PHY_ERROR_OFDM_RESTART β€” OFDM Restart (?) [5212+]
  • AR5K_RX_PHY_ERROR_CCK_TIMING β€” CCK Timing error [5212+]
  • AR5K_RX_PHY_ERROR_CCK_HEADER_CRC β€” Header CRC error [5212+]
  • AR5K_RX_PHY_ERROR_CCK_RATE_ILLEGAL β€” Illegal rate [5212+]
  • AR5K_RX_PHY_ERROR_CCK_SERVICE β€” CCK Service (?) [5212+]
  • AR5K_RX_PHY_ERROR_CCK_RESTART β€” CCK Restart (?) [5212+]

and that's the whole list. twenty entries, all accounted for, nothing omitted, we ate πŸ’…βœ¨


πŸ¦‹ SEE ALSO πŸ¦‹

kernel file ./drivers/net/wireless/ath/ath5k/desc.h struct ath5k_hw_rx_ctl(9), struct ath5k_hw_rx_status(9), struct ath5k_hw_2w_tx_ctl(9), struct ath5k_hw_4w_tx_ctl(9), struct ath5k_hw_tx_status(9), struct ath5k_hw_5210_tx_desc(9), struct ath5k_hw_5212_tx_desc(9), struct ath5k_hw_all_rx_desc(9), struct ath5k_desc(9)

like a whole friend group of structs and the desc.h file they all live in. go say hi 🫢


ngl, if you're reading an ath5k PHY error enum page for fun, you're lowkey built different and i respect it πŸ’œ

kisses bestie, this page lives in ./drivers/net/wireless/ath/ath5k and the docs were stamped October 2026 β€” that's the source, the version vibes and the date all wrapped up in one cute little sign-off. πŸŒˆβ­πŸŽ€

πŸ“¦ where this page comes from