diff options
author | Ahmed ElArabawy <arabawy@google.com> | 2019-03-05 18:18:40 -0800 |
---|---|---|
committer | Ahmed ElArabawy <arabawy@google.com> | 2019-03-18 15:58:41 -0700 |
commit | fc49b8693e86fbb01d9703050bbf1c144d974519 (patch) | |
tree | 0c3cb5205b3e78f334df14d14b8973549c6a4662 | |
parent | 18bd84a68a8dd7beaf739dbd2fcc9bfc7f3ee282 (diff) | |
download | libhardware_legacy-fc49b8693e86fbb01d9703050bbf1c144d974519.tar.gz |
Wifi: Add ether_type to sending offloaded packet
This commit is part of the addition of the ether_type as an argument
to the legacy hal function to send an offloaded packet.
Bug: 122487582
Test: Manual
Test: Make sure code builds properly
Change-Id: I5c56acb74f5724ac3d6199433c7632177bfc9704
-rw-r--r-- | include/hardware_legacy/wifi_hal.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/hardware_legacy/wifi_hal.h b/include/hardware_legacy/wifi_hal.h index ec29ec2..60fc6bf 100644 --- a/include/hardware_legacy/wifi_hal.h +++ b/include/hardware_legacy/wifi_hal.h @@ -365,8 +365,9 @@ typedef struct { wifi_error (*wifi_set_lcr) (wifi_request_id id, wifi_interface_handle iface, wifi_lcr_information *lcr); wifi_error (*wifi_start_sending_offloaded_packet)(wifi_request_id id, - wifi_interface_handle iface, u8 *ip_packet, u16 ip_packet_len, - u8 *src_mac_addr, u8 *dst_mac_addr, u32 period_msec); + wifi_interface_handle iface, u16 ether_type, u8 *ip_packet, + u16 ip_packet_len, u8 *src_mac_addr, u8 *dst_mac_addr, + u32 period_msec); wifi_error (*wifi_stop_sending_offloaded_packet)(wifi_request_id id, wifi_interface_handle iface); wifi_error (*wifi_start_rssi_monitoring)(wifi_request_id id, wifi_interface_handle |