Browse Source

qcacld-3.0: Introduce CONFIG_WLAN_TRACE_HIDE_SSID

Introduce the feature to hide SSID in the logs.
To enable this feature, set CONFIG_WLAN_TRACE_HIDE_SSID to y.
If this feature is enabled, SSID 'my_ssid' will be printed as
'*' in the logs.

Change-Id: I97ef84ecdcbfd1b36b7874cfc30760f5fda5df14
CRs-Fixed: 3294520
Yu Wang 2 years ago
parent
commit
4d9dfe08fd
2 changed files with 2 additions and 0 deletions
  1. 1 0
      Kbuild
  2. 1 0
      configs/default_defconfig

+ 1 - 0
Kbuild

@@ -4055,6 +4055,7 @@ cppflags-$(CONFIG_RXDMA_ERR_PKT_DROP) += -DRXDMA_ERR_PKT_DROP
 cppflags-$(CONFIG_MAX_ALLOC_PAGE_SIZE) += -DMAX_ALLOC_PAGE_SIZE
 cppflags-$(CONFIG_DELIVERY_TO_STACK_STATUS_CHECK) += -DDELIVERY_TO_STACK_STATUS_CHECK
 cppflags-$(CONFIG_WLAN_TRACE_HIDE_MAC_ADDRESS) += -DWLAN_TRACE_HIDE_MAC_ADDRESS
+cppflags-$(CONFIG_WLAN_TRACE_HIDE_SSID) += -DWLAN_TRACE_HIDE_SSID
 cppflags-$(CONFIG_WLAN_FEATURE_11BE) += -DWLAN_FEATURE_11BE
 cppflags-$(CONFIG_WLAN_FEATURE_11BE_MLO) += -DWLAN_FEATURE_11BE_MLO
 cppflags-$(CONFIG_WLAN_FEATURE_11BE_MLO) += -DWLAN_FEATURE_11BE_MLO_ADV_FEATURE

+ 1 - 0
configs/default_defconfig

@@ -725,6 +725,7 @@ CONFIG_REO_DESC_DEFER_FREE := y
 CONFIG_RXDMA_ERR_PKT_DROP := y
 CONFIG_DELIVERY_TO_STACK_STATUS_CHECK := y
 CONFIG_WLAN_TRACE_HIDE_MAC_ADDRESS := n
+CONFIG_WLAN_TRACE_HIDE_SSID := n
 CONFIG_DP_MEM_PRE_ALLOC := y
 CONFIG_FEATURE_GPIO_CFG := y