rsi_mac80211_get_antenna(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ rsi_mac80211_get_antenna ✨

okay bestie, so this is a page from the Kernel API Manual (yes, the kernel has lore too πŸ’…) and today's main character is rsi_mac80211_get_antenna β€” the function that is used to configure tx and rx antennas. literally what it says on the tin, no cap πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

int rsi_mac80211_get_antenna (struct ieee80211_hw *hw , int radio_idx ,
       u32 *tx_ant , u32 *rx_ant );

that's the whole vibe check right there β€” four args, one int coming back at you 🌸


🫢 ARGUMENTS 🫢

  • hw β€” pointer to the ieee80211_hw structure. you know, the big one πŸ‘‘
  • radio_idx β€” radio index. which radio we're talking about, iykyk
  • tx_ant β€” bitmap for tx antenna πŸ“‘ the sending one
  • rx_ant β€” bitmap for rx antenna πŸ“‘ the receiving one
not me stressing that tx_ant and rx_ant are bitmaps and not just numbers β€” keep that energy, bestie, it matters πŸ’€

⭐ RETURN ⭐

0 on success, negative error codes on failure. so like, zero is the slay, anything negative is the situation 😭


🌈 SEE ALSO 🌈

the kernel file it lives in is literally right here:

./drivers/net/wireless/rsi/rsi_91x_mac80211.c

and here's the whole friend group πŸ’–:


and that's the page, bestie πŸ§šπŸ’œ this whole thing came out of ./drivers/net/wireless/rsi β€” Kernel API Manual, dated October 2026. go configure those antennas, periodt πŸ”₯

πŸ“¦ where this page comes from