[9610][7885][7872][7570] wlbt: Periodic Offload Fix for Android Q.
authorMohit Ghuley <mohit.ghuley@samsung.com>
Mon, 17 Sep 2018 15:21:06 +0000 (20:51 +0530)
committerTarun Karela <t.karela@samsung.com>
Fri, 17 May 2019 15:39:24 +0000 (16:39 +0100)
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>
wifi_hal.cpp
wifi_offload.cpp [changed mode: 0644->0755]

index abcd1fdd34b93bae502654d375debf7be1bb0e60..8b84febf7a4a82868fdbec6e1fd5d331adc7fbea 100755 (executable)
@@ -172,7 +172,7 @@ wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn *fn)
     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;
old mode 100644 (file)
new mode 100755 (executable)
index 208afb8..f20ce46
@@ -196,7 +196,8 @@ public:
 
 /* 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)