ENUM ATH5K_DRIVER_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum ath5k_driver_mode(9) πŸ’–

okay so bestie, welcome to the manual page for enum ath5k_driver_mode, which is literally just the PHY operation mode. that's it. that's the whole vibe. it lives in the Kernel API Manual and it's lowkey iconic for how small it is πŸŽ€


✨ NAME ✨

enum ath5k_driver_mode β€” PHY operation mode, no cap πŸ¦‹


🌸 SYNOPSIS 🌸

enum ath5k_driver_mode {
    AR5K_MODE_11A ,
    AR5K_MODE_11B ,
    AR5K_MODE_11G ,
    AR5K_MODE_MAX

};

like… it's four (4) things. four. that's the whole enum. she's compact, she's efficient, she ate πŸ’…


πŸŽ€ Constants πŸŽ€

  • AR5K_MODE_11A β€” 802.11a. that's it, that's the description, it's giving minimalist main character energy ✨
  • AR5K_MODE_11B β€” 802.11b. again, just the standard name. respect the brevity fr fr
  • AR5K_MODE_11G β€” 801.11g. yes bestie, it says 801.11g in the original and i am NOT fixing it β€” we do not edit the sacred texts, we only stan them πŸ™ˆ (this is a verbatim copy, pls don't come for me)
  • AR5K_MODE_MAX β€” used for boundary checks. she's the bouncer at the club, keeping the array indices in line πŸ‘‘πŸ«Ά

πŸ”₯ Description πŸ”₯

okay so this is the important part, listen up:

Do not change the order here. like, ever. we use these as array indices and it also maps EEPROM structures. so if you reorder them you're not being quirky, you're breaking everything πŸ˜­πŸ’€

that's the whole warning. it's short but it's highkey load-bearing. respect the order, periodt 🌈


⭐ SEE ALSO ⭐

Kernel file ./drivers/net/wireless/ath/ath5k/ath5k.h enum β€” that's where she lives 🏠

and then the whole friend group, in order, exactly as listed:

  • enum ath5k_version(9)
  • enum ath5k_radio(9)
  • Atheros XR(9)
  • Atheros SuperAG(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)
  • enum ath5k_dmasize(9)
  • Rate codes(9)
  • enum ath5k_int(9)
  • enum ath5k_calibration_mask(9)
  • enum ath5k_power_mode(9)

iykyk πŸ’œ


and that's the page!! sourced from ./drivers/net/wireless/ath/ath5k, dated October 2026 β€” mwah, sending you a kiss, go forth and never reorder the enum πŸ“πŸ§šπŸ’–

πŸ“¦ where this page comes from