wlan: Copy WCNSS_cfg.dat to out target directory from firmware_bin.

Copy WCNSS_cfg.dat file from prima/firmware_bin directory instead of
copying from device specifice folder (device/qcom/<target>) to out
target path, as WCNSS_cfg.dat file in prima/firmware_bin gets updated
as and when configuration file gets modified.

Change-Id: Ie1afc595d526ab3b16a7c84bcba564a62d71b687
CRs-Fixed: 613007
wlan: Roam Scan Channels defined to a constant

The LFR Message structure uses a MACRO
WLAN_HAL_ROAM_SCAN_MAX_CHANNELS which in turn points to
NUM_RF_CHANNELS as of today.NUM_RF_CHANNELS is closely
tied up with nv bin files.To decouple LFR from NUM_RF_CHANNELS
we are defining WLAN_HAL_ROAM_SCAN_MAX_CHANNELS to a
constant value.

Change-Id: Ic7db6cf4b6a930127f4581ec27957a19382c8e4d
CRs-Fixed: 612494
wlan: Filter the scan results in case of abort due to band change

The scan results need to be filterd based on the current band and
valid channel list in case of band change, to avoid the connection
with APs from non-selected band.  If there is any ongoing scan,
that scan can be aborted and the scan results needs to be filtered.

Set a flag in the scan command in csrScanAbortMacScan() if the
abort reason is eCSR_SCAN_ABORT_DUE_TO_BAND_CHANGE. Filter the
scan results after the scan completion, based on that flag.

CRs-Fixed: 592516
Change-Id: I6ee1f0359ab536fb1bfe5b32ee102d50f886ffd8
PE:Enhance MTRACE to track MC Thread TX packet wait and complete state

Changes to measure how long MC Thread was stuck for management
TX transmission.

Change-Id: I2623e3c48267ffeac16f7f422fcd8817862bb03b
CRs-Fixed: 611658
wlan: Probe req contain 11ac caps even in 2.4Ghz band

The probe req should not send 11ac caps IE in 2.4GHz channels,
unless enableVhtFor24GHz is enable in INI file.

Added check that if channel is 2.4GHz and dot11mode is 11ac change
dot11mode to 11n if enableVhtFor24GHz is not set.

CRs-Fixed: 610575

Change-Id: I0b5fb6d8a4a89d059e31c11e9e2fbd6c6183672b
wlan: wrong bitwise operation in get interface mac addr

In wlan_hdd_get_intf_addr the bitwise operation to check for
unused mac address is not proper.

Add proper check to get the unused mac address.

Change-Id: Iafdf59750a68a4b7ab4b6b7e8de3f782d750990c
CRs-Fixed: 600550
Wlan: Revision 3.2.3.240

Revision 3.2.3.240