Fix for Scan end request sent after Finish scan issue

Host sends scan end req to firmware after firmware sends
finish scan rsp.Avoid this by adding extra check.

CRs-fixed: 499488

Change-Id: If8d4068dedc3abfc0a5dc78af8a521ddd20dd315
wlan : rrm : Incorrect Tx power values in Measurement report

STA is sending negative Tx power values in the Measurement
report with different configuration of Nth beacon filter.
Changes are made to send correct power value
in measurement report in STA mode.

CRs-fixed: 525811

Change-Id: I84d4ca7ab06a15e7e88b2033869c24c45ed72aab
wlan: Add config param GO LINK MONITOR TIMEOUT.

Added GO LINK MONITOR TIMEOUT ini param to calculate total
effective detection time to delete inactive P2P clients.
This param along with gGoKeepAlivePeriod decides the total
time taken to delete inactive p2p clients.

CRs-Fixed: 531064
Change-Id: I0a2ce145947430701dd05a3828f7c1d9abc98716
wlan: API for Reliable Mcast

Message definitions for RMCAST - Leader based protocol.
Align message enum ids with CFW mainline (wcnss.2.4)

CRs-Fixed: 514620
Change-Id: I667194eb53f74f6674101b13319d7d8775508379
wlan: Revision 3.2.3.173

Revision 3.2.3.173
wlan: Add configuration parameters for LTE Coex

Add configuration parameters for LTE Coex. Also resolving conflicts
in configuration items as per Pronto 2.4 by:
1) Adding QWLAN_HAL_CFG_TDLS_OFF_CHANNEL_CAPABLE at id 116
2) Moving QWLAN_HAL_CFG_GO_LINK_MONITOR_TIMEOUT to id 165 from id 116

CRs-Fixed: 533230
Change-Id: I490ca1b04fbe846c73bac44929a6dcd5b6b0ee83
wlan:Block WiFi Direct GO mode on UNII-1 Band.

Make UNII-1 Band channels to passive channel.
GO shouldn't be started on UNII-1 band channels
(36,38,40,42,44,46,48) if regulatory domain is FCC.

CRs-Fixed: 472846
Change-Id: I87b2cc3ff6e634ef8a57cc5c0c60c3dcc151ee87
wlan: GO should not follow STA channel if channel is passive.

When Country Code is USA, GO is always following STA channel.
If channel is Passive in that case GO should not follow
STA channel. Initially beacon hint was disabled at the time
of wiphy registration and with US country Code only.
Now Beacon hint got disabled for all the country.

CRs-Fixed: 487982,487968
Change-Id: Ic8c9ac23d8e7a5db30233e51412107eee93a50f0
wlan: Passing correct list to cfg before changing country code.

Channel list should be passed properly before changing country
code.

CRs-Fixed: 537315
Change-Id: I461bc6ed622f21b5a863176fa3e7bb990c0394a0
wlan: wiphy->bands[] can be null.

In somecase if wiphy->bands[] becomes null,
access to null memory can be reason for crash.

CRs-Fixed: 490153
Change-Id: Ib3636938f6ebd09d1e3d0d05522f196a8ba9e17a
wlan: Processing Deauth in eLIM_MLM_WT_ADD_STA_RSP_STATE

Currently DEAUTH is not getting processed in mlm state with
eLIM_MLM_WT_ADD_STA_RSP_STATE.

CRs-Fixed: 516813
Change-Id: I0ed779f73a5124ba06ebefad7d27046b3f46cf05
Fix for STA does not pick the best Reg domain in 11d

when more than one 11d capable APs are present, STA does not pick
the Reg domain corresponding to the AP with the strongest RSSI.
this commit fixes the issue.

Change-Id: I0ea6468150ef023b33d4711c1790bd6494b8fb04
CRs-fixed: 534511
SCAN-OFFLOAD: sessionize CSR for eWNI_SME_GET_SCANNED_CHANNEL_REQ.

Sessionizing the CSR for the command
eWNI_SME_GET_SCANNED_CHANNEL_REQ.

Change-Id: I9feac1c38ead616c8aec7d1019ee870efcf8ca78
CRs-fixed: 500914
SCAN-OFFLOAD: Changes required for aborting the scan

When abort scan is issued, only the scan requests with a
particular session id needs to removed from the pending
queue and current ongoing scan should be abroted.

Change-Id: I02a45a3f18919d91bdeb050719d473681f6979e7
CRs-fixed: 500914
wlan: INI Support for configuring PNO scan cycle iteration.

Driver gets only one timer interval which is hardcoded in
supplicant for 10000ms. So until PNO is disabled firmware
repeats PNO scan for every 10 secs. With this change power
consumption can be reduced by increasing scan interval value
exponentially and after certain number of scan cycle,
which is configurable through INI

CRs-fixed: 534734
Change-Id: I290c6bace663fa0ea380731e2ab5ed188320d87b
wlan: Reverting Fix for CR 489322.

Scanning should be handled from supplicant. There can be a case
where In AGO case, GO need not to scan.

CRs-Fixed: 534847
Change-Id: I4822077c73df86bbf4e6bded175aaf40367159b7
wlan: Invoke AP stopped interface after SSR

Invoke cfg80211 AP stopped interface to indicate user mode that softap
has been stopped at the driver because of firmware recovery.

CRs-Fixed: 453060
Change-Id: I9c7f6e5fedc24b83e1fa3604b5e21d857e9213cd
wlan: Panic if there is a WDI timeout during SSR

We have seen instances where the first WDI message (NV Download) from
the host driver times out after SSR. A WDI timeout during SSR cannot be
handled, so invoke panic to collect more logs on this failure.

Change-Id: Ib59ec833297affddc83653da54c9b9faf6a4d7da
CRs-Fixed: 537018
Fix MAS reports low load for STA TCP RX/TX VHT80 in MCC

Adjust the MAS load calculated by decreasing the MAC efficiency used to
calculate the throughput achieved at MAC layer. This enables to bump
channel utilization thus helping offset TCP behavior which causes MAS to
think low load even at peak TCP traffic.

Change-Id: Iaa927ff97cf63a15698de418fdff733d06013982
CRs-Fixed: 539215
Wlan: Revision 3.2.3.174

Revision 3.2.3.174