wlan: Remove dependency on obsolete mpp.h header file.

When the prima driver is built on the 64-bit development branch
vos_power.c does not compile due to missing header files.  The
header  files being included are not actually used, so remove the
includes.

Change-Id: Idfd5b58d659b814ca4d73350ef8f1c1efac61dd4
CRs-Fixed: 633726
(cherry picked from commit e18c604170fbc6917e702330010f21cd7bc78a8f)
(cherry picked from commit beb0bfe490b290b0b41e9b89cd41307278193a69)
(cherry picked from commit e39dd256367796fab17cfafe13d326ef4e69f8e6)
wlan: fix format specifier in logs.

This is  to remove the compiler warnings on a 64 bit machine. use a
generic specifier like %zu instead of %d to print size_t

Change-Id: Ia3662a20ac1dbab60921542e7aafce02ae50c65a
CRs-Fixed: 633657
(cherry picked from commit 84f9f5bbd0d797dcb8051aed0ff10e1607a1b71a)
(cherry picked from commit 04c2cc7c418fdc3237f608a05b4d74c1d802d63b)
wlan: fix typecasting pointer as 32 bit in nv_parser.

typecast  to a more generic type like uintptr_t for pointer arithmetic
so  that  it works correctly on both 32 bit and 64 bit implementations

Change-Id: Ifc2a5939f0e28d188d7a67f9d377b75ea4902d53
CRs-Fixed: 633658
(cherry picked from commit a911f4db668a68b1b1ed81e6d256f122450fa0ad)
(cherry picked from commit 97600493fd0bce6335a13044d82dcedff7a50cca)
wlan: Logging Infrastructure

Enhance driver to send the driver log messages to the userspace
app. This helps in enabling more log levels in driver without
any issue of device going into download mode due to excessive
logging.

Change-Id: I18d5e593823e394464c0a4824351c4417dca5476
CRs-Fixed: 628075
(cherry picked from commit 55fd6c173286517e34ad865784618d3c46b225ce)
wlan: Add ini parametr to configure dwell time for first time

Add ini parameter, gIntialDwellTime, to configure dwell time
for the first time. By updating this parameter, we are configuring
maxChnTime(max channel time).

By default this parameter is set to 0, meaning maxChnTime will
be set to default value.

Change-Id: I53f6e1a946c7e186a2fa288c9b713260cf0741b7
CRs-Fixed: 626669
(cherry picked from commit daf431a0993a32c83bef52eff2575f736e2db222)
(cherry picked from commit 4b4912d1035d78a04d40f8d4be0b10d71863745e)
wlan : Revision 3.2.3.270

Revision 3.2.3.270

Change-Id: Ib2e425ed56032edc29ef62d1e24ec41b6ab1c581
prima : Handling race condition in driver unload in FTM

wlan_hdd_process_ftm_cmd() function is called in one context
and try to post message to HAL, in the mean time the
wlan_hdd_ftm_close() is called in other context and unload
the driver which causes the crash some times.

Change-Id: I7b7cd4a3449ceb0e8973a37744f86ce67678b1a1
CRs-fixed: 631639
wlan : Revision 3.2.3.271

Revision 3.2.3.271

Change-Id: I0b7057778100a1138d4fb21628ba994db59d6187