Wifi: Fix connectivity issues with PSK-SHA256+SAE mode APs

Current PSK-SAE transition mode network identifier check using "PSK+SAE"
sub-string but the sub-string not able to classify "PSK-SHA256+SAE" APs
as PSK-SAE transition mode network. Due to this DUT cannot connect to
such APs in PSK mode because the framework always targets the highest
security.

To resolve the issue consider network having both "PSK" and "SAE" sub-
strings as PSK-SAE transition mode network.

Also, added unit tests.

Bug: 144773602
Bug: 144753662
Bug: 144737141
Test: atest ScanResultUtilTest

Change-Id: Ida297a162edbed757556475dd4a9b75050054350
Merged-In: I2de88c7f4655de3f9946333fd4002e4b23749db8
Signed-off-by: Vinay Gannevaram <quic_vganneva@quicinc.com>
2 files changed