mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
qcacld-3.0: Disable TDLS RX pkt statistics in bus vote high
TDLS pkts statistics API cost 10% CPU cycle of whole RX thread. The code logic show it may not be caclulated when bus vote larger than medium. But checking routine always return false of which may lead more power cost. Fix bus vote checking routine to return correct vote status in stead of always false value. Change-Id: I003c9943ef3a4bbc83db6caaf893408e40e4962b CRs-Fixed: 2842119
This commit is contained in:
parent
d955b38e8c
commit
25e6c2d027
2 changed files with 0 additions and 9 deletions
|
|
@ -430,14 +430,7 @@ void hdd_reset_tcp_delack(struct hdd_context *hdd_ctx);
|
|||
* Return: None
|
||||
*/
|
||||
void hdd_reset_tcp_adv_win_scale(struct hdd_context *hdd_ctx);
|
||||
#ifdef RX_PERFORMANCE
|
||||
bool hdd_is_current_high_throughput(struct hdd_context *hdd_ctx);
|
||||
#else
|
||||
static inline bool hdd_is_current_high_throughput(struct hdd_context *hdd_ctx)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
#define HDD_MSM_CFG(msm_cfg) msm_cfg
|
||||
#else
|
||||
static inline void hdd_reset_tcp_delack(struct hdd_context *hdd_ctx) {}
|
||||
|
|
|
|||
|
|
@ -3411,7 +3411,6 @@ void hdd_reset_tcp_adv_win_scale(struct hdd_context *hdd_ctx)
|
|||
*
|
||||
* Return: True if vote level is high
|
||||
*/
|
||||
#ifdef RX_PERFORMANCE
|
||||
bool hdd_is_current_high_throughput(struct hdd_context *hdd_ctx)
|
||||
{
|
||||
if (hdd_ctx->cur_vote_level < PLD_BUS_WIDTH_MEDIUM)
|
||||
|
|
@ -3420,7 +3419,6 @@ bool hdd_is_current_high_throughput(struct hdd_context *hdd_ctx)
|
|||
return true;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef QCA_LL_LEGACY_TX_FLOW_CONTROL
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue