wlan:Fix memory leak in limProcessTdls.c

Currently dynamic memory is allocated to pMsgTdlsChanSwitch.
But if the operating class of pMsgTdlsChanSwitch is 0,it simply
exits function without deallocating memory.As a part of fix,
memory is freed before returning from function.

Change-Id: If1fea34a0e7e1ff058bd80dcfc91303027dc8d58
CRs-Fixed: 737766
wlan: Resolve excessive logging issue.

Lowering the log levels to INFO/WARN from ERROR, as these logs
are not real error logs.

Change-Id: Ie476732fd7325a6fdb7164fbb31a10d84ea32c3b
CRs-Fixed: 731433
wlan: Increment rxMcast packet count if destination address is MCAST

Increment rxMcast packet count statistics if and only if destination
address is multicast group address and not a broadcast address. Do not
consider Bcast bit in RX BD-Header(pRxMeta->bcast) as it will be set
for both multicast and broadcast packets.

Change-Id: Ieaad10aba2c386c9d41f8b04c4b139a60c998311
CRs-Fixed: 746948
prima: Fix dereferencing pointer before NULL check.

This change contains fix for dereferencing a pointer
before a NULL check. The code is now changed to
dereference the pointer only after a NULL check.

Change-Id: I475ecc83e9597f37292e9cb17e31a5bde1c14a8b
CRs-Fixed: 737730
wlan: Avoid reg domain intersection after load if NV CC is non 00

If NV country code is non 00, during unload driver set country
code 00 in kernel. Due to this next time driver load the kernel
is making an intersection of def NV country and 00 and power
limits are set according to 00.

To solve this avoid sending 00 country during unload if default
country in NV is non 00.
When kernel send the hint by user or core for the previous
country during reload, copy the kernel country in
linux_reg_cc, before returning if loading is in progress,
So that in vos_nv_getRegDomainFromCountryCode driver wont send
the country hint to kernel, if kernel and driver country are
same and thus avoiding the 3 sec delay.
Also reduce the regwait time from 3 sec to 300ms.

Change-Id: I8cac2cbdb699c3bb94939acc697a595d4f277634
CRs-Fixed: 748200
Wlan: Release 3.2.3.442

Release 3.2.3.442

Change-Id: I9b6228fd2ae34643b5691d1569bc9df9dfd2f950
CRs-Fixed: 688141