Fix continuous scan req failure because of connection in progress

In random case, driver rejects all scan request for longer time saying that
connection in progress. There are two changes covered in this patch to fix
that issue.
1) When disconnect request comes from user space, wlan_hdd_disconnect()
   issues disconnect request to SME and waits for the disconnect completion
   with 500ms timeout. In some rare cases, whole disconnection process
   takes more than 500 ms to complete. On such senario, wlan_hdd_disconnect
   posts success to upper layer (immediately after 500ms) even before whole
   disconnection process completes. To force wlan_hdd_disconnect() to wait
   more time, disconnect timeout value is increased from 500 ms to 2 sec.
2) Also, scan done callback changed to report correct scan status to
   cfg80211. Earlier scan result status always informed as success
   irrespective of actual scan result. This change mainly for cfg80211
   not to post any scan results to user space in scan failure cases.

Change-Id: I651a35532d9594615de2731f992ff1b6aeb2cb0b
CRs-Fixed: 623307
wlan: Changes to configuration files for PMF support for soft AP

Recent configuration file changes for PMF (802.11w) support
for soft AP were done with files generated by an incorrect
version of the configuration generation tool (cfgGen).  This
submission corrects the problem with corrected configuration
files that were generated with the proper version of the tool.

Change-Id: I89ead92e098df270048c7671be4d7500239c5b7e
CRs-Fixed: 505740
wlan: Debug ROC if pConfig->debugP2pRemainOnChannel is set.

Added debug messages at start and cancel of remain on channel request
if pConfig->debugP2pRemainOnChannel configuration flag is set in
WCNSS_qcom_cfg.ini file. This helps in debugging ROC related issues.

CRs-Fixed: 600438
Change-Id: Id2905594513253ad0b26b24668e18e925e41c710
wlan: logic errors in TCLAS frame generation APIs

When building the prima driver for 64-bit architecture, the compiler
generated a warning for code in PopulateDot11fTCLAS().

In the present code srcIpAddr and DestIpAddr are defined as a tANI_U32
variable so it is typecasted to tANI_U8 for hidding the compilation
errors in 32-bit.

Defined both srcIpAddr and destIpAddr as an array of tANI_U8.

Change-Id: Icb260e6c99db823b1c998008907bef5d2d6cad3a
CRs-Fixed: 582176
wlan: Increasing hostapd driver command buffer size check

In batch scan driver command string buffer length is coming as
4096 so increasing driver command string buffer size check in
hostapd dev ioctl handler

Change-Id: Id6a603d31f5dae2e6c0eddc378d15b0094c20ddd
CRs-Fixed: 623972
wlan: Logging ROAM states in string format

Logging enhancement to convert and print neighbour ROAM states from
interger to string format.

Change-Id: Icf9fdc8410c551c4601983f8cafe163639190cc3
CRs-Fixed: 594595
wlan: Logging ROAM states and substates in string format.

Logging enhancement to convert and print generic ROAM states and
substates from integer to string format.

Change-Id: I879c48e4d53fc21cefd1a665a7bd1191d30ef51d
CRs-Fixed: 594595
wlan: Revision 3.2.3.255

Revision 3.2.3.255

Change-Id: If9eec996503c6d3989d5cf58b30213d4b8bd9422