Explorar o código

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
chunquan %!s(int64=3) %!d(string=hai) anos
pai
achega
7f0225e909
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/hdd/inc/wlan_hdd_main.h

+ 1 - 1
core/hdd/inc/wlan_hdd_main.h

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