wifi:  DFS support for Wi-Fi 5GHz frequency channels

The conditional expression is not based on the assumption of DFS channels,
so it is necessary to implement it in a way that can support it.

Flag: EXEMPT bug fix
Bug: 356047810
Test: atest -c WifiNativeTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f7a67049b0af8d4862cd8b4c6b3a66524e2fc612)
Merged-In: I5e78530ad47e1bcb837c41e657a4a6d2eb16d153
Change-Id: I5e78530ad47e1bcb837c41e657a4a6d2eb16d153
2 files changed