wifi: check the candidate security params in the network comparison

When the candiadte security params is changed, the new candidate
security params should be propagated to the native side.

Bug: 195375731
Test: atest FrameworksWifiTests
Change-Id: Ia2c9b9e33106c0dfd77ab6e5195c0e53760010db
2 files changed