rt2x00link_reset_tuner(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the rt2x00link_reset_tuner page from the Kernel API Manual πŸ’… β€” it's a lil function that resets the periodic link tuner work. yes. that's the whole vibe. let's get into it 🫢


🌸 SYNOPSIS 🌸

void rt2x00link_reset_tuner (struct rt2x00_dev *rt2x00dev , bool antenna );

literally just two args, no cap ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • rt2x00dev β€” a pointer to struct rt2x00_dev. that's your device struct, your main character 🫢
  • antenna β€” a bool that decides whether the antenna tuning should get reset too πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” the VGC limit that's configured in the hardware gets reset to 0, and that forces the driver to go rediscover the correct value for whatever association it's in rn. it's giving "forget everything and start over" energy πŸ’€

and why do we need that? because sometimes config options change and that could drastically change the SNR level or the link quality β€” like, for example, changing the antenna setting. so the old VGC value is suddenly not it πŸ™ˆ

resetting the link tuner also causes the periodic work counter to get reset. and here's the important part: any driver that has a fixed limit on the number of rounds the link tuner is supposed to work will accept the tuner actions again if that limit was previously reached. periodt πŸ‘‘

oh and one more β€” if antenna is set to true, then the software antenna diversity tuning will also be reset 🌈 slay


⭐ SEE ALSO ⭐


ok that's the whole page, no notes πŸŽ€ go reset that tuner bestie, you got this πŸ’–

and before you close the tab β€” this lil masterpiece lives at ./drivers/net/wireless/ralink/... in the Kernel API Manual, dated October 2026, and it's still called rt2x00link_reset_tuner(9). iconic, honestly 🌟 byeee πŸ¦‹

πŸ“¦ where this page comes from