Selaa lähdekoodia

qcacmn: Add multivdev restart wait timeout

In the current implementaion, if multivdev restart req is not sent
due to error cases, then the multivdev restart timer gets restarted
after every timeout and the vdev sm is stuck in same state.
Add multivdev restart timeout wait counter and assert after the wait
timeout expires.

Change-Id: I12b10fb7d880e7fcf3dd02d1e38397aa2e3aebe7
CRs-Fixed: 2621231
Himanshu Batra 5 vuotta sitten
vanhempi
sitoutus
f4149ccaa2
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      umac/mlme/include/wlan_pdev_mlme.h

+ 2 - 1
umac/mlme/include/wlan_pdev_mlme.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2019 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2019-2020 The Linux Foundation. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -55,6 +55,7 @@ struct pdev_mlme_obj {
 	unsigned long restart_send_vdev_bmap[2];
 	unsigned long start_send_vdev_arr[2];
 	struct pdev_restart_attr pdev_restart;
+	qdf_atomic_t multivdev_restart_wait_cnt;
 };
 
 #endif