wlan: HDD: add logpinprogress check for ioctl calls

Add logpinprogress check to prevent powerstate
change during loading through wlan_hdd_enter_bmps.
This helps to prevent access to any uninitialized null pointer
during loading stage of driver.

CRs-fixed: 637285
Change-Id: I196c42bd1f7b3791a1825ac9250aff60556569d0
wlan: Fix the action frame sub type offset value for Remain-on-Channel

In hdd_p2p_is_action_type_rsp(), the input buffer is starting from public
action type offset, i.e., buf[24]. However, we were double advancing the
buffer within the function. As a result, the frame type check within the
function was always failing and Remain-On-Channel gets cancelled. This
prevents the device from receiving action response frames.

Change-Id: I7adab15f3d8096339d67dda65f40bbbed2ffc25b
CRs-fixed: 633738
TDLS: replace mutex_lock_interruptible with mutex_lock for tdls lock

Use  mutex_lock instead of mutex_lock_interruptible to avoid race
condition which can occur due to interrupts.

Change-Id: I9ba790926e0b9467e7d2fc2aae0e1d5169231045
CRs-Fixed: 637112
TDLS: TDLS Off Channel should be disabled by default

By default disabling TDLS Off Channel feature.
To enable this feature set gEnableTDLSOffChannel parameter
in configuration file.

Change-Id: I43928d715ef4a36b5ba4283668a3a58d7a249497
CRs-Fixed: 637402
wlan : Revision 3.2.3.279

Revision 3.2.3.279

Change-Id: I041f1052b687d7a348970d92a151a7ccd54a489c