lbs_mac_event_disconnected(9)
π
lbs_mac_event_disconnected β NAME
okay so bestie, this is lbs_mac_event_disconnected β the function that handles the disconnect event π«Ά. Literally what it says on the tin: it reports the disconnect up to the upper layer, cleans up tx/rx packets, resets the link state, etc. etc. β¨ (yes the "etc" is doing heavy lifting, that's from the source, we do not elaborate, we respect the mystery).
this page lives in the Kernel API Manual, section 9. iykyk π
πΈ SYNOPSIS
void lbs_mac_event_disconnected (struct lbs_private *priv , bool
locally_generated );
that's it. two args, one void, zero notes. it's giving "small function, big responsibilities" energy πβ¨
π ARGUMENTS
privβ a pointer tostruct lbs_private. your whole private context, your main character struct, the one with all the state πlocally_generatedβ aboolthat says whether the disconnect was requested locally (usually by userspace). so like, did we do this to ourselves or did the network do it to us π
π RETURN
n/a β nothing. it returns void, it returns vibes, it returns nothing. periodt π
π¦ SEE ALSO
- the kernel file
./drivers/net/wireless/marvell/libertas/cmdresp.cβ go read it, that's where the actual lore lives πβ¨
πΈπ ok that's the whole page bestie, go forth and disconnect responsibly ππΈ
source/version note: this cutie shipped from ./drivers/net/wireless/marvell/libertas/cmdresp.c and is dated October 2026. archive it, cite it, love it π«Άβ¨
π¦ 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