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:
Subhranil Choudhury
2018-01-18 20:24:36 +05:30
committed by snandini
parent a5a3ae721e
commit eea6738ef9
3 changed files with 9 additions and 10 deletions

View File

@@ -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
/*