wlan: Support for MTRACE.

This fix will move MTRACE funcionality from PE to VOSS

Change-Id: I901f139aa22ccf45ec080cff3ab7506384458251
CRs-Fixed:  592922
wlan: Fix for mtrace vos api for SME.

SME implementation of MTRACE currently uses PE Api's.
With this change MTRACE in SME will use voss api's instead
of PE.

Change-Id: I05bd98f088a2b0d09f59c94c9f6c8d826a78cad9
CRs-Fixed:  592922
wlan: Logging enhancement for Scan request path in SME

Logging enhancement for Scan request path in SME to provide
more information during failure cases.

Change-Id: I36f3b7921033d56059bb4510b2d4d448c15bae84
CRs-Fixed: 591369
wlan: Batch scan support in P2P GO mode

Batch scan IOCTL handlers in hdd_hostapd_ioctl to support
batch scan feature in P2P GO mode

Change-Id: I3df1726a8157277aa214a97542204bc95e026d6d
CRs-fixed: 597546
wlan: Reset batch scan variables after SSR

Reset batch scan data structures after SSR shutdowns driver
to sync batch scan state in host driver and FW.

Change-Id: Idc500979be34d0a4ad57b7bfab237b15ea2c086b
CRs-fixed: 597717
wlan: Resolving 64-bit Compilation Errors.

Due to different pointer size's in ILP32 and LP64,typecasting
a void pointer to int is resulting in "cast from pointer to
integer of different size" error.Resolved compilation errors
by using "uintprt_t" datatype which is internally typecasted
to unsigned long and also performed the sanity on 32-bit
device.

Change-Id: Ibba6bb15b126c4cc0af27492b46ca7fa052fbac3
CRs-Fixed: 581989
TDLS: Check isTdlsPowerSaveProhibited before the power save request

To ensure that the device do not enter in to the power save mode,
check for isTdlsPowerSaveProhibited before the corresponding power
save requests.

Change-Id: I3dbac31566bb5605a74b64603c39fd9be112e114
CRs-fixed: 590065
wlan: Additional Scan IE data is not as per interface.

In middle of p2p0 connection, if there is any wlan0
scan, Addition ScanIE data for connection is being
used as wlan0 scanIE data.
While processing scan from NL, length is being copied
as per interface but Additional IE data  will always
point to the latest Additional ScanIE.

CRs-Fixed: 579613
Change-Id: Icef0a94c441a00a0457a1df0b0f187e96c6ddee9
wlan: Issue explicit SSR when the chip does not respond to FIQ

On detecting certain error conditions DXE will try to restart
the WCN susbsystem by sending an FIQ to the WCN chip so that
it restarts but if the chip is in bad state it wont handle the
FIQ, in such a case we should issue an explicit SSR which will
restart the WCN subsystem.

Change-Id: Iaaf33a78d304485d7699f3cdc560d39e3f0c21e1
CRs-Fixed: 596762
wlan: Fix for making dwell time (0) valid for SENDACTIONFRAME

Initial development of NCHO made sure Dwell time 0 is
accepted as a valid value. Later this was broken by a
DroidSec change by adding extra check treating 0 as a
invalid value.

Modify the sanity check to allow 0 as valid value

Change-Id: I5f4ca27b6cf19d06943a08c6a450f7e17681f6ca
CRs-Fixed: 598250
wlan: AMPDU re-order buffer bug fix

If re-order buffer route 64 frames at once,
aging timer might not stop properly.
Then next hole detected and some frames Qed into re-order Q,
By accident bad timer will be expired and re-order logic will be
corrupted. TCP traffic will be routed to TCP stack out of order.
64 frame routed at once, slot index wrap around happen.
Then, not only check slot index, but also, if pending frame count
is 0, timer should be stopped

Change-Id: I4019d6d70963019f48a6903ae96c3032a2a80901
CRs-fixed: 595950
P2P: Send P2P Marker Frame on air to debug ROC issues.

Debug Marker frames are sent over air at start and end of remain on
channel. These marker frames helps in debugging scan and connection
issues by indicating DUT remained on channel or not.

Data in vendor specific information element indicates the start and
end of DUT's remain on channel. The data contains channel number,
duration and sequence number. Two sets of Marker frames are sent on
each start and end of remain on channel to make sure any of these
frames are captured in the sniffer.

Example:-
If DUT starts remain on channel on channel 6 for duration 200ms and
sequence number of debug marker frame is 15 then the contents of
vendor specific information element and sequence of marker frames
are as below,
START-REMAIN-ON-CHANNEL1-CHN=6-FOR-DUR=200-SEQ=15
START-REMAIN-ON-CHANNEL2-CHN=6-FOR-DUR=200-SEQ=15

And at end of remain on channel message will be as
CANCEL-REMAIN-ON-CHANNEL1-SEQ=15
CANCEL-REMAIN-ON-CHANNEL2-SEQ=15

Change-Id: I4f6e62c90d36ba2897038d4960e0652dad88e21a
CRs-Fixed: 594906
wlan: Enable uapsd parameter by default.

SAP does not have uapsd(gEnableApUapsd) enabled by
default. So, default value of gEnableApUapsd is
modified to 1.

Change-Id: I93a77e8c146013c3b970e1ce51ea21d50e54e937
CRs-Fixed: 586136
Wlan: Revision 3.2.3.216

Revision 3.2.3.216
wlan: Setting default country code from WCNSS_qcom_cfg.ini.

Add the option to set default country code from ini. If set this
will oevrride the default CC coming from nv.

Change-Id: I85d833dd4af941078dcdc3a0ad4bf89e36801890
CRs-Fixed: 582318
Wlan: Revision 3.2.3.216a

Revision 3.2.3.216a