diff options
author | Bernie Innocenti <codewiz@google.com> | 2018-03-12 23:24:05 +0900 |
---|---|---|
committer | Bernie Innocenti <codewiz@google.com> | 2018-03-16 03:13:59 +0000 |
commit | 8c64fe9b126d6e50ea12f0dd02b5d4716392e076 (patch) | |
tree | 8d239868f6c3af325d4567add96ffb6757c32f9b | |
parent | 8564c41780d8b1347b989dbc14abdd77947eaa48 (diff) | |
download | platform_hardware_libhardware_legacy-pie-dev.tar.gz platform_hardware_libhardware_legacy-pie-dev.tar.bz2 platform_hardware_libhardware_legacy-pie-dev.zip |
Add wifi_read_packet_filter() to the legacy wifi halandroid-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-dev
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.h | 3 |
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, |