ENUM ATH5K_ANT_MODE(9)
π NAME π
enum ath5k_ant_mode β the antenna operation mode, bestie. That's it, that's the whole vibe.
Oh also, hi, welcome to the Kernel API Manual β¨ (yes that's the manual name, folding it in here so it doesn't get lonely at the top).
π¦ SYNOPSIS π¦
enum ath5k_ant_mode {
AR5K_ANTMODE_DEFAULT ,
AR5K_ANTMODE_FIXED_A ,
AR5K_ANTMODE_FIXED_B ,
AR5K_ANTMODE_SINGLE_AP ,
AR5K_ANTMODE_SECTOR_AP ,
AR5K_ANTMODE_SECTOR_STA ,
AR5K_ANTMODE_DEBUG ,
AR5K_ANTMODE_MAX
};
πΈ Constants πΈ
Okay so these are literally the whole cast of characters, one bullet each, no skipping, no cap:
AR5K_ANTMODE_DEFAULTβ the default antenna setup, aka the "just do your thing, king" mode πAR5K_ANTMODE_FIXED_Aβ only antenna A is present. That's it. Antenna B did not show up to the group chat πAR5K_ANTMODE_FIXED_Bβ only antenna B is present. B's turn to be the main character πAR5K_ANTMODE_SINGLE_APβ STA locked on a single ap, fr fr, no roaming around πAR5K_ANTMODE_SECTOR_APβ AP with tx antenna set on tx desc β¨AR5K_ANTMODE_SECTOR_STAβ STA with tx antenna set on tx desc β¨ (yes same energy, different letter, read it again bestie)AR5K_ANTMODE_DEBUGβ debug mode, and the original note is literally-A -> Rx, B-> Tx-so here it is verbatim, iykyk πAR5K_ANTMODE_MAXβ used for boundary checks π§ that's its entire job and it's thriving
π₯ Description π₯
For more infos on antenna control check out phy.c. That's the whole description, she's short but she's iconic π«Ά
β SEE ALSO β
Kernel file ./drivers/net/wireless/ath/ath5k/ath5k.h enum β go read the source, bestie, it's giving lore π
And the whole extended friend group, all of them, in order, no one left out:
ath5k_version(9)enum ath5k_radio(9)Atheros XR(9)Atheros SuperAG(9)enum ath5k_driver_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)
Okay that's the page!! Sending you off with the receipts: this one lives in ./drivers/net/wireless/ath/ath5k and it's dated October 2026, and its title is, say it with me, enum ath5k_ant_mode(9). Slay, go configure your antennas, mwah πβ¨π
π¦ 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