Commit Graph

4369 Commits

Author SHA1 Message Date
nshrivas
8d225af8ff Release 5.2.0.87G
Release 5.2.0.87G

Change-Id: I83c1a746cc741be312c2fb7607dc81b60e7eb7a0
CRs-Fixed: 774533
2018-07-05 12:44:04 -07:00
nshrivas
e92137eb7e Release 5.2.0.87F
Release 5.2.0.87F

Change-Id: I5f0026bd4e69a41aec9891652972c0ded66346d7
CRs-Fixed: 774533
2018-07-05 11:28:35 -07:00
nshrivas
7cab500c2d Release 5.2.0.87E
Release 5.2.0.87E

Change-Id: I1096560bf1c85f467eb56f786e9656c3bbcaf56d
CRs-Fixed: 774533
2018-07-05 10:01:03 -07:00
nshrivas
8b4c3cc082 Release 5.2.0.87D
Release 5.2.0.87D

Change-Id: I59450ba4d6ca2f66fb1f6d38909005cd6706f641
CRs-Fixed: 774533
2018-07-05 08:23:29 -07:00
nshrivas
28b3701702 Release 5.2.0.87C
Release 5.2.0.87C

Change-Id: I6a0823d619a9e8e0e49bfab49879002cdda34e37
CRs-Fixed: 774533
2018-07-05 06:42:09 -07:00
nshrivas
e9fa41f611 Release 5.2.0.87B
Release 5.2.0.87B

Change-Id: I596ae771420410350d5623a857488170deae145b
CRs-Fixed: 774533
2018-07-04 20:41:11 -07:00
gaurank kathpalia
65086f32e4 qcacld-3.0: Fix pointer dereference condition
In the API lim_perform_ft_pre_auth, the driver sends
a auth frame to a peer whose MAC address is extracted
from the session entry, and it may happen that the
pointer tpftPEContext is NULL, which results in
pointer dereference.

Fix is to send an auth frame only if the sFTPEContext
is valid.

Change-Id: I5544739a0b438efcc0216bbccdcff113946b330b
CRs-Fixed: 2259250
2018-07-04 20:41:07 -07:00
nshrivas
7a8824e49f Release 5.2.0.87A
Release 5.2.0.87A

Change-Id: I3b7fff8dbb0a3963581013928d66870c43f1e52d
CRs-Fixed: 774533
2018-07-04 10:22:07 -07:00
nshrivas
f05e3a0e8f Release 5.2.0.87
Release 5.2.0.87

Change-Id: Idd32f2e42df1545dec06832f9757acbf88ef6b85
CRs-Fixed: 774533
2018-07-04 06:54:46 -07:00
nshrivas
e4ff3b7ecb Release 5.2.0.86Z
Release 5.2.0.86Z

Change-Id: I2bd184c2a9ff5759afe5a4337a90c9d8974e01aa
CRs-Fixed: 774533
2018-07-03 23:35:34 -07:00
Abhinav Kumar
ccd1bed788 qcacld-3.0: Fix OOB write in lim_populate_peer_rate_set
To poiulate peer rates (Supproted rates, HT & VHT Capabilities)
lim_populate_peer_rate_set first copy values of
psessionEntry->rateSet.rate in a local buffer tempRateSet for
sorting of rates. Currently while copying, index for
psessionEntry->rateSet.rate bufffer varies from 0 to max rate
allowed SIR_MAC_RATESET_EID_MAX(12). This results access of 13th
index(OOB) of psessionEntry->rateSet.rate buffer.

The fix is to set proper upper bound to copy values of
psessionEntry->rateSet.rate in to a local buffer tempRateSet.

Change-Id: I75d5f5b5e7d44665101dae6e095b4adadc1781fb
CRs-Fixed: 2268610
2018-07-03 23:35:34 -07:00
nshrivas
b9c9368411 Release 5.2.0.86Y
Release 5.2.0.86Y

Change-Id: I1861edc9617d79e84c82f0550a8755e99b269e74
CRs-Fixed: 774533
2018-07-03 22:04:46 -07:00
nshrivas
6885e4c334 Release 5.2.0.86X
Release 5.2.0.86X

Change-Id: Iea9cbf3103102db830cc35635f4d106759847b1d
CRs-Fixed: 774533
2018-07-03 19:26:47 -07:00
nshrivas
8743677392 Release 5.2.0.86W
Release 5.2.0.86W

Change-Id: I144b5fb055c0aa8e47202f4f8e20f63660d0b220
CRs-Fixed: 774533
2018-07-03 16:36:39 -07:00
Jeff Johnson
6aaaa997e4 qcacld-3.0: Rename hHdd to hdd_handle
Rename hHdd to hdd_handle to avoid camelCase.

Change-Id: I338b39e128dbd3c1560695fcbb49c5a4bc470169
CRs-Fixed: 2271551
2018-07-03 16:36:35 -07:00
nshrivas
d91b9e1f96 Release 5.2.0.86V
Release 5.2.0.86V

Change-Id: Ia2146637c323794db8bc79afd547e3b3b3da6859
CRs-Fixed: 774533
2018-07-03 15:16:38 -07:00
nshrivas
3a8d2d6e1a Release 5.2.0.86U
Release 5.2.0.86U

Change-Id: Ic589fa11f506091d897727908f81a5947ebbf8bd
CRs-Fixed: 774533
2018-07-03 13:42:15 -07:00
nshrivas
eceda1e04b Release 5.2.0.86T
Release 5.2.0.86T

Change-Id: I3b2aebc1bfd8d5b395b7245b03c34e32124cf5df
CRs-Fixed: 774533
2018-07-03 05:07:11 -07:00
nshrivas
2353f2df10 Release 5.2.0.86S
Release 5.2.0.86S

Change-Id: Ie27d7637b11d789ab65f861aea0680af04232555
CRs-Fixed: 774533
2018-07-03 02:59:59 -07:00
nshrivas
7d2a3e0be9 Release 5.2.0.86R
Release 5.2.0.86R

Change-Id: I31a7a592dce4c1a15cc88fb2b7d5081b63d4da6d
CRs-Fixed: 774533
2018-07-03 00:09:22 -07:00
nshrivas
6994d12089 Release 5.2.0.86Q
Release 5.2.0.86Q

Change-Id: Ie323e44935ddf3edd0d64d15c01902814e930b5b
CRs-Fixed: 774533
2018-07-02 18:17:48 -07:00
Jeff Johnson
edfaf0bc96 qcacld-3.0: Consolidate PE message handling
During the review of "qcacld-3.0: lim: Replace tSirRetStatus with
QDF_STATUS" it was observed that the documentation for function
pe_process_messages() referenced an incorrect return type and return
value. While addressing this issue it was further observed that
pe_process_messages() was only being called from within lim_api.c by
pe_mc_process_handler(). Since these are both trivial functions,
consolidate them into one function.

Change-Id: Ia66088b79003e0c8c517a8e3ae32540c19fec070
CRs-Fixed: 2271550
2018-07-02 18:17:47 -07:00
Jeff Johnson
d9e03511ef qcacld-3.0: Replace eSirRetStatus with QDF_STATUS
A recent set of changes replaced all tSirRetStatus definitions with
QDF_STATUS. However some code comments were overlooked since they
incorrectly referred to eSirRetStatus instead of tSirRetStatus. Change
those comments to correctly reference QDF_STATUS.

Change-Id: I3b5779d0a09e594f1371362d161d3ea4c887110c
CRs-Fixed: 2271549
2018-07-02 18:17:44 -07:00
Jeff Johnson
c9f4462ff3 qcacld-3.0: Fix LIM message posting API definition and usage
Currently lim_post_msg_api() and lim_post_msg_high_priority() are
defined to return a uint32_t status.  This is an artifact of many
generations of driver changes. These functions now return QDF_STATUS,
so update the signatures as well as all callers to properly expect
this return type. In addition remove the legacy wrapper function
pe_post_msg_api() since it is unused.

Change-Id: I00f991d64e3542336526e7ed2ca36e4112918cb7
CRs-Fixed: 2271548
2018-07-02 18:17:40 -07:00
nshrivas
2754593ec1 Release 5.2.0.86P
Release 5.2.0.86P

Change-Id: I6061beaa0b435553f8ad9eb50ed32da39473e8ff
CRs-Fixed: 774533
2018-07-02 16:08:49 -07:00
nshrivas
f7ab655435 Release 5.2.0.86O
Release 5.2.0.86O

Change-Id: Ib64f7935daed6824c386472f486251f748f30a79
CRs-Fixed: 774533
2018-07-02 12:23:27 -07:00
Wu Gao
24c1e1f35b qcacld-3.0: Avoid to over read buffer
Refine sch_get_p2p_ie_offset and avoid to over read buffer.

Change-Id: Ic833c06b220e1e064abde0a2db9c413f7203e54b
CRs-Fixed: 2266611
2018-07-02 12:23:13 -07:00
nshrivas
a5adc6a844 Release 5.2.0.86N
Release 5.2.0.86N

Change-Id: I34d631b50ae4d0283dd9d63305fb3017eae08d00
CRs-Fixed: 774533
2018-07-02 08:45:39 -07:00
nshrivas
8bd1d088ec Release 5.2.0.86M
Release 5.2.0.86M

Change-Id: I93b9fc79928527c6792984bcb32f9c67c6297c3a
CRs-Fixed: 774533
2018-07-02 07:21:28 -07:00
nshrivas
275a24081e Release 5.2.0.86L
Release 5.2.0.86L

Change-Id: Ia4932a1c8d517e2f1f668249ebceae5ec6495c26
CRs-Fixed: 774533
2018-06-30 15:58:49 -07:00
Jeff Johnson
a50c52eed6 qcacld-3.0: Remove tSirRetStatus transition macros
Change "qcacld-3.0: Remap tSirRetStatus to QDF_STATUS" introduced a
set of macros to map tSirRetStatus to QDF_STATUS. All of the
tSirRetStatus identifiers have been renamed, so remove the now unused
macros.

Change-Id: Ie95c9806bdcc52e25e81c8adaecacbdc79207e37
CRs-Fixed: 2270654
2018-06-30 15:58:49 -07:00
Jeff Johnson
0301ecbb4c qcacld-3.0: lim: Replace tSirRetStatus with QDF_STATUS
The tSirRetStatus definitions are obsolete, so replace them with
QDF_STATUS definitions in the mac pe/lim folder.

Note that this change introduces some checkpatch issues, but due to
the number of pre-existing checkpatch issues in lim these are just
noise, and in order to have this change just address the issue at hand
any checkpatch issues will be addressed as part of a separate cleanup
activity.

Change-Id: I677292c208fe08f1bbba8bf294870cbc73cc3b5c
CRs-Fixed: 2270620
2018-06-30 15:58:46 -07:00
nshrivas
40080b4322 Release 5.2.0.86K
Release 5.2.0.86K

Change-Id: I6e303705082a111abf052236e805c5a1c3dc774e
CRs-Fixed: 774533
2018-06-30 12:23:02 -07:00
nshrivas
bb50a29279 Release 5.2.0.86J
Release 5.2.0.86J

Change-Id: If6db49e9392a6770c071fd3b9d5fe3a9c6f37dc5
CRs-Fixed: 774533
2018-06-30 02:10:25 -07:00
Sandeep Puligilla
39b5040dac qcacld-3.0: Cleanup legacy passive scan min channel time
Clenaup legacy passive scan minimum channel time configuration
value and the code references related to the same.

Change-Id: I15d508484dde8f4db775a6fb263646a7af8e5f69
CRs-Fixed: 2262691
2018-06-30 02:10:24 -07:00
Sandeep Puligilla
e0511d7a67 qcacld-3.0: Cleanup legacy active scan min channel time
Clenaup legacy active scan minimum channel time
configuration item and the code references related
to the same.

Change-Id: I5eef7ec09345e199946700c033eaa85fbf69d289
CRs-Fixed: 2262691
2018-06-30 02:10:21 -07:00
nshrivas
eb733d5334 Release 5.2.0.86I
Release 5.2.0.86I

Change-Id: I0fc0318505b97641043913f9dffb7c40e1633e09
CRs-Fixed: 774533
2018-06-30 00:17:54 -07:00
nshrivas
9b4a9fa933 Release 5.2.0.86H
Release 5.2.0.86H

Change-Id: Iee4eefc9e20be832d26f07ac1a40b809628b17b4
CRs-Fixed: 774533
2018-06-29 19:37:17 -07:00
Abhinav Kumar
50d4dc7645 qcacld-3.0: Fix high latency during BTM roaming
While processing the WMA_ROAM_OFFLOAD_SYNCH_IND event, The
driver takes nearly 150 to 200 msec time to just write fatal,
error and info messages to the kmsg log buffer. Also to get
tx power supplicant runs another thread while roaming. These
cause more latency(300ms) to send WMA_ROAM_OFFLOAD_SYNCH_CNF
message to fw. To decrease roam latency, the driver should
write the only necessary error message to kmsg buffer.

The fix is to change irrelevant fatal, error and info message
type to debug add a check in __wlan_hdd_cfg80211_get_txpower
to reject the request to get Tx power while roaming in progress
otherwise driver will process this and will increase the roaming
latency.

Change-Id: I6c31637f21991b5b29c1e2dd2c2935ae7d4fc3d0
CRs-Fixed: 2251824
2018-06-29 19:37:17 -07:00
nshrivas
54bd784a48 Release 5.2.0.86G
Release 5.2.0.86G

Change-Id: I179f3e23c10be5c5e8d82d6431ae44b353b2b9eb
CRs-Fixed: 774533
2018-06-29 17:27:36 -07:00
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