Przeglądaj źródła

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 3 lat temu
rodzic
commit
7f0225e909
1 zmienionych plików z 1 dodań i 1 usunięć
  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;