batadv_wifi...evice_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_wifi_net_device_update β€” Kernel API Manual

okay so bestie, welcome to the manual page for batadv_wifi_net_device_update(9) πŸ¦‹ this one lives in the Kernel API Manual and honestly? it's giving "small function, big responsibilities" energy. let's get into it ✨


🌸 NAME 🌸

batadv_wifi_net_device_update β€” update wifi state of net_device

like… it updates the wifi state. of a net_device. that's the whole vibe πŸŽ€


✨ SYNOPSIS ✨

void batadv_wifi_net_device_update (struct net_device *net_dev );

one function, one argument, void return because it doesn't need to hand you anything back β€” it just does the thing and leaves πŸ’…


🫢 ARGUMENTS 🫢

  • net_dev β€” the net_device to update in batadv_wifi_net_devices. that's it, that's the whole argument list, just your one little network device showing up to get its status refreshed 🌈

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea β˜• the device only gets stored in batadv_wifi_net_devices when it could be identified as a wifi device. that's the entry requirement, no exceptions, the bouncer is checking IDs at the door πŸ’€

and if the net_device is no longer a wifi device? it gets automatically removed from batadv_wifi_net_devices. not me ghosting the list the second the wifi vibe is gone 😭 it's self-cleaning, it's efficient, it's lowkey iconic.

so basically: wifi device β†’ you're in the list 🫢 not a wifi device anymore β†’ bye bestie, you're out πŸ‘‹ and batadv_wifi_net_device_update is the one making that call.


πŸ‘‘ SEE ALSO πŸ‘‘

all the siblings and cousins in the family, fr fr β€” this function does not exist in a vacuum:

kernel file ./net/batman-adv/hard-interface.c, plus:

like, that's a whole friend group 🧚 and yes you should probably read at least a couple of them. iykyk 🌟


vibe check: this page is short and sweet β€” no options, no flags, no exit statuses to memorise. just one device, one list, and one very clear rule about who gets to stay πŸ“

that's the whole page bestie, slay πŸ’– this one's brought to you from ./net/batman-adv, dated October 2026, and titled batadv_wifi_net_device_update(9) β€” go forth and update those wifi states, no cap πŸ‘‘ ✨

πŸ“¦ where this page comes from