Commit Graph

5379 Commits

Author SHA1 Message Date
Jeff Johnson
51a8052b29 qcacld-3.0: Replace cds_rand_get_bytes()
The functionality provided by cds_rand_get_bytes() replicates
functionality provided by qdf_get_random_bytes(), so use
qdf_get_random_bytes().

Change-Id: I0b855556c9a9861c7067dfadaf0b8a4cdaf8709e
CRs-Fixed: 2366960
2018-12-17 13:12:01 -08:00
nshrivas
39288c1d1c Release 5.2.0.112
Release 5.2.0.112

Change-Id: I4f62cf8e62f30de940dccf5cfdbcd78a5c5c7d37
CRs-Fixed: 774533
2018-12-17 05:35:39 -08:00
nshrivas
a54ab6c03b Release 5.2.0.111Z
Release 5.2.0.111Z

Change-Id: Id477069f0ec569b8ae96361099d788faecdefbf7
CRs-Fixed: 774533
2018-12-16 01:32:23 -08:00
Pragaspathi Thilagaraj
2b9259f963 qcacld-3.0: Refactor WNI_CFG_WPS_UUID cfg to mlme component
WNI_CFG_WPS_UUID should be refactored and adopted by the mlme
component.

Move the cfg item to cfg_mlme_wps_params.h

Change-Id: I79db155ad16998e9d7a7e20c01efbcba1681d61e
CRs-Fixed: 2366599
2018-12-15 19:25:13 -08:00
nshrivas
9ffc59225d Release 5.2.0.111Y
Release 5.2.0.111Y

Change-Id: I7b531f62522db90dfbb5200699af471a512cb730
CRs-Fixed: 774533
2018-12-14 22:49:36 -08:00
nshrivas
19263c2574 Release 5.2.0.111X
Release 5.2.0.111X

Change-Id: Iad9f3834fd38aefd732c76118883a5f8d0cdb336
CRs-Fixed: 774533
2018-12-14 19:05:46 -08:00
nshrivas
296a86e095 Release 5.2.0.111W
Release 5.2.0.111W

Change-Id: I882305c3c0612d0cd823a417fb5696e354e41ce6
CRs-Fixed: 774533
2018-12-14 16:05:56 -08:00
Abhishek Singh
bbe23a736c qcacld-3.0: Fix channel width update sent during channel switch
During channel switch if the new channel's phymode is different
than the old channel the host will update its phymode and
send vdev restart to firmware. Once vdev restart resp is received,
host sends new phymode and channel width to the firmware.

If host process beacon with opmode IE while waiting for vdev restart
response, it check if new channel width in bcn is valid for new
phymode and send channel width to firmware. If channel width changed
is greater than allowed value for older phymode, firmware is not able
to handle it.

Fix is to ignore any opmode IE during channel switch. Also ignore
the beacons with CSA/ECSA IE if channel switch detection is
offloaded. The opmode or any other change in beacon will be detected
with the beacons on new channel once AP moves to new channel.

Change-Id: If3bfb555dfa7b63dc997bbdf2fe6a0836bcf17fd
CRs-Fixed: 2361553
2018-12-14 16:05:55 -08:00
nshrivas
e5e5ab8f92 Release 5.2.0.111V
Release 5.2.0.111V

Change-Id: I28acd9a55b049a44057f9eff2371a86a933b865e
CRs-Fixed: 774533
2018-12-14 14:26:13 -08:00
nshrivas
386a740a65 Release 5.2.0.111U
Release 5.2.0.111U

Change-Id: I9d536dd3c748b42791caab87e4fd8684cf73afce
CRs-Fixed: 774533
2018-12-14 12:48:34 -08:00
nshrivas
77485371e1 Release 5.2.0.111T
Release 5.2.0.111T

Change-Id: I28535458fc1efada729f7e692f015e6bac2ba7a0
CRs-Fixed: 774533
2018-12-14 11:05:41 -08:00
nshrivas
46341514fd Release 5.2.0.111S
Release 5.2.0.111S

Change-Id: Ia659adb9b32b99e6f7be75ad59eb0e4e751c337e
CRs-Fixed: 774533
2018-12-14 07:15:11 -08:00
Sourav Mohapatra
c457ae6f18 qcacld-3.0: Feature flag for Wlan Latency Manager support
WLAN Latency Manager support is one of the capabilities that is sent
along with the service bits by firmware. Currently, driver is not
exposing this feature to the user space.

Create and add support for a feature flag to expose this feature to the
userspace.

Change-Id: Ica8213bdaeb32c7be01b6a71a7d8b7a32dc8611b
CRs-Fixed: 2363704
2018-12-14 07:15:10 -08:00
nshrivas
502d2d3545 Release 5.2.0.111R
Release 5.2.0.111R

Change-Id: I36e3df6be6e3220c2086f44b1bb7b6ad7ac82140
CRs-Fixed: 774533
2018-12-14 05:34:51 -08:00
nshrivas
c05797770c Release 5.2.0.111Q
Release 5.2.0.111Q

Change-Id: Id9efb411ab32478995231140a5505b74c9c15e14
CRs-Fixed: 774533
2018-12-13 23:21:30 -08:00
Bala Venkatesh
cd9decb3f0 qcacld-3.0: Modify the MAX_TX_PWR_CAP to 30dbm
Modify the max tx power value form 22db to 30db
to cover regulatory power requirements.

Change-Id: Id24ed354ed364037ba0ff5dea9de9810fb255962
CRs-fixed: 2362060
2018-12-13 23:21:29 -08:00
nshrivas
d8a6844c75 Release 5.2.0.111P
Release 5.2.0.111P

Change-Id: Ie00ee0d2014bddfd310b779003a69fb8cdc45776
CRs-Fixed: 774533
2018-12-13 18:44:29 -08:00
Jeff Johnson
8ace63dbe9 qcacld-3.0: Remove obsolete parser_api prototypes
parser_api.h contains two prototypes for functions that are no longer
a part of the driver, so remove them.

Change-Id: Id4cc9967ba95d624a2910dec564c68c679279b09
CRs-Fixed: 2365052
2018-12-13 18:44:01 -08:00
Jeff Johnson
96ca5f87fb qcacld-3.0: Remove obsolete eWNI_SME_SCAN message IDs
The current version of the driver no longer uses the eWNI_SME_SCAN
message IDs, so remove them.

Change-Id: Ia2717c18606e5e771b5d5880bac6f494689ab802
CRs-Fixed: 2364273
2018-12-13 18:43:38 -08:00
Jeff Johnson
6ed9625feb qcacld-3.0: Remove tSirSmeScanRsp
The typedef tSirSmeScanRsp is not used by the current generation of
the driver, so remove it.

Change-Id: Id38ae6fe4b0c92e69c6a3f16db7f22ae13ba2fb7
CRs-Fixed: 2364272
2018-12-13 18:43:33 -08:00
Jeff Johnson
ca6b4fd685 qcacld-3.0: Remove obsolete typedef tBssSystemRole
The tBssSystemRole enumerations are no longer in use, so remove them.

Change-Id: I5f4e5ab6cbbfafd0b2e95340b999d94408a12c83
CRs-Fixed: 2364271
2018-12-13 18:43:29 -08:00
Jeff Johnson
3ff667f34a qcacld-3.0: Remove unused WNI_CFG macros
Ongoing CFG componitization removed the enumerations for some
legacy configuration items that are now supported by component
configuration. However some of the changes did not remove the
MIN/MAX/DEF/LEN macros or enumeration macros.  For all of the
ones that are now unused, remove them now.

Change-Id: Ib48e10cd09ef6811c9104c0b92f4b8f1665e5a5d
CRs-Fixed: 2364270
2018-12-13 18:43:24 -08:00
nshrivas
83680fcb31 Release 5.2.0.111O
Release 5.2.0.111O

Change-Id: I23efd1beac7bb99b4b0d6806b8420e887dbfbfcc
CRs-Fixed: 774533
2018-12-13 16:45:47 -08:00
nshrivas
5eb57d96ae Release 5.2.0.111N
Release 5.2.0.111N

Change-Id: I2884d913485e87818bdd7bea999655dc1767fe35
CRs-Fixed: 774533
2018-12-13 14:57:17 -08:00
Yeshwanth Sriram Guntuka
ad31502195 qcacld-3.0: Skip IE which has length less than minimum valid IE length
QBSS IE uses min length of 4 bytes for version 1 and
min length of 5 bytes for version 2. Min length used
for IE is 5 bytes in driver which can cause WPA IE
parse failure if QBSS IE is 4 bytes resulting in failure
in fetching scan results due to security mismatch and
subsequently connection failure.

Fix is to skip the IE which has length less than the
minimum valid length.

Change-Id: I00fbffad221e2d9ecedcb87c9607ac8abd7c55b1
CRs-Fixed: 2364663
2018-12-13 14:57:16 -08:00
nshrivas
a708f101af Release 5.2.0.111M
Release 5.2.0.111M

Change-Id: I577935227e86d2f8c652fb7af09bc8ebad6c63bb
CRs-Fixed: 774533
2018-12-13 02:37:53 -08:00
nshrivas
003c5f6206 Release 5.2.0.111L
Release 5.2.0.111L

Change-Id: Idb3c5d97a9d1ed8096e071b296b11e33d7d642a7
CRs-Fixed: 774533
2018-12-12 12:29:15 -08:00
nshrivas
1ab2f927ac Release 5.2.0.111K
Release 5.2.0.111K

Change-Id: If6670695ea0feac89a9df125c3b80a01e2d66c98
CRs-Fixed: 774533
2018-12-12 01:45:35 -08:00
nshrivas
3ad23a4ea3 Release 5.2.0.111J
Release 5.2.0.111J

Change-Id: I8fdfb41b7c39ecdeb0b24448a6041e2ef94b1bff
CRs-Fixed: 774533
2018-12-11 17:26:00 -08:00
nshrivas
308cae5313 Release 5.2.0.111I
Release 5.2.0.111I

Change-Id: Ie39e470a3936d6c3f02e9d563da99accbaaf11d8
CRs-Fixed: 774533
2018-12-11 12:27:05 -08:00
Arunk Khandavalli
ca56d4b488 qcacld-3.0: Add Host Driver support for Beacon reception stats
Implementation of Host driver support to collect per Vdev Beacon
reception  Stats from firmware and display the stats in sysfs.

	"adb shell cat /sys/class/net/wlan0/beacon_stats"
vdev id: 0
Total Beacon Count: 255
Total Beacon Miss Count: 21
Beacon Miss Bit map [0x800] [0x10000000] [0x22000400] [0x100]
[0x84000000] [0x4030002] [0x5034000] [0x28084]

Change-Id: Iadd31042320f7815a6a6f4733f5393dba93b5b3e
CRs-Fixed: 2360913
2018-12-11 12:27:05 -08:00
nshrivas
4fb6fa0e45 Release 5.2.0.111H
Release 5.2.0.111H

Change-Id: I8301217e780739abf3b82be08c969e0daa2fe728
CRs-Fixed: 774533
2018-12-11 10:18:35 -08:00
nshrivas
ded4b13008 Release 5.2.0.111G
Release 5.2.0.111G

Change-Id: I21d9e1e49c49f70a84ec88eb96d547aa6301a806
CRs-Fixed: 774533
2018-12-11 08:17:26 -08:00
Jianmin Zhu
a9005b33bf qcacld-3.0: Move ifdef CONFIG_VDEV_SM outside of functions in lim
Moves ifdef CONFIG_VDEV_SM outside of functions in lim.

Change-Id: I4ec40ce1dedccdc69e0e2dd68c1823ec4bb7549a
CRs-Fixed: 2362457
2018-12-11 08:17:25 -08:00
nshrivas
22e3aef29f Release 5.2.0.111F
Release 5.2.0.111F

Change-Id: I2b095d289b5a5d4d4c4f780e82d35ff7217fd5d6
CRs-Fixed: 774533
2018-12-11 06:11:05 -08:00
nshrivas
4426f7852d Release 5.2.0.111E
Release 5.2.0.111E

Change-Id: I68b739b6dfa3fab1560cd3bb75eebe8657746d1c
CRs-Fixed: 774533
2018-12-11 01:43:03 -08:00
nshrivas
fa41505cdb Release 5.2.0.111D
Release 5.2.0.111D

Change-Id: Iaee57cbb641f5131253e90e18d46b5591983d24a
CRs-Fixed: 774533
2018-12-10 23:33:37 -08:00
nshrivas
d2131211db Release 5.2.0.111C
Release 5.2.0.111C

Change-Id: Id674f1cbecd9bf0f59a1a83657c04012098cfe98
CRs-Fixed: 774533
2018-12-10 20:21:43 -08:00
Jeff Johnson
17c631bf08 qcacld-3.0: Change tpAniSirGlobal definition
A recent set of changes replaced almost all occurrences of typedef
tpAniSirGlobal. The only ones left intact were the ones within the
auto-generated files dot11f.c and dot11f.h. Now to prevent new
instances from being introduced, change the definition.

Change-Id: I31924e45242320fee5d8432b624bb9ba00bf7531
CRs-Fixed: 2364097
2018-12-10 20:21:33 -08:00
nshrivas
500bd72fc3 Release 5.2.0.111B
Release 5.2.0.111B

Change-Id: Ic02c48816edde4c5054ee0e665d13a9425085338
CRs-Fixed: 774533
2018-12-10 15:12:25 -08:00
nshrivas
60ae163d3e Release 5.2.0.111A
Release 5.2.0.111A

Change-Id: Ic60d4c5ee7eb97ce32a6b4439d0ab593ac6a5fbb
CRs-Fixed: 774533
2018-12-10 12:49:57 -08:00
nshrivas
4c8e6be021 Release 5.2.0.111
Release 5.2.0.111

Change-Id: I13721a5e81832b93fb6d28af5a7eac53ac26e87c
CRs-Fixed: 774533
2018-12-10 07:23:14 -08:00
nshrivas
3babed5263 Release 5.2.0.110Z
Release 5.2.0.110Z

Change-Id: I15cdb13526aacfb941ffb64c8f59b95d0413179a
CRs-Fixed: 774533
2018-12-10 05:36:45 -08:00
nshrivas
dd94289325 Release 5.2.0.110Y
Release 5.2.0.110Y

Change-Id: Ibfb3871cea0d5a19febe5bbac7e99a209c21e83d
CRs-Fixed: 774533
2018-12-10 02:07:02 -08:00
Jeff Johnson
c8cf0be658 qcacld-3.0: Remove assorted tBA typedefs
The current generation of the driver has never used typedefs
tBADirection, tBAEnable, tBAPolicy, or tBAPolicyType. Since these are
obsolete remnants, remove them.

Change-Id: I27645a6d4a1d9f472fbe204aea96f3ec9539a7c2
CRs-Fixed: 2363227
2018-12-10 02:06:49 -08:00
Jeff Johnson
11daeffc6e qcacld-3.0: Remove typedef tSirMacPropIE
The current generation of the driver has never used typedef
tSirMacPropIE. Since it is an obsolete remnant, remove it.

Change-Id: I120162ffc62be87d7f4616abd0cb265799aeaf06
CRs-Fixed: 2363226
2018-12-10 02:06:45 -08:00
Jeff Johnson
e2f016ef82 qcacld-3.0: Remove typedef tPacketType
The current generation of the driver has never used typedef
tPacketType. Since it is an obsolete remnant, remove it.

Change-Id: If59f5bd145895c6821635a7e4099090f2db096c2
CRs-Fixed: 2363225
2018-12-10 02:06:41 -08:00
Jeff Johnson
8d2b7e6955 qcacld-3.0: Remove typedef tSirSmeTkipCntrMeasReq
Previously change I7ff4dfb455daa464379b8d6a65e0a4cd3eb75570
("qcacld-3.0: Remove obsolete eWNI_SME_TKIP_CNTR_MEAS_REQ") removed
the only reference to typedef tSirSmeTkipCntrMeasReq, so remove it as
well.

Change-Id: I10ef269ae5e551c4a7b7dfb80418bb3d372a7437
CRs-Fixed: 2363224
2018-12-10 02:06:37 -08:00
Jeff Johnson
572da56447 qcacld-3.0: Remove typedef tAni64BitCounters
Previous change I112d7ffb9a7d1b011f37ce2893cb0149a5703da7
("qcacld-3.0: Remove typedef tAniSecurityStat") removed the last
references to typedef tAni64BitCounters, so remove it as well.

Change-Id: I9327c3654acd10ed6e535748f322546578f14afc
CRs-Fixed: 2363223
2018-12-10 02:06:33 -08:00
Jeff Johnson
2a606293b5 qcacld-3.0: Remove typedef tAniSecurityStat
Previous change I2aa270b6c3b90fb0b631c01ad873fbf2852764ed
("qcacld-3.0: Remove typedef tAniSecStats") removed the only
references to typedef tAniSecurityStat, so remove it as well.

Change-Id: I112d7ffb9a7d1b011f37ce2893cb0149a5703da7
CRs-Fixed: 2363222
2018-12-10 02:06:29 -08:00