ENUM ATH5K_DEBUG_LEVEL(9)
π NAME π
enum ath5k_debug_level β literally the ath5k debug level, that's it, that's the whole vibe β¨
πΈ SYNOPSIS πΈ
okay bestie, here's the whole enum, look at all these constants:
enum ath5k_debug_level {
ATH5K_DEBUG_RESET ,
ATH5K_DEBUG_INTR ,
ATH5K_DEBUG_MODE ,
ATH5K_DEBUG_XMIT ,
ATH5K_DEBUG_BEACON ,
ATH5K_DEBUG_CALIBRATE ,
ATH5K_DEBUG_TXPOWER ,
ATH5K_DEBUG_LED ,
ATH5K_DEBUG_DUMPBANDS ,
ATH5K_DEBUG_DMA ,
ATH5K_DEBUG_ANI ,
ATH5K_DEBUG_DESC ,
ATH5K_DEBUG_ANY
};
π Constants π
so here's what each one is giving, one by one π«Ά
ATH5K_DEBUG_RESETβ reset processing, the "start over era" of debug messages πATH5K_DEBUG_INTRβ interrupt handling, all the little interrupts doing their thing β‘ATH5K_DEBUG_MODEβ mode init/setup, the getting-ready montage π§ATH5K_DEBUG_XMITβ basic xmit operation, the actual sending of packets, main character behavior πATH5K_DEBUG_BEACONβ beacon handling, beacons be beaconing πATH5K_DEBUG_CALIBRATEβ periodic calibration, the little tune-ups on the reg πATH5K_DEBUG_TXPOWERβ transmit power setting, how loud we're yelling π₯ATH5K_DEBUG_LEDβ led management, the blinkenlights, iconic honestly β¨ATH5K_DEBUG_DUMPBANDSβ dump bands, yeah it dumps the bands, no notes πATH5K_DEBUG_DMAβ debug dma start/stop, the DMA getting its own little spotlight π¦ATH5K_DEBUG_ANIβ debug Adaptive Noise Immunity, capital letters because it's That Girl πATH5K_DEBUG_DESCβ descriptor setup, descriptors being set up, we love a setup πΈATH5K_DEBUG_ANYβ show at any debug level, the "all of the above" option, the people's champ β
β¨ Description β¨
okay so here's the whole point, bestie: this debug level controls how much debugging output you get and what type of it you see. that's the entire serve π
when the code calls ATH5K_DBG, it passes the debug level in, and that's how it knows where the message should appear. and you, the user, get to control which debugging messages you actually want to see β either by the module parameter 'debug' when you load the module, or dynamically at runtime using debugfs 'ath5k/phyX/debug'. slay, options β¨
and the actual big-brain bit: these levels can be combined together by bitwise OR. so you're not stuck picking just one, you can stack them fr fr π«Ά
π¦ SEE ALSO π¦
- Kernel file
./drivers/net/wireless/ath/ath5k/debug.hβ go read it, iykyk π
that's the whole page bestie, no cap π this lil masterpiece dropped in October 2026, lives in ./drivers/net/wireless/ath/ath5k, and it's brought to you by enum ath5k_debug_level(9) β periodt πβ¨
π¦ 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