Ver código fonte

qcacld-3.0: Trigger recovery in rx-hash no-match

In case host receives a paddr in a HTT_RX_IN_ORDER_IND_PADDR msg
from FW that is not found in the rx_hash, instead of forcing an
APPS crash, iniate a host-triggered recovery. If the feature
is not enabled, this would be equivalent to the old code.

Change-Id: Iaab5329c13d626c4b94c690f5537899eecf2637b
CRs-Fixed: 2084522
Orhan K AKYILDIZ 8 anos atrás
pai
commit
57a78ea90d
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4 1
      core/dp/htt/htt_rx.c

+ 4 - 1
core/dp/htt/htt_rx.c

@@ -3416,7 +3416,10 @@ qdf_nbuf_t htt_rx_hash_list_lookup(struct htt_pdev_t *pdev,
 	if (netbuf == NULL) {
 		qdf_print("rx hash: %s: no entry found for %pK!\n",
 			  __func__, (void *)paddr);
-		HTT_ASSERT_ALWAYS(0);
+		if (cds_is_self_recovery_enabled())
+			cds_trigger_recovery(QDF_RX_HASH_NO_ENTRY_FOUND);
+		else
+			HTT_ASSERT_ALWAYS(0);
 	}
 
 	return netbuf;