ENUM ATH5K_DRIVER_MODE(9)
π 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 frAR5K_MODE_11Gβ801.11g. yes bestie, it says801.11gin 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms