ENUM ATH5K_POWER_MODE(9)
π 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 frAR5K_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
- 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