mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 04:59:05 -04:00
qcacmn: Move peer activity marking to a common place
Move the peer Rx activity to PPDU_stats_handler
which is common for both NSS offload and Host datapath modes.
Change-Id: I06c3dd14d117cc291e3b19076ddfc7f3be00e602
CRs-Fixed: 2176385
This commit is contained in:
parent
a5a3ae721e
commit
eea6738ef9
3 changed files with 9 additions and 10 deletions
|
|
@ -2196,6 +2196,13 @@ static os_timer_func(dp_txrx_peer_find_inact_timeout_handler)
|
|||
qdf_timer_mod(&soc->pdev_bs_inact_timer,
|
||||
soc->pdev_bs_inact_interval * 1000);
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
void dp_mark_peer_inact(void *peer, bool inactive)
|
||||
{
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
@ -3577,12 +3584,6 @@ bool dp_peer_is_inact(void *peer)
|
|||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void dp_mark_peer_inact(void *peer, bool inactive)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1172,10 +1172,6 @@ dp_rx_process(struct dp_intr *int_ctx, void *hal_ring, uint32_t quota)
|
|||
goto fail;
|
||||
|
||||
}
|
||||
#ifdef QCA_SUPPORT_SON
|
||||
dp_mark_peer_inact(peer, false);
|
||||
#endif
|
||||
|
||||
|
||||
/* Get MSDU DESC info */
|
||||
hal_rx_msdu_desc_info_get(ring_desc, &msdu_desc_info);
|
||||
|
|
|
|||
|
|
@ -129,6 +129,8 @@ static void dp_rx_stats_update(struct dp_soc *soc, struct dp_peer *peer,
|
|||
|
||||
pdev = peer->vdev->pdev;
|
||||
|
||||
dp_mark_peer_inact(peer, false);
|
||||
|
||||
if (soc->process_rx_status)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue