qcacld-3.0: Fix vote level error on 32bit platform

When we request bus bandwidth by tx/rx pkt on armv7(32bit).
The timer statistical value of bw_vote_time is overflow,and
become small.So, next time, the diff_us calculate result is huge,
the total pkt is always zero.so the request always fail.

Change-Id: Ifaff8abd2b901f5f32f7a95b347365678cf2f3c4
CRs-Fixed: 2983899
This commit is contained in:
chunquan
2021-09-07 17:13:02 +08:00
committed by Madan Koyyalamudi
parent 29443fe177
commit 7f0225e909

View File

@@ -2224,7 +2224,7 @@ struct hdd_context {
#endif #endif
bool is_wifi3_0_target; bool is_wifi3_0_target;
bool dump_in_progress; bool dump_in_progress;
qdf_time_t bw_vote_time; uint64_t bw_vote_time;
struct hdd_dual_sta_policy dual_sta_policy; struct hdd_dual_sta_policy dual_sta_policy;
#ifdef WLAN_FEATURE_11BE_MLO #ifdef WLAN_FEATURE_11BE_MLO
struct hdd_mld_mac_info mld_mac_info; struct hdd_mld_mac_info mld_mac_info;