ath5k_hw_set_antenna_switch(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, this is the Kernel API Manual entry for ath5k_hw_set_antenna_switch(9), and its whole job is literally β€œSet up antenna switch table.” That’s the name, that’s the vibe, no cap. πŸ’…

✨ SYNOPSIS ✨

void ath5k_hw_set_antenna_switch (struct ath5k_hw *ah , u8 ee_mode );

It’s a void function, so no return value is doing a little main-character entrance here. 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ah β€” the struct ath5k_hw. Like, the actual struct, bestie. πŸ‘‘
  • ee_mode β€” one of enum ath5k_driver_mode. Pick your enum era. 🌈

🌸 DESCRIPTION 🌸

The switch table comes from EEPROM β€” yes, EEPROM is the source, periodt β€” and it includes information on controlling the 2 antenna RX attenuators. That’s the tea, and it’s lowkey iconic. πŸ’–

πŸ’« SEE ALSO πŸ’«

bestie, the cross-refs are giving full syllabus energy, so here is every single one:


source/version line ./drivers/net/wireless/ath/ath5k, dated October 2026, page ath5k_hw_set_antenna_switch(9) β€” mwah, bestie πŸ’‹βœ¨

πŸ“¦ where this page comes from