il3945_get_antenna_flags(9)
π il3945_get_antenna_flags(9) β bestie edition
okay so this is a page from the Kernel API Manual (yes, the kernel has lore too, and this one's a whole era π), and it's about one very specific little function: il3945_get_antenna_flags(9). It's giving "niche but important" and honestly? iconic. Let's get into it π
β¨ NAME β¨
il3945_get_antenna_flags β get antenna flags for RXON command π¦
Like, the function's whole job is rounding up the antenna flags so the RXON command knows what's up. That's it. That's the gig. π
πΈ SYNOPSIS πΈ
__le32 il3945_get_antenna_flags (const struct il_priv *il );
Yep, that's the whole signature. __le32 in, __le32 out, one const struct il_priv *il in the middle. Clean, minimal, main character energy fr fr π
π«Ά ARGUMENTS π«Ά
ilβ okay so this is the good one. The eeprom and antenna fields on this bad boy are used to determine the antenna flags. So like,ilis literally the source of truth here. no cap. π
π₯ DESCRIPTION π₯
So here's the tea β β il->eeprom39 is what gets used to determine if the antenna AUX/MAIN are reversed. Like, the eeprom is snitching on the hardware configuration, iykyk.
Meanwhile, il3945_mod_params.antenna specifies the antenna diversity mode. And the modes are:
IL_ANTENNA_DIVERSITYβ the NIC selects the best antenna by itself. independent queen, doesn't need us π§IL_ANTENNA_MAINβ Force MAIN antenna. we're being bossy about it πIL_ANTENNA_AUXβ Force AUX antenna. also bossy, different antenna π
That's the whole vibe check. Three modes, one of them is "let the NIC cook", the other two are "no, we're picking, periodt."
π SEE ALSO π
- Kernel file
./drivers/net/wireless/intel/iwlegacy/3945-mac.cβ go read the source bestie, it's all there πΈ
lowkey a reminder that antenna flags are serious business β this is literally what feeds the RXON command, so don't sleep on it π
β¨ that's the whole page β¨ β from the Kernel API Manual, sourced from ./drivers/net/wireless/intel/i... (yes the path got cut off in the original, we don't gatekeep, we just report π), dated October 2026, and filed under il3945_get_antenna_flags(9). mwah, go forth and set your antenna flags πππ¦
π¦ 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