From 8c64fe9b126d6e50ea12f0dd02b5d4716392e076 Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Mon, 12 Mar 2018 23:24:05 +0900 Subject: [PATCH] Add wifi_read_packet_filter() to the legacy wifi hal This is used to implement readApfPacketFilterData() for legacy wifi drivers. Bug: 73804303 Test: builds! Change-Id: I562911cc064efec747629628df4eab8128449b51 (cherry picked from commit f70b864ede31e0a3fd7afd7129895dec518052d7) --- include/hardware_legacy/wifi_hal.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/hardware_legacy/wifi_hal.h b/include/hardware_legacy/wifi_hal.h index ab343c7..cdf6b48 100644 --- a/include/hardware_legacy/wifi_hal.h +++ b/include/hardware_legacy/wifi_hal.h @@ -453,6 +453,9 @@ typedef struct {     */ wifi_error (*wifi_set_packet_filter)(wifi_interface_handle handle, const u8 *program, u32 len); + wifi_error (*wifi_read_packet_filter)(wifi_interface_handle handle, + u32 src_offset, u8 *host_dst, + u32 length); wifi_error (*wifi_get_roaming_capabilities)(wifi_interface_handle handle, wifi_roaming_capabilities *caps); wifi_error (*wifi_enable_firmware_roaming)(wifi_interface_handle handle,