[7885] wlbt : Handle APF in HAL
Implementation of APF in HAl to pass vts.
SCSC-Bug-Id: SSB-36057
Signed-off-by: Himani Gupta <himani.g2@samsung.com>
Change-Id: Ia9330acd1f7e46fe244b24865e6cd8abea090812
diff --git a/wifi_hal.cpp b/wifi_hal.cpp
index 2c9b2ec..1c3564a 100755
--- a/wifi_hal.cpp
+++ b/wifi_hal.cpp
@@ -131,6 +131,7 @@
fn->wifi_set_country_code = wifi_set_country_code;
fn->wifi_configure_roaming = wifi_configure_roaming;
fn->wifi_configure_nd_offload = wifi_configure_nd_offload;
+ fn->wifi_get_packet_filter_capabilities = wifi_get_packet_filter_capabilities;
return WIFI_SUCCESS;
}
@@ -974,7 +975,7 @@
}
wifi_error wifi_configure_nd_offload(wifi_interface_handle handle, u8 enable)
-{
+{
SetNdoffloadCommand command(handle, enable);
int ret = command.requestResponse();
if (ret != WIFI_SUCCESS) {
@@ -986,3 +987,17 @@
return (wifi_error)ret;
}
+wifi_error wifi_get_packet_filter_capabilities(wifi_interface_handle handle,
+ u32 *version, u32 *max_len)
+{
+ /*Return success to pass VTS test.*/
+ ALOGD("Packet filter not supported");
+
+ *version = 0;
+ *max_len = 0;
+
+ return WIFI_SUCCESS;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+