ENUM ATH5K_POWER_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ENUM ATH5K_POWER_MODE πŸ’–

okay so this is from the Kernel API Manual, bestie β€” a whole little enum page about power management modes and honestly it's giving "tiny file, big consequences" energy. Let's get into it 🫢


✨ SYNOPSIS ✨

enum ath5k_power_mode {
    AR5K_PM_UNDEFINED ,
    AR5K_PM_AUTO ,
    AR5K_PM_AWAKE ,
    AR5K_PM_FULL_SLEEP ,
    AR5K_PM_NETWORK_SLEEP

};

like, that's the whole shape of it. five little vibes. five little states your card can be in πŸ’…


πŸŽ€ CONSTANTS πŸŽ€

  • AR5K_PM_UNDEFINED β€” literally undefined, we don't know her, no thoughts head empty 🌸
  • AR5K_PM_AUTO β€” lets the card sleep if it can, she decides for herself, main character energy ✨
  • AR5K_PM_AWAKE β€” forces the card to wake up, no naps allowed, up and at 'em πŸ‘‘
  • AR5K_PM_FULL_SLEEP β€” forces the card into full sleep. and bestie β€” DANGEROUS πŸ˜­πŸ’€ like, respect the all-caps, fr fr
  • AR5K_PM_NETWORK_SLEEP β€” lets her sleep for a specified duration, lil scheduled nap πŸ¦‹

🌈 DESCRIPTION 🌈

so here's the tea: currently only PM_AWAKE is actually used. FULL_SLEEP and NETWORK_SLEEP/AUTO are also known to have problems on some cards πŸ’€

but ngl that's not a big problem though, because we can get almost the same effect as FULL_SLEEP by putting the card on warm reset β€” and it's almost powered down that way. so like, we're fine, we're thriving, no cap 🌸


πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/net/wireless/ath/ath5k/ath5k.h 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), enum ath5k_dmasize(9), Rate codes(9), enum ath5k_int(9), enum ath5k_calibration_mask(9)

like, a whole friend group. go say hi 🫢


heads up bestie: AR5K_PM_FULL_SLEEP is marked DANGEROUS in the original for a reason β€” treat it with respect, don't just yolo it πŸ’…

and that's the whole page!! πŸŽ€ this one came from ./drivers/net/wireless/ath/ath5k, dated October 2026, and it's the enum ath5k_power_mode(9) page β€” mwah, run along now, go read the rest of the ath5k lore πŸŒΈπŸ’–

πŸ“¦ where this page comes from