Make use of scorer-specified heuristics in RssiCurve.
Treat Byte#MIN_VALUE equivalently to a null score curve. This allows a
scorer to define an RSSI threshold below which a network should not be
used. Currently, any non-null score curve will result in us connecting
to a given network regardless of RSSI.
Also, instead of applying a hard-coded dBm boost to the currently
active network, make use of the boost specified in the RSSI curve
itself, allowing the scorer to fine-tune this boost.
Bug: 15432594
Change-Id: I7a8f5f68ef074827d4b1cfbbed0841448498f179
2 files changed
tree: dd54ac3cec972162d1f130a413a8a1b557bf5924
- service/