diff options
author | Hsiu-Chang Chen <hsiuchangchen@google.com> | 2022-03-18 14:02:52 +0800 |
---|---|---|
committer | Hsiu-Chang Chen <hsiuchangchen@google.com> | 2022-03-18 14:02:52 +0800 |
commit | 65e80a967d40e1bee4be7a9a88da13c0e80f56f1 (patch) | |
tree | 75048644db30ed9838e6957aa20255a77c4745c7 | |
parent | 33e1abf9c225ef58678b415e92993531dac41eb2 (diff) | |
download | wlan-65e80a967d40e1bee4be7a9a88da13c0e80f56f1.tar.gz |
WifiHal: Consider LATENCY_LEVEL attributes as u16.t_frc_odp_330442040t_frc_odp_330442000t_frc_ase_330444010aml_go_odp_330912000aml_go_ads_330915100aml_go_ads_330915000aml_go_ads_330913000android13-mainline-go-adservices-releaseandroid13-frc-odp-releaseandroid13-dev
QCA_WLAN_VENDOR_ATTR_CONFIG_LATENCY_LEVEL is supposed to carry u16
value in the request. Modify their type accordingly.
Bug: 222044962
Test: VTS tests
Change-Id: I7f5da5be31845ce214ef283279ec74d41474433b
-rw-r--r-- | qcwcn/wifi_hal/wificonfig.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qcwcn/wifi_hal/wificonfig.cpp b/qcwcn/wifi_hal/wificonfig.cpp index c6ceb9d..7ff323c 100644 --- a/qcwcn/wifi_hal/wificonfig.cpp +++ b/qcwcn/wifi_hal/wificonfig.cpp @@ -534,7 +534,7 @@ wifi_error wifi_set_latency_mode(wifi_interface_handle handle, goto cleanup; } - if (wifiConfigCommand->put_u32( + if (wifiConfigCommand->put_u16( QCA_WLAN_VENDOR_ATTR_CONFIG_LATENCY_LEVEL, latency_mode)) { ALOGE("wifi_set_latency_mode: failed to put latency mode"); |