wlan: Restart SAP to ensure STA+SAP scc.

Turn off SAP when STA is getting connected and latter
restart SAP on STA channel to ensure SCC scenario.

Change-Id: Icb4693699dbf724ce3e50f5050a40f204d6f0cbe
CRs-Fixed: 669437
wlan: scan taking more than 1 sec despite of dwell time values.

As part of scanning, we step through the list of channels and
calculate the "total scan duration" and initialize the HAL
with this value. The problem here is that we use the "dwelltime"
values set through the ioctl interface only if the  channel is
marked for "Active scan". For DFS channels that are marked for
passive scan, we retrieve the values from cfg and the default
value for it is 110msec. Since we have so many DFS channels
in the 5GHZ region, the final total scan duration is coming
to be much more than 1sec. The fix is to update the cfg with
the appropriate dwell times values when they got set through
the ioctl interface.

Change-Id: Idda79b3823021b8b9ea924b3230e2113fa963708
CRs-Fixed: 689494
wlan: Fix roaming latency caused by cfg80211_get_station

While roaming is going on, Framework initiate
cfg80211_get_station to collect station statistic,
Which in turn block the call or wait for time-out.
This can be overcome by avoiding cfg80211_get_station
if it is triggered in between the Roaming to reduce
the roaming latency.

Change-Id: I897325cab8572fdd330f8a875a29dc49f0a91796
CRs-Fixed: 681718
wlan: Pass correct parameter to malloc.

In sme_getBcnMissRate() pass correct size to vos_mem_alloc(),
while allocating memory for 'pMsg'.

Change-Id: I9c50ed48bd01ba16dcb704b8d356e7bfa3c07e52
CRs-Fixed: 691683
Wlan: Revision 3.2.3.377

Revision 3.2.3.377

Change-Id: I6a98fe5544a69eef82243a038c9d0a5706b75a4e
CRs-Fixed: 688141