wlcore: croc before stopping ap role

commit 8d3dc8a ("wlcore: ROC on AP channel before auth reply")
might cause us to ROC on the AP channel. Stopping the role
in this stage, without CROC, can result in a fw crash.

Make sure to CROC in this case.

Signed-off-by: Eliad Peller <eliad@wizery.com>
wl18xx: choose WCS PLL before executing high temperature WA (squash)

In some cases WLAN IP switches to Coex PLL to avoid
GPS interference. The original fix for boot process
in high temperature assumes that WLAN PLL clock select
is 0x0 (WCS PLL) - Therefore if the WLAN PLL clock
select was set to 0x1 (Coex PLL) prior to the WA
execution, no clock propagates to the design and
WLAN IP will fail.

Squash with:
fix boot process in high temperature environment

Signed-off-by: Nadim Zubidat <nadimz@ti.com>
wlcore: save seq num only between recoveries

We want to seq num (freed_pkts) to initialize
on each new connection, but keep persistent
between recoveries/suspends.

Save the freed_pkts in the private block of the
sta struct (we already do a similar thing for
AP's stations).

However, keep the old wlvif->total_freed_pkts
in order to avoid major change.

TODO: clean it up.

Signed-off-by: Eliad Peller <eliad@wizery.com>
wlcore: user smaller sqn padding for GEM

On recovery, we increase the current seq num by
WL1271_TX_SQN_POST_RECOVERY_PADDING in order compensate
on packets we might have missed during recovery.

It seems that some GEM APs have issues when the
gap is too big, so use a smaller padding in this case.

Signed-off-by: Eliad Peller <eliad@wizery.com>