qcacld-3.0: Enable qdf hashtable feature
Enable the QDF hashtable feature, recently added in
I07999e5fc8116e67b3850b866ced20af64342055.
Change-Id: I1dcdee7d960e87bda980e3d6e646e22149208dad
CRs-Fixed: 2359334
diff --git a/Kbuild b/Kbuild
index fe1f398..5d5d190 100644
--- a/Kbuild
+++ b/Kbuild
@@ -575,9 +575,11 @@
endif
ifeq ($(CONFIG_QDF_TEST), y)
+ QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_hashtable_test.o
QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_types_test.o
endif
+cppflags-$(CONFIG_QDF_TEST) += -DWLAN_HASHTABLE_TEST
cppflags-$(CONFIG_QDF_TEST) += -DWLAN_TYPES_TEST
############ WBUFF ############
diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c
index b99268a..deb73d8 100644
--- a/core/hdd/src/wlan_hdd_wext.c
+++ b/core/hdd/src/wlan_hdd_wext.c
@@ -66,6 +66,7 @@
#include "qc_sap_ioctl.h"
#include "sme_api.h"
#include "wma_types.h"
+#include "qdf_hashtable_test.h"
#include "qdf_str.h"
#include "qdf_trace.h"
#include "qdf_types_test.h"
@@ -5391,6 +5392,7 @@
struct hdd_ut_entry hdd_ut_entries[] = {
{ .name = "dsc", .callback = dsc_unit_test },
+ { .name = "ht", .callback = qdf_ht_unit_test },
{ .name = "types", .callback = qdf_types_unit_test },
};