ENUM ATH5K_ANT_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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