diff options
author | Ahmed ElArabawy <arabawy@google.com> | 2019-11-15 18:19:15 -0800 |
---|---|---|
committer | Ahmed ElArabawy <arabawy@google.com> | 2019-12-04 18:36:59 -0800 |
commit | fd809fcdfce151d5f948198c88ed35fbcf99c8df (patch) | |
tree | 8669cf99c7891afd20ead70a2480f42995f627b1 /wifi/1.4/default/wifi_ap_iface.cpp | |
parent | 8cdfeb2c1f8ce92f728c969f80871d81e2fa7d14 (diff) |
Wifi: Add 6GHz bands to WifiBand
This commit adds 6GHz band to WifiBand and update the impacted
structures and methods in Wifi HAL.
Note that Background scar related HAL API will not be using the
new band, and will continue with the legacy set of bands.
Bug: 139354972
Test: Manual
Test: VTS test
Test: Unit test: ./hardware/interfaces/wifi/1.4/default/tests/runtests.sh
Change-Id: I54662251034806338ad64d4622ade259ca260a79
Diffstat (limited to 'wifi/1.4/default/wifi_ap_iface.cpp')
-rw-r--r-- | wifi/1.4/default/wifi_ap_iface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wifi/1.4/default/wifi_ap_iface.cpp b/wifi/1.4/default/wifi_ap_iface.cpp index e677f197b8..8777a4cb9c 100644 --- a/wifi/1.4/default/wifi_ap_iface.cpp +++ b/wifi/1.4/default/wifi_ap_iface.cpp @@ -64,7 +64,7 @@ Return<void> WifiApIface::setCountryCode(const hidl_array<int8_t, 2>& code, } Return<void> WifiApIface::getValidFrequenciesForBand( - WifiBand band, getValidFrequenciesForBand_cb hidl_status_cb) { + V1_0::WifiBand band, getValidFrequenciesForBand_cb hidl_status_cb) { return validateAndCall(this, WifiStatusCode::ERROR_WIFI_IFACE_INVALID, &WifiApIface::getValidFrequenciesForBandInternal, hidl_status_cb, band); @@ -100,7 +100,7 @@ WifiStatus WifiApIface::setCountryCodeInternal( } std::pair<WifiStatus, std::vector<WifiChannelInMhz>> -WifiApIface::getValidFrequenciesForBandInternal(WifiBand band) { +WifiApIface::getValidFrequenciesForBandInternal(V1_0::WifiBand band) { static_assert(sizeof(WifiChannelInMhz) == sizeof(uint32_t), "Size mismatch"); legacy_hal::wifi_error legacy_status; |