diff options
author | 2019-11-06 13:55:43 +0000 | |
---|---|---|
committer | 2019-11-06 13:55:43 +0000 | |
commit | b404c6099c4031a391d7e2b9948b53f00f08df2c (patch) | |
tree | 2769f099e130bc66c98b73356b5b78ea6588b245 /sys/net/if_bpe.c | |
parent | Allow the singular constraint clause to list multiple addresses; (diff) | |
download | wireguard-openbsd-b404c6099c4031a391d7e2b9948b53f00f08df2c.tar.xz wireguard-openbsd-b404c6099c4031a391d7e2b9948b53f00f08df2c.zip |
Raise net80211's "beacon miss" threshold to avoid frequent re-connects
to APs that are relatively far away and suffer some packet loss.
The former threshold was 7 beacons (about 700 ms).
This raises the threshold to 30 beacons (about 3 seconds).
Should still be good enough for detecting APs that have disappeared, and
makes wifi networks provided by the University of Bucharest more reliable
in the p2k19 hackroom.
While here, make 'ifconfig iwm0/iwn0 debug' print an obvious message when
we believe that the AP has disappeared.
Problem reported and fix tested by landry@ / pirofti@
ok mpi@ sthen@
Diffstat (limited to 'sys/net/if_bpe.c')
0 files changed, 0 insertions, 0 deletions