Commit graph

8,299 commits

Author SHA1 Message Date
Service qcabuildsw
bacd348254 Merge "qcacld-3.0: Fix possible NULL pointer dereference for sta_ds" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:39:03 -07:00
Service qcabuildsw
d48c54a4e8 Merge "qcacld-3.0: If mac_ctx is NULL, do not use it for logging purpose" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:39:02 -07:00
Service qcabuildsw
146ccaa795 Merge "qcacld-3.0: Check WMA for NULL before dereferencing" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:39:01 -07:00
qcabuildsw
918a1c1b1a Merge "Release 5.1.0.26U" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:39:01 -07:00
Service qcabuildsw
d1e3b6f330 Merge "qcacld-3.0: Cleanup HDD suspend/resume logging messages" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:59 -07:00
Service qcabuildsw
602b0bf83f Merge "qcacld-3.0: Fix race condition between PM suspend and fw irq" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:58 -07:00
Service qcabuildsw
044c4684d1 Merge "qcacld-3.0: Register suspend_noirq/resume_noirq to kernel" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:57 -07:00
Service qcabuildsw
654d5a42ec Merge "qcacld-3.0: Call ICNSS APIs for get/set channels and dfs" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:56 -07:00
qcabuildsw
fda2cc70e0 Merge "Release 5.1.0.26T" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:56 -07:00
Service qcabuildsw
5ae85b3d4f Merge "qcacld-3.0: Remove obsolete RRM "max duration" configuration" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:55 -07:00
Service qcabuildsw
c32483cd41 Merge "qcacld-3.0: Re-fix max dwell time for passive scan beacon report" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:54 -07:00
Service qcabuildsw
abfbde7d6f Merge "Revert "qcacld-3.0: Fix max dwell time for passive scan beacon report"" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:53 -07:00
Service qcabuildsw
507ea5791d Merge "qcacld-3.0: Converge gDataInactivityTimeout default values" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:52 -07:00
Service qcabuildsw
751496b5a2 Merge "qcacld-3.0: Converge ImplicitQosIsEnabled default values" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:51 -07:00
Service qcabuildsw
a676c99e80 Merge "qcacld-3.0: Converge Intf*MacAddress default values" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:50 -07:00
Service qcabuildsw
1453a64e96 Merge "qcacld-3.0: Remove obsolete "isAndroidPsEn" configuration" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:49 -07:00
Service qcabuildsw
ed93d28ad7 Merge "qcacld-3.0: Remove "Beacon Early Termination" configuration" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:48 -07:00
Service qcabuildsw
b262de76ca Merge "qcacld-3.0: Remove obsolete "flex connect" configuration" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:47 -07:00
Service qcabuildsw
7433d0e84c Merge "qcacld-3.0: Remove obsolete "AGC Listen mode" configuration" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:46 -07:00
Service qcabuildsw
b395d45b47 Merge "qcacld-3.0: Remove obsolete "num rx antenna" configuration" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:45 -07:00
Service qcabuildsw
82829761c1 Merge "qcacld-3.0: Remove obsolete "TX Power Control" configuration" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:45 -07:00
Service qcabuildsw
d7024bdb87 Merge "qcacld-3.0: Remove obsolete "enable close loop" configuration" into wlan-cld3.driver.lnx.1.1-dev 2016-09-19 12:38:44 -07:00
Kapil Gupta
0ed58dc628 qcacld-3.0: Create bug report in case of nil scan results
qcacld-2.0 to qcacld-3.0 propagation

Host should trigger bug report if HDD has zero scan results
to report to cfg80211 layer.
Add changes to trigger bug report if HDD has zero scan
results.

Change-Id: Ibac7fc5abfc860fc8759fe2cd029d19e2d6662a9
CRs-Fixed: 992733
2016-09-16 21:06:37 +05:30
yeshwanth sriram guntuka
0255f8542d qcacld-3.0: Disable IBSS creator info upon GETIBSSPEERINFOALL command
When GETIBSSPEERINFOALL command is used to print IBSS peer info,
both creator and peer info are displayed.

Fix is to decrease the loop iteration by one so that creator
info is not displayed.

Change-Id: I1cc467d6fd4b3b29f86f01aa111235f04ddaef42
CRs-Fixed: 1061472
2016-09-16 21:06:37 +05:30
Kondabattini, Ganesh
32be083b3d qcacld-3.0: Fix the bug in populating the ll stats
qcacld-2.0 to qcacld-3.0 propagation

If ll stats provided by FW has more than one peer then
Driver is allocating memory for all the peers but copying stats
for only first peer before sending it to upper layer.

Fix the issue to copy stats for all the peers.

Change-Id: I91b14377acfed6ccdde4315c4796ef1adbfd18c3
CRs-Fixed: 1018539
2016-09-16 21:06:37 +05:30
Padma, Santhosh Kumar
209c195927 qcacld-3.0: Validate and Rectify RSN IE in probe response frame
qcacld-2.0 to qcacld-3.0 propagation

There are some Access points that have not included the
capability field in the RSN ie's though the length for the
RSN ie's indicate for the presence of this field. This shall
result in the next byte after this RSN ie as the capability
field, thus resulting in the improper interpretation of this
field, the end result being a failure to connect to such AP's.
This commit introduces a work around to interop with such AP's
by appending the capability field with 0 value to the obtained ie.
It updates MPDU length of received RxPacket based on addition of
RSN Capability if it is missing in Probe response.

Change-Id: Ic599c8bdb19e368fefb13293499451e7ab38d517
CRs-Fixed: 667983
2016-09-16 21:06:37 +05:30
Padma, Santhosh Kumar
eb0191f574 qcacld-3.0: Add proper lengths to payload
qcacld-2.0 to qcacld-3.0 propagation

Currently, sizeof(tAniHdr) is not added to payload length in
messages in wlan_send_sock_msg_to_app, ptt_sock_send_msg_to_app.
These missing lengths can cause user space
to drop these messages. Fix this by adding appropriate lengths.

Change-Id: I2609029445110e661440a7fc55f36801e4f72afc
CRs-Fixed: 985614
2016-09-16 21:06:36 +05:30
Padma, Santhosh Kumar
faaa7bd8e2 qcacld-3.0: Fix buffer overflow
qcacld-2.0 to qcacld-3.0 propagation

In limInitPeerIdxpool, driver initializes gLimAssocStaLimit/
gLimIbssStaLimit entries of peer index pool. But there is a chance
of allocating less memory for peer index pool in peCreateSession
which can overwrite adjacent memory locations as maxStation can be
different from gLimAssocStaLimit/gLimIbssStaLimit. Fix this by
initializing maxStation entries.

Change-Id: I915e67fe7a15ebe622273af971d8a88ad78585cf
CRs-Fixed: 1025378
2016-09-16 21:06:36 +05:30
Padma, Santhosh Kumar
dcba34f1c1 qcacld-3.0: Fix pmfComebackTimer during roaming
qcacld-2.0 to qcacld-3.0 propagation

Currently pmfComebackTimer is not initialized during roaming. This
can lead to error in pe_delete_session when driver tries to destroy
pmfComebackTimer. Fix this by initializing pmfComebackTimer during
roaming. Also, handle status eSIR_MAC_TRY_AGAIN_LATER as failure
during roaming.

Change-Id: Ic9c4e996c4078d09ef7cd9b3b073105d94eb53fb
CRs-Fixed: 1037640
2016-09-16 21:06:36 +05:30
Selvaraj, Sridhar
dc038ee71e qcacld-3.0: Reset use_protection when legacy AP goes away
qcacld-2.0 to qcacld-3.0 propagation

use_protection in erp IE was not reset after legacy AP goes away
which was leading to reduced throughput issue.
Fix is to reset protection bit and update the FW once legacy AP
goes away.

Git-commit: c7218f04e83907f1bba51131adf448360076d1d4
Change-Id: I4138434477e1de432b9547ce1aec4968a559188f
CRs-Fixed: 1006601
2016-09-16 21:06:36 +05:30
Selvaraj, Sridhar
a0083c4cfa qcacld-3.0: Unpause data queue after SAP SSID setting
qcacld-2.0 to qcacld-3.0 propagation

Client connectivity with SAP fails after Association due to DHCP Timeout.
This happens as iwpriv command is issued to change the SSID type to hidden,
As part of this command VDEV STOP->VDEV RESTART->VDEV UP are issued to
firmware. DHCP frames are stuck in the driver queues as queues are paused
as part of VDEV restart sequence done for hidden SSID. VDEV unpause is not
done after VDEV up which leads to this issue. This fix unpauses the data
queue after the SSID configuration is done. Also, recalibration of Hidden
SSID setting is avoided if the required setting(broadcast/hidden SSID) is
already configured

Git-commit: a14bb2ab3423674c2b6a1a67f7a33232816af7f7
Change-Id: Ic31fc5c7fc8ea7d47358cf701e51fa830eefd2ab
CRs-Fixed: 990208
2016-09-16 21:06:36 +05:30
Kondabattini, Ganesh
44f6a21496 qcacld-3.0: Parse attributes for vendor IE and access policy
qcacld-2.0 to qcacld-3.0 propagation

User can configure the vendor IE and access policy from
application. Driver has to parse this vendor attribute and
update the protocol stack.

Change-Id: I176570336aea74b10c5a7e6ad42ed9854dc11b8c
CRs-Fixed: 1020078
2016-09-16 21:06:36 +05:30
Kondabattini, Ganesh
e4f18e0c34 qcacld-3.0: Add access policy for vendor IE
qcacld-2.0 to qcacld-3.0 propagation

User configures vendor IE and access policy to allow or deny
association. PE should allow or deny connection based on access
policy and presence of vendor ie in probe request/association
irequest frame.

Change-Id: Ia2714ba07a67602e552a6f43928f02de0d4d0b9b
CRs-Fixed: 1020078
2016-09-16 21:06:36 +05:30
Deepthi Gowri
1de51e3876 qcacld-3.0: Use preauth channel to fetch the band during roaming
qcacld-2.0 to qcacld-3.0 propagation

During roaming the connected AP's operating channel is used instead of
preauth channel to fetch the band, based on which the data rate is set.
Due to this incorect data rate is set.

To address this, use the preauth channel during roaming to fetch the band
and set the data rate accordingly.

CRs-Fixed: 1017943
Change-Id: Ia3bf13c1a93a156eba8461bcdcf3490b9f49c2a2
2016-09-16 21:06:36 +05:30
Kondabattini, Ganesh
3f2d02cd32 qcacld-3.0: Fix to send the deauthentication frame from HDD
qcacld-2.0 to qcacld-3.0 propagation

Currently, On sending disassoc from HDD lim will process
disassoc and clear's session of station and thus leading to
drop deauth in lim since context is already cleared. Hence
deauth frame is not sent from SoftAP although deauth command
is executed on hostapd_cli.
Fix will ensure to send disassoc command through new API
and doesn't clear's session and the same is cleared after
sending deauth.

Change-Id: I912a91f1df4001bb2d4f1f0d6031cc102d1bbd65
CRs-Fixed: 981121
2016-09-16 21:06:35 +05:30
Deepthi Gowri
b3bfefd6e1 qcacld-3.0: Pass the correct reason code to disassoc
qcacld-2.0 to qcacld-3.0 propagation

use the same reason code in the disassoc, which the upper
layer has passed to the driver

Change-Id: I6302a5c8318a8e3c1221b9272637455da4e7f150
CRs-Fixed: 852387
2016-09-16 21:06:35 +05:30
qcabuildsw
81f573f56d Release 5.1.0.27B
Release 5.1.0.27B

Change-Id: I0c83f9c785d1119c3f6f0e5bff3e7f79fadf84d3
CRs-Fixed: 688141
2016-09-16 05:50:06 -07:00
Himanshu Agarwal
cd8a84ad46 qcacld-3.0: Refactor support to get per chain rssi stats
Propagation from qcacld-2.0 to qcacld-3.0.

Add sanity check based on TLV len in addition to the check
based on TLV tag id to ensure that if fw does not support or
is not sending rssi stats then HOST does not process it at all.

Change-Id: I92b197f9578aa003bf622617c363fea7334dbcb2
CRs-Fixed: 1023179
2016-09-16 05:50:05 -07:00
Himanshu Agarwal
37e4241cf0 qcacld-3.0: Add support to get per chain rssi stats
Propagation from qcacld-2.0 to qcalcd-3.0.

Add support to get per chain rssi from fw via
already existing WMI command WMI_REQUEST_STATS_CMDID
and then store it in the station_info structure defined
by cfg80211.

Change-Id: Id50c96dd322b5ca4db34cf2df901730d8b103251
CRs-Fixed: 1005367
2016-09-16 05:50:03 -07:00
qcabuildsw
b6bfefe7a5 Release 5.1.0.27A
Release 5.1.0.27A

Change-Id: Idc76f6db701a3e3e607c9bc07b880c7a7ec8cec0
CRs-Fixed: 688141
2016-09-16 02:54:40 -07:00
Himanshu Agarwal
7a391e0354 qcacld-3.0: CL 1641391 – update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

WMI modification for DISA feature

Change-Id: I57441642986ecfb6d3ee42d602810f6b22f83c46
CRs-Fixed: 865207
2016-09-16 02:54:40 -07:00
Himanshu Agarwal
5fd834320b qcacld-3.0: CL 1639162 – update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

Rename WMI REPORT_STATS_EVENT fields.
Change the names of some of the REPORT_STATS_EVENT fields to better
describe the information they contain, and move some of the rx stats
to be at the peer level.These changes are not backwards-compatible,
but since the current defs are not yet being used by host or target.

Change-Id: I37d0fdf9b65a55f42e935e4917db30c4eb316607
CRs-Fixed: 865207
2016-09-16 02:54:38 -07:00
Himanshu Agarwal
b4e1a496c1 qcacld-3.0: CL 1638528 – update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

Add WMI_COEX_CONFIG_COEX_DBG def.

Change-Id: I7d320ce070087b464784baee886c5d1d103a7b6c
CRs-Fixed: 865207
2016-09-16 02:54:30 -07:00
Himanshu Agarwal
a24c0fe6b7 qcacld-3.0: CL 1636297 – update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

Add tx frame count and MAC clock to WMI chan info event
message.

Change-Id: I79c2a07504a5ff84ebf4b48ca00ef3c299fd15f1
CRs-Fixed: 865207
2016-09-16 02:54:27 -07:00
Himanshu Agarwal
4eefcde5b1 qcacld-3.0: CL 1635229 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

Report aggregation failure LL implementation.

Change-Id: Ibeaeb6f744480faa116c607eee7c19bdd73ea0d0
CRs-fixed: 865207
2016-09-16 02:54:25 -07:00
Himanshu Agarwal
97005de93e qcacld-3.0: CL 1634314 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

Add/refine 802.11ax/HE defs used in the host/target interface.

Change-Id: I28f5e0c87933f75e555a763c1e3c803a9c435cea
CRs-fixed: 865207
2016-09-16 02:54:23 -07:00
Himanshu Agarwal
9a8f2f9659 qcacld-3.0: CL 1628995 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

Add ta_max_duration to wmi_ocb_set_config_cmd struct
(and fix some WMI comments).

Change-Id: Ia5fd7aede98940e11f8ab558bcea50b68627de2c
CRs-fixed: 865207
2016-09-16 02:54:21 -07:00
Himanshu Agarwal
2f4f530f78 qcacld-3.0: CL 1623350 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

Add HW mode config type in HW mode capabilities.
Add max MU beamformee field to supported flags in
MAC_PHY_CAPABILITIES.

Change-Id: I015c31dbbff9d180c6338032ab03ec025d32ba55
CRs-fixed: 865207
2016-09-16 02:54:19 -07:00
Manjeet Singh
27aa9c1c73 qcacld-3.0: CL 1614559 - update fw common interface files
qcacld-2.0 to qcacld-3.0 propagation.
Add support for WLAN counters and stats.

Change-Id: I5601a9207529060c6c97e70f067c8e43ca45488a
CRs-fixed: 865207
2016-09-16 02:54:17 -07:00
Manjeet Singh
158307d4f1 qcacld-3.0: CL 1613065 - update fw common interface files
qcacld-2.0 to qcacld-3.0 propagation.
Add WMI types and macros definitions for antenna isolation detect.

Change-Id: I69b715c224d30b40e37d4a6a6e780b1980b490e0
CRs-fixed: 865207
2016-09-16 02:54:15 -07:00