mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
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
This commit is contained in:
parent
1c0a07025e
commit
5c083da176
11 changed files with 48 additions and 1305 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue