[9610][7885][7872][7570] wlbt: Periodic Offload Fix for Android Q.

Wifi HAL API : wifi_start_sending_offloaded_packet has
been updated with addition of one more parameter named
ether_type in Android Q.

Change-Id: Icab59382ae5c6a1a76702a25f9ade7de9eea7014
SCSC-Bug-Id: SSB-52835
Signed-off-by: Mohit Ghuley <mohit.ghuley@samsung.com>
diff --git a/wifi_hal.cpp b/wifi_hal.cpp
index abcd1fd..8b84feb 100755
--- a/wifi_hal.cpp
+++ b/wifi_hal.cpp
@@ -172,7 +172,7 @@
     fn->wifi_rtt_range_cancel = wifi_rtt_range_cancel;
     fn->wifi_get_rtt_capabilities = wifi_get_rtt_capabilities;
     fn->wifi_set_nodfs_flag = wifi_set_nodfs_flag;
-//fn->wifi_start_sending_offloaded_packet = wifi_start_sending_offloaded_packet;
+    fn->wifi_start_sending_offloaded_packet = wifi_start_sending_offloaded_packet;
     fn->wifi_stop_sending_offloaded_packet = wifi_stop_sending_offloaded_packet;
     fn->wifi_set_epno_list = wifi_set_epno_list;
     fn->wifi_reset_epno_list = wifi_reset_epno_list;
diff --git a/wifi_offload.cpp b/wifi_offload.cpp
old mode 100644
new mode 100755
index 208afb8..f20ce46
--- a/wifi_offload.cpp
+++ b/wifi_offload.cpp
@@ -196,7 +196,8 @@
 
 /* API to send specified mkeep_alive packet periodically. */
 wifi_error wifi_start_sending_offloaded_packet(wifi_request_id index, wifi_interface_handle iface,
-        u8 *ip_packet, u16 ip_packet_len, u8 *src_mac_addr, u8 *dst_mac_addr, u32 period_msec)
+        u16 ether_type, u8 *ip_packet, u16 ip_packet_len, u8 *src_mac_addr, u8 *dst_mac_addr,
+        u32 period_msec)
 {
     if ((index > 0 && index <= N_AVAIL_ID) && (ip_packet != NULL) && (src_mac_addr != NULL)
             && (dst_mac_addr != NULL) && (period_msec > 0)