Update network capabilities when frequency is changed

When the BSS operating channel frequency changes due to
the channel switch announcement from the AP, the signal poll command
returns the new frequency. Detect the frequency change from
signal poll result & update the network capabilities.

Bug: 253578242
Test: atest com.android.server.wifi.ClientModeImplTest#verifyConnectedModeNetworkCapabilitiesBandwidthUpdate
Test: Manula test - Triggered CSA from AP & confirmed from logs that
network capability is updated.

Change-Id: Id84f4574435fa9fc9f9b653e2f8f8743bb1ec22c
2 files changed