In independent repeater scenario where STA vdev takes longer for
auth/assoc, and the AP vdevs are waiting on restart request may lead
to restart timeout.
Hence increase restart timeout to 20s which is higher than auth/assoc
timeout.
Change-Id: I5d2a0859e368feda4e1c6d3824eefdbc248b9bac
Start cmd send to FW is deferred when restart is in progress and
activated when restart is sent to FW.
There can be scenario where this restart is cancelled if the VDEV
is brought down as part of STOP cmd, during which the deferred start
cmd is not activated.
Add change to activate the deferred start on cancellation of multi
vdev restart
Change-Id: Ie202454f67943761219933be5b91a28ecba15c13
If START request is deferred due to RESTART pending logic, in few cases
it is leading to configuring two channels to FW.
This change checks desired channel of START req deferred VDEVs and updates
the desired channel with RESTART VDEV's desired channel
Change-Id: Ic69c10c08fd4d83aafcab97a71ce906564ab51f6
CRs-Fixed: 2713931
Add change to define restart bitmap using the generalized bitmap
declaration. Also use generalized function to check if any of the
bits are set in the bitmap.
Change-Id: I2c14a43982eb6e7cb5965253633ac00b357314e1
Add change to define restart bitmap using the generalized bitmap
declaration. Also use generalized function to check if any of the
bits are set in the bitmap.
Change-Id: Ice0682ed7a59de962e9e46cf598643139c7c2313
When multivdev restart request fails due to any reason, the
same is not notified to the vdev state machine. Due to VDEV
SM is stuck in restart state indefinitely.
Handle multivdev restart request failure by dispatching
RESTART_REQ_FAIL event.
Change-Id: I1cdbcf8efb5cd51e803cef4a8980d1276c410e13
CRs-Fixed: 2622197
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: I5e249583e309660281b4a9cd7253b0731c5483cd
CRs-Fixed: 2621230
On sending STOP req, RESTART pending, RESTART send flags are being cleared.
This is already being done before moving out of RESTART_PROGRESS sub state,
so avoiding it.
Change-Id: If8b358eb83571e11d6e0d3bcbedcf833894bf0d6
CRs-Fixed: 2578106
Add change to copy the contents of multivdev restart send bitmap
to the pdev restart attribute holder which will be reset when all
the vdevs of the pdev are in the UP state
Change-Id: Ieef13fd5b5db25ddd2b8736c9d01786c537c3483
CRs-Fixed: 2492538
Currently, for restart response cases, if Restart is not in progress and if
stop is issued, VDEV SM is allowing Stop request to send to FW.
This fix would prevent such cases.
Change-Id: I0d4d74c5eb2a9c9bbb588f7114fbbd5611c37cd5
CRs-Fixed: 2400987
In current code, channel number is checked to enable multivdev restart
synchronization, this assumption is not valid as channel width change
can also be requested.
To fix this, used a flag to enable multivdev restart synchronization.
Change-Id: I30b766d4430e3ce98de29d6194dc43cc42bbf0f6
CRs-Fixed: 2400987
This change removes QDF_BUG if channel match fails with other vdev,
prints would help to debug further on any issue.
Change-Id: I9566fe699d6124542dbb3075e470c887de1a612a
CRs-Fixed: 2391464