diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2020-02-22 03:14:03 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-02-22 03:14:03 +0000 |
commit | 1de794fb64fede891e25c95ef99cce75d2200ab6 (patch) | |
tree | 1863de2b6f4d423659844f114fa2e4edb3f988db | |
parent | 18f068246fb54088a2071f4962ca9d054e67e64c (diff) | |
parent | 22f705057482747bd4b7c5f3e9d60a12a4558257 (diff) | |
download | platform_hardware_libhardware_legacy-android11-s1-release.tar.gz platform_hardware_libhardware_legacy-android11-s1-release.tar.bz2 platform_hardware_libhardware_legacy-android11-s1-release.zip |
Snap for 6227479 from 22f705057482747bd4b7c5f3e9d60a12a4558257 to rvc-releaseandroid-vts-11.0_r5android-vts-11.0_r4android-vts-11.0_r3android-vts-11.0_r2android-vts-11.0_r1android-security-11.0.0_r1android-platform-11.0.0_r9android-platform-11.0.0_r8android-platform-11.0.0_r7android-platform-11.0.0_r6android-platform-11.0.0_r5android-platform-11.0.0_r4android-platform-11.0.0_r3android-platform-11.0.0_r2android-platform-11.0.0_r10android-platform-11.0.0_r1android-cts-11.0_r5android-cts-11.0_r4android-cts-11.0_r3android-cts-11.0_r2android-cts-11.0_r1android-11.0.0_r5android-11.0.0_r4android-11.0.0_r3android-11.0.0_r25android-11.0.0_r2android-11.0.0_r17android-11.0.0_r1android11-tests-releaseandroid11-security-releaseandroid11-s1-releaseandroid11-releaseandroid11-platform-releaseandroid11-gsi
Change-Id: I945e08554c265809aa38c5bb440d65240ab585e5
-rw-r--r-- | include/hardware_legacy/wifi_hal.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/hardware_legacy/wifi_hal.h b/include/hardware_legacy/wifi_hal.h index 6d87802..5dabeb6 100644 --- a/include/hardware_legacy/wifi_hal.h +++ b/include/hardware_legacy/wifi_hal.h @@ -110,6 +110,13 @@ typedef enum { WIFI_ERROR_BUSY = -10, } wifi_error; +typedef enum { + WIFI_ACCESS_CATEGORY_BEST_EFFORT = 0, + WIFI_ACCESS_CATEGORY_BACKGROUND = 1, + WIFI_ACCESS_CATEGORY_VIDEO = 2, + WIFI_ACCESS_CATEGORY_VOICE = 3 +} wifi_access_category; + typedef unsigned char byte; typedef unsigned char u8; typedef signed char s8; @@ -246,6 +253,10 @@ wifi_error wifi_set_nodfs_flag(wifi_interface_handle handle, u32 nodfs); wifi_error wifi_select_tx_power_scenario(wifi_interface_handle handle, wifi_power_scenario scenario); wifi_error wifi_reset_tx_power_scenario(wifi_interface_handle handle); wifi_error wifi_set_latency_mode(wifi_interface_handle handle, wifi_latency_mode mode); +wifi_error wifi_map_dscp_access_category(wifi_handle handle, + uint32_t start, uint32_t end, + uint32_t access_category); +wifi_error wifi_reset_dscp_mapping(wifi_handle handle); /** * Wifi HAL Thermal Mitigation API @@ -533,6 +544,10 @@ typedef struct { wifi_error (*wifi_set_thermal_mitigation_mode)(wifi_handle handle, wifi_thermal_mode mode, u32 completion_window); + wifi_error (*wifi_map_dscp_access_category)(wifi_handle handle, + u32 start, u32 end, + u32 access_category); + wifi_error (*wifi_reset_dscp_mapping)(wifi_handle handle); wifi_error (*wifi_virtual_interface_create)(wifi_handle handle, const char* ifname, wifi_interface_type iface_type); |