qcacmn: Neighbour peers RSSI update debug logs

Add Neighbour peers RSSI update debug logs.

Change-Id: I9de84c94d82aeae641facaf4fd19de8d644d3ff6
CRs-Fixed: 2927427
此提交包含在:
Subrat Mishra
2021-04-19 17:25:39 +05:30
提交者 Madan Koyyalamudi
父節點 9827e7edd8
當前提交 fcb71e35cf
共有 4 個檔案被更改,包括 40 行新增6 行删除

查看文件

@@ -14237,6 +14237,17 @@ fail1:
return QDF_STATUS_E_NOMEM;
}
static void dp_soc_cfg_dump(struct dp_soc *soc, uint32_t target_type)
{
dp_init_info("DP soc Dump for Target = %d", target_type);
dp_init_info("ast_override_support = %d, da_war_enabled = %d,",
soc->ast_override_support, soc->da_war_enabled);
dp_init_info("hw_nac_monitor_support = %d",
soc->hw_nac_monitor_support);
wlan_cfg_dp_soc_ctx_dump(soc->wlan_cfg_ctx);
}
/**
* dp_soc_cfg_init() - initialize target specific configuration
* during dp_soc_init
@@ -14244,7 +14255,7 @@ fail1:
*/
static void dp_soc_cfg_init(struct dp_soc *soc)
{
int target_type;
uint32_t target_type;
target_type = hal_get_target_type(soc->hal_soc);
switch (target_type) {
@@ -14333,6 +14344,7 @@ static void dp_soc_cfg_init(struct dp_soc *soc)
qdf_assert_always(0);
break;
}
dp_soc_cfg_dump(soc, target_type);
}
/**

查看文件

@@ -1480,6 +1480,11 @@ dp_rx_handle_ppdu_stats(struct dp_soc *soc, struct dp_pdev *pdev,
}
}
qdf_spin_unlock_bh(&pdev->neighbour_peer_mutex);
} else {
dp_info("Neighbour peers RSSI update failed! fc_valid = %d, to_ds_flag = %d and mac_addr2_valid = %d",
ppdu_info->nac_info.fc_valid,
ppdu_info->nac_info.to_ds_flag,
ppdu_info->nac_info.mac_addr2_valid);
}
/* need not generate wdi event when mcopy, cfr rcc mode and

查看文件

@@ -1542,3 +1542,11 @@ wlan_cfg_is_delay_mon_replenish(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->delay_mon_replenish;
}
void wlan_cfg_dp_soc_ctx_dump(struct wlan_cfg_dp_soc_ctxt *cfg)
{
dp_info("DP CFG SoC ctx: delay_mon_replenish = %d,",
cfg->delay_mon_replenish);
dp_info("reo_dst_ring_size = %d, delayed_replenish_entries = %d",
cfg->reo_dst_ring_size, cfg->delayed_replenish_entries);
}

查看文件

@@ -1561,10 +1561,11 @@ void wlan_cfg_set_rxdma1_enable(struct wlan_cfg_dp_soc_ctxt *wlan_cfg_ctx);
* is enabled
* @cfg: soc configuration context
*
* Return: .
* Return: true if enabled, false otherwise.
*/
void
wlan_cfg_set_delay_mon_replenish(struct wlan_cfg_dp_soc_ctxt *cfg, bool val);
bool
wlan_cfg_is_delay_mon_replenish(struct wlan_cfg_dp_soc_ctxt *cfg);
/**
* wlan_cfg_set_delay_mon_replenish() - Set delayed monitor replenish
* @cfg: soc configuration context
@@ -1572,5 +1573,13 @@ wlan_cfg_set_delay_mon_replenish(struct wlan_cfg_dp_soc_ctxt *cfg, bool val);
*
* Return: .
*/
bool
wlan_cfg_is_delay_mon_replenish(struct wlan_cfg_dp_soc_ctxt *cfg);
void
wlan_cfg_set_delay_mon_replenish(struct wlan_cfg_dp_soc_ctxt *cfg, bool val);
/**
* wlan_cfg_dp_soc_ctx_dump() - Dump few DP cfg soc parameters
* @cfg: soc configuration context
*
* Return:
*/
void wlan_cfg_dp_soc_ctx_dump(struct wlan_cfg_dp_soc_ctxt *cfg);