Explorar o código

qcacld-3.0: Reduce LL stats / Firmware Memory Dump Blocking time

qcacld-2.0 to qcacld-3.0 propagation

Currently driver block wpa_supplicant context for response
for 5 / 5 seconds for LL stats and firmware memory dump
feature respectively. But in M framework watch dog will
be triggered after 1 second because driver is holding
the context longer, which lead to wd thread starvation.

As a part of this fix, block time is reduced to 800 msec
respectively in both cases.

Change-Id: I02cc7623bc0bc6004ece972f8c4a5e8e751131d2
CRs-Fixed: 951119
(cherry picked from commit 6f39e5ac60eac096107a36b8feb9218ceeef6c38)
Mukul Sharma %!s(int64=8) %!d(string=hai) anos
pai
achega
71d0c5773b
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      core/hdd/inc/wlan_hdd_memdump.h
  2. 1 1
      core/hdd/src/wlan_hdd_stats.h

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

@@ -64,7 +64,7 @@ enum qca_wlan_vendor_attr_memory_dump {
 #define FW_DRAM_LOCATION    0x00400000
 #define FW_MEM_DUMP_REQ_ID  1
 #define FW_MEM_DUMP_NUM_SEG 1
-#define MEMDUMP_COMPLETION_TIME_MS 5000
+#define MEMDUMP_COMPLETION_TIME_MS 800
 
 int memdump_init(void);
 void memdump_deinit(void);

+ 1 - 1
core/hdd/src/wlan_hdd_stats.h

@@ -38,7 +38,7 @@
 #define DATA_RATE_11AC_MCS_MASK    0x03
 
 /* LL stats get request time out value */
-#define WLAN_WAIT_TIME_LL_STATS 5000
+#define WLAN_WAIT_TIME_LL_STATS 800
 
 /**
  * struct index_vht_data_rate_type - vht data rate type