CVSROOT:        /cvs
Module name:    src
Changes by:     s...@cvs.openbsd.org    2017/07/19 13:50:58

Modified files:
        sys/net80211   : ieee80211_node.c 

Log message:
Improve the heuristic which selects 5GHz APs over 2GHz APs.

The previous code wasn't quite right: it didn't account for the fact that
some drivers don't set ic_max_rssi, and it compared 5GHz APs to a threshold
relative to the max RSSI, rather than comparing RSSI on 5GHz relative to
RSSI on 2GHz.

This heuristic is only used by SCANNALLBAND drivers: iwn(4), iwm(4), wpi(4)

In the future the AP selection heuristic should be made more intelligent,
e.g. it should take BSS load information in beacons into account.
Another open problem is inconsistent representation of RSSI measurement
values throughout our drivers and stack. Help is welcome!

For now, this hopefully improves AP selection at busy airports.

ok sthen@ deraadt@

Reply via email to