wlan: Update SMD and SMSM header includes

The SMD and SMSM kernel header files are being relocated and renamed.
Update the WLAN build logic to determine which flavor of include files
are present, and update the WLAN driver to include the appropriate
files.

Note that this is an interim change.  Once the kernel header file
changes have been deployed, the WLAN driver will again be modified to
only use the new header files.

Change-Id: Icfadb5b9fae0a9489c14e3eaf6a2894dfabafd5b
CRs-fixed: 595745
Wlan: Revision 3.2.3.214

Revision 3.2.3.214
wlan: Increase the maximum number of tspec's supported

According to WMMAC WFA cert 5.2.3 test case 24 ADDTS requests needs
to send by the STA-DUT with UAPSD enable/disable having different
TID/UP traffic which requries support to maintain 14 unique
Add Tspec entries.In our present implementaion we support only 4
unique entries.So,increased number of unique entries from 4 to 15.

CRs-Fixed: 594528
Change-Id: Ie5ff11415d6d1271f703150db89720838041f394
wlan: Reprogram Hardware filters

In one case if WCN chip come out of IMPS and host is still
not suspened; Reprogramming of Hardware filter is needed.
Host resumes comes when Riva is in IMPS. The RXP setting
made by host resume are lost when Riva exits IMPS.
In this case; host should do exit IMPS and then host should
send resume.

Change-Id: I24db291221392de26a60160e34151bd31b094e59
CRs-Fixed: 594494
qcacld: Add debug tools to system by default

Athdiag/fwdebuglog/pktlog come by default
in the build of apq8084.

Change-Id: I129286eba19d7321baf4d37ca47a576b8e70fa27
CRs-Fixed: 596303
wlan: CH144 enabled, low throughput fix

If use NV2.bin, throughput number is lower than NV3.
When DL NV contents to FW, decoded value was downloaded.
FW expects encoded NV contents.

Change-Id: I9133a1bf21d688dce117b2e243624597c41dd70c
CRs-fixed: 587860
Wlan: Revision 3.2.3.215

Revision 3.2.3.215
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