WifiConfigManagerNew: PNO network list generation

Migrate over the PNO network list generation logic from old
WifiConfigManager. We're not going to have 2 separate sorting logic for
connected/disconnected PNO now.

The general sorting algo is as follows:
Place the enabled networks first, followed by temporarily disabled
ones, followed by permanently disabled ones. Among the networks with the
same status, sort them according to the number of times the network was
associated. If they'r still the same, prefer networks that were last
seen in the scan results.

Also, add methods to set/clear the |ScanResultCandidate| parameter for the
provided network via QNS.

BUG: 30156343
TEST: Unit tests

Change-Id: Ic398feee01a99141a545b363801873d52b36f221
4 files changed
tree: 3b80b901db45b0c50c1744d4cd36875856ac61c4
  1. libwifi_hal/
  2. libwifi_system/
  3. service/
  4. tests/