Commit Graph

4329 Commits

Author SHA1 Message Date
nshrivas
587b37ea7f Release 5.2.0.86F
Release 5.2.0.86F

Change-Id: I2ce73f717f6cb765a36bebd06ff0756167100fcc
CRs-Fixed: 774533
2018-06-29 13:31:43 -07:00
nshrivas
a0e8242bc6 Release 5.2.0.86E
Release 5.2.0.86E

Change-Id: I44a28d4e16439e775a3f51f1a601e5232aee55e8
CRs-Fixed: 774533
2018-06-29 10:44:19 -07:00
Jeff Johnson
ceb4e9b46e qcacld-3.0: pe: rrm: Replace tSirRetStatus with QDF_STATUS
The tSirRetStatus definitions are obsolete, so replace them with
QDF_STATUS definitions in the mac pe/rrm folder.

Change-Id: Iba8b15a3f17ee4bd827d384cf775ac0679590208
CRs-Fixed: 2269739
2018-06-29 10:44:15 -07:00
Jeff Johnson
65250f2456 qcacld-3.0: pe: sch: Replace tSirRetStatus with QDF_STATUS
The tSirRetStatus definitions are obsolete, so replace them with
QDF_STATUS definitions in the mac pe/sch folder.

Change-Id: I7301c209adccdb63b1f1ac063d4590b5019f2e40
CRs-Fixed: 2269738
2018-06-29 10:44:11 -07:00
nshrivas
cb88d0abbc Release 5.2.0.86D
Release 5.2.0.86D

Change-Id: I706e5fe367952ec44daf0ff48d2abe74801ff2f4
CRs-Fixed: 774533
2018-06-29 09:25:31 -07:00
Jeff Johnson
97dad0855d qcacld-3.0: Change the underlying type of mac_handle_t
Currently mac_handle_t is defined as a void pointer. This is
convenient from an information hiding point of view since that means a
non-MAC component cannot dereference a MAC handle to access MAC
private data. However this is not convenient from a defect prevention
point of view since the C standard allows any other pointer type to be
freely and silently converted to and from a void pointer, and hence
the compiler is unable to detect when a MAC handle is used in a
context where a different pointer type is expected.

An example of multiple such defects was addressed by Change-Id
I01812b2390269805da4d1a5cb40a811d1e22ec56 (qcacld-3.0: Fix bad
pointers being passed from SME to WMA).

To help prevent these kinds of defects change the definition of
mac_handle_t to be a pointer to an opaque struct.

Change-Id: I72483bf0e693d6eca24355f31d3a1653b8f31302
CRs-Fixed: 2268814
2018-06-29 09:25:31 -07:00
nshrivas
143e9f0578 Release 5.2.0.86C
Release 5.2.0.86C

Change-Id: I45f9d28f9914469fb6df2fb4d0f00b51b4be83c9
CRs-Fixed: 774533
2018-06-29 07:12:35 -07:00
nshrivas
7e3cfd4e94 Release 5.2.0.86B
Release 5.2.0.86B

Change-Id: I784a1f03baea3724d355723081380b75c430a1ca
CRs-Fixed: 774533
2018-06-29 03:29:40 -07:00
nshrivas
06e5f7a963 Release 5.2.0.86A
Release 5.2.0.86A

Change-Id: I7aae6cc84cb9413066972dc035cb5e6da5d64b16
CRs-Fixed: 774533
2018-06-28 22:28:11 -07:00
nshrivas
a3cd76f687 Release 5.2.0.86
Release 5.2.0.86

Change-Id: I06429328e3744ca2b928bd4859f5e44b99b4ffac
CRs-Fixed: 774533
2018-06-28 17:49:53 -07:00
nshrivas
3223dec57a Release 5.2.0.85Z
Release 5.2.0.85Z

Change-Id: Ieb9025c4bf774d6aa04f7a7d809404fc24017fdf
CRs-Fixed: 774533
2018-06-28 16:38:23 -07:00
nshrivas
fcbefe49db Release 5.2.0.85Y
Release 5.2.0.85Y

Change-Id: If659440c41dd8af2d02b310cc8a9526962b8275b
CRs-Fixed: 774533
2018-06-28 15:17:04 -07:00
nshrivas
a94dbf7bdf Release 5.2.0.85X
Release 5.2.0.85X

Change-Id: I512decf37b01fd8bca55eb13227bc392303c7054
CRs-Fixed: 774533
2018-06-28 10:42:39 -07:00
nshrivas
4c35fd7743 Release 5.2.0.85W
Release 5.2.0.85W

Change-Id: I1b22c59d0db9cbdd582e1ee99cc633ba88bdbd56
CRs-Fixed: 774533
2018-06-28 04:51:46 -07:00
nshrivas
28771297de Release 5.2.0.85V
Release 5.2.0.85V

Change-Id: I0253648b98c72c5e4b8abb858981ef1d13f090b4
CRs-Fixed: 774533
2018-06-28 03:11:06 -07:00
Pragaspathi Thilagaraj
6cf025f727 qcacld-3.0: Fix possible heap overflow in lim_update_ext_cap_ie
In the function lim_process_set_default_scan_ie_request, memory
of MAX_DEFAULT_SCAN_IE_LEN (2048) is allocated for local_ie_buf.
This local_ie_buf accommodates the ie data and also the ext
capabilities. If the local_ie_len, that is used to copy the
ie_data to local_ie_buf is greater than
MAX_DEFAULT_SCAN_IE_LEN(2048) - (DOT11F_IE_EXTCAP_MAX_LEN(15) +
EXT_CAP_IE_HDR_LEN(2)), then heap overflow could occur.

Validate the MAX_DEFAULT_SCAN_IE_LEN against the difference
between MAX_DEFAULT_SCAN_IE_LEN and sum of EXT_CAP_IE_HDR_LEN
and DOT11F_IE_EXTCAP_MAX_LEN.

Change-Id: Id2f950440d69ddb09090643f8a426061c0d336c3
CRs-Fixed: 2231300
2018-06-28 03:11:05 -07:00
nshrivas
db1d88da3e Release 5.2.0.85U
Release 5.2.0.85U

Change-Id: I3cf48ca415ebc511dce22295585a289c7e128291
CRs-Fixed: 774533
2018-06-27 22:16:37 -07:00
nshrivas
c024ebf15a Release 5.2.0.85T
Release 5.2.0.85T

Change-Id: I092d16b10f8521a8ae3dad92c2a6f54a1dd92bcc
CRs-Fixed: 774533
2018-06-27 18:58:39 -07:00
nshrivas
d84ba4f880 Release 5.2.0.85S
Release 5.2.0.85S

Change-Id: Ic433393d867eeccef6e58daf7ca524f8f510a7a5
CRs-Fixed: 774533
2018-06-27 17:41:09 -07:00
nshrivas
3bd8c70606 Release 5.2.0.85R
Release 5.2.0.85R

Change-Id: I45ceb260feee7a76a3d758994a0f9b4d98c5bbd7
CRs-Fixed: 774533
2018-06-27 16:14:15 -07:00
nshrivas
ccd1c74461 Release 5.2.0.85Q
Release 5.2.0.85Q

Change-Id: If172edd90bce7b613ef75dc007464074ab608373
CRs-Fixed: 774533
2018-06-27 12:04:46 -07:00
nshrivas
878a1eddc4 Release 5.2.0.85P
Release 5.2.0.85P

Change-Id: I8aad2106cffcac453f91e8930d30d70a77505a90
CRs-Fixed: 774533
2018-06-27 07:24:30 -07:00
nshrivas
b7dbf88839 Release 5.2.0.85O
Release 5.2.0.85O

Change-Id: I5006cdd89580a8a2961e08cb550dd85bba3110bb
CRs-Fixed: 774533
2018-06-27 05:32:51 -07:00
nshrivas
efd997de07 Release 5.2.0.85N
Release 5.2.0.85N

Change-Id: Ife92303612d380f0b764b14d6fe00a47a3abc018
CRs-Fixed: 774533
2018-06-27 03:44:42 -07:00
nshrivas
56ea3a46c5 Release 5.2.0.85M
Release 5.2.0.85M

Change-Id: I7df0090e060a8e82f7612aaaa555fe096841ddd0
CRs-Fixed: 774533
2018-06-27 02:11:34 -07:00
nshrivas
c959b05942 Release 5.2.0.85L
Release 5.2.0.85L

Change-Id: I46713bbde3f5ecd500a5398ae987de29478db158
CRs-Fixed: 774533
2018-06-27 00:17:48 -07:00
nshrivas
5fd702c44e Release 5.2.0.85K
Release 5.2.0.85K

Change-Id: I6b75a8c48c10668c2817d91323f448cbca73b551
CRs-Fixed: 774533
2018-06-26 22:42:52 -07:00
Jeff Johnson
8390fe23d8 qcacld-3.0: Fix lim_tx_complete() signature
lim_tx_complete() is currently defined to take a tHalHandle as the
first param. However the generic signature of a TX callback function
specifies that the first param should be a void *context. This
currently compiles because tHalHandle is defined to be a void *, but
this will soon be changed, so update lim_tx_complete() to explicitly
use a void *context.

Change-Id: I421e8acb25beed23d2f3803380a46db33b6f0964
CRs-Fixed: 2267443
2018-06-26 22:42:46 -07:00
nshrivas
c99eff17c7 Release 5.2.0.85J
Release 5.2.0.85J

Change-Id: I9b85f3d8ea34fa77ec171ec173f1e406e04530a1
CRs-Fixed: 774533
2018-06-26 20:11:38 -07:00
Krunal Soni
da0e1e7d34 qcacld-3.0: Add cmd_id as unique number to legacy sme command
Current driver keeps cmd_id as 0 for all non-scan commands which
makes serialization module's logic more complex in order to identify
between duplicate commands.

Add unique cmd_id and attach it to each legacy sme command to make
serialization module's logic easy to distinguish between duplicate
commands.

CRs-Fixed: 2267418
Change-Id: Id2ccb435137061c963120822326fe5b90f857eb7
2018-06-26 20:11:38 -07:00
nshrivas
862915744c Release 5.2.0.85I
Release 5.2.0.85I

Change-Id: I701617fd3ec98841b1408ec1dbfe0863ac5bc0c1
CRs-Fixed: 774533
2018-06-26 18:53:22 -07:00
Nirav Shah
99923a8330 qcacld-3.0: Map all module logs to per-level log APIs
Map all module level log APIs to per-level log APIs
to compile out specific log level if required.

Change-Id: Icfcc28fb592ee99704d8fb23bc3cb45b6e4c9f53
CRs-Fixed: 2266718
2018-06-26 18:53:18 -07:00
nshrivas
fa4f48a18b Release 5.2.0.85H
Release 5.2.0.85H

Change-Id: I778a35079509d6a5856cb970af8626f3b64fd7b0
CRs-Fixed: 774533
2018-06-26 17:36:00 -07:00
Bala Venkatesh
867d411eea qcacld-3.0: Ignore CSA if the channel is DFS or disabled
If MCC to SCC switch is enabled, SAP is active and CSA
received for STA interface, then ignore the CSA if channel
is DFS/disabled.

CRs-Fixed: 2266838
Change-Id: I98b8d957766358ea86cc9f50339725cf4bf0038b
2018-06-26 17:36:00 -07:00
nshrivas
6d4cab4b01 Release 5.2.0.85G
Release 5.2.0.85G

Change-Id: I9991efbabd8e3fac7e4d7f646d1a7ba8ded1c2bd
CRs-Fixed: 774533
2018-06-26 01:35:55 -07:00
nshrivas
6e18516d85 Release 5.2.0.85F
Release 5.2.0.85F

Change-Id: I12e05da166f2b66798c31609627f372b69a7d6cc
CRs-Fixed: 774533
2018-06-25 23:52:53 -07:00
nshrivas
f8b05e2874 Release 5.2.0.85E
Release 5.2.0.85E

Change-Id: I90bdd714fad2cf6c4eaf5608ecdeba98e56cdf5d
CRs-Fixed: 774533
2018-06-25 22:31:19 -07:00
nshrivas
56a38b34f2 Release 5.2.0.85D
Release 5.2.0.85D

Change-Id: I31217d7700e5be4ffb3828967b8e97bad3930cfd
CRs-Fixed: 774533
2018-06-25 21:19:03 -07:00
nshrivas
ba7feddb50 Release 5.2.0.85C
Release 5.2.0.85C

Change-Id: Id4ece5014f266403e3414a21b098d7955a66250b
CRs-Fixed: 774533
2018-06-25 19:54:02 -07:00
nshrivas
1b32bad189 Release 5.2.0.85B
Release 5.2.0.85B

Change-Id: Id6e7898edce0d6afea6801e37721c99a9b5b6af8
CRs-Fixed: 774533
2018-06-25 15:54:53 -07:00
nshrivas
a19536fb16 Release 5.2.0.85A
Release 5.2.0.85A

Change-Id: Ifd268f2dd9e6771bba5b60966cc0d18f4bece11b
CRs-Fixed: 774533
2018-06-25 14:12:48 -07:00
Abhinav Kumar
db3c6f57e3 qcacld-3.0: Fix out-of-bounds access in lim_process_assoc_req_frame
Currently the function lim_process_assoc_req_frame uses frame_len
without validation to parse the IE buffer which could lead to
out-of-bounds memory access if the frame_len is less than or
equal to LIM_ASSOC_REQ_IE_OFFSET(4).

Add check to validate the frame_len with LIM_ASSOC_REQ_IE_OFFSET
before sending (frame_len - LIM_ASSOC_REQ_IE_OFFSET) to
cfg_get_vendor_ie_ptr_from_oui to parse only the IE buffer.

Change-Id: Iaa9e8db4a2605169c9ad3904878a2e626eb6de8b
CRs-Fixed: 2259707
2018-06-25 14:12:45 -07:00
nshrivas
41721b79f8 Release 5.2.0.85
Release 5.2.0.85

Change-Id: I4d3de98263738989c2f206923d8f2dfac147c807
CRs-Fixed: 774533
2018-06-25 12:41:08 -07:00
nshrivas
d7e010020e Release 5.2.0.84Z
Release 5.2.0.84Z

Change-Id: I351b585ae121f7981b6cd57d0cf29964f733e29c
CRs-Fixed: 774533
2018-06-25 11:28:41 -07:00
nshrivas
74437a0b26 Release 5.2.0.84Y
Release 5.2.0.84Y

Change-Id: I4ac4b592eedb0c46e1358723c99b683b1d5703f8
CRs-Fixed: 774533
2018-06-25 10:02:21 -07:00
Bala Venkatesh
b39ed1597e qcacld-3.0: Update nw_type of pe session when switching channel
In peer assoc command, the phy mode of peer is updated based on
the nw_type of pe session. So this value should accordingly as per
the new channel.

Change-Id: Ib596cb343f239456aba688b2b5ea7b19b3034a66
CRs-Fixed: 2161043
2018-06-25 10:02:21 -07:00
nshrivas
fd0d832ac8 Release 5.2.0.84X
Release 5.2.0.84X

Change-Id: I6589aa00deaa02a431a770c807267a754b7fcdbf
CRs-Fixed: 774533
2018-06-25 06:31:47 -07:00
nshrivas
f80f39e026 Release 5.2.0.84W
Release 5.2.0.84W

Change-Id: I85db21dee3d4de4c0a2c0266533ddb0ee149e2b6
CRs-Fixed: 774533
2018-06-25 04:55:53 -07:00
nshrivas
fab4696184 Release 5.2.0.84V
Release 5.2.0.84V

Change-Id: Ia33ccabfdc39b4d3d732951f3d8ddc47813d2135
CRs-Fixed: 774533
2018-06-24 16:10:03 -07:00
nshrivas
5f80f479e4 Release 5.2.0.84U
Release 5.2.0.84U

Change-Id: Ia08edc8816c64431851fd3f97c901cdecdce6c60
CRs-Fixed: 774533
2018-06-24 11:58:48 -07:00