Quellcode durchsuchen

qcacld-3.0: Enable qdf_ptr_hash

Enable the recently added type, qdf_ptr_hash, added in
I7f5fc0c59ed220bde43044e7013b3c8573f1bf39.

Change-Id: I090adcb480e4dbce9934d17c82342c5b53cb8c9a
CRs-Fixed: 2421833
Dustin Brown vor 6 Jahren
Ursprung
Commit
92acafe925
2 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 2 0
      Kbuild
  2. 2 0
      core/hdd/src/wlan_hdd_wext.c

+ 2 - 0
Kbuild

@@ -598,6 +598,7 @@ ifeq ($(CONFIG_QDF_TEST), y)
 	QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_delayed_work_test.o
 	QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_hashtable_test.o
 	QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_periodic_work_test.o
+	QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_ptr_hash_test.o
 	QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_slist_test.o
 	QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_talloc_test.o
 	QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_types_test.o
@@ -607,6 +608,7 @@ cppflags-$(CONFIG_TALLOC_DEBUG) += -DWLAN_TALLOC_DEBUG
 cppflags-$(CONFIG_QDF_TEST) += -DWLAN_DELAYED_WORK_TEST
 cppflags-$(CONFIG_QDF_TEST) += -DWLAN_HASHTABLE_TEST
 cppflags-$(CONFIG_QDF_TEST) += -DWLAN_PERIODIC_WORK_TEST
+cppflags-$(CONFIG_QDF_TEST) += -DWLAN_PTR_HASH_TEST
 cppflags-$(CONFIG_QDF_TEST) += -DWLAN_SLIST_TEST
 cppflags-$(CONFIG_QDF_TEST) += -DWLAN_TALLOC_TEST
 cppflags-$(CONFIG_QDF_TEST) += -DWLAN_TYPES_TEST

+ 2 - 0
core/hdd/src/wlan_hdd_wext.c

@@ -70,6 +70,7 @@
 #include "qdf_delayed_work_test.h"
 #include "qdf_hashtable_test.h"
 #include "qdf_periodic_work_test.h"
+#include "qdf_ptr_hash_test.h"
 #include "qdf_slist_test.h"
 #include "qdf_talloc_test.h"
 #include "qdf_str.h"
@@ -5868,6 +5869,7 @@ struct hdd_ut_entry hdd_ut_entries[] = {
 	{ .name = "qdf_ht", .callback = qdf_ht_unit_test },
 	{ .name = "qdf_periodic_work",
 	  .callback = qdf_periodic_work_unit_test },
+	{ .name = "qdf_ptr_hash", .callback = qdf_ptr_hash_unit_test },
 	{ .name = "qdf_slist", .callback = qdf_slist_unit_test },
 	{ .name = "qdf_talloc", .callback = qdf_talloc_unit_test },
 	{ .name = "qdf_types", .callback = qdf_types_unit_test },