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 }, };