summaryrefslogtreecommitdiff
path: root/sys/miscfs/fifofs
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2006-06-08 19:58:45 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2006-06-08 19:58:45 +0000
commit6b7c1cf0ef8e73d0349042649c5faa460aac5c5b (patch)
tree8dfd3f75e5c707bd7517e1810c5409d82e736f24 /sys/miscfs/fifofs
parent122179c6dcb81d030d78d185a0de3ab10f101c6a (diff)
Keep track of the average RSSI using an Exponential Moving Average (EMA).
Use it to dynamically tune radio receive sensitivity. The idea is simple: - increase sensitivity when the RSSI is bad to optimize throughput on long distance to the AP, and - decrease sensitivity when the RSSI is good to reduce noise level and optimize throughput on short distance to the AP The EMA allows to smooth RSSI variations so we don't end up changing the sensitivity too frequently. We check if it would be worth updating the sensitivity every one second. RSSI thresholds were taken from the Ralink Tech. Linux driver. Also, clean a few things while I'm here: - account for FCS when determining if RTS protection must be used - fix check for whether WEP encryption is needed or not - encrypt mgmt frames if we need to (shared authmode) - cosmetic tweaks
Diffstat (limited to 'sys/miscfs/fifofs')
0 files changed, 0 insertions, 0 deletions