diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2019-11-09 13:21:05 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2019-11-09 13:21:05 +0000 |
commit | 92d6e64261be3d96eefe8d2fd37397253cdb14c9 (patch) | |
tree | c623fcfe56b4eb3458b1ddb03c4fc487d3cb76ca /sys/net80211/ieee80211_var.h | |
parent | afcc405018f894692c6140cc328cf3f54156aae4 (diff) |
Give access points which fail to AUTH or ASSOC less priority during
the next selection of networks from the join list. Prevents endless
attempts to connect to an AP which is out of reach but still somehow
manages to get a beacon or two across to us during scan.
Tested with wifi networks at the University of Bucharest.
Makes switching wifi networks possible after walking to a different
room without having to down/up the interface or suspend/resume.
ok phessler@
Diffstat (limited to 'sys/net80211/ieee80211_var.h')
-rw-r--r-- | sys/net80211/ieee80211_var.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h index bf3ac419f64..f1f71296a97 100644 --- a/sys/net80211/ieee80211_var.h +++ b/sys/net80211/ieee80211_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_var.h,v 1.100 2019/11/09 11:39:15 stsp Exp $ */ +/* $OpenBSD: ieee80211_var.h,v 1.101 2019/11/09 13:21:04 stsp Exp $ */ /* $NetBSD: ieee80211_var.h,v 1.7 2004/05/06 03:07:10 dyoung Exp $ */ /*- @@ -472,6 +472,7 @@ int ieee80211_add_ess(struct ieee80211com *, struct ieee80211_join *); void ieee80211_del_ess(struct ieee80211com *, char *, int, int); void ieee80211_set_ess(struct ieee80211com *, struct ieee80211_ess *, struct ieee80211_node *); +void ieee80211_deselect_ess(struct ieee80211com *); struct ieee80211_ess *ieee80211_get_ess(struct ieee80211com *, const char *, int); void ieee80211_begin_bgscan(struct ifnet *); |