From 6fb7a754ca1a199c865582507c8885dba03b08eb Mon Sep 17 00:00:00 2001 From: Dustin Brown Date: Fri, 30 Nov 2018 11:33:57 -0800 Subject: [PATCH] qcacld-3.0: Enable qdf hashtable feature Enable the QDF hashtable feature, recently added in I07999e5fc8116e67b3850b866ced20af64342055. Change-Id: I1dcdee7d960e87bda980e3d6e646e22149208dad CRs-Fixed: 2359334 --- Kbuild | 2 ++ core/hdd/src/wlan_hdd_wext.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Kbuild b/Kbuild index fe1f398039a1..5d5d1902425f 100644 --- a/Kbuild +++ b/Kbuild @@ -575,9 +575,11 @@ ifeq ($(CONFIG_LEAK_DETECTION), y) 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 b99268a95f72..deb73d8a88f1 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 { 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 }, };