From 5c083da1763bd4a62df65009bd7b35f06d6f32fb Mon Sep 17 00:00:00 2001 From: Nirav Shah Date: Fri, 3 Aug 2018 13:46:02 +0530 Subject: [PATCH] qcacld-3.0: Remove hardcoded print message for ini parameters Remove hardcoded print message for ini parameters during insmod and use hdd_cfg_get_global_config to print ini parameters. Change-Id: I3ac077818e99c461866211e220232fa6c0e3e00d CRs-Fixed: 2278888 --- core/hdd/inc/wlan_hdd_cfg.h | 6 +- core/hdd/inc/wlan_hdd_he.h | 12 - core/hdd/inc/wlan_hdd_twt.h | 12 - core/hdd/src/wlan_hdd_cfg.c | 1253 +------------------------- core/hdd/src/wlan_hdd_green_ap.c | 14 - core/hdd/src/wlan_hdd_green_ap.h | 15 - core/hdd/src/wlan_hdd_he.c | 12 - core/hdd/src/wlan_hdd_main.c | 2 +- core/hdd/src/wlan_hdd_nud_tracking.c | 7 - core/hdd/src/wlan_hdd_nud_tracking.h | 12 - core/hdd/src/wlan_hdd_twt.c | 8 - 11 files changed, 48 insertions(+), 1305 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index 909e46e98d56..014b13b1f59d 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -14874,8 +14874,8 @@ QDF_STATUS hdd_set_sme_config(struct hdd_context *hdd_ctx); QDF_STATUS hdd_set_policy_mgr_user_cfg(struct hdd_context *hdd_ctx); QDF_STATUS hdd_set_sme_chan_list(struct hdd_context *hdd_ctx); bool hdd_update_config_cfg(struct hdd_context *hdd_ctx); -QDF_STATUS hdd_cfg_get_global_config(struct hdd_context *hdd_ctx, char *pBuf, - int buflen); +void hdd_cfg_get_global_config(struct hdd_context *hdd_ctx, char *buf, + int buflen); eCsrPhyMode hdd_cfg_xlate_to_csr_phy_mode(enum hdd_dot11_mode dot11Mode); QDF_STATUS hdd_execute_global_config_command(struct hdd_context *hdd_ctx, @@ -14906,7 +14906,7 @@ QDF_STATUS hdd_string_to_u8_array(char *str, uint8_t *array, QDF_STATUS hdd_hex_string_to_u16_array(char *str, uint16_t *int_array, uint8_t *len, uint8_t int_array_max_len); -void hdd_cfg_print(struct hdd_context *hdd_ctx); +void hdd_cfg_print_global_config(struct hdd_context *hdd_ctx); QDF_STATUS hdd_update_nss(struct hdd_adapter *adapter, uint8_t nss); diff --git a/core/hdd/inc/wlan_hdd_he.h b/core/hdd/inc/wlan_hdd_he.h index 79f4e8ca046c..dfa85f66087c 100644 --- a/core/hdd/inc/wlan_hdd_he.h +++ b/core/hdd/inc/wlan_hdd_he.h @@ -93,14 +93,6 @@ void hdd_update_tgt_he_cap(struct hdd_context *hdd_ctx, void wlan_hdd_check_11ax_support(struct hdd_beacon_data *beacon, struct sap_config *config); -/** - * hdd_he_print_ini_config()- Print 11AX(HE) specific INI configuration - * @hdd_ctx: handle to hdd context - * - * Return: None - */ -void hdd_he_print_ini_config(struct hdd_context *hdd_ctx); - /** * hdd_update_he_cap_in_cfg() - update HE cap in global CFG * @hdd_ctx: pointer to hdd context @@ -154,10 +146,6 @@ static inline void wlan_hdd_check_11ax_support(struct hdd_beacon_data *beacon, { } -static inline void hdd_he_print_ini_config(struct hdd_context *hdd_ctx) -{ -} - static inline int hdd_update_he_cap_in_cfg(struct hdd_context *hdd_ctx) { return 0; diff --git a/core/hdd/inc/wlan_hdd_twt.h b/core/hdd/inc/wlan_hdd_twt.h index 7a181c75853f..81e0435e78c2 100644 --- a/core/hdd/inc/wlan_hdd_twt.h +++ b/core/hdd/inc/wlan_hdd_twt.h @@ -64,14 +64,6 @@ enum twt_status { TWT_CLOSED, }; -/** - * hdd_twt_print_ini_config() - Print TWT INI config items - * @hdd_ctx: HDD Context - * - * Return: None - */ -void hdd_twt_print_ini_config(struct hdd_context *hdd_ctx); - /** * hdd_update_tgt_twt_cap() - Update TWT target capabilities * @hdd_ctx: HDD Context @@ -113,10 +105,6 @@ void wlan_hdd_twt_init(struct hdd_context *hdd_ctx); void wlan_hdd_twt_deinit(struct hdd_context *hdd_ctx); #else -static inline void hdd_twt_print_ini_config(struct hdd_context *hdd_ctx) -{ -} - static inline void hdd_update_tgt_twt_cap(struct hdd_context *hdd_ctx, struct wma_tgt_cfg *cfg) { diff --git a/core/hdd/src/wlan_hdd_cfg.c b/core/hdd/src/wlan_hdd_cfg.c index f7203940561f..9e745f59d469 100644 --- a/core/hdd/src/wlan_hdd_cfg.c +++ b/core/hdd/src/wlan_hdd_cfg.c @@ -5344,32 +5344,25 @@ static char *i_trim(char *str) * @cRegTableEntries: number of the configuration entries * @ini_struct: pointer to the hdd config knob * @hdd_ctx: pointer to hdd context - * @pBuf: buffer to store the configuration - * @buflen: size of the buffer + * @print_fn: print function pointer * - * Return: QDF_STATUS_SUCCESS if the configuration and buffer size can carry - * the content, otherwise QDF_STATUS_E_RESOURCES + * Return: none */ -static QDF_STATUS hdd_cfg_get_config(struct reg_table_entry *reg_table, - unsigned long cRegTableEntries, - uint8_t *ini_struct, - struct hdd_context *hdd_ctx, char *pBuf, - int buflen) +static void hdd_cfg_get_config(struct reg_table_entry *reg_table, + unsigned long cRegTableEntries, + uint8_t *ini_struct, struct hdd_context *hdd_ctx, + void (*print_fn)(const char *)) { unsigned int idx; struct reg_table_entry *pRegEntry = reg_table; uint32_t value; char valueStr[CFG_VALUE_MAX_LEN]; - char configStr[CFG_ENTRY_MAX_LEN]; + char config_str[CFG_ENTRY_MAX_LEN]; char *fmt; void *pField; struct qdf_mac_addr *pMacAddr; - char *pCur = pBuf; int curlen; - /* start with an empty string */ - *pCur = '\0'; - for (idx = 0; idx < cRegTableEntries; idx++, pRegEntry++) { pField = ini_struct + pRegEntry->VarOffset; @@ -5413,41 +5406,15 @@ static QDF_STATUS hdd_cfg_get_config(struct reg_table_entry *reg_table, } else { snprintf(valueStr, CFG_VALUE_MAX_LEN, "(unhandled)"); } - curlen = scnprintf(configStr, CFG_ENTRY_MAX_LEN, - "%s=[%s]%s\n", + curlen = scnprintf(config_str, CFG_ENTRY_MAX_LEN, + "%s=%s%s\n", pRegEntry->RegName, valueStr, test_bit(idx, (void *)&hdd_ctx->config-> bExplicitCfg) ? "*" : ""); - - /* Ideally we want to return the config to the application, - * however the config is too big so we just printk() for now - */ -#ifdef RETURN_IN_BUFFER - if (curlen < buflen) { - /* copy string + '\0' */ - memcpy(pCur, configStr, curlen + 1); - - /* account for addition; */ - pCur += curlen; - buflen -= curlen; - } else { - /* buffer space exhausted, return what we have */ - return QDF_STATUS_E_RESOURCES; - } -#else - printk(KERN_INFO "%s", configStr); -#endif /* RETURN_IN_BUFFER */ - + (*print_fn)(config_str); } - -#ifndef RETURN_IN_BUFFER - /* notify application that output is in system log */ - snprintf(pCur, buflen, "WLAN configuration written to system log"); -#endif /* RETURN_IN_BUFFER */ - - return QDF_STATUS_SUCCESS; } /** struct hdd_cfg_entry - ini configuration entry @@ -6019,1164 +5986,6 @@ static void hdd_set_power_save_offload_config(struct hdd_context *hdd_ctx) } -#ifdef FEATURE_RUNTIME_PM -static void hdd_cfg_print_runtime_pm(struct hdd_context *hdd_ctx) -{ - hdd_debug("Name = [gRuntimePM] Value = [%u] ", - hdd_ctx->config->runtime_pm); - - hdd_debug("Name = [gRuntimePMDelay] Value = [%u] ", - hdd_ctx->config->runtime_pm_delay); -} -#else -static void hdd_cfg_print_runtime_pm(struct hdd_context *hdd_ctx) -{ -} -#endif - -/** - * hdd_per_roam_print_ini_config()- Print PER roam specific INI configuration - * @hdd_ctx: handle to hdd context - * - * Return: None - */ -static void hdd_per_roam_print_ini_config(struct hdd_context *hdd_ctx) -{ - hdd_debug("Name = [%s] Value = [%u]", - CFG_PER_ROAM_ENABLE_NAME, - hdd_ctx->config->is_per_roam_enabled); - hdd_debug("Name = [%s] Value = [%u]", - CFG_PER_ROAM_CONFIG_HIGH_RATE_TH_NAME, - hdd_ctx->config->per_roam_high_rate_threshold); - hdd_debug("Name = [%s] Value = [%u]", - CFG_PER_ROAM_CONFIG_LOW_RATE_TH_NAME, - hdd_ctx->config->per_roam_low_rate_threshold); - hdd_debug("Name = [%s] Value = [%u]", - CFG_PER_ROAM_CONFIG_RATE_TH_PERCENT_NAME, - hdd_ctx->config->per_roam_th_percent); - hdd_debug("Name = [%s] Value = [%u]", - CFG_PER_ROAM_REST_TIME_NAME, - hdd_ctx->config->per_roam_rest_time); - hdd_debug("Name = [%s] Value = [%u]", - CFG_PER_ROAM_MONITOR_TIME, - hdd_ctx->config->per_roam_mon_time); - hdd_debug("Name = [%s] Value = [%u]", - CFG_PER_ROAM_MIN_CANDIDATE_RSSI, - hdd_ctx->config->min_candidate_rssi); -} - -static void hdd_mawc_cfg_log(struct hdd_context *hdd_ctx) -{ - hdd_debug("Name = [MAWCEnabled] Value = [%u] ", - hdd_ctx->config->MAWCEnabled); - hdd_debug("Name = [%s] Value = [%u] ", - CFG_MAWC_ROAM_ENABLED_NAME, - hdd_ctx->config->mawc_roam_enabled); - hdd_debug("Name = [%s] Value = [%u] ", - CFG_MAWC_ROAM_TRAFFIC_THRESHOLD_NAME, - hdd_ctx->config->mawc_roam_traffic_threshold); - hdd_debug("Name = [%s] Value = [%d] ", - CFG_MAWC_ROAM_AP_RSSI_THRESHOLD_NAME, - hdd_ctx->config->mawc_roam_ap_rssi_threshold); - hdd_debug("Name = [%s] Value = [%u] ", - CFG_MAWC_ROAM_RSSI_HIGH_ADJUST_NAME, - hdd_ctx->config->mawc_roam_rssi_high_adjust); - hdd_debug("Name = [%s] Value = [%u] ", - CFG_MAWC_ROAM_RSSI_LOW_ADJUST_NAME, - hdd_ctx->config->mawc_roam_rssi_low_adjust); -} - -/** - * hdd_cfg_print_ie_whitelist_attrs() - print the ie whitelist attrs - * @hdd_ctx: pointer to hdd context - * - * Return: None - */ -static void hdd_cfg_print_ie_whitelist_attrs(struct hdd_context *hdd_ctx) -{ - hdd_debug("Name = [%s] Value = [%x] ", - CFG_PRB_REQ_IE_WHITELIST_NAME, - hdd_ctx->config->probe_req_ie_whitelist); - hdd_debug("Name = [%s] Value = [%x] ", - CFG_PRB_REQ_IE_BIT_MAP0_NAME, - hdd_ctx->config->probe_req_ie_bitmap_0); - hdd_debug("Name = [%s] Value = [%x] ", - CFG_PRB_REQ_IE_BIT_MAP1_NAME, - hdd_ctx->config->probe_req_ie_bitmap_1); - hdd_debug("Name = [%s] Value = [%x] ", - CFG_PRB_REQ_IE_BIT_MAP2_NAME, - hdd_ctx->config->probe_req_ie_bitmap_2); - hdd_debug("Name = [%s] Value = [%x] ", - CFG_PRB_REQ_IE_BIT_MAP3_NAME, - hdd_ctx->config->probe_req_ie_bitmap_3); - hdd_debug("Name = [%s] Value = [%x] ", - CFG_PRB_REQ_IE_BIT_MAP4_NAME, - hdd_ctx->config->probe_req_ie_bitmap_4); - hdd_debug("Name = [%s] Value = [%x] ", - CFG_PRB_REQ_IE_BIT_MAP5_NAME, - hdd_ctx->config->probe_req_ie_bitmap_5); - hdd_debug("Name = [%s] Value = [%x] ", - CFG_PRB_REQ_IE_BIT_MAP6_NAME, - hdd_ctx->config->probe_req_ie_bitmap_6); - hdd_debug("Name = [%s] Value = [%x] ", - CFG_PRB_REQ_IE_BIT_MAP7_NAME, - hdd_ctx->config->probe_req_ie_bitmap_7); - hdd_debug("Name = [%s] Value =[%s]", - CFG_PROBE_REQ_OUI_NAME, - hdd_ctx->config->probe_req_ouis); -} - -static void hdd_wlm_cfg_log(struct hdd_context *hdd_ctx) -{ - hdd_debug("Name = [%s] value = [%u]", - CFG_LATENCY_ENABLE_NAME, - hdd_ctx->config->wlm_latency_enable); - hdd_debug("Name = [%s] value = [%u]", - CFG_LATENCY_LEVEL_NAME, - hdd_ctx->config->wlm_latency_level); - hdd_debug("Name = [%s] value = [%u]", - CFG_LATENCY_FLAGS_NORMAL_NAME, - hdd_ctx->config->wlm_latency_flags_normal); - hdd_debug("Name = [%s] value = [%u]", - CFG_LATENCY_FLAGS_MODERATE_NAME, - hdd_ctx->config->wlm_latency_flags_moderate); - hdd_debug("Name = [%s] value = [%u]", - CFG_LATENCY_FLAGS_LOW_NAME, - hdd_ctx->config->wlm_latency_flags_low); - hdd_debug("Name = [%s] value = [%u]", - CFG_LATENCY_FLAGS_ULTRALOW_NAME, - hdd_ctx->config->wlm_latency_flags_ultralow); -} - -#ifdef WLAN_FEATURE_SAE -static void hdd_cfg_print_sae(struct hdd_context *hdd_ctx) -{ - hdd_debug("Name = [%s] value = [%u]", - CFG_IS_SAE_ENABLED_NAME, - hdd_ctx->config->is_sae_enabled); -} -#else -static void hdd_cfg_print_sae(struct hdd_context *hdd_ctx) -{ -} -#endif - - -#ifdef CONFIG_DP_TRACE -static void hdd_cfg_print_dp_trace_params(struct hdd_context *hdd_ctx) -{ - hdd_debug("Name = [%s] Value = [%u]", - CFG_ENABLE_DP_TRACE, - hdd_ctx->config->enable_dp_trace); - hdd_debug("Name = [%s] Value = [%s]", - CFG_ENABLE_DP_TRACE_CONFIG, - hdd_ctx->config->dp_trace_config); -} -#else -static void hdd_cfg_print_dp_trace_params(struct hdd_context *hdd_ctx) -{ -} -#endif - -/** - * hdd_cgf_print_11k_offload_params() - Print 11k offload related parameters - * @hdd_ctx: Pointer to HDD context - * - * Return: None - */ -static -void hdd_cfg_print_11k_offload_params(struct hdd_context *hdd_ctx) -{ - hdd_debug("Name = [%s] value = [%u]", - CFG_OFFLOAD_11K_ENABLE_BITMASK_NAME, - hdd_ctx->config->offload_11k_enable_bitmask); - hdd_debug("Name = [%s] value = [%u]", - CFG_OFFLOAD_NEIGHBOR_REPORT_PARAMS_BITMASK_NAME, - hdd_ctx->config->neighbor_report_offload_params_bitmask); - hdd_debug("Name = [%s] value = [%u]", - CFG_OFFLOAD_NEIGHBOR_REPORT_TIME_OFFSET_NAME, - hdd_ctx->config->neighbor_report_offload_time_offset); - hdd_debug("Name = [%s] value = [%u]", - CFG_OFFLOAD_NEIGHBOR_REPORT_LOW_RSSI_OFFSET_NAME, - hdd_ctx->config->neighbor_report_offload_low_rssi_offset); - hdd_debug("Name = [%s] value = [%u]", - CFG_OFFLOAD_NEIGHBOR_REPORT_BMISS_COUNT_TRIGGER_NAME, - hdd_ctx->config->neighbor_report_offload_bmiss_count_trigger); - hdd_debug("Name = [%s] value = [%u]", - CFG_OFFLOAD_NEIGHBOR_REPORT_PER_THRESHOLD_OFFSET_NAME, - hdd_ctx->config-> - neighbor_report_offload_per_threshold_offset); - hdd_debug("Name = [%s] value = [%u]", - CFG_OFFLOAD_NEIGHBOR_REPORT_CACHE_TIMEOUT_NAME, - hdd_ctx->config->neighbor_report_offload_cache_timeout); - hdd_debug("Name = [%s] value = [%u]", - CFG_OFFLOAD_NEIGHBOR_REPORT_MAX_REQ_CAP_NAME, - hdd_ctx->config->neighbor_report_offload_max_req_cap); -} - -/** - * hdd_cfg_print_action_oui() - print the action OUI configurations - * @hdd_ctx: pointer to the HDD context - * - * Return: None - */ -static void hdd_cfg_print_action_oui(struct hdd_context *hdd_ctx) -{ - struct hdd_config *config = hdd_ctx->config; - - hdd_debug("Name = [%s] value = [%u]", - CFG_ENABLE_ACTION_OUI, - config->action_oui_enable); - - hdd_debug("Name = [%s] value = [%s]", - CFG_ACTION_OUI_CONNECT_1X1_NAME, - config->action_oui_str[ACTION_OUI_CONNECT_1X1]); - - hdd_debug("Name = [%s] value = [%s]", - CFG_ACTION_OUI_ITO_EXTENSION_NAME, - config->action_oui_str[ACTION_OUI_ITO_EXTENSION]); - - hdd_debug("Name = [%s] value = [%s]", - CFG_ACTION_OUI_CCKM_1X1_NAME, - config->action_oui_str[ACTION_OUI_CCKM_1X1]); - - hdd_debug("Name = [%s] value = [%s]", - CFG_ACTION_OUI_ITO_ALTERNATE_NAME, - config->action_oui_str[ACTION_OUI_ITO_ALTERNATE]); - - hdd_debug("Name = [%s] value = [%s]", - CFG_ACTION_OUI_SWITCH_TO_11N_MODE_NAME, - config->action_oui_str[ACTION_OUI_SWITCH_TO_11N_MODE]); - - hdd_debug("Name = [%s] value = [%s]", - CFG_ACTION_OUI_CONNECT_1X1_WITH_1_CHAIN_NAME, - config->action_oui_str[ACTION_OUI_CONNECT_1X1_WITH_1_CHAIN]); -} - -/** - * hdd_cfg_print() - print the hdd configuration - * @iniTable: pointer to hdd context - * - * Return: None - */ -void hdd_cfg_print(struct hdd_context *hdd_ctx) -{ - int i; - - hdd_debug("*********Config values in HDD Adapter*******"); - hdd_debug("Name = [RTSThreshold] Value = %u", - hdd_ctx->config->RTSThreshold); - hdd_debug("Name = [OperatingChannel] Value = [%u]", - hdd_ctx->config->OperatingChannel); - hdd_debug("Name = [PowerUsageControl] Value = [%s]", - hdd_ctx->config->PowerUsageControl); - hdd_debug("Name = [fIsImpsEnabled] Value = [%u]", - hdd_ctx->config->fIsImpsEnabled); - hdd_debug("Name = [nVccRssiTrigger] Value = [%u]", - hdd_ctx->config->nVccRssiTrigger); - hdd_debug("Name = [gIbssBssid] Value =[" MAC_ADDRESS_STR "]", - MAC_ADDR_ARRAY(hdd_ctx->config->IbssBssid.bytes)); - - for (i = 0; i < QDF_MAX_CONCURRENCY_PERSONA; i++) { - hdd_debug("Name = [Intf%dMacAddress] Value =[" MAC_ADDRESS_STR "]", - i, MAC_ADDR_ARRAY(hdd_ctx->config->intfMacAddr[i].bytes)); - } - - hdd_debug("Name = [gApEnableUapsd] value = [%u]", - hdd_ctx->config->apUapsdEnabled); - - hdd_debug("Name = [gEnableApProt] value = [%u]", - hdd_ctx->config->apProtEnabled); -#ifdef FEATURE_WLAN_MCC_TO_SCC_SWITCH - hdd_debug("Name = [gWlanMccToSccSwitchMode] Value = [%u]", - hdd_ctx->config->WlanMccToSccSwitchMode); -#endif -#ifdef FEATURE_WLAN_AUTO_SHUTDOWN - hdd_debug("Name = [gWlanAutoShutdown] Value = [%u]", - hdd_ctx->config->WlanAutoShutdown); -#endif - hdd_debug("Name = [gApProtection] value = [%u]", - hdd_ctx->config->apProtection); - hdd_debug("Name = [gEnableApOBSSProt] value = [%u]", - hdd_ctx->config->apOBSSProtEnabled); -#ifdef FEATURE_AP_MCC_CH_AVOIDANCE - hdd_debug("Name = [sap_channel_avoidance] value = [%u]", - hdd_ctx->config->sap_channel_avoidance); -#endif /* FEATURE_AP_MCC_CH_AVOIDANCE */ - hdd_debug("Name = [%s] value = [%u]", CFG_SAP_11AC_OVERRIDE_NAME, - hdd_ctx->config->sap_11ac_override); - hdd_debug("Name = [%s] value = [%u]", CFG_GO_11AC_OVERRIDE_NAME, - hdd_ctx->config->go_11ac_override); - hdd_debug("Name = [ChannelBondingMode] Value = [%u]", - hdd_ctx->config->nChannelBondingMode24GHz); - hdd_debug("Name = [%s] Value = [%u] ", - CFG_OVERRIDE_HT40_20_24GHZ_NAME, - hdd_ctx->config->override_ht20_40_24g); - hdd_debug("Name = [ChannelBondingMode] Value = [%u]", - hdd_ctx->config->nChannelBondingMode5GHz); - hdd_debug("Name = [dot11Mode] Value = [%u]", - hdd_ctx->config->dot11Mode); - hdd_debug("Name = [WmmMode] Value = [%u] ", hdd_ctx->config->WmmMode); - hdd_debug("Name = [UapsdMask] Value = [0x%x] ", - hdd_ctx->config->UapsdMask); - hdd_debug("Name = [ImplicitQosIsEnabled] Value = [%u]", - (int)hdd_ctx->config->bImplicitQosEnabled); - - hdd_debug("Name = [InfraUapsdVoSrvIntv] Value = [%u] ", - hdd_ctx->config->InfraUapsdVoSrvIntv); - hdd_debug("Name = [InfraUapsdVoSuspIntv] Value = [%u] ", - hdd_ctx->config->InfraUapsdVoSuspIntv); - - hdd_debug("Name = [InfraUapsdViSrvIntv] Value = [%u] ", - hdd_ctx->config->InfraUapsdViSrvIntv); - hdd_debug("Name = [InfraUapsdViSuspIntv] Value = [%u] ", - hdd_ctx->config->InfraUapsdViSuspIntv); - - hdd_debug("Name = [InfraUapsdBeSrvIntv] Value = [%u] ", - hdd_ctx->config->InfraUapsdBeSrvIntv); - hdd_debug("Name = [InfraUapsdBeSuspIntv] Value = [%u] ", - hdd_ctx->config->InfraUapsdBeSuspIntv); - - hdd_debug("Name = [InfraUapsdBkSrvIntv] Value = [%u] ", - hdd_ctx->config->InfraUapsdBkSrvIntv); - hdd_debug("Name = [InfraUapsdBkSuspIntv] Value = [%u] ", - hdd_ctx->config->InfraUapsdBkSuspIntv); -#ifdef FEATURE_WLAN_ESE - hdd_debug("Name = [InfraInactivityInterval] Value = [%u] ", - hdd_ctx->config->InfraInactivityInterval); - hdd_debug("Name = [EseEnabled] Value = [%u] ", - hdd_ctx->config->isEseIniFeatureEnabled); - hdd_debug("Name = [FastTransitionEnabled] Value = [%u] ", - hdd_ctx->config->isFastTransitionEnabled); - hdd_debug("Name = [gTxPowerCap] Value = [%u] dBm ", - hdd_ctx->config->nTxPowerCap); -#endif - hdd_debug("Name = [gAllowTPCfromAP] Value = [%u] ", - hdd_ctx->config->allow_tpc_from_ap); - hdd_debug("Name = [FastRoamEnabled] Value = [%u] ", - hdd_ctx->config->isFastRoamIniFeatureEnabled); - hdd_mawc_cfg_log(hdd_ctx); - hdd_debug("Name = [RoamRssiDiff] Value = [%u] ", - hdd_ctx->config->RoamRssiDiff); - hdd_debug("Name = [%s] Value = [%u] ", CFG_ROAM_RSSI_ABS_THRESHOLD_NAME, - hdd_ctx->config->rssi_abs_thresh); - hdd_debug("Name = [isWESModeEnabled] Value = [%u] ", - hdd_ctx->config->isWESModeEnabled); - hdd_debug("Name = [pmkidModes] Value = [0x%x] ", - hdd_ctx->config->pmkid_modes); -#ifdef FEATURE_WLAN_SCAN_PNO - hdd_debug("Name = [configPNOScanSupport] Value = [%u] ", - hdd_ctx->config->configPNOScanSupport); - hdd_debug("Name = [configPNOScanTimerRepeatValue] Value = [%u] ", - hdd_ctx->config->configPNOScanTimerRepeatValue); - hdd_debug("Name = [gPNOSlowScanMultiplier] Value = [%u] ", - hdd_ctx->config->pno_slow_scan_multiplier); -#endif - hdd_debug("Name = [InfraDirAcVo] Value = [%u] ", - hdd_ctx->config->InfraDirAcVo); - hdd_debug("Name = [InfraNomMsduSizeAcVo] Value = [0x%x] ", - hdd_ctx->config->InfraNomMsduSizeAcVo); - hdd_debug("Name = [InfraMeanDataRateAcVo] Value = [0x%x] ", - hdd_ctx->config->InfraMeanDataRateAcVo); - hdd_debug("Name = [InfraMinPhyRateAcVo] Value = [0x%x] ", - hdd_ctx->config->InfraMinPhyRateAcVo); - hdd_debug("Name = [InfraSbaAcVo] Value = [0x%x] ", - hdd_ctx->config->InfraSbaAcVo); - - hdd_debug("Name = [InfraDirAcVi] Value = [%u] ", - hdd_ctx->config->InfraDirAcVi); - hdd_debug("Name = [InfraNomMsduSizeAcVi] Value = [0x%x] ", - hdd_ctx->config->InfraNomMsduSizeAcVi); - hdd_debug("Name = [InfraMeanDataRateAcVi] Value = [0x%x] ", - hdd_ctx->config->InfraMeanDataRateAcVi); - hdd_debug("Name = [InfraMinPhyRateAcVi] Value = [0x%x] ", - hdd_ctx->config->InfraMinPhyRateAcVi); - hdd_debug("Name = [InfraSbaAcVi] Value = [0x%x] ", - hdd_ctx->config->InfraSbaAcVi); - - hdd_debug("Name = [InfraDirAcBe] Value = [%u] ", - hdd_ctx->config->InfraDirAcBe); - hdd_debug("Name = [InfraNomMsduSizeAcBe] Value = [0x%x] ", - hdd_ctx->config->InfraNomMsduSizeAcBe); - hdd_debug("Name = [InfraMeanDataRateAcBe] Value = [0x%x] ", - hdd_ctx->config->InfraMeanDataRateAcBe); - hdd_debug("Name = [InfraMinPhyRateAcBe] Value = [0x%x] ", - hdd_ctx->config->InfraMinPhyRateAcBe); - hdd_debug("Name = [InfraSbaAcBe] Value = [0x%x] ", - hdd_ctx->config->InfraSbaAcBe); - - hdd_debug("Name = [InfraDirAcBk] Value = [%u] ", - hdd_ctx->config->InfraDirAcBk); - hdd_debug("Name = [InfraNomMsduSizeAcBk] Value = [0x%x] ", - hdd_ctx->config->InfraNomMsduSizeAcBk); - hdd_debug("Name = [InfraMeanDataRateAcBk] Value = [0x%x] ", - hdd_ctx->config->InfraMeanDataRateAcBk); - hdd_debug("Name = [InfraMinPhyRateAcBk] Value = [0x%x] ", - hdd_ctx->config->InfraMinPhyRateAcBk); - hdd_debug("Name = [InfraSbaAcBk] Value = [0x%x] ", - hdd_ctx->config->InfraSbaAcBk); - - hdd_debug("Name = [DelayedTriggerFrmInt] Value = [%u] ", - hdd_ctx->config->DelayedTriggerFrmInt); - hdd_debug("Name = [fhostArpOffload] Value = [%u] ", - hdd_ctx->config->fhostArpOffload); - hdd_debug("Name = [%s] Value = [%u]", - CFG_HW_FILTER_MODE_BITMAP_NAME, - hdd_ctx->config->hw_filter_mode_bitmap); - hdd_debug("Name = [%s] Value = [%u]", - CFG_MAWC_NLO_ENABLED_NAME, - hdd_ctx->config->mawc_nlo_enabled); - hdd_debug("Name = [%s] Value = [%u]", - CFG_MAWC_NLO_EXP_BACKOFF_RATIO_NAME, - hdd_ctx->config->mawc_nlo_exp_backoff_ratio); - hdd_debug("Name = [%s] Value = [%u]", - CFG_MAWC_NLO_INIT_SCAN_INTERVAL_NAME, - hdd_ctx->config->mawc_nlo_init_scan_interval); - hdd_debug("Name = [%s] Value = [%u]", - CFG_MAWC_NLO_MAX_SCAN_INTERVAL_NAME, - hdd_ctx->config->mawc_nlo_max_scan_interval); - hdd_debug("Name = [ssdp] Value = [%u] ", hdd_ctx->config->ssdp); - hdd_cfg_print_runtime_pm(hdd_ctx); -#ifdef FEATURE_WLAN_RA_FILTERING - hdd_debug("Name = [RArateLimitInterval] Value = [%u] ", - hdd_ctx->config->RArateLimitInterval); - hdd_debug("Name = [IsRArateLimitEnabled] Value = [%u] ", - hdd_ctx->config->IsRArateLimitEnabled); -#endif - hdd_debug("Name = [nNeighborLookupRssiThreshold] Value = [%u] ", - hdd_ctx->config->nNeighborLookupRssiThreshold); - hdd_debug("Name = [%s] Value = [%d] ", - CFG_5G_RSSI_THRESHOLD_OFFSET_NAME, - hdd_ctx->config->rssi_thresh_offset_5g); - hdd_debug("Name = [delay_before_vdev_stop] Value = [%u] ", - hdd_ctx->config->delay_before_vdev_stop); - hdd_debug("Name = [nOpportunisticThresholdDiff] Value = [%u] ", - hdd_ctx->config->nOpportunisticThresholdDiff); - hdd_debug("Name = [nRoamRescanRssiDiff] Value = [%u] ", - hdd_ctx->config->nRoamRescanRssiDiff); - hdd_debug("Name = [nNeighborScanMinChanTime] Value = [%u] ", - hdd_ctx->config->nNeighborScanMinChanTime); - hdd_debug("Name = [nNeighborScanMaxChanTime] Value = [%u] ", - hdd_ctx->config->nNeighborScanMaxChanTime); - hdd_debug("Name = [nMaxNeighborRetries] Value = [%u] ", - hdd_ctx->config->nMaxNeighborReqTries); - hdd_debug("Name = [nNeighborScanPeriod] Value = [%u] ", - hdd_ctx->config->nNeighborScanPeriod); - hdd_debug("Name = [n_neighbor_scan_min_period] Value = [%u] ", - hdd_ctx->config->neighbor_scan_min_period); - hdd_debug("Name = [nNeighborScanResultsRefreshPeriod] Value = [%u] ", - hdd_ctx->config->nNeighborResultsRefreshPeriod); - hdd_debug("Name = [nEmptyScanRefreshPeriod] Value = [%u] ", - hdd_ctx->config->nEmptyScanRefreshPeriod); - hdd_debug("Name = [nRoamBmissFirstBcnt] Value = [%u] ", - hdd_ctx->config->nRoamBmissFirstBcnt); - hdd_debug("Name = [nRoamBmissFinalBcnt] Value = [%u] ", - hdd_ctx->config->nRoamBmissFinalBcnt); - hdd_debug("Name = [nRoamBeaconRssiWeight] Value = [%u] ", - hdd_ctx->config->nRoamBeaconRssiWeight); - hdd_debug("Name = [allowDFSChannelRoam] Value = [%u] ", - hdd_ctx->config->allowDFSChannelRoam); - hdd_debug("Name = [nhi_rssi_scan_max_count] Value = [%u] ", - hdd_ctx->config->nhi_rssi_scan_max_count); - hdd_debug("Name = [nhi_rssi_scan_rssi_delta] Value = [%u] ", - hdd_ctx->config->nhi_rssi_scan_rssi_delta); - hdd_debug("Name = [nhi_rssi_scan_delay] Value = [%u] ", - hdd_ctx->config->nhi_rssi_scan_delay); - hdd_debug("Name = [nhi_rssi_scan_rssi_ub] Value = [%u] ", - hdd_ctx->config->nhi_rssi_scan_rssi_ub); - hdd_debug("Name = [burstSizeDefinition] Value = [0x%x] ", - hdd_ctx->config->burstSizeDefinition); - hdd_debug("Name = [tsInfoAckPolicy] Value = [0x%x] ", - hdd_ctx->config->tsInfoAckPolicy); - hdd_debug("Name = [bSingleTidRc] Value = [%u] ", - hdd_ctx->config->bSingleTidRc); - hdd_debug("Name = [gAddTSWhenACMIsOff] Value = [%u] ", - hdd_ctx->config->AddTSWhenACMIsOff); - hdd_debug("Name = [gStaKeepAlivePeriod] Value = [%u] ", - hdd_ctx->config->infraStaKeepAlivePeriod); - hdd_debug("Name = [BandCapability] Value = [%u] ", - hdd_ctx->config->nBandCapability); - hdd_debug("Name = [teleBcnWakeupEnable] Value = [%u] ", - hdd_ctx->config->teleBcnWakeupEn); - hdd_debug("Name = [maxListenInterval] Value = [%u] ", - hdd_ctx->config->nTeleBcnMaxListenInterval); - hdd_debug("Name = [gEnableBypass11d] Value = [%u] ", - hdd_ctx->config->enableBypass11d); - hdd_debug("Name = [gEnableDFSChnlScan] Value = [%u] ", - hdd_ctx->config->enableDFSChnlScan); - hdd_debug("Name = [gEnableDFSPnoChnlScan] Value = [%u] ", - hdd_ctx->config->enable_dfs_pno_chnl_scan); - hdd_debug("Name = [gReportMaxLinkSpeed] Value = [%u] ", - hdd_ctx->config->reportMaxLinkSpeed); - hdd_debug("Name = [thermalMitigationEnable] Value = [%u] ", - hdd_ctx->config->thermalMitigationEnable); - hdd_debug("Name = [gVhtChannelWidth] value = [%u]", - hdd_ctx->config->vhtChannelWidth); - hdd_debug("Name = [enableFirstScan2GOnly] Value = [%u] ", - hdd_ctx->config->enableFirstScan2GOnly); - hdd_debug("Name = [enableRxSTBC] Value = [%u] ", - hdd_ctx->config->enableRxSTBC); - hdd_debug("Name = [gEnableSSR] Value = [%u] ", - hdd_ctx->config->enableSSR); - hdd_debug("Name = [gEnableDataStallDetection] Value = [%u] ", - hdd_ctx->config->enable_data_stall_det); - hdd_debug("Name = [gEnableVhtFor24GHzBand] Value = [%u] ", - hdd_ctx->config->enableVhtFor24GHzBand); - hdd_debug("Name = [gApLinkMonitorPeriod] Value = [%u]", - hdd_ctx->config->apLinkMonitorPeriod); - hdd_debug("Name = [gApKeepAlivePeriod]Value = [%u]", - hdd_ctx->config->apKeepAlivePeriod); - hdd_debug("Name = [max_amsdu_num] Value = [%u] ", - hdd_ctx->config->max_amsdu_num); - hdd_debug("Name = [nSelect5GHzMargin] Value = [%u] ", - hdd_ctx->config->nSelect5GHzMargin); - hdd_debug("Name = [gCoalesingInIBSS] Value = [%u] ", - hdd_ctx->config->isCoalesingInIBSSAllowed); - hdd_debug("Name = [gIbssATIMWinSize] Value = [%u] ", - hdd_ctx->config->ibssATIMWinSize); - hdd_debug("Name = [gIbssIsPowerSaveAllowed] Value = [%u] ", - hdd_ctx->config->isIbssPowerSaveAllowed); - hdd_debug("Name = [gIbssIsPowerCollapseAllowed] Value = [%u] ", - hdd_ctx->config->isIbssPowerCollapseAllowed); - hdd_debug("Name = [gIbssAwakeOnTxRx] Value = [%u] ", - hdd_ctx->config->isIbssAwakeOnTxRx); - hdd_debug("Name = [gIbssInactivityTime] Value = [%u] ", - hdd_ctx->config->ibssInactivityCount); - hdd_debug("Name = [gIbssTxSpEndInactivityTime] Value = [%u] ", - hdd_ctx->config->ibssTxSpEndInactivityTime); - hdd_debug("Name = [gIbssPsWarmupTime] Value = [%u] ", - hdd_ctx->config->ibssPsWarmupTime); - hdd_debug("Name = [gIbssPs1RxChainInAtim] Value = [%u] ", - hdd_ctx->config->ibssPs1RxChainInAtimEnable); - hdd_debug("Name = [fDfsPhyerrFilterOffload] Value = [%u] ", - hdd_ctx->config->fDfsPhyerrFilterOffload); - hdd_debug("Name = [gIgnorePeerErpInfo] Value = [%u] ", - hdd_ctx->config->ignore_peer_erp_info); -#ifdef IPA_OFFLOAD - hdd_debug("Name = [gIPAConfig] Value = [0x%x] ", - hdd_ctx->config->IpaConfig); - hdd_debug("Name = [gIPADescSize] Value = [%u] ", - hdd_ctx->config->IpaDescSize); - hdd_debug("Name = [IpaHighBandwidthMbpsg] Value = [%u] ", - hdd_ctx->config->IpaHighBandwidthMbps); - hdd_debug("Name = [IpaMediumBandwidthMbps] Value = [%u] ", - hdd_ctx->config->IpaMediumBandwidthMbps); - hdd_debug("Name = [IpaLowBandwidthMbps] Value = [%u] ", - hdd_ctx->config->IpaLowBandwidthMbps); -#endif - hdd_debug("Name = [gEnableOverLapCh] Value = [%u] ", - hdd_ctx->config->gEnableOverLapCh); - hdd_debug("Name = [gMaxOffloadPeers] Value = [%u] ", - hdd_ctx->config->apMaxOffloadPeers); - hdd_debug("Name = [gMaxOffloadReorderBuffs] value = [%u] ", - hdd_ctx->config->apMaxOffloadReorderBuffs); - hdd_debug("Name = [%s] Value = [%d]", - CFG_ENABLE_CCK_TX_FIR_OVERRIDE_NAME, - hdd_ctx->config->enable_cck_tx_fir_override); - hdd_debug("Name = [gAllowDFSChannelRoam] Value = [%u] ", - hdd_ctx->config->allowDFSChannelRoam); - hdd_debug("Name = [gMaxConcurrentActiveSessions] Value = [%u] ", - hdd_ctx->config->gMaxConcurrentActiveSessions); - -#ifdef MSM_PLATFORM - hdd_debug("Name = [gBusBandwidthHighThreshold] Value = [%u] ", - hdd_ctx->config->busBandwidthHighThreshold); - hdd_debug("Name = [gBusBandwidthMediumThreshold] Value = [%u] ", - hdd_ctx->config->busBandwidthMediumThreshold); - hdd_debug("Name = [gBusBandwidthLowThreshold] Value = [%u] ", - hdd_ctx->config->busBandwidthLowThreshold); - hdd_debug("Name = [gbusBandwidthComputeInterval] Value = [%u] ", - hdd_ctx->config->busBandwidthComputeInterval); - hdd_debug("Name = [%s] Value = [%u] ", - CFG_ENABLE_TCP_LIMIT_OUTPUT, - hdd_ctx->config->enable_tcp_limit_output); - hdd_debug("Name = [%s] Value = [%u] ", - CFG_ENABLE_TCP_ADV_WIN_SCALE, - hdd_ctx->config->enable_tcp_adv_win_scale); - hdd_debug("Name = [%s] Value = [%u] ", - CFG_ENABLE_TCP_DELACK, - hdd_ctx->config->enable_tcp_delack); - hdd_debug("Name = [gTcpDelAckThresholdHigh] Value = [%u] ", - hdd_ctx->config->tcpDelackThresholdHigh); - hdd_debug("Name = [gTcpDelAckThresholdLow] Value = [%u] ", - hdd_ctx->config->tcpDelackThresholdLow); - hdd_debug("Name = [%s] Value = [%u] ", - CFG_TCP_DELACK_TIMER_COUNT, - hdd_ctx->config->tcp_delack_timer_count); - hdd_debug("Name = [%s] Value = [%u] ", - CFG_TCP_TX_HIGH_TPUT_THRESHOLD_NAME, - hdd_ctx->config->tcp_tx_high_tput_thres); - hdd_debug("Name = [%s] Value = [%u] ", - CFG_PERIODIC_STATS_DISPLAY_TIME_NAME, - hdd_ctx->config->periodic_stats_disp_time); -#endif - - hdd_debug("Name = [gIgnoreCAC] Value = [%u] ", - hdd_ctx->config->ignoreCAC); - hdd_debug("Name = [gSapPreferredChanLocation] Value = [%u] ", - hdd_ctx->config->gSapPreferredChanLocation); - hdd_debug("Name = [gDisableDfsJapanW53] Value = [%u] ", - hdd_ctx->config->gDisableDfsJapanW53); - - hdd_green_ap_print_config(hdd_ctx); - -#ifdef WLAN_FEATURE_ROAM_OFFLOAD - hdd_debug("Name = [isRoamOffloadEnabled] Value = [%u]", - hdd_ctx->config->isRoamOffloadEnabled); -#endif - -#ifdef WLAN_FEATURE_LPSS - hdd_debug("Name = [gEnableLpassSupport] Value = [%u] ", - hdd_ctx->config->enable_lpass_support); -#endif - - hdd_debug("Name = [gEnableSelfRecovery] Value = [%u]", - hdd_ctx->config->enableSelfRecovery); - - hdd_debug("Name = [gEnableSapSuspend] Value = [%u]", - hdd_ctx->config->enable_sap_suspend); - -#ifdef WLAN_FEATURE_EXTWOW_SUPPORT - hdd_debug("Name = [gExtWoWgotoSuspend] Value = [%u]", - hdd_ctx->config->extWowGotoSuspend); - - hdd_debug("Name = [gExtWowApp1WakeupPinNumber] Value = [%u]", - hdd_ctx->config->extWowApp1WakeupPinNumber); - - hdd_debug("Name = [gExtWowApp2WakeupPinNumber] Value = [%u]", - hdd_ctx->config->extWowApp2WakeupPinNumber); - - hdd_debug("Name = [gExtWoWApp2KAInitPingInterval] Value = [%u]", - hdd_ctx->config->extWowApp2KAInitPingInterval); - - hdd_debug("Name = [gExtWoWApp2KAMinPingInterval] Value = [%u]", - hdd_ctx->config->extWowApp2KAMinPingInterval); - - hdd_debug("Name = [gExtWoWApp2KAMaxPingInterval] Value = [%u]", - hdd_ctx->config->extWowApp2KAMaxPingInterval); - - hdd_debug("Name = [gExtWoWApp2KAIncPingInterval] Value = [%u]", - hdd_ctx->config->extWowApp2KAIncPingInterval); - - hdd_debug("Name = [gExtWoWApp2TcpSrcPort] Value = [%u]", - hdd_ctx->config->extWowApp2TcpSrcPort); - - hdd_debug("Name = [gExtWoWApp2TcpDstPort] Value = [%u]", - hdd_ctx->config->extWowApp2TcpDstPort); - - hdd_debug("Name = [gExtWoWApp2TcpTxTimeout] Value = [%u]", - hdd_ctx->config->extWowApp2TcpTxTimeout); - - hdd_debug("Name = [gExtWoWApp2TcpRxTimeout] Value = [%u]", - hdd_ctx->config->extWowApp2TcpRxTimeout); -#endif - -#ifdef DHCP_SERVER_OFFLOAD - hdd_debug("Name = [gDHCPServerOffloadEnable] Value = [%u]", - hdd_ctx->config->enableDHCPServerOffload); - hdd_debug("Name = [gDHCPMaxNumClients] Value = [%u]", - hdd_ctx->config->dhcpMaxNumClients); - hdd_debug("Name = [gDHCPServerIP] Value = [%s]", - hdd_ctx->config->dhcpServerIP); -#endif - - hdd_debug("Name = [gEnableDumpCollect] Value = [%u]", - hdd_ctx->config->is_ramdump_enabled); - - hdd_debug("Name = [is_ps_enabled] value = [%d]", - hdd_ctx->config->is_ps_enabled); - hdd_debug("Name = [tso_enable] value = [%d]", - hdd_ctx->config->tso_enable); - hdd_debug("Name = [LROEnable] value = [%d]", - hdd_ctx->config->lro_enable); - hdd_debug("Name = [%s] value = [%d]", - CFG_MAX_MSDUS_PER_RXIND_NAME, - hdd_ctx->config->max_msdus_per_rxinorderind); - hdd_debug("Name = [active_mode_offload] value = [%d]", - hdd_ctx->config->active_mode_offload); - hdd_debug("Name = [gEnableNAPI] value = [%d]", - hdd_ctx->napi_enable); - hdd_debug("Name = [gfine_time_meas_cap] value = [%u]", - hdd_ctx->config->fine_time_meas_cap); -#ifdef WLAN_FEATURE_FASTPATH - hdd_debug("Name = [fastpath_enable] Value = [%u]", - hdd_ctx->config->fastpath_enable); -#endif - hdd_debug("Name = [max_scan_count] value = [%d]", - hdd_ctx->config->max_scan_count); - hdd_debug("Name = [%s] value = [%d]", - CFG_RX_MODE_NAME, hdd_ctx->config->rx_mode); - hdd_debug("Name = [%s] value = [%d]", - CFG_CE_SERVICE_MAX_YIELD_TIME_NAME, - hdd_ctx->config->ce_service_max_yield_time); - hdd_debug("Name = [%s] value = [%d]", - CFG_CE_SERVICE_MAX_RX_IND_FLUSH_NAME, - hdd_ctx->config->ce_service_max_rx_ind_flush); - hdd_debug("Name = [%s] Value = [%u]", - CFG_CE_CLASSIFY_ENABLE_NAME, - hdd_ctx->config->ce_classify_enabled); - hdd_debug("Name = [%s] value = [%u]", - CFG_DUAL_MAC_FEATURE_DISABLE, - hdd_ctx->config->dual_mac_feature_disable); - hdd_debug("Name = [%s] Value = [%s]", - CFG_DBS_SCAN_SELECTION_NAME, - hdd_ctx->config->dbs_scan_selection); - hdd_debug("Name = [%s] value = [%u]", - CFG_STA_SAP_SCC_ON_DFS_CHAN, - hdd_ctx->config->sta_sap_scc_on_dfs_chan); - hdd_debug("Name = [%s] value = [%u]", - CFG_STA_SAP_SCC_ON_LTE_COEX_CHAN, - hdd_ctx->config->sta_sap_scc_on_lte_coex_chan); -#ifdef FEATURE_WLAN_SCAN_PNO - hdd_debug("Name = [%s] Value = [%u]", - CFG_PNO_CHANNEL_PREDICTION_NAME, - hdd_ctx->config->pno_channel_prediction); - hdd_debug("Name = [%s] Value = [%u]", - CFG_TOP_K_NUM_OF_CHANNELS_NAME, - hdd_ctx->config->top_k_num_of_channels); - hdd_debug("Name = [%s] Value = [%u]", - CFG_STATIONARY_THRESHOLD_NAME, - hdd_ctx->config->stationary_thresh); - hdd_debug("Name = [%s] Value = [%u]", - CFG_CHANNEL_PREDICTION_FULL_SCAN_MS_NAME, - hdd_ctx->config->channel_prediction_full_scan); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ADAPTIVE_PNOSCAN_DWELL_MODE_NAME, - hdd_ctx->config->pnoscan_adaptive_dwell_mode); -#endif - hdd_debug("Name = [%s] Value = [%d]", - CFG_EARLY_STOP_SCAN_ENABLE, - hdd_ctx->config->early_stop_scan_enable); - hdd_debug("Name = [%s] Value = [%d]", - CFG_EARLY_STOP_SCAN_MIN_THRESHOLD, - hdd_ctx->config->early_stop_scan_min_threshold); - hdd_debug("Name = [%s] Value = [%d]", - CFG_EARLY_STOP_SCAN_MAX_THRESHOLD, - hdd_ctx->config->early_stop_scan_max_threshold); - hdd_debug("Name = [%s] Value = [%d]", - CFG_FIRST_SCAN_BUCKET_THRESHOLD_NAME, - hdd_ctx->config->first_scan_bucket_threshold); - hdd_debug("Name = [%s] Value = [%u]", - CFG_HT_MPDU_DENSITY_NAME, - hdd_ctx->config->ht_mpdu_density); - hdd_debug("Name = [%s] value = [%d]", - CFG_MARK_INDOOR_AS_DISABLE_NAME, - hdd_ctx->config->force_ssc_disable_indoor_channel); - -#ifdef FEATURE_LFR_SUBNET_DETECTION - hdd_debug("Name = [%s] Value = [%d]", - CFG_ENABLE_LFR_SUBNET_DETECTION, - hdd_ctx->config->enable_lfr_subnet_detection); -#endif - hdd_debug("Name = [%s] Value = [%u]", - CFG_ROAM_DENSE_TRAFFIC_THRESHOLD, - hdd_ctx->config->roam_dense_traffic_thresh); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ROAM_DENSE_RSSI_THRE_OFFSET, - hdd_ctx->config->roam_dense_rssi_thresh_offset); - hdd_debug("Name = [%s] Value = [%u]", - CFG_IGNORE_PEER_HT_MODE_NAME, - hdd_ctx->config->ignore_peer_ht_opmode); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ENABLE_VENDOR_VHT_FOR_24GHZ_NAME, - hdd_ctx->config->enable_sap_vendor_vht); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ENABLE_FATAL_EVENT_TRIGGER, - hdd_ctx->config->enable_fatal_event); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ROAM_DENSE_MIN_APS, - hdd_ctx->config->roam_dense_min_aps); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ROAM_BG_SCAN_BAD_RSSI_THRESHOLD_NAME, - hdd_ctx->config->roam_bg_scan_bad_rssi_thresh); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ROAM_BG_SCAN_CLIENT_BITMAP_NAME, - hdd_ctx->config->roam_bg_scan_client_bitmap); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ROAM_BG_SCAN_BAD_RSSI_OFFSET_2G_NAME, - hdd_ctx->config->roam_bad_rssi_thresh_offset_2g); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ROAM_HO_DELAY_FOR_RX_NAME, - hdd_ctx->config->ho_delay_for_rx); - hdd_debug("Name = [%s] Value = [%u]", - CFG_MIN_DELAY_BTW_ROAM_SCAN_NAME, - hdd_ctx->config->min_delay_btw_roam_scans); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ROAM_SCAN_TRIGGER_REASON_BITMASK_NAME, - hdd_ctx->config->roam_trigger_reason_bitmask); - hdd_debug("Name = [%s] Value = [%u]", - CFG_MIN_REST_TIME_NAME, - hdd_ctx->config->min_rest_time_conc); - hdd_debug("Name = [%s] Value = [%u]", - CFG_IDLE_TIME_NAME, - hdd_ctx->config->idle_time_conc); - hdd_debug("Name = [%s] Value = [%d]", - CFG_BUG_ON_REINIT_FAILURE_NAME, - hdd_ctx->config->bug_on_reinit_failure); - hdd_debug("Name = [%s] Value = [%u]", - CFG_INTERFACE_CHANGE_WAIT_NAME, - hdd_ctx->config->iface_change_wait_time); - - hdd_debug("Name = [%s] Value = [%u]", - CFG_ENABLE_EDCA_INI_NAME, - hdd_ctx->config->enable_edca_params); - - hdd_debug("Name = [%s] Value = [%u]", - CFG_EDCA_VO_CWMIN_VALUE_NAME, - hdd_ctx->config->edca_vo_cwmin); - hdd_debug("Name = [%s] Value = [%u]", - CFG_EDCA_VI_CWMIN_VALUE_NAME, - hdd_ctx->config->edca_vi_cwmin); - hdd_debug("Name = [%s] Value = [%u]", - CFG_EDCA_BK_CWMIN_VALUE_NAME, - hdd_ctx->config->edca_bk_cwmin); - hdd_debug("Name = [%s] Value = [%u]", - CFG_EDCA_BE_CWMIN_VALUE_NAME, - hdd_ctx->config->edca_be_cwmin); - - hdd_debug("Name = [%s] Value = [%u]", - CFG_EDCA_VO_CWMAX_VALUE_NAME, - hdd_ctx->config->edca_vo_cwmax); - hdd_debug("Name = [%s] Value = [%u]", - CFG_EDCA_VI_CWMAX_VALUE_NAME, - hdd_ctx->config->edca_vi_cwmax); - hdd_debug("Name = [%s] Value = [%u]", - CFG_EDCA_BK_CWMAX_VALUE_NAME, - hdd_ctx->config->edca_bk_cwmax); - hdd_debug("Name = [%s] Value = [%u]", - CFG_EDCA_BE_CWMAX_VALUE_NAME, - hdd_ctx->config->edca_be_cwmax); - - hdd_debug("Name = [%s] Value = [%u]", - CFG_EDCA_VO_AIFS_VALUE_NAME, - hdd_ctx->config->edca_vo_aifs); - hdd_debug("Name = [%s] Value = [%u]", - CFG_EDCA_VI_AIFS_VALUE_NAME, - hdd_ctx->config->edca_vi_aifs); - hdd_debug("Name = [%s] Value = [%u]", - CFG_EDCA_BK_AIFS_VALUE_NAME, - hdd_ctx->config->edca_bk_aifs); - hdd_debug("Name = [%s] Value = [%u]", - CFG_EDCA_BE_AIFS_VALUE_NAME, - hdd_ctx->config->edca_be_aifs); - - hdd_debug("Name = [%s] Value = [%s]", - CFG_ENABLE_TX_SCHED_WRR_VO_NAME, - hdd_ctx->config->tx_sched_wrr_vo); - hdd_debug("Name = [%s] Value = [%s]", - CFG_ENABLE_TX_SCHED_WRR_VI_NAME, - hdd_ctx->config->tx_sched_wrr_vi); - hdd_debug("Name = [%s] Value = [%s]", - CFG_ENABLE_TX_SCHED_WRR_BK_NAME, - hdd_ctx->config->tx_sched_wrr_bk); - hdd_debug("Name = [%s] Value = [%s]", - CFG_ENABLE_TX_SCHED_WRR_BE_NAME, - hdd_ctx->config->tx_sched_wrr_be); - - hdd_cfg_print_dp_trace_params(hdd_ctx); - - hdd_debug("Name = [%s] Value = [%u]", - CFG_ADAPTIVE_SCAN_DWELL_MODE_NAME, - hdd_ctx->config->scan_adaptive_dwell_mode); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ADAPTIVE_SCAN_DWELL_MODE_NC_NAME, - hdd_ctx->config->scan_adaptive_dwell_mode_nc); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ADAPTIVE_ROAMSCAN_DWELL_MODE_NAME, - hdd_ctx->config->roamscan_adaptive_dwell_mode); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ADAPTIVE_EXTSCAN_DWELL_MODE_NAME, - hdd_ctx->config->extscan_adaptive_dwell_mode); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ADAPTIVE_DWELL_MODE_ENABLED_NAME, - hdd_ctx->config->adaptive_dwell_mode_enabled); - hdd_debug("Name = [%s] Value = [%u]", - CFG_GLOBAL_ADAPTIVE_DWELL_MODE_NAME, - hdd_ctx->config->global_adapt_dwelltime_mode); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ADAPT_DWELL_LPF_WEIGHT_NAME, - hdd_ctx->config->adapt_dwell_lpf_weight); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ADAPT_DWELL_PASMON_INTVAL_NAME, - hdd_ctx->config->adapt_dwell_passive_mon_intval); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ADAPT_DWELL_WIFI_THRESH_NAME, - hdd_ctx->config->adapt_dwell_wifi_act_threshold); - hdd_debug("Name = [%s] value = [%u]", - CFG_SUB_20_CHANNEL_WIDTH_NAME, - hdd_ctx->config->enable_sub_20_channel_width); - hdd_debug("Name = [%s] Value = [%u]", - CFG_TGT_GTX_USR_CFG_NAME, - hdd_ctx->config->tgt_gtx_usr_cfg); - hdd_debug("Name = [%s] Value = [%u]", - CFG_SAP_MAX_INACTIVITY_OVERRIDE_NAME, - hdd_ctx->config->sap_max_inactivity_override); - hdd_debug("Name = [%s] Value = [%s]", - CFG_RM_CAPABILITY_NAME, - hdd_ctx->config->rm_capability); - hdd_debug("Name = [%s] Value = [%d]", - CFG_SAP_FORCE_11N_FOR_11AC_NAME, - hdd_ctx->config->sap_force_11n_for_11ac); - hdd_debug("Name = [%s] Value = [%d]", - CFG_GO_FORCE_11N_FOR_11AC_NAME, - hdd_ctx->config->go_force_11n_for_11ac); - hdd_debug("Name = [%s] Value = [%d]", - CFG_APF_PACKET_FILTER_OFFLOAD, - hdd_ctx->config->apf_packet_filter_enable); - hdd_debug("Name = [%s] Value = [%d]", - CFG_FILTER_MULTICAST_REPLAY_NAME, - hdd_ctx->config->multicast_replay_filter); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ENABLE_GO_CTS2SELF_FOR_STA, - hdd_ctx->config->enable_go_cts2self_for_sta); - hdd_debug("Name = [%s] Value = [%u]", - CFG_CRASH_FW_TIMEOUT_NAME, - hdd_ctx->config->fw_timeout_crash); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ACTIVE_UC_APF_MODE_NAME, - hdd_ctx->config->active_uc_apf_mode); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ACTIVE_MC_BC_APF_MODE_NAME, - hdd_ctx->config->active_mc_bc_apf_mode); - hdd_debug("Name = [%s] Value = [%d]", - CFG_SAP_INTERNAL_RESTART_NAME, - hdd_ctx->config->sap_internal_restart); - hdd_debug("Name = [%s] Value = [%d]", - CFG_ACS_WITH_MORE_PARAM_NAME, - hdd_ctx->config->acs_with_more_param); - hdd_debug("Name = [%s] Value = [%u]", - CFG_AUTO_DETECT_POWER_FAIL_MODE_NAME, - hdd_ctx->config->auto_pwr_save_fail_mode); - hdd_debug("Name = [%s] Value = [%d]", - CFG_RESTART_BEACONING_ON_CH_AVOID_NAME, - hdd_ctx->config->restart_beaconing_on_chan_avoid_event); - - hdd_per_roam_print_ini_config(hdd_ctx); - hdd_he_print_ini_config(hdd_ctx); - hdd_twt_print_ini_config(hdd_ctx); - hdd_debug("Name = [%s] Value = [%d]", - CFG_ARP_AC_CATEGORY, - hdd_ctx->config->arp_ac_category); - hdd_debug("Name = [%s] Value = [%u]", - CFG_SCAN_BACKOFF_MULTIPLIER_NAME, - hdd_ctx->config->scan_backoff_multiplier); - hdd_debug("Name = [%s] Value = [%d]", - CFG_EXTERNAL_ACS_POLICY, - hdd_ctx->config->external_acs_policy); - hdd_debug("Name = [%s] value = [%u]", - CFG_DROPPED_PKT_DISCONNECT_TH_NAME, - hdd_ctx->config->pkt_err_disconn_th); - - hdd_cfg_print_ie_whitelist_attrs(hdd_ctx); - - hdd_debug("Name = [%s] value = [%u]", - CFG_FORCE_1X1_NAME, - hdd_ctx->config->is_force_1x1); - hdd_debug("Name = [%s] Value = %u", - CFG_ENABLE_CONNECTED_SCAN_NAME, - hdd_ctx->config->enable_connected_scan); - hdd_debug("Name = [%s] value = [%u]", - CFG_11B_NUM_TX_CHAIN_NAME, - hdd_ctx->config->num_11b_tx_chains); - hdd_debug("Name = [%s] value = [%u]", - CFG_11AG_NUM_TX_CHAIN_NAME, - hdd_ctx->config->num_11ag_tx_chains); - hdd_debug("Name = [%s] value = [%u]", - CFG_ITO_REPEAT_COUNT_NAME, - hdd_ctx->config->ito_repeat_count); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ROAM_DISALLOW_DURATION_NAME, - hdd_ctx->config->disallow_duration); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ROAM_RSSI_CHANNEL_PENALIZATION_NAME, - hdd_ctx->config->rssi_channel_penalization); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ROAM_NUM_DISALLOWED_APS_NAME, - hdd_ctx->config->num_disallowed_aps); - hdd_debug("Name = [%s] value = [%u]", - CFG_LPRx_NAME, - hdd_ctx->config->enable_lprx); - hdd_debug("Name = [%s] value = [%u]", - CFG_UPPER_BRSSI_THRESH_NAME, - hdd_ctx->config->upper_brssi_thresh); - hdd_debug("Name = [%s] value = [%u]", - CFG_LOWER_BRSSI_THRESH_NAME, - hdd_ctx->config->lower_brssi_thresh); - hdd_debug("Name = [%s] value = [%u]", - CFG_DTIM_1CHRX_ENABLE_NAME, - hdd_ctx->config->enable_dtim_1chrx); - hdd_debug("Name = [%s] value = [%u]", - CFG_DOT11P_MODE_NAME, - hdd_ctx->config->dot11p_mode); - hdd_debug("Name = [%s] value = [%u]", - CFG_PREVENT_LINK_DOWN_NAME, - hdd_ctx->config->prevent_link_down); - hdd_debug("Name = [%s] value = [%u]", - CFG_CHAN_SWITCH_HOSTAPD_RATE_ENABLED_NAME, - hdd_ctx->config->chan_switch_hostapd_rate_enabled); - hdd_debug("Name = [%s] value = [%u]", - CFG_IS_BSSID_HINT_PRIORITY_NAME, - hdd_ctx->config->is_bssid_hint_priority); - hdd_debug("Name = [%s] value = [%u]", - CFG_RSSI_WEIGHTAGE_NAME, - hdd_ctx->config->rssi_weightage); - hdd_debug("Name = [%s] value = [%u]", - CFG_HT_CAPABILITY_WEIGHTAGE_NAME, - hdd_ctx->config->ht_caps_weightage); - hdd_debug("Name = [%s] value = [%u]", - CFG_VHT_CAPABILITY_WEIGHTAGE_NAME, - hdd_ctx->config->vht_caps_weightage); - hdd_debug("Name = [%s] value = [%u]", - CFG_HE_CAPABILITY_WEIGHTAGE_NAME, - hdd_ctx->config->he_caps_weightage); - hdd_debug("Name = [%s] value = [%u]", - CFG_CHAN_WIDTH_WEIGHTAGE_NAME, - hdd_ctx->config->chan_width_weightage); - hdd_debug("Name = [%s] value = [%u]", - CFG_CHAN_BAND_WEIGHTAGE_NAME, - hdd_ctx->config->chan_band_weightage); - hdd_debug("Name = [%s] value = [%u]", - CFG_NSS_WEIGHTAGE_NAME, - hdd_ctx->config->nss_weightage); - hdd_debug("Name = [%s] value = [%u]", - CFG_BEAMFORMING_CAP_WEIGHTAGE_NAME, - hdd_ctx->config->beamforming_cap_weightage); - hdd_debug("Name = [%s] value = [%u]", - CFG_PCL_WEIGHT_WEIGHTAGE_NAME, - hdd_ctx->config->pcl_weightage); - hdd_debug("Name = [%s] value = [%u]", - CFG_CHANNEL_CONGESTION_WEIGHTAGE_NAME, - hdd_ctx->config->channel_congestion_weightage); - hdd_debug("Name = [%s] value = [%u]", - CFG_OCE_WAN_WEIGHTAGE_NAME, - hdd_ctx->config->oce_wan_weightage); - hdd_debug("Name = [%s] value = [%u]", - CFG_BAND_WIDTH_WEIGHT_PER_INDEX_NAME, - hdd_ctx->config->bandwidth_weight_per_index); - hdd_debug("Name = [%s] value = [%u]", - CFG_NSS_WEIGHT_PER_INDEX_NAME, - hdd_ctx->config->nss_weight_per_index); - hdd_debug("Name = [%s] value = [%u]", - CFG_BAND_WEIGHT_PER_INDEX_NAME, - hdd_ctx->config->band_weight_per_index); - hdd_debug("Name = [%s] value = [%u]", - CFG_BEST_RSSI_THRESHOLD_NAME, - hdd_ctx->config->best_rssi_threshold); - hdd_debug("Name = [%s] value = [%u]", - CFG_GOOD_RSSI_THRESHOLD_NAME, - hdd_ctx->config->good_rssi_threshold); - hdd_debug("Name = [%s] value = [%u]", - CFG_BAD_RSSI_THRESHOLD_NAME, - hdd_ctx->config->bad_rssi_threshold); - hdd_debug("Name = [%s] value = [%u]", - CFG_GOOD_RSSI_PCNT_NAME, - hdd_ctx->config->good_rssi_pcnt); - hdd_debug("Name = [%s] value = [%u]", - CFG_BAD_RSSI_PCNT_NAME, - hdd_ctx->config->bad_rssi_pcnt); - hdd_debug("Name = [%s] value = [%u]", - CFG_GOOD_RSSI_BUCKET_SIZE_NAME, - hdd_ctx->config->good_rssi_bucket_size); - hdd_debug("Name = [%s] value = [%u]", - CFG_BAD_RSSI_BUCKET_SIZE_NAME, - hdd_ctx->config->bad_rssi_bucket_size); - hdd_debug("Name = [%s] value = [%u]", - CFG_RSSI_PERF_5G_THRESHOLD_NAME, - hdd_ctx->config->rssi_pref_5g_rssi_thresh); - hdd_debug("Name = [%s] value = [%u]", - CFG_ESP_QBSS_SLOTS_NAME, - hdd_ctx->config->num_esp_qbss_slots); - hdd_debug("Name = [%s] value = [%u]", - CFG_ESP_QBSS_SCORE_IDX3_TO_0_NAME, - hdd_ctx->config->esp_qbss_score_slots3_to_0); - hdd_debug("Name = [%s] value = [%u]", - CFG_ESP_QBSS_SCORE_IDX7_TO_4_NAME, - hdd_ctx->config->esp_qbss_score_slots7_to_4); - hdd_debug("Name = [%s] value = [%u]", - CFG_ESP_QBSS_SCORE_IDX11_TO_8_NAME, - hdd_ctx->config->esp_qbss_score_slots11_to_8); - hdd_debug("Name = [%s] value = [%u]", - CFG_ESP_QBSS_SCORE_IDX15_TO_12_NAME, - hdd_ctx->config->esp_qbss_score_slots15_to_12); - hdd_debug("Name = [%s] value = [%u]", - CFG_ENABLE_SCORING_FOR_ROAM_NAME, - hdd_ctx->config->enable_scoring_for_roam); - - hdd_wlm_cfg_log(hdd_ctx); - - hdd_debug("Name = [%s] value = [%u]", - CFG_OCE_WAN_SLOTS_NAME, - hdd_ctx->config->num_oce_wan_slots); - hdd_debug("Name = [%s] value = [%u]", - CFG_OCE_WAN_SCORE_IDX3_TO_0_NAME, - hdd_ctx->config->oce_wan_score_slots3_to_0); - hdd_debug("Name = [%s] value = [%u]", - CFG_OCE_WAN_SCORE_IDX7_TO_4_NAME, - hdd_ctx->config->oce_wan_score_slots7_to_4); - hdd_debug("Name = [%s] value = [%u]", - CFG_OCE_WAN_SCORE_IDX11_TO_8_NAME, - hdd_ctx->config->oce_wan_score_slots11_to_8); - hdd_debug("Name = [%s] value = [%u]", - CFG_OCE_WAN_SCORE_IDX15_TO_12_NAME, - hdd_ctx->config->oce_wan_score_slots15_to_12); - hdd_debug("Name = [%s] Value = [%u]", - CFG_FORCE_RSNE_OVERRIDE_NAME, - hdd_ctx->config->force_rsne_override); - hdd_debug("Name = [%s] value = [0x%x]", CFG_VC_MODE_BITMAP, - hdd_ctx->config->vc_mode_cfg_bitmap); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ENABLE_PHY_REG, - hdd_ctx->config->enable_phy_reg_retention); - hdd_debug("Name = [btm_offload_config] value = [0x%x]", - hdd_ctx->config->btm_offload_config); - hdd_cfg_print_sae(hdd_ctx); - hdd_debug("Name = [btm_solicited_timeout] value = [0x%x]", - hdd_ctx->config->btm_solicited_timeout); - hdd_debug("Name = [btm_max_attempt_cnt] value = [0x%x]", - hdd_ctx->config->btm_max_attempt_cnt); - hdd_debug("Name = [btm_sticky_time] value = [0x%x]", - hdd_ctx->config->btm_sticky_time); - hdd_debug("Name = [num_vdevs] value = [0x%x]", - hdd_ctx->config->num_vdevs); - hdd_debug("Name = [%s] value = [%d]", - CFG_ENABLE_GCMP_NAME, - hdd_ctx->config->gcmp_enabled); - hdd_debug("Name = [%s] value = [%d]", - CFG_DTIM_SELECTION_DIVERSITY_NAME, - hdd_ctx->config->enable_dtim_selection_diversity); - hdd_debug("Name = [%s] value = [%d]", - CFG_CHANGE_CHANNEL_BANDWIDTH_NAME, - hdd_ctx->config->enable_change_channel_bandwidth); - - hdd_debug("Name = [%s] value = [%d]", - CFG_TX_SCH_DELAY_NAME, - hdd_ctx->config->enable_tx_sch_delay); - - hdd_cfg_print_11k_offload_params(hdd_ctx); - hdd_debug("Name = [%s] value = [0x%x]", - CFG_CHANNEL_SELECT_LOGIC_CONC_NAME, - hdd_ctx->config->channel_select_logic_conc); - - hdd_nud_cfg_print(hdd_ctx); - hdd_debug("Name = [%s] value = [0x%x]", - CFG_ENABLE_UNIT_TEST_FRAMEWORK_NAME, - hdd_ctx->config->is_unit_test_framework_enabled); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ROAM_FT_OPEN_ENABLE_NAME, - hdd_ctx->config->enable_ftopen); - - hdd_debug("Name = [%s] value = [0x%x]", - CFG_ENABLE_SECONDARY_RATE_NAME, - hdd_ctx->config->enable_secondary_rate); - hdd_debug("Name = [%s] Value = [%u]", - CFG_ROAM_FORCE_RSSI_TRIGGER_NAME, - hdd_ctx->config->roam_force_rssi_trigger); - - hdd_cfg_print_action_oui(hdd_ctx); - -} - - /** * hdd_update_mac_config() - update MAC address from cfg file * @hdd_ctx: the pointer to hdd context @@ -8849,22 +7658,48 @@ QDF_STATUS hdd_execute_global_config_command(struct hdd_context *hdd_ctx, hdd_ctx, command); } +static void print_info_handler(const char *buf) +{ + hdd_nofl_info("%s", buf); +} + +static void print_debug_handler(const char *buf) +{ + hdd_nofl_debug("%s", buf); +} + /** * hdd_cfg_get_global_config() - get the configuration table * @hdd_ctx: pointer to hdd context * @pBuf: buffer to store the configuration * @buflen: size of the buffer * - * Return: QDF_STATUS_SUCCESS if the configuration and buffer size can carry - * the content, otherwise QDF_STATUS_E_RESOURCES + * Return: none */ -QDF_STATUS hdd_cfg_get_global_config(struct hdd_context *hdd_ctx, char *pBuf, - int buflen) +void hdd_cfg_get_global_config(struct hdd_context *hdd_ctx, char *buf, + int buflen) { - return hdd_cfg_get_config(g_registry_table, - ARRAY_SIZE(g_registry_table), - (uint8_t *) hdd_ctx->config, hdd_ctx, pBuf, - buflen); + hdd_cfg_get_config(g_registry_table, + ARRAY_SIZE(g_registry_table), + (uint8_t *)hdd_ctx->config, hdd_ctx, + &print_info_handler); + + snprintf(buf, buflen, + "WLAN configuration written to system log"); +} + +/** + * hdd_cfg_print_global_config() - print the configuration table + * @hdd_ctx: pointer to hdd context + * + * Return: none + */ +void hdd_cfg_print_global_config(struct hdd_context *hdd_ctx) +{ + hdd_cfg_get_config(g_registry_table, + ARRAY_SIZE(g_registry_table), + (uint8_t *)hdd_ctx->config, hdd_ctx, + &print_debug_handler); } /** diff --git a/core/hdd/src/wlan_hdd_green_ap.c b/core/hdd/src/wlan_hdd_green_ap.c index be18522b3147..eca39e66fe8f 100644 --- a/core/hdd/src/wlan_hdd_green_ap.c +++ b/core/hdd/src/wlan_hdd_green_ap.c @@ -88,20 +88,6 @@ int hdd_green_ap_enable_egap(struct hdd_context *hdd_ctx) return 0; } -void hdd_green_ap_print_config(struct hdd_context *hdd_ctx) -{ - hdd_debug("Name = [gEnableGreenAp] Value = [%u] ", - hdd_ctx->config->enable_green_ap); - hdd_debug("Name = [gEenableEGAP] Value = [%u] ", - hdd_ctx->config->enable_egap); - hdd_debug("Name = [gEGAPInactTime] Value = [%u] ", - hdd_ctx->config->egap_inact_time); - hdd_debug("Name = [gEGAPWaitTime] Value = [%u] ", - hdd_ctx->config->egap_wait_time); - hdd_debug("Name = [gEGAPFeatures] Value = [%u] ", - hdd_ctx->config->egap_feature_flag); -} - int hdd_green_ap_update_config(struct hdd_context *hdd_ctx) { struct green_ap_user_cfg green_ap_cfg; diff --git a/core/hdd/src/wlan_hdd_green_ap.h b/core/hdd/src/wlan_hdd_green_ap.h index b01a2542a809..f6643c4cc29a 100644 --- a/core/hdd/src/wlan_hdd_green_ap.h +++ b/core/hdd/src/wlan_hdd_green_ap.h @@ -56,16 +56,6 @@ void hdd_green_ap_del_sta(struct hdd_context *hdd_ctx); */ int hdd_green_ap_enable_egap(struct hdd_context *hdd_ctx); -/** - * hdd_green_ap_print_config() - Print Green AP component configuration - * @hdd_ctx: Global HDD context - * - * This function will print the static Green AP configuration - * - * Return: void - */ -void hdd_green_ap_print_config(struct hdd_context *hdd_ctx); - /** * hdd_green_ap_update_config() - Update Green AP component configuration * @hdd_ctx: Global HDD context @@ -106,11 +96,6 @@ int hdd_green_ap_enable_egap(struct hdd_context *hdd_ctx) return 0; } -static inline -void hdd_green_ap_print_config(struct hdd_context *hdd_ctx) -{ -} - static inline int hdd_green_ap_update_config(struct hdd_context *hdd_ctx) { diff --git a/core/hdd/src/wlan_hdd_he.c b/core/hdd/src/wlan_hdd_he.c index 29bc37f4cd42..6569bf6a5927 100644 --- a/core/hdd/src/wlan_hdd_he.c +++ b/core/hdd/src/wlan_hdd_he.c @@ -255,18 +255,6 @@ void wlan_hdd_check_11ax_support(struct hdd_beacon_data *beacon, config->SapHw_mode = eCSR_DOT11_MODE_11ax; } -void hdd_he_print_ini_config(struct hdd_context *hdd_ctx) -{ - hdd_info("Name = [%s] Value = [%d]", CFG_ENABLE_UL_MIMO_NAME, - hdd_ctx->config->enable_ul_mimo); - hdd_info("Name = [%s] Value = [%d]", CFG_ENABLE_UL_OFDMA_NAME, - hdd_ctx->config->enable_ul_ofdma); - hdd_info("Name = [%s] Value = [%d]", CFG_HE_STA_OBSSPD_NAME, - hdd_ctx->config->he_sta_obsspd); - hdd_info("Name = [%s] Value = [%d]", CFG_HE_DYNAMIC_FRAGMENTATION_NAME, - hdd_ctx->config->he_dynamic_frag_support); -} - int hdd_update_he_cap_in_cfg(struct hdd_context *hdd_ctx) { uint32_t val, val1 = 0; diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index b4cb104d8101..3dc312ec7cc1 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -8867,7 +8867,7 @@ static void hdd_set_trace_level_for_each(struct hdd_context *hdd_ctx) hdd_ctx->config->qdf_trace_enable_cp_stats); hdd_qdf_trace_enable(QDF_MODULE_ID_MLME, 0xffff); - hdd_cfg_print(hdd_ctx); + hdd_cfg_print_global_config(hdd_ctx); } /** diff --git a/core/hdd/src/wlan_hdd_nud_tracking.c b/core/hdd/src/wlan_hdd_nud_tracking.c index 50a02559d7dd..f77b4184cdf3 100644 --- a/core/hdd/src/wlan_hdd_nud_tracking.c +++ b/core/hdd/src/wlan_hdd_nud_tracking.c @@ -30,13 +30,6 @@ void hdd_nud_set_gateway_addr(struct hdd_adapter *adapter, sizeof(struct qdf_mac_addr)); } -void hdd_nud_cfg_print(struct hdd_context *hdd_ctx) -{ - hdd_debug("Name = [%s] value = [0x%x]", - CFG_ENABLE_NUD_TRACKING_NAME, - hdd_ctx->config->enable_nud_tracking); -} - void hdd_nud_incr_gw_rx_pkt_cnt(struct hdd_adapter *adapter, struct qdf_mac_addr *mac_addr) { diff --git a/core/hdd/src/wlan_hdd_nud_tracking.h b/core/hdd/src/wlan_hdd_nud_tracking.h index 4ba8d0c1fd35..efd3dd96fa90 100644 --- a/core/hdd/src/wlan_hdd_nud_tracking.h +++ b/core/hdd/src/wlan_hdd_nud_tracking.h @@ -75,14 +75,6 @@ struct hdd_nud_tracking_info { void hdd_nud_set_gateway_addr(struct hdd_adapter *adapter, struct qdf_mac_addr gw_mac_addr); -/** -* hdd_nud_cfg_print() - Print nud tracking related parameters -* @hdd_ctx: Pointer to HDD context -* -* Return: None -*/ -void hdd_nud_cfg_print(struct hdd_context *hdd_ctx); - /** * hdd_nud_incr_gw_rx_pkt_cnt() - Increment rx count for gateway * @adapter: Pointer to adapter @@ -153,10 +145,6 @@ static inline void hdd_nud_set_gateway_addr(struct hdd_adapter *adapter, { } -static inline void hdd_nud_cfg_print(struct hdd_context *hdd_ctx) -{ -} - static inline void hdd_nud_incr_gw_rx_pkt_cnt(struct hdd_adapter *adapter, struct qdf_mac_addr *mac_addr) { diff --git a/core/hdd/src/wlan_hdd_twt.c b/core/hdd/src/wlan_hdd_twt.c index b2ba2114d6cc..daa1e383800a 100644 --- a/core/hdd/src/wlan_hdd_twt.c +++ b/core/hdd/src/wlan_hdd_twt.c @@ -30,14 +30,6 @@ #include "sme_api.h" #include "wma_twt.h" -void hdd_twt_print_ini_config(struct hdd_context *hdd_ctx) -{ - hdd_debug("Name = [%s] Value = [%d]", CFG_ENABLE_TWT_NAME, - hdd_ctx->config->enable_twt); - hdd_debug("Name = [%s] Value = [%d]", CFG_TWT_CONGESTION_TIMEOUT_NAME, - hdd_ctx->config->twt_congestion_timeout); -} - void hdd_update_tgt_twt_cap(struct hdd_context *hdd_ctx, struct wma_tgt_cfg *cfg) {