qcacmn: Neighbour peers RSSI update debug logs
Add Neighbour peers RSSI update debug logs. Change-Id: I9de84c94d82aeae641facaf4fd19de8d644d3ff6 CRs-Fixed: 2927427
This commit is contained in:

committed by
Madan Koyyalamudi

parent
9827e7edd8
commit
fcb71e35cf
@@ -14237,6 +14237,17 @@ fail1:
|
|||||||
return QDF_STATUS_E_NOMEM;
|
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
|
* dp_soc_cfg_init() - initialize target specific configuration
|
||||||
* during dp_soc_init
|
* during dp_soc_init
|
||||||
@@ -14244,7 +14255,7 @@ fail1:
|
|||||||
*/
|
*/
|
||||||
static void dp_soc_cfg_init(struct dp_soc *soc)
|
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);
|
target_type = hal_get_target_type(soc->hal_soc);
|
||||||
switch (target_type) {
|
switch (target_type) {
|
||||||
@@ -14333,6 +14344,7 @@ static void dp_soc_cfg_init(struct dp_soc *soc)
|
|||||||
qdf_assert_always(0);
|
qdf_assert_always(0);
|
||||||
break;
|
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);
|
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
|
/* 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;
|
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
|
* is enabled
|
||||||
* @cfg: soc configuration context
|
* @cfg: soc configuration context
|
||||||
*
|
*
|
||||||
* Return: .
|
* Return: true if enabled, false otherwise.
|
||||||
*/
|
*/
|
||||||
void
|
bool
|
||||||
wlan_cfg_set_delay_mon_replenish(struct wlan_cfg_dp_soc_ctxt *cfg, bool val);
|
wlan_cfg_is_delay_mon_replenish(struct wlan_cfg_dp_soc_ctxt *cfg);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* wlan_cfg_set_delay_mon_replenish() - Set delayed monitor replenish
|
* wlan_cfg_set_delay_mon_replenish() - Set delayed monitor replenish
|
||||||
* @cfg: soc configuration context
|
* @cfg: soc configuration context
|
||||||
@@ -1572,5 +1573,13 @@ wlan_cfg_set_delay_mon_replenish(struct wlan_cfg_dp_soc_ctxt *cfg, bool val);
|
|||||||
*
|
*
|
||||||
* Return: .
|
* Return: .
|
||||||
*/
|
*/
|
||||||
bool
|
void
|
||||||
wlan_cfg_is_delay_mon_replenish(struct wlan_cfg_dp_soc_ctxt *cfg);
|
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);
|
||||||
|
Reference in New Issue
Block a user