IEEE80211_BMISS(9)
π IEEE80211_BMISS π
okay bestie, so this is ieee80211_bmiss from the Kernel Developer's Manual β yes the whole "802.11 beacon miss support" situation β and I'm gonna walk you through it like we're texting at 2am, because honestly that's the energy it deserves. β¨
πΈ SYNOPSIS πΈ
like, the vibe check first, always:
#include <net80211/ieee80211_var.h>
void
ieee80211_beacon_miss(struct ieee80211com *);
that's it, that's the whole incantation. short, iconic, no notes. π
π¦ DESCRIPTION π¦
so the net80211 software layer is out here providing a whole support framework for drivers, and part of that is handling beacon miss events in station mode. π«Ά
here's the tea: drivers can dispatch beacon miss events that were recognized in hardware, or net80211 can detect a beacon miss itself β but only if the driver dispatches received beacon frames through the normal receive path. Software beacon miss support is especially useful when multiple vaps are operating and any hardware beacon miss support is justβ¦ not available. (like when you're operating as an access point together with one or more station mode vaps. multitasking queen behavior, we love her. π)
so drivers should dispatch beacon miss events recognized in the driver using ieee80211_beacon_miss(). what does that do, you ask? it causes some number of ProbeRequest frames to be sent to the access point, just to check if the association is still alive. π
then it's giving branching plotline:
- if no response is received and roaming mode is set to
IEEE80211_ROAMING_AUTO, thennet80211will try to re-associate β and if that fails, it triggers a scan to look for the access point or another suitable AP. - but when the
net80211state machine is being operated manually, e.g. bywpa_supplicant(8), then applications are notified of the state change and are responsible for handling the work of scanning for a new access point. no auto-pilot, you're driving. π
the number of beacon miss events (without a ProbeResponse) is user settable with the IEEE80211_IOC_BMISSTHRESHOLD request. so like, you have agency. β¨
π software beacon miss, per-vap π
Software beacon miss detection is enabled per-vap by setting the IEEE80211_FEXT_SWBMISS flag. typically this is done when a vap is setup, when the IEEE80211_CLONE_NOBEACONS option is supplied to the clone operation. but drivers may also force this when they know they need help detecting beacon miss. (asking for help is valid, actually. π₯Ί)
when beacon miss is detected in software, the event is dispatched without driver involvement β net80211 handles it, you just vibe. π«
π note that software beacon miss handling is not limited to station mode. it can be used in any operating mode where beacons from a peer station are received. flexible, versatile, main character energy. π
π SEE ALSO π
and that's the whole page, bestie β go forth and detect those missing beacons. π
Debian Β· August 4, 2009 Β· IEEE80211_BMISS(9) π β mwah, ily, read your man pages, periodt. π β¨
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2009 Sam Leffler, Errno Consulting
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms