qcacld-3.0: Limit the wait for first CSA beacon TX completion

During channel switch in AP, Driver send beacon with CSA count
and wait for first beacon tx complete to initiate the host timer
every beacon interval to send the beacon template with updated CSA
count till CSA count become 0 and then do the vdev restart.

If driver doesn't get first beacon tx complete, the state machine
get stuck waiting for CSA to complete and can lead to functional
and stability issues.

So wait maximum for MAX_WAIT_FOR_BCN_TX_COMPLETE time for first
beacon tx complete and if not received, start the timer for every
beacon interval to send the beacon template with updated CSA count.

Change-Id: I90fab62d0851144906a7e7bd56285e64729c568c
CRs-Fixed: 2423079
3 files changed