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 f70b864ede)
This commit is contained in:
Bernie Innocenti 2018-03-12 23:24:05 +09:00
parent 8564c41780
commit 8c64fe9b12

View file

@ -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,