Commit Graph

1001 Commits

Author SHA1 Message Date
qcabuildsw
1facd26d93 Release 5.2.0.1N
Release 5.2.0.1N

Change-Id: I606e81b111e8d8ada3163fd5ca8da7e6bc6dd45c
CRs-Fixed: 688141
2016-11-22 15:35:01 -08:00
qcabuildsw
dc6518b646 Release 5.2.0.1M
Release 5.2.0.1M

Change-Id: Ica5151d49895b10fe4e3ba805b932eb2ac5564fe
CRs-Fixed: 688141
2016-11-21 15:50:01 -08:00
qcabuildsw
49b73a1248 Release 5.2.0.1L
Release 5.2.0.1L

Change-Id: I0b6fffa3c79d67e3bb50cebf1b2f37fa0e62910f
CRs-Fixed: 688141
2016-11-21 15:20:11 -08:00
qcabuildsw
48968d9c81 Release 5.2.0.1K
Release 5.2.0.1K

Change-Id: Id91467577923d9b8b9a6df19a03b26fd55dc8863
CRs-Fixed: 688141
2016-11-21 04:13:07 -08:00
qcabuildsw
97304b6950 Release 5.2.0.1J
Release 5.2.0.1J

Change-Id: I340be245f19d3c762e6e038fc0621ae1917b50a5
CRs-Fixed: 688141
2016-11-19 19:32:20 -08:00
qcabuildsw
ee4073f9a7 Release 5.2.0.1I
Release 5.2.0.1I

Change-Id: Id211f77d398156cc47d951aa449002fdec479849
CRs-Fixed: 688141
2016-11-17 19:45:09 -08:00
qcabuildsw
22cc4aa624 Release 5.2.0.1H
Release 5.2.0.1H

Change-Id: I3fb66165b96fe8987b9097ae578ad00ead6b1013
CRs-Fixed: 688141
2016-11-17 19:13:21 -08:00
qcabuildsw
56af9925b5 Release 5.2.0.1G
Release 5.2.0.1G

Change-Id: Iba48757096fd7f8bd3f885fa96c8b2069236e73d
CRs-Fixed: 688141
2016-11-16 16:37:49 -08:00
qcabuildsw
8c5f48dda7 Release 5.2.0.1F
Release 5.2.0.1F

Change-Id: I939ac1429bb4028fe69a133bcce69cc09b4f5c0c
CRs-Fixed: 688141
2016-11-15 13:48:06 -08:00
qcabuildsw
d52e8226c3 Release 5.2.0.1E
Release 5.2.0.1E

Change-Id: Icb1b905171f04c6f88aa7eeaa15e72005b1fdac5
CRs-Fixed: 688141
2016-11-15 13:47:25 -08:00
Mukul Sharma
491021c2a1 qcacld-3.0: Clear Link layer PEER stats during disconnection
qcacld-2.0 to qcacld-3.0 propagation

Currently host sends only clear AC stats mask to firmware during
disconnection hence PEER stats have large random garbage values.
As a part of this fix, host ensure to send clear all PEER stats
mask to firmware.

Change-Id: I804735d8e85769b04a33008c3b9b72029d0c4368
CRs-Fixed: 1019043
2016-11-14 11:51:03 -08:00
Yingying Tang
54ebfe43ab qcacld-3.0: Fix incorrect NULL pointer check for MAC layer
Propagate from qcacld-2.0 to qcacld-3.0

Currently there are some places where array name is compared to NULL
in MAC. Add fix to correct it.

CRs-Fixed: 1063255
Change-Id: I4f620feff23475d0b719fae7ef8e0ac1ab3b8908
2016-11-14 11:50:57 -08:00
Yingying Tang
c3ed865420 qcacld-3.0: Use IE length to determine if that IE is present
Propagate from qcacld-2.0 to qcacld-3.0

In limPerformFTPreAuth(), ft_ies pointer itself is used to determine
whether FT IE is present which is incorrect way to determine. Use
ft_ies_length instead to determine whether FT IE is present.

Change-Id: I36329de0ae41c03383f193b43eea214aed2770ca
CRs-Fixed: 979671
2016-11-14 11:50:51 -08:00
Kiran Kumar Lokere
151d9f95a3 qcacld-3.0: Do not update the session Nss with FW value
Session entry Nss value is updated by user configuration
and device capabilities. FW also provides the Nss value in
vdev start response based on current hardware mode. If the
current HW mode is DBS, FW gives the Nss value as 1 and if it
is updated in session then performance will be downgraded.

Do not update the session Nss with Nss given in vdev start
response by FW.

Change-Id: I4b9d5f98f09b437bb25568c82b15598aed493f27
CRs-Fixed: 1086940
2016-11-14 11:50:28 -08:00
qcabuildsw
40b41ae29c Release 5.2.0.1D
Release 5.2.0.1D

Change-Id: I9e7ea03592acfcbcb064601ec1406def0bc34d7f
CRs-Fixed: 688141
2016-11-14 11:39:34 -08:00
Sreelakshmi Konamki
db2ef54efc qcacld-3.0: Add hr:min:sec:usec timeformat to driver logs
qcacld-2.0 to qcacld-3.0 propagation

Driver logs timestamp format is different from logcat logs,
it's not user understandable and difficult to correlate with other logs.

This fix includes
1. Add hr:min:sec:usec timeformat to wlan logger and kernel logs
2. Remove SIR_CFG_PARAM_UPDATE_IND MTRACE log which is seen
   frequent in MTRACE dumps

Change-Id: I45e5d28fbeccd757648f05ce4e593d8ca4fe7804
CRS-Fixed: 1049125
2016-11-14 11:30:37 -08:00
Prakash Dhavali
d4f499a103 Release 5.2.0.1C
Release 5.2.0.1C

This matches with cld3-1.1 dev tip:
9e4e2a8 Release 5.1.0.35L

CRs-Fixed: 688141

Change-Id: Iea5c6fc53919d2a02699736d83d20fc14bd2ad6a
2016-11-12 00:24:13 -08:00
Varun Reddy Yeturu
658b8026a3 qcacld-3.0: Handle Reassociation request failure
qcacld-2.0 to qcacld-3.0 propagation

If pre-authentication is successful and the reassoc request
comes with an invalid BSSID, then clean up the PE session and
then clean up the upper layers like SME and HDD.

CRs-Fixed: 970551
Change-Id: Idb0ce24f4cb4e1f3dd02c3691e1698441b7606ce
2016-11-12 00:23:11 -08:00
Abhishek Singh
5695e2ad23 qcacld-3.0: Add support for p2p channel change confirm action frame
For ECSA once the channel switch is completed on CLI the CLI needs
to send p2p channel change confirm action frame to the GO.

This change adds support for p2p channel change confirm action
frame.

Change-Id: Id8339ca947b9397399c6de43018c2d43405d6c3c
CRs-Fixed: 1085525
2016-11-12 00:22:50 -08:00
Naveen Rawat
da92fae379 qcacld-3.0: Add check for NSS while parsing VHT Opmode update IE
VHT Opmode update IE in beacon is not getting processed, because
sch_bcn_process_sta_ibss only checks for difference in channel width
from current channel width. Add check for NSS as well while parsing
VHT Op Mode update IE in sch_bcn_process_sta_ibss.

Change-Id: Ideffe72332cf0a78ac80d5179eab6ba524335f93
CRs-Fixed: 1085109
2016-11-12 00:22:42 -08:00
Kabilan Kannan
21eafc20c2 qcacld-3.0: Add scan start/stop event in TDLS connection tracker
TDLS connection tracker should be stopped, when firmware
sends scan started event and can be enabled again,
when firmware sends scan completed event.
Add changes to stop and start tdls connection tracker
based on scan events.

Change-Id: If61bca75d5f2c326d5e9c734bb8618d5cb67b246
CRs-Fixed: 1086302
2016-11-12 00:22:11 -08:00
Srinivas Girigowda
57b450e29e qcacld-3.0: Fix radio_stats to handle num_radios more than 1
In case of multiple radio, driver need to wait until it receives
all the radios stats and tx power levels stats and then
post the radio stats to user space.

Change-Id: I6e4f9ac8f0d2950551301589dfd8332e8c349605
CRs-Fixed: 992365
2016-11-12 00:22:05 -08:00
Srinivas Girigowda
ad874a8204 qcacld-3.0: Support for variable number of tx power level stats
This is a qcacld-2.0 to qcacld-3.0 propagation.

Currently, firmware sends static 64 number of tx power level stats.
This is not scalable, hence add the support to send variable number
of tx power level stats.

Change is, firmware sends a separate WMI event with tx power level stats
indicating the total/num tx power levels and offset in the event
followed by the TLV. Host driver radio stats event processing is complete
only after receiving the tx power level stats.

Change-Id: Icd2c3958e09b2ce60f61e902d3f2da8b97acb013
CRs-Fixed: 992365
2016-11-12 00:21:59 -08:00
Srinivas Girigowda
458f228137 qcacld-3.0: Add support for tx time per power level in radio stats
This is a qcacld-2.0 to qcacld-3.0 propagation.

Modify the existing radio_stat structure to add time spent
in each tranmission power level.

Change-Id: Ia5da997aabd5331e736d7367c9d74dfaf3e47906
CRs-Fixed: 992365
2016-11-12 00:21:57 -08:00
Sandeep Puligilla
644ede365c qcacld-3.0: Fix null pointer dereference
During roaming join request pointer in the session
is not initilized and the same pointer gets dereferenced
as part of the heart beat timeout handler.

Add validation check before accessing the join request holder
in the session.

Change-Id: I92a4f13a611b9e8eb11dac1194e52ddd726dbc41
CRs-Fixed: 1084701
2016-11-08 17:48:19 -08:00
zding
230175c758 qcacld-3.0: Add presence check for structure tDot11fQosMapConfigure
qcacld-2.0 to qcacld-3.0 propagation

Current logic use the "not present" structure tDot11fQosMapConfigure
to calculate the array index which lead to the array overflow and
crash of VosMCThread. Add check code to avoid this problem.

Change-Id: Ifa08b24a06e409fed1bd445574127fef02f21d19
CRs-Fixed: 978582
2016-11-08 17:48:18 -08:00
jge
fa1edbe021 qcacld-3.0: Initialize vdev_nss in psession when roaming
Propagation from qcacld-2.0 to qcacld-3.0.

When Dut is configured as 1*1, after roaming to 2*2 AP,
the linkspeed is not right, it will display 144Mpbs rather
than 72Mbps. Because it uses wrong peer_nss and
peer_rate_caps in WMI_PEER_ASSOC_CMDID.

Change-Id: I8700621fbef9c9b4867ac698f7f721d4ffb7d967
CRs-Fixed: 1031447
2016-11-08 17:48:18 -08:00
Hong Shi
1553d6962a qcacld-3.0: Fix ibss vendor regression issue
qcacld-2.0 to qcacld-3.0 propagation

Vendor ibss feature doesn't work  because the wpa ie is cleared by
setting vendor specific ie. Per vendor spec, need add logic to replace
vendor specific ie instead of simply overwrite or append to exist ie.

Change-Id: Ie1569b22e22716abcf7d215c2e93870b84cf668f
CRs-Fixed: 962051
2016-11-08 17:48:17 -08:00
Prakash Dhavali
6e5ad2a710 Release 5.2.0.1B
Release 5.2.0.1B

This mathces with following cld3-1.1 dev tip:

2837390 Add SSID length boundary check while processing vendor scan request
3487e4c Release 5.1.0.34T

CRs-Fixed: 688141

Change-Id: I0f454db5eaec58dfa3f48995f7ad97f5de9a6dc1
2016-11-03 18:11:40 -07:00
Naveen Rawat
bc17724e7a qcacld-3.0: Get self SU and MU beamformee cap from cfg
Get self SU and MU beamformee cap from cfg in function
populate_dot11f_vht_caps in case of session is NULL so that
absolute self cap will reflect values that are intersection
of ini configuration and firmware capability.

Change-Id: Ic177382e6922e4c117cb01c78dd9b16437659496
CRs-Fixed: 1082131
2016-11-03 17:54:08 -07:00
Deepak Dhamdhere
071681612a qcacld-3.0: Mark zero length keys as not installed
Encryption key with zero length are installed in some scanarios.
If PMF is enabled for the session, privacy bit on deauth and
disassoc transmit frames is wrongly set.

Fix: Do not set is_key_installed flag if key length is 0.

CRs-Fixed: 1080127
Change-Id: Iad92c8acbaad504fd69dab585d1bf40afa6de206
2016-11-03 17:54:08 -07:00
Deepthi Gowri
6acee3432d qcacld-3.0: Use system time instead of jiffies for BSS received time
During late suspend jiffies will not be incremented. Because of this
scan results are not age out as the delta of current time and the BSS
received time is not correct.

To address this, use the system time instead of jiffies for the
BSS received time and also make sure to use system time in all
other functions.

Change-Id: I4a9cd35ad5109ee2a33cfcafc9b03d5fcd80bb3f
CRs-Fixed: 1083225
2016-11-03 17:54:07 -07:00
Deepak Dhamdhere
2dae1bd94d qcacld-3.0: Do not send WMI commands in ROAM_HO_FAIL handling
When firmware sends WMI_ROAM_REASON_HO_FAILED event to host,
it has already deleted the peer. Host should not send peer
and vdev cleanup commands to firmware.

Add disassoc_reason field to roamCmd to indicate that CSR wants to
disconnect because of ROAM_HO_FAIL. Copy that information to PE
session, send it to WMA using WMA_DELETE_BSS_HO_FAIL_REQ.
Add wma_delete_bss_ho_fail() to take care of driver state cleanup
without sending commands to firmware.

CRs-Fixed: 1083649
Change-Id: Icdd7571214ea5510c0cdbc44c69d6b5060f5892c
2016-11-03 17:54:06 -07:00
Jeff Johnson
1261c91ebc qcacld-3.0: Remove obsolete lim_is_scan_requested_ssid()
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. One such issue is
function lim_is_scan_requested_ssid() is defined but unused.  Delete
this unused function.

Change-Id: I52137b0a1e85d73f7567772228eb6994f9d16143
CRs-Fixed: 1075090
2016-11-03 17:54:06 -07:00
Naveen Rawat
5b933dcaf4 Revert "qcacld-3.0: Fix NSS being sent to firmware"
This reverts Change-Id: Iad92cc3ce634b69397666f574917b5254a73dcda

There is back and forth happening for expected value of NSS by firmware.
Final agreed upon values are: NSS=1 for 1x1 and NSS=2 for 2x2

Change-Id: I134a118b367c46e1b655a4eb21a6b406a3b25c2a
CRs-Fixed: 1084104
2016-11-03 17:54:05 -07:00
Agrawal, Ashish
4e5fa1c5a1 qcacld-3.0: Pass sta_inactivity_timeout to FW
qcacld-2.0 to qcacld-3.0 propagation

If a station does not send anything in sta_inactivity_timeout, an
empty data frame is sent to it in order to verify whether it is
still in range. If this frame is not ACKed, the station will be
disassociated and then deauthenticated.

Change-Id: Ib86c9aacdb52141890b224262d55abbe58b1604d
CRs-Fixed: 1020078
2016-11-03 17:54:04 -07:00
Agrawal Ashish
da3e950519 qcacld-3.0: Pass short_retry_limit and long_retry_limit to FW
qcacld-2.0 to qcacld-3.0 propagation

Add data structures to save short_retry_limit and long_retry_limit.
long_retry_limit is count to retry frame at current rate.
short_retry_limit is count to retry frame on lower rate.
Add changes to pass these params to firmware as well.

Change-Id: Icb45c37358dcfacbea8e3b3f40b93189d62e1be4
CRs-Fixed: 1020078
2016-11-03 17:54:04 -07:00
Agrawal, Ashish
35b251d495 qcacld-3.0: Pass tx_pkt_fail_cnt_threshold to FW
qcacld-2.0 to qcacld-3.0 propagation

Add data structures to save tx_pkt_fail_cnt_threshold and changes
to pass the same to FW.

Change-Id: I46dc401c26c3eeeb41b345d0fe1b4406394971fb
CRs-Fixed: 1020078
2016-11-03 17:54:04 -07:00
Prakash Dhavali
f0c537b252 Release 5.2.0.1A
Release 5.2.0.1A

Change-Id: I1e952bd9f42ae149631cbc173a66f220debbbba0
CRs-Fixed: 688141
2016-10-31 17:25:07 -07:00
qcabuildsw
7c2d0a0afe Release 5.1.0.34D
Release 5.1.0.34D

Change-Id: I245b923a6fe4239196587530d077b6e41e9191e4
CRs-Fixed: 688141
2016-10-29 17:34:11 -07:00
qcabuildsw
cfc4cad790 Release 5.1.0.34C
Release 5.1.0.34C

Change-Id: I706e96ccc0193cf218a5ed3180947bb80c419aa9
CRs-Fixed: 688141
2016-10-29 17:34:07 -07:00
Naveen Rawat
2d57a0dd0e qcacld-3.0: Fix ext_caps IE in Probe Request sent due to HB Failure
Pass addition scan IE to probe request function when generating probe request
due to HB failure, otherwise Ext Cap IE values will not be consistent with
other probe requests.

Change-Id: I65ba2d5377f7c48d5344c5b4b9782e3c55f6635c
CRs-Fixed: 1081117
2016-10-29 17:34:06 -07:00
qcabuildsw
975b4d339a Release 5.1.0.34B
Release 5.1.0.34B

Change-Id: I5923bf2aefcae4a1b4617cc4ab271307f59e4d0a
CRs-Fixed: 688141
2016-10-29 17:34:04 -07:00
Arif Hussain
963331b5e2 qcacld-3.0: Fix buffer overflow in __lim_process_roam_scan_offload_req
In validation code, change condition local_ie_len <= to always less than
QDF_ARRAY_SIZE(array) value, to avoid buffer overflow.

Change-Id: I9612ce6e922dd481747253b3b35d74060439c159
CRs-Fixed: 1082162
2016-10-29 17:34:02 -07:00
qcabuildsw
1bd774c3c0 Release 5.1.0.34A
Release 5.1.0.34A

Change-Id: Ie37305564da9252d4086e710d299f3a48cc847b6
CRs-Fixed: 688141
(cherry picked from commit ef591b06b44e2bc3f9642db70a18f8008715ca28)
2016-10-29 17:30:15 -07:00
qcabuildsw
b378c64e87 Release 5.1.0.34
Release 5.1.0.34

Change-Id: Ia8c74e0028661471b4bee42d81f526c80e9ac2c7
CRs-Fixed: 688141
(cherry picked from commit 8f73342466126b314c1ca1dbd297cbc6c256df57)
2016-10-29 17:28:49 -07:00
qcabuildsw
5d7138ba93 Release 5.1.0.33Z
Release 5.1.0.33Z

Change-Id: I4fe3be00220531ce6bab62fdbba237e72b85d6d3
CRs-Fixed: 688141
(cherry picked from commit ea4730ae12799e43443bbf4125d15541a54fc58a)
2016-10-29 17:27:45 -07:00
qcabuildsw
4405cbfb79 Release 5.1.0.33Y
Release 5.1.0.33Y

Change-Id: I7438d311c22416a826c65e35ccaaf97b52744e84
CRs-Fixed: 688141
(cherry picked from commit 8605902cf94dd3f0167926b0ec3c32c9b355c3ac)
2016-10-29 17:26:58 -07:00
qcabuildsw
de3531a926 Release 5.1.0.33X
Release 5.1.0.33X

Change-Id: I45526164e7a4629f83fffe6c1df48ee65fd1fbd3
CRs-Fixed: 688141
(cherry picked from commit bb89388a0e6d83d20c7b1921725856d5be1a1b60)
2016-10-29 17:25:35 -07:00
qcabuildsw
c8572b7251 Release 5.1.0.33W
Release 5.1.0.33W

Change-Id: I3a839b75717c65f885f33a2e00fbf7d345d5e33c
CRs-Fixed: 688141
(cherry picked from commit 6e4d700fe01b3eee279c2ef42e81dd754abf72c2)
2016-10-29 17:24:11 -07:00