summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernie Innocenti <codewiz@google.com>2018-03-12 23:24:05 +0900
committerBernie Innocenti <codewiz@google.com>2018-03-16 03:13:59 +0000
commit8c64fe9b126d6e50ea12f0dd02b5d4716392e076 (patch)
tree8d239868f6c3af325d4567add96ffb6757c32f9b
parent8564c41780d8b1347b989dbc14abdd77947eaa48 (diff)
downloadplatform_hardware_libhardware_legacy-pie-dev.tar.gz
platform_hardware_libhardware_legacy-pie-dev.tar.bz2
platform_hardware_libhardware_legacy-pie-dev.zip
This is used to implement readApfPacketFilterData() for legacy wifi drivers. Bug: 73804303 Test: builds! Change-Id: I562911cc064efec747629628df4eab8128449b51 (cherry picked from commit f70b864ede31e0a3fd7afd7129895dec518052d7)
-rw-r--r--include/hardware_legacy/wifi_hal.h3
1 files changed, 3 insertions, 0 deletions
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,