Commit Graph

4441 Commits

Author SHA1 Message Date
Pragaspathi Thilagaraj
2d1b311af2 qcacld-3.0: Fix possible OOB in lim_chk_n_process_wpa_rsn_ie
In the function lim_chk_n_process_wpa_rsn_ie, if wpa IE is
present, then dot11f_unpack_ie_wpa is called to copy the wpa IE
to destination buffer. assoc_req->wpa.length is passed as the
length to copy the IE. As this length includes 4 bytes of the
OUI fields also, this could result in OOB read.

Change the length passed to the dot11f_unpack_ie_wpa as
(assoc_req->wpa.length - 4), so that the additional 4 bytes of
the OUI fields are excluded.

Change-Id: If972b3a19d239bb955c7b4d4c7d94e25aa878f21
CRs-Fixed: 2267557
2018-07-21 03:35:33 -07:00
nshrivas
c8d91102fa Release 5.2.0.89K
Release 5.2.0.89K

Change-Id: Ic11fd27c057705c0edfcd41797055519f28a9464
CRs-Fixed: 774533
2018-07-21 00:03:15 -07:00
nshrivas
0e7bc28b68 Release 5.2.0.89J
Release 5.2.0.89J

Change-Id: Id339e9a1b125aabad150d612145401def057b480
CRs-Fixed: 774533
2018-07-20 17:55:01 -07:00
Varun Reddy Yeturu
a2a5e4345c qcacld-3.0: Fix issue in populate_dot11f_twt_extended_caps
Fix using uninitialized variable status inside the function
populate_dot11f_twt_extended_caps

Change-Id: Ic80df2f6c5310414da4179f00867c0fe029b09c7
CRs-Fixed: 2277833
2018-07-20 17:55:01 -07:00
nshrivas
40e68c7e74 Release 5.2.0.89I
Release 5.2.0.89I

Change-Id: I80c80674e0a0a40c7b8e0dc2db3a5cc68137d31f
CRs-Fixed: 774533
2018-07-20 16:23:51 -07:00
nshrivas
f9737c9d42 Release 5.2.0.89H
Release 5.2.0.89H

Change-Id: I3d3ab9b520d2ba2ae91a0336496ad019f8fae7eb
CRs-Fixed: 774533
2018-07-20 12:06:23 -07:00
nshrivas
34b5e0fc6f Release 5.2.0.89G
Release 5.2.0.89G

Change-Id: I3e39d5766dd6a3c58e560086f11765058d0bb307
CRs-Fixed: 774533
2018-07-20 10:46:49 -07:00
nshrivas
68b8b4e394 Release 5.2.0.89F
Release 5.2.0.89F

Change-Id: I40d3d571e17fc6345dc7727f42aaae2a5802701a
CRs-Fixed: 774533
2018-07-20 09:31:06 -07:00
Abhinav Kumar
68834229f5 qcacld-3.0: fix the beacon corruption in WMA beacon update msg
When beacon is updated the host pass the gSchBeaconFrameBegin
param to WMA to copy the beacon to WMI and pass the value to
firmware. gSchBeaconFrameBegin is global so if we receive new
beacon update in LIM before the WMA process the old beacon
update the values in the global gSchBeaconFrameBegin are
updated as per new beacon. So if there is change in beacon
length the first WMA msg copy the wrong beacon data and send
this corrupt date to firmware.

To fix this instead of passing the global gSchBeaconFrameBegin
fill the beacon date in the beacon update req itself.

Change-Id: I6d196784470d9a2aeeaba76e12577f9f65012bac
CRs-Fixed: 2272448
2018-07-20 09:31:02 -07:00
nshrivas
2e611d7fbe Release 5.2.0.89E
Release 5.2.0.89E

Change-Id: I0de82a86f2d267cc45ac7c465f390ad3c637709e
CRs-Fixed: 774533
2018-07-20 00:48:05 -07:00
nshrivas
c42862825e Release 5.2.0.89D
Release 5.2.0.89D

Change-Id: I4462f63f2b1e6f3e8ef817a3dbdf99bde6880c86
CRs-Fixed: 774533
2018-07-19 23:10:58 -07:00
nshrivas
1850b04c63 Release 5.2.0.89C
Release 5.2.0.89C

Change-Id: I19fd90bc3cfdaa76d708acd4a97dba79701d33f9
CRs-Fixed: 774533
2018-07-19 21:33:04 -07:00
nshrivas
76869721d1 Release 5.2.0.89B
Release 5.2.0.89B

Change-Id: I6f91bf9be4105c68db41f27f5856881f915b13ac
CRs-Fixed: 774533
2018-07-19 08:32:41 -07:00
nshrivas
17a61f2f66 Release 5.2.0.89A
Release 5.2.0.89A

Change-Id: I1d9bca57c0945064b4407bf6b0a602592015a2de
CRs-Fixed: 774533
2018-07-19 00:56:39 -07:00
nshrivas
fcfcf1b95f Release 5.2.0.89
Release 5.2.0.89

Change-Id: I34925ba19221da47bdc51c064396db46ff6ab180
CRs-Fixed: 774533
2018-07-18 23:18:13 -07:00
Kiran Kumar Lokere
f54b85555f qcacld-3.0: Add support to configure HE trigger frame MAC padding
Add support to configure HE trigger frame MAC padding and disable
the MU EDCA param update when user configures the padding.

Change-Id: Ief928c5421366b03ee6e1d6253963b10fd3b87b6
CRs-Fixed: 2265331
2018-07-18 23:18:12 -07:00
Kiran Kumar Lokere
fba2063db1 qcacld-3.0: Add support to configure HE MU EDCA params
Add support to configure the  HE MU EDCA params with default
values and update the params to FW.

Change-Id: Ia7485949c040cb8f83ccfe1f8336267051dbfd13
CRs-Fixed: 2262874
2018-07-18 23:18:09 -07:00
nshrivas
a3933edd98 Release 5.2.0.88Z
Release 5.2.0.88Z

Change-Id: Ieb00e4290eb90981a5e2509688f10b671c5233c2
CRs-Fixed: 774533
2018-07-18 21:52:52 -07:00
nshrivas
694b81ceb7 Release 5.2.0.88Y
Release 5.2.0.88Y

Change-Id: I0c6ed14a1664390a80760b00b8d94adb64e1a6e8
CRs-Fixed: 774533
2018-07-18 08:38:50 -07:00
nshrivas
e682d01cc0 Release 5.2.0.88X
Release 5.2.0.88X

Change-Id: If4cd52ae42442a64a18329463ff9b8b3a71dbd9f
CRs-Fixed: 774533
2018-07-18 05:58:59 -07:00
nshrivas
c20f84ea38 Release 5.2.0.88W
Release 5.2.0.88W

Change-Id: I8d619eb62d6711be982d0ad14fd551e6cf1a1cba
CRs-Fixed: 774533
2018-07-18 00:18:04 -07:00
Dundi Raviteja
6bb9e328aa qcacld-3.0: Use request manager framework for set antenna mode event
We are transitioning the usage of set antenna mode event
to request manager framework.

Change-Id: I4df39c9b71ccd5680f85d1662bec06bc90f70977
CRs-Fixed: 2274929
2018-07-18 00:18:03 -07:00
nshrivas
341a260e58 Release 5.2.0.88V
Release 5.2.0.88V

Change-Id: I2335ed086a727729e9c1d071c9ad1c33257f43bb
CRs-Fixed: 774533
2018-07-17 14:48:23 -07:00
nshrivas
0f71751691 Release 5.2.0.88U
Release 5.2.0.88U

Change-Id: Iea8de044b930acf8a8811e60b5d5869739cb44ef
CRs-Fixed: 774533
2018-07-17 13:16:16 -07:00
nshrivas
4edfaf5cab Release 5.2.0.88T
Release 5.2.0.88T

Change-Id: Icdec93c1a1b7a5eb1ee392ae13a922857fcb90c5
CRs-Fixed: 774533
2018-07-17 05:28:37 -07:00
Yeshwanth Sriram Guntuka
45eb08feb9 qcacld-3.0: Strip OMN IE from additional IEs for NSS update
As part of nss update request, operating mode is updated
in beacon template. OMN IE can also present in additional
IEs which will result in OMN IE included twice in beacon.

Fix is to strip OMN IE from additional IEs if beacon
template is updated as part of nss update request.

Change-Id: Ic0cd6b76738e16eb73de7a7ba406cd727c2f8dc4
CRs-Fixed: 2274027
2018-07-17 05:28:33 -07:00
nshrivas
0a4f4e598f Release 5.2.0.88S
Release 5.2.0.88S

Change-Id: I24eb9e53392061c0da77126896d8cc23626c0ad2
CRs-Fixed: 774533
2018-07-17 03:48:33 -07:00
nshrivas
26e1c75d52 Release 5.2.0.88R
Release 5.2.0.88R

Change-Id: I8dd94c97582d178b657a4da154f7ee6299312b25
CRs-Fixed: 774533
2018-07-16 22:03:36 -07:00
Min Liu
ffb250d8af qcacld-3.0: Use field-by-field assignment for FW stats
In wma_unified_link_iface_stats_event_handler, FW stats is cast into
some host data structure via memory copy. It could be dangerous since
there could be some mismatch between host and FW data structures.
Update it with field-by-field assignment.

Change-Id: If90c6062551c8769d948b3267dfa323fba310a78
CRs-Fixed: 2274034
2018-07-16 22:03:35 -07:00
nshrivas
ade23b3672 Release 5.2.0.88Q
Release 5.2.0.88Q

Change-Id: Ib9d2572852a0c1add66fdced3e5994ca11aaf724
CRs-Fixed: 774533
2018-07-16 18:32:28 -07:00
nshrivas
318221cd6f Release 5.2.0.88P
Release 5.2.0.88P

Change-Id: I7139f3745656ba28d54e7ff489cfee00c70d9f3b
CRs-Fixed: 774533
2018-07-16 10:42:43 -07:00
nshrivas
41126a10c0 Release 5.2.0.88O
Release 5.2.0.88O

Change-Id: Iaa0668f2a7b5304b14827fabca9a03572f4901af
CRs-Fixed: 774533
2018-07-14 03:34:07 -07:00
nshrivas
834d08c392 Release 5.2.0.88N
Release 5.2.0.88N

Change-Id: Iba4ffa235a056749b4104b3e44dceb5c3b79a86b
CRs-Fixed: 774533
2018-07-13 19:29:32 -07:00
nshrivas
1c5aae82de Release 5.2.0.88M
Release 5.2.0.88M

Change-Id: Ia5d6d45cf2775a4c0ca0f3b0a27591552167886e
CRs-Fixed: 774533
2018-07-13 15:46:02 -07:00
nshrivas
56bb1d24f0 Release 5.2.0.88L
Release 5.2.0.88L

Change-Id: Ib5a566d750eaf493fc12a45e402c0f4043f76c68
CRs-Fixed: 774533
2018-07-13 12:12:43 -07:00
nshrivas
6b86db60b7 Release 5.2.0.88K
Release 5.2.0.88K

Change-Id: I4ff57d25e46f6b7847c18a92913eef4b0adcf48d
CRs-Fixed: 774533
2018-07-13 10:36:12 -07:00
Qiwei Cai
1083f5b0ac qcacld-3.0: Featurize WLAN_NS_OFFLOAD
Fix compilation errors when disable WLAN_NS_OFFLOAD

Change-Id: Ifba894a4880a226cedf4c88b1121d02c63aceb4b
CRs-Fixed: 2271272
2018-07-13 10:36:11 -07:00
nshrivas
aa9d9b09dd Release 5.2.0.88J
Release 5.2.0.88J

Change-Id: I2450618bdedf9c480c4f4d0d2a89e4656b840a3a
CRs-Fixed: 774533
2018-07-13 08:27:14 -07:00
nshrivas
cfb8f043b7 Release 5.2.0.88I
Release 5.2.0.88I

Change-Id: I78c80b4d23e9e609adb956dec1b1e03b60c2c3bc
CRs-Fixed: 774533
2018-07-13 06:42:49 -07:00
nshrivas
ef2768049e Release 5.2.0.88H
Release 5.2.0.88H

Change-Id: I21d99ee5677876adb4a2d838e4dfe841b1f70ed3
CRs-Fixed: 774533
2018-07-13 02:58:32 -07:00
Pragaspathi Thilagaraj
33af3f4b1d qcacld-3.0: Fix possible buffer overflow in sir_convert_addts_rsp2_struct
In the function sir_convert_addts_rsp2_struct, iterator j is
assigned with the value pAddTs->numTclas + addts.num_WMMTCLAS.
The j value is used as the index to the array pAddTs->tclasInfo.
Maximum limit on  pAddTs->tclasInfo entries is 2. So when the
value of j exceeds 2, then a possible buffer overflow could
occur.

Validate the value of j against SIR_MAC_TCLASIE_MAXNUM(2).

Change-Id: Icc723380ed4ccd51c729194d509e288be0e0712c
CRs-Fixed: 2264429
2018-07-13 02:58:31 -07:00
gaurank kathpalia
faf302ce4d Revert "qcacld-3.0: Fix OOB write in lim_populate_peer_rate_set"
The driver checks the MAX Supported rates and if found
greater than MAX_RATES (12 in case of 11b/g), the driver
returns failure in populate peer rates, and sends all
rates as zero to FW in peer-assoc.

This reverts commit I75d5f5b5e7d44665101dae6e095b4adadc1781fb

Change-Id: I85d696d3de89ce4f581de7d81542603407a68e87
CRs-Fixed: 2277588
2018-07-13 02:58:25 -07:00
nshrivas
427eeb4e36 Release 5.2.0.88G
Release 5.2.0.88G

Change-Id: Ib8ec45acf23f1a8c999a886160e01a7b0a279485
CRs-Fixed: 774533
2018-07-13 00:54:03 -07:00
nshrivas
d5eb2d92b0 Release 5.2.0.88F
Release 5.2.0.88F

Change-Id: I1fd958f42e04c4a81f27178f86eb6d8b16481851
CRs-Fixed: 774533
2018-07-12 22:27:00 -07:00
nshrivas
4a7195318f Release 5.2.0.88E
Release 5.2.0.88E

Change-Id: I70d746b75720b0a9a8f4c471e28f7bda0448a1a5
CRs-Fixed: 774533
2018-07-12 18:02:03 -07:00
nshrivas
a1ea7c5d2b Release 5.2.0.88D
Release 5.2.0.88D

Change-Id: If14bcfea495163be2970a9e7670029bce4b5e1be
CRs-Fixed: 774533
2018-07-12 12:34:44 -07:00
nshrivas
324ed56ff7 Release 5.2.0.88C
Release 5.2.0.88C

Change-Id: I6119a06d188808389c97955070a298b5438e07af
CRs-Fixed: 774533
2018-07-11 23:36:22 -07:00
Liangwei Dong
0da1426e7b qcacld-3.0: Enable Host STA OBSS Scan
Enable supplicant STA OBSS Scan
and disable OBSS SCAN WMI command sending
if Firmware doesn't support OBSS scan offload.

Change-Id: Id8fde7301d307c355b9f6cf82b85854a6d84ca79
CRs-Fixed: 2275065
2018-07-11 23:36:18 -07:00
nshrivas
139485f809 Release 5.2.0.88B
Release 5.2.0.88B

Change-Id: I3b5d0a0ac927f61dd25bbc87c2f922280098a554
CRs-Fixed: 774533
2018-07-11 18:45:48 -07:00
nshrivas
f3df638abc Release 5.2.0.88A
Release 5.2.0.88A

Change-Id: I569eafd5ada6cfd6d9772e080faf02a4bf7958fc
CRs-Fixed: 774533
2018-07-11 14:29:03 -07:00