Pārlūkot izejas kodu

qcacld-3.0: Fix random mac addr set issue

For every random mac addr set/clear command to firmware,
driver gets reply from firmware whether success or fail.
But sometimes, if the response event is delayed by more
than 100ms by firmware then timeout happens in HDD.
Upon timeout, driver sends clear random mac command which
gets dropped in p2p_process_set_rand_mac API as prev command
status from firmware is pending.

So fix is to increase the timeout value to 1000ms

Change-Id: I6116259b5d34269a8c98712d978957cfd374cdc1
CRs-Fixed: 3199989
Rahul Gusain 2 gadi atpakaļ
vecāks
revīzija
4bb21dde9e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      components/p2p/core/src/wlan_p2p_off_chan_tx.h

+ 1 - 1
components/p2p/core/src/wlan_p2p_off_chan_tx.h

@@ -60,7 +60,7 @@
 #define P2P_GET_TYPE_FRM_FC(__fc__)         (((__fc__) & 0x0F) >> 2)
 #define P2P_GET_SUBTYPE_FRM_FC(__fc__)      (((__fc__) & 0xF0) >> 4)
 
-#define WLAN_WAIT_TIME_SET_RND 100
+#define WLAN_WAIT_TIME_SET_RND 1000
 
 struct p2p_soc_priv_obj;
 struct cancel_roc_context;