diff options
author | sam <sam@FreeBSD.org> | 2005-12-12 18:04:44 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-12-12 18:04:44 +0000 |
commit | 2911d079c2167e81ddbbf13a22438cb4afd104c9 (patch) | |
tree | 50d32d0fd45915775843eb2f2fa292bef499e8a2 /sys/net80211/ieee80211_freebsd.c | |
parent | 8c5ce57de47aee09b1f0055747544c25e39f41e5 (diff) | |
download | FreeBSD-src-2911d079c2167e81ddbbf13a22438cb4afd104c9.zip FreeBSD-src-2911d079c2167e81ddbbf13a22438cb4afd104c9.tar.gz |
Add ieee80211_beacon_miss for processing sta mode beacon miss events
in the 802.11 layer: we send a directed probe request frame to the
current ap bmiss_max times (w/o answer) before scanning for a new ap.
MFC after: 2 weeks
Diffstat (limited to 'sys/net80211/ieee80211_freebsd.c')
-rw-r--r-- | sys/net80211/ieee80211_freebsd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_freebsd.c b/sys/net80211/ieee80211_freebsd.c index e05744a..4fa0207 100644 --- a/sys/net80211/ieee80211_freebsd.c +++ b/sys/net80211/ieee80211_freebsd.c @@ -126,6 +126,9 @@ ieee80211_sysctl_attach(struct ieee80211com *ic) SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(oid), OID_AUTO, "driver_caps", CTLFLAG_RW, &ic->ic_caps, 0, "driver capabilities"); + SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(oid), OID_AUTO, + "bmiss_max", CTLFLAG_RW, &ic->ic_bmiss_max, 0, + "consecutive beacon misses before scanning"); ic->ic_sysctl = ctx; } |