wlan: Return success while stoping sched scan.

If driver unload is initiated with sched scan offloaded,
then driver is currently ignoring scan stop command with
failure, leading to access of released dev pointer saved in
sched scan req in rdev. Return success for sched scan
stop req during driver unload and logp in progress to
prevent the crash.

CRs-fixed: 532675
Change-Id: I0cbf79e98549948532a9d456bd616b094465dd74
wlan: Reduce log level in TL when TID is invalid and default is used

When TL receives a packet with incorrect TID then it uses default TID
of 0. In this case, reduce log level to INFO_HIGH from ERROR to avoid
excessive logging which can lead to dog bark.

Change-Id: I28e5ed07a98a3c78f75b3a266e642d1cfc16f399
CRs-fixed: 532092
wlan: update sched_scan_results after cfg80211 resumed

wiphy_resume ages the scan results with the time spent
in suspend. If the sched scan results are updated prior
to the resume, the bss ages out further resulting in the
supplicant getting no scan results and hence a failure
in the connection. So update the scan results upon resume.

Change-Id: I571d0d1dbdfdd94ebbc84d2e105f64bb6687c171
CRs-fixed: 526956
wlan: In SoftAP mode, deauth a STA only if previous deauth is not pending

In SoftAP mode, when wlan driver receives Del Sta from hostapd with null
MAC then it tries to deauthenticate each associated STAs without first
checking if previous deauthentication of that STA is in progress or not.
This leads to a race condition where deauth request remains pending at
SME command buffer while PE removes STA as part of previous deauth
processing. Later when PE receives new deauth command from SME then it
drops that command and SME keeps waiting for response from PE and command
buffer entry never gets cleared from SME command buffer. Also, reducing
log level of hdd_softap_sta_deauth print.

Change-Id: Ifcd500d20377ff127d697f08536b9b22b928e0b5
CRs-fixed: 523445
wlan: Add more debug log for NS offload feature

Add more debug log for NS offload feature

Change-Id: Ia8094ecea443e19022ecb6b6e595f180acecaa11
CRs-fixed: 532917
wlan: Return success even if timer not runnning

Caller functions of API vos_timer_stop dont care if timer
is not already started or not running. vos_timer_stop should
also return success if timer is not running.

Change-Id: I5523fb08a9e8fe0403ab76298038a651a004c6fa
CRs-Fixed: 528738
wlan: Add SNR monitoring support(2)

The present implementation of survey dump returns
the noise for the current operating channel only.
System may crash if the cfg ops is executed when
STA is not associated.

CRs-Fixed: 529156
Change-Id: I0929067ee84b679b5578531d1d05779033074624
Convert the operating DFS channel to passive

The patch converts the DFS channel from active to passive when
heart beat timeout occurs while STA is associated on DFS channel.

CRs-fixed : 531181

Change-Id: Ib3933005ef2a242571dde07a3d9f1070250ff2b0
wlan:Dont parse the IE if it's length is not in the range

Added a conditional check to verify whether the IE length
is greater than the expected length.If it is not then the IE
will not be parsed.

Problem:DUT got crashed when it tried to parse an IE with wrong
length '0'.This is reported on Buggy customer AP.

Change-Id: I43e1bed04007aa15f895ddf67b74d5194b4935ed
CRs-fixed: 523110
wlan: Fix for IBSS Peer coalescing if returns before HB timeout

In the current implementation the HB timeout is 128 seconds with
32 stations. This timeout is large for the station who leaves and
joins back within the HB timout. Since FW did not recognize the
station disconnection, it will drop all frames from that peer
assuming duplicates.

Change-Id: Ifbe38ed980921327c897de28ccdcda49ea76c8b8
CRs-Fixed: 514006
wlan: enable Low Power Heart Beat feature

Turn on build flag for LPHB feature.
Integrate FW shared common definition for compile.

Change-Id: Ic0ae56392595ccca77c392087b9bd2d4c87f02ef
CRs-fixed: 518667
wlan : wmm : Reflect the params of AddTspec response in HDD/SME

STA is not honoring the values ent by AP in AddTspec response.
One of the reasons for this is that the AddTspec response
parameters are not refelcting in SME and propogated to HDD.
Changes are made to fix this.

Change-Id: I0a35bc3b80f150c3e36265b0fbf030e22a000cb4
CRs-fixed: 533398
wlan: FTM 2nd time start fail fix

During FTM stop and close, fatal error within WLAN driver happen.
As a result next time WLAN FTM start will fail.
So, user cannot issue 2nd time FTM start command.
FTM stop procedure should be sync manner since close will follow
with same context.
If FTM stop running on async, FTM close will encounter with invalid
WDA state.

Change-Id: I313f67e1bdfebf892bf82041a944aed006f7680f
CRs-fixed: 533006
Wlan: Revision 3.2.3.169

Revision 3.2.3.169