wlan: updating interface file, wlan_hal_cfg.h.

Add ini parameters gRAFilterEnable and gRARateLimitInterval to
enable/disable RA filter and to configure RA_RATELIMIT_INTERVAL
respectively.

Updating wlan_hal_cfg.h file with the one present in firmware.

Change-Id: I19c7fc84974a8dc0615cdcfa9ba8a29b72a2d779
CRs-Fixed: 621074.
(cherry picked from commit 1eae48091040f3c76719f5acf2c22132c104458c)
wlan: adding cfg.ini parameter to configure to RA filter.

Add ini  parameters gRAFilterEnable and gRARateLimitInterval to
enable/disable RA filter and to configure RA_RATELIMIT_INTERVAL
respectively.

Change-Id: I6b68f7c20ae4d61f8cbafe7f7aa3c21a6c5b0579
CRs-Fixed: 621074
wlan: Fix PE issues found by static code analysis

tSirMsgQ  is of size 12 bytes and vos_msg_t is of size 16 bytes.
The issue is in function limPostMsgApi the input parameter pMsg
of type tSirMsgQ is type-casted to vos_msg_t and later
message is being copied to type-casted 12 bytes of pointer with
16 bytes of data. This can lead to memory corruption.

Fix this by making sure both of these structures are of same size
CRs-Fixed: 627600

Change-Id: I6a79e1a9b44af65f62e1107325d249ddafca711c
(cherry picked from commit c284425b1fbe2c93fa9dfb5413f2f245d3eb7d5b)
wlan: Prevent several functions to continue during SSR

Although wlan_hdd_cfg80211_connect_start() is called inside wlan_hdd
_cfg80211_connect() which is SSR protected, there is a chance that SSR
comes right after passing the check, so it should also be protected,
otherwise it may lead to a crash. The same protection is also made for
hdd_handle_batch_scan_ioctl() since it maybe invoked from IOCTL during
SSR.

Also add the NULL pointer check for potential crashes.

Change-Id: I25743da2e80b0362b3f55f7aaf4cbcfbd3bc8b35
CRs-fixed: 626282
(cherry picked from commit 4ed1478468df3b8a21749a4761872dbf2d197c57)
wlan: Fix static issues in csrApiScan.c and csrApiRoam.c files .

In this issue pointers 'pScanRequest'and
'pCommand' are checked for null , but there
is no associated return statement.
As a part of this fix ,return if
'pScanRequest' and 'pCommand' is NULL
thereby avoid dereference.
Change-Id: I601274d49399aaa3539156c6565254a8f8828081
CRs-Fixed: 620447
(cherry picked from commit aa44f6dc4c09b8ee7bb30d1e2cd6937908c7494e)
wlan: fix array bound check in limUnmapChannel

Patch "wlan: add channel number 144 to array index-channel mapping"
(I5ffd9d8ed3b535a12c5e5c4475fec225dec128a0) added macro to find the
array bound which returned number array elements. So condition check
inside limUnmapChannel should include last element of the array.

Change-Id: I4718c114899d924d9a3f391519fe9bd856b2fd98
CRs-Fixed: 627672
(cherry picked from commit f2256d7af854d7277a9ccae3235767e231f022bd)
wlan : Fix static issue in csrApiRoam File.

In this issue array 'ChannelCacheStr' bound
could be exceeded.
As a part of Fix, added condition check
so that array bound is never exceeded.
Change-Id: I0d1aa2dda6c21b8ae0d6a83d46b14140c093a2f2
CRs-Fixed: 620480
(cherry picked from commit 29d130e3856095eabd4b8c4e5a4b6b04488e5a20)
Owlan: OBSS scan start request

Converting the OBSS scan start request
to HAL start Request type.

Change-Id: Ie1da17465228343120135f01e08015a9bca49161
CRs-Fixed: 627366
(cherry picked from commit ee3ad177ebdb4df57619a8ab3389dd78d0d745e9)
Copyright & Proprietary violations

Fixed copyright and proprietary issues

	modified:   prima/CORE/HDD/inc/wlan_hdd_trace.h
	modified:   prima/CORE/HDD/src/wlan_hdd_trace.c
	modified:   prima/CORE/SME/src/csr/csrApiRoam.c

Change-Id: I4778559cc8fff3ca24d84a8d6b0299ea74886fd5
wlan : Revision 3.2.3.261

Revision 3.2.3.261

Change-Id: I9b6277232c84269b91361c0d8a10095738b384f1