FROMLIST: wpa_supplicant: Notify freq change on CH_SWITCH

wpa_supplicant does not send a D-Bus notification of the BSS frequency
change when a CSA happens. Sending a PropertyChanged signal with the
updated frequency will notify the network manager quickly, instead of
waiting for the next scan results.

Signed-off-by: Arowa Suliman <arowa@chromium.org>
(am from https://patchwork.ozlabs.org/patch/1393354/)

BUG=b:164461345, b:168626770
TEST=run the test on grunt (supports CSA):
test CL: go/chromium-review/2495225
tast wifi.CSAUpdateFrequency         [ PASS ]

Change-Id: I35e3c90c5a7701338dd50719425316b4be9d1339
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/hostap/+/2495849
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Matthew Wang <matthewmwang@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Shuo-Peng Liao <deanliao@chromium.org>
Tested-by: Arowa Suliman <arowa@chromium.org>
Commit-Queue: Arowa Suliman <arowa@chromium.org>
3 files changed