Commit Graph

4831 Commits

Author SHA1 Message Date
Jeff Johnson
84b3433a66 qcacld-3.0: Rename HDD identifier neighborReq
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier neighborReq to be compliant.

Change-Id: I07649d9aa0ab26b69d6a1fbf7ea05ac5ce3f307f
CRs-Fixed: 2415549
2019-03-14 13:01:10 -07:00
Jeff Johnson
09bb9cf90a qcacld-3.0: Rename HDD identifier callbackInfo
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier callbackInfo to be compliant.

Change-Id: I71e41f668f0451cc482e8889fd4d751d6bb02115
CRs-Fixed: 2415548
2019-03-14 11:17:44 -07:00
Jeff Johnson
c3f37e3744 qcacld-3.0: Rename HDD identifier tSpec
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier tSpec to be compliant.

Change-Id: I10fd01adcc87cb2bff5d48fa349e9a355dd90683
CRs-Fixed: 2415547
2019-03-14 11:17:39 -07:00
Sourav Mohapatra
aaa0f882f6 qcacld-3.0: Avoid Integer underflow in hdd_dns_make_name_query
In the function hdd_dns_make_name_query, the driver is performing a
validation check that includes the use of length of the received string
as an array index. As the length and string both are user controlled,
the user can send the length as zero. As the policy states that the
given attribute is NLA_BINARY, so there would be no validation check
that can ensure the correct input. Therefore in the case of a malformed
packet with null length string, it can cause a possible integer
underflow.

To avoid this vulnerability change the attribute type from NLA_BINARY to
NLA_NUL_STRING. This will cause all the checks to be performed at
validate_nla.

Change-Id: I0bb569b71a88a07745d364dad23cf1210af4212e
CRs-Fixed: 2409913
2019-03-14 02:43:19 -07:00
Jeff Johnson
18a8ebddde qcacld-3.0: Rename HDD identifier pRequest
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pRequest to be compliant.

Change-Id: I738fd83ecb00de6399f224bbfbd956dbbe5effce
CRs-Fixed: 2414998
2019-03-14 02:43:14 -07:00
Jeff Johnson
fdc68daa8a qcacld-3.0: Rename HDD identifier offloadRequest
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier offloadRequest to be compliant.

Change-Id: I8b3ee0d09cc6031a6a082a84a10173526fb46f47
CRs-Fixed: 2414997
2019-03-14 02:43:09 -07:00
Jeff Johnson
b7c419b3c7 qcacld-3.0: Rename HDD identifier pStatus
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pStatus to be compliant.

Change-Id: Ic4c8a4cb85a151144861ee9983e2eea5a28d7e2f
CRs-Fixed: 2414996
2019-03-14 02:43:04 -07:00
Jeff Johnson
92ed16c22d qcacld-3.0: Rename HDD identifier connectedBand
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier connectedBand to be compliant.

Change-Id: I6a42c38c8acdcea7a248d1b7baf7443b437985ff
CRs-Fixed: 2414995
2019-03-14 02:43:00 -07:00
Jeff Johnson
dbae017255 qcacld-3.0: Rename HDD identifier currBand
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier currBand to be compliant.

Change-Id: I5ecc8773f985ca4558a87250446f492ec7f6b1cc
CRs-Fixed: 2414994
2019-03-14 02:42:55 -07:00
Jeff Johnson
c7776f219d qcacld-3.0: Rename HDD identifier uapsdMask
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier uapsdMask to be compliant.

Change-Id: I40bab07e5c7e8fd5f8be9c26732f304c0c2bfadd
CRs-Fixed: 2414993
2019-03-14 02:42:51 -07:00
Jeff Johnson
55c4388b9a qcacld-3.0: Rename HDD identifier queueIndex
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier queueIndex to be compliant.

Change-Id: Iaf7bc148b7559e64dcdb45ee8a7c5143467a356c
CRs-Fixed: 2414992
2019-03-14 02:42:46 -07:00
Jeff Johnson
93ca0cdb0e qcacld-3.0: Rename HDD identifier qosInfo
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier qosInfo to be compliant.

Change-Id: I6badd2c5add06830886cce3740fe15bf29dba7fb
CRs-Fixed: 2414991
2019-03-14 02:42:42 -07:00
Jeff Johnson
0a12bbc538 qcacld-3.0: Rename HDD identifier inactivityTime
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier inactivityTime to be compliant.

Change-Id: I22e52f1e916e201efb84a1fa9afffde165c1912a
CRs-Fixed: 2414990
2019-03-14 02:42:37 -07:00
Jeff Johnson
15bf1b125f qcacld-3.0: Rename HDD identifier currentTrafficCnt
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier currentTrafficCnt to be compliant.

Change-Id: Ic330104dc1cc74ed3f4e07534911ee5c1992f262
CRs-Fixed: 2414989
2019-03-14 02:42:33 -07:00
Kiran Kumar Lokere
a1c29ecc16 qcacld-3.0: Configuration support for VHT in 2.4G band
Add support to configure VHT support in 2.4G band.

Change-Id: If3e94db7b4b8a84522b395bd2f33a52ccf42d053
CRs-Fixed: 2414930
2019-03-13 23:21:41 -07:00
Kiran Kumar Lokere
921b5a5213 qcacld-3.0: Configuration support for HE testbed defaults
Add support to configure HE testbed defaults configuration
settings.

Change-Id: I13a2158ac2e1fd05465bd74103a96fb427592de0
CRs-Fixed: 2414928
2019-03-13 23:21:36 -07:00
Kiran Kumar Lokere
49e3aff542 qcacld-3.0: Configuration support for HE OM UL MU data disable
Add support to configure HE OM control UL MU data disable bit.

Change-Id: I62a3b33a2a08a7510ed9aafeb6da2842fe7ef09e
CRs-Fixed: 2386309
2019-03-13 23:21:30 -07:00
Kiran Kumar Lokere
acd107d0a6 qcacld-3.0: Add support to configure HE +HTC support and OMI Tx
Add support to configure HE +HTC support in HE caps and HE OM
control transmission.

Change-Id: Ic3ad5952198472ecda79471a37ff527dfdbcdbf0
CRs-Fixed: 2359376
2019-03-13 23:21:25 -07:00
Jeff Johnson
de474b4f6e qcacld-3.0: Rename HDD identifier wmmPrevTrafficCnt
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmPrevTrafficCnt to be compliant.

Change-Id: Icf8e455e81145c5319f943308c078db7ca01c8b5
CRs-Fixed: 2414525
2019-03-13 09:31:53 -07:00
Jeff Johnson
154193b1ac qcacld-3.0: Rename HDD identifier wmmInactivityTime
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmInactivityTime to be compliant.

Change-Id: Iceffbf91bba02635d0174fa25db3d0401e450146
CRs-Fixed: 2414524
2019-03-13 09:31:48 -07:00
Jeff Johnson
a2b8b4783f qcacld-3.0: Rename HDD identifier wmmInactivityTimer
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmInactivityTimer to be compliant.

Change-Id: I23b0d28adaa95cc6f127c6309788366f259a4a88
CRs-Fixed: 2414523
2019-03-13 09:31:43 -07:00
Jeff Johnson
68a8a9a356 qcacld-3.0: Rename HDD identifier wmmAcUapsdDirection
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcUapsdDirection to be compliant.

Change-Id: Ifd22bf0a1ae974ff1425d88e15a1702ddad3d2b7
CRs-Fixed: 2414522
2019-03-13 09:31:38 -07:00
Jeff Johnson
48fffec448 qcacld-3.0: Rename HDD identifier wmmAcUapsdSuspensionInterval
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcUapsdSuspensionInterval to be compliant.

Change-Id: Ia309e77f9ee13251b84dc4f825a19d0222dfd648
CRs-Fixed: 2414521
2019-03-13 09:31:33 -07:00
Jeff Johnson
e8f3a77500 qcacld-3.0: Rename HDD identifier wmmAcUapsdServiceInterval
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcUapsdServiceInterval to be compliant.

Change-Id: I93337f46663e40521b6baf467abcff59cca98cc8
CRs-Fixed: 2414520
2019-03-13 09:31:28 -07:00
Jeff Johnson
a86be85093 qcacld-3.0: Rename HDD identifier wmmAcIsUapsdEnabled
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcIsUapsdEnabled to be compliant.

Change-Id: I4f109c7806881b358886e24e7876aac7c24918fb
CRs-Fixed: 2414519
2019-03-13 09:31:23 -07:00
Jeff Johnson
64d94dd5d7 qcacld-3.0: Rename HDD identifier wmmAcTspecInfo
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcTspecInfo to be compliant.

Change-Id: I707b0351effc4a6d5d2554a283c519c89b0f0b42
CRs-Fixed: 2414518
2019-03-13 09:31:19 -07:00
Jeff Johnson
fd29709c79 qcacld-3.0: Rename HDD identifier wmmAcUapsdInfoValid
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcUapsdInfoValid to be compliant.

Change-Id: I54960d0902f3a1396d9c24a315d2438c584a323b
CRs-Fixed: 2414517
2019-03-13 00:07:09 -07:00
Jeff Johnson
0698e6658c qcacld-3.0: Rename HDD identifier wmmAcTspecValid
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcTspecValid to be compliant.

Change-Id: I36d38c2774ab062e81d52581fee3d7c3bebad9a5
CRs-Fixed: 2414516
2019-03-13 00:07:04 -07:00
Jeff Johnson
a5548975c6 qcacld-3.0: Rename HDD identifier wmmAcAccessAllowed
The Linux Coding Style frowns upon mixed-case names
so rename HDD identifier wmmAcAccessAllowed
to be compliant.

Change-Id: I83ea1945057ce281f5862feefaf4e09cbd2fe948
CRs-Fixed: 2414515
2019-03-13 00:07:00 -07:00
Jeff Johnson
c77123d656 qcacld-3.0: Rename HDD identifier wmmAcAccessGranted
The Linux Coding Style frowns upon mixed-case names
so rename HDD identifier wmmAcAccessGranted
to be compliant.

Change-Id: I23521ad0a8184e25b4e5ed88899b11bb2e56318c
CRs-Fixed: 2414514
2019-03-13 00:06:55 -07:00
Jeff Johnson
1b48ccbb17 qcacld-3.0: Rename HDD identifier wmmAcAccessFailed
The Linux Coding Style frowns upon mixed-case names
so rename HDD identifier wmmAcAccessFailed
to be compliant.

Change-Id: I149b1d76a799b87e8fbf6814280c760b0a9e0d26
CRs-Fixed: 2414513
2019-03-13 00:06:51 -07:00
Jeff Johnson
e5b75be368 qcacld-3.0: Rename HDD identifier wmmAcAccessPending
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcAccessPending to be compliant.

Change-Id: I1daf7585bc82f11887502b4664c6735570f52939
CRs-Fixed: 2414512
2019-03-13 00:06:46 -07:00
Jeff Johnson
12ccaf6a14 qcacld-3.0: Rename HDD identifier wmmAcAccessNeeded
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcAccessNeeded to be compliant.

Change-Id: I45a447f0a0a464d543a9da06cf0da1e9854a32f1
CRs-Fixed: 2414511
2019-03-13 00:06:41 -07:00
Jeff Johnson
30ac84f123 qcacld-3.0: Rename HDD identifier wmmAcAccessRequired
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcAccessRequired to be compliant.

Change-Id: I7492d6e53624d741a87a3ebbb414d48139d0c8f0
CRs-Fixed: 2414510
2019-03-13 00:06:37 -07:00
Nachiket Kukade
413c5fa36e qcacld-3.0: Add policy mgr changes to support NDI concurrencies
If Firmware supports NDI DBS mode, driver can support NDI
concurrency along with NAN and STA type connecitons. Use
Policy Manager API's to add support for these concurrencies.

Add policy mgr related changes to support NDI concurrencies.

Change-Id: If272be34606c0897d0b145c602b4bc2ba4462cb0
CRs-Fixed: 2384549
2019-03-12 13:58:17 -07:00
Ashish Kumar Dhanotiya
908925de35 qcacld-3.0: Update pno wiphy params after FW ready event
Currently pno related parameters are getting populated in
wiphy before scan related inis are initialized, and because
of this, wiphy is not getting initialized correctly as ini
scan_support_enabled for pno is not initialized yet.
Wiphy is registered once FW ready event is received,
ideally wiphy parameters which are dependadnt on FW
capabilities or cfg items should be configured once
FW ready event is received.

To resolve this issue, update sched scan related parameter
initialization after FW ready event is received.

Change-Id: Ib0cdb145caa5a0b9911365750fbfd38dc954dee3
CRs-fixed: 2400148
2019-03-12 11:40:42 -07:00
Jeff Johnson
03f3452478 qcacld-3.0: Refine iw_get_oem_data_cap()
The current implementaton of iw_get_oem_data_cap() has a few issues:
- It has identifiers with mixed-case and Hungarian notation
- It performs an unnecessary data copy

So refine the function to address these issues.

Change-Id: I3d445ea4024e072d66c3d59e8773d0ad72eb6178
CRs-Fixed: 2413669
2019-03-12 00:56:07 -07:00
Jeff Johnson
8f656c64b5 qcacld-3.0: Rename HDD identifier wmmContextList
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmContextList to be compliant.

Change-Id: Ia48fa11624e9f4413871a1f443503cbacc86f09f
CRs-Fixed: 2412983
2019-03-12 00:56:02 -07:00
Jeff Johnson
12e1233a74 qcacld-3.0: Rename HDD identifier wmmAcStatus
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcStatus to be compliant.

Change-Id: I64f0ea0d96253594ddc62cce9601e331470f0d1a
CRs-Fixed: 2412982
2019-03-12 00:55:57 -07:00
Jeff Johnson
7f63ac9d1b qcacld-3.0: Rename HDD identifier wmmQosConnection
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmQosConnection to be compliant.

Change-Id: Ib23c8cca8d1adbb2fcc86686477aa5470e1b761e
CRs-Fixed: 2412981
2019-03-12 00:55:52 -07:00
Jeff Johnson
26ef71e02a qcacld-3.0: Rename HDD identifier wmmQap
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmQap to be compliant.

Change-Id: I016bb2ce37d46ad246b89c95b0062a7f4a22f880
CRs-Fixed: 2412980
2019-03-12 00:55:48 -07:00
Jeff Johnson
5b9801921b qcacld-3.0: Rename HDD identifier qosConnection
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier qosConnection to be compliant.

Change-Id: Iff26d78b773411d7addb86100f9607d7dc414a14
CRs-Fixed: 2412979
2019-03-12 00:55:44 -07:00
Jeff Johnson
c5449d76a6 qcacld-3.0: Rename HDD identifier acmMask
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier acmMask to be compliant.

Change-Id: I113c772b28f81c8360991e18b47b5ac5a9701820
CRs-Fixed: 2412978
2019-03-12 00:55:40 -07:00
Jeff Johnson
45100a968a qcacld-3.0: Rename HDD identifier pNext
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pNext to be compliant.

Change-Id: I0dbb7dfcdd836c4bc70c832a4d265056e9efeba2
CRs-Fixed: 2412977
2019-03-12 00:55:35 -07:00
Dustin Brown
96b98dddb9 qcacld-3.0: Integrate DSC (misc - part 3/3)
As part of DSC integration, replace cds_ssr_protect/unprotect with
appropriate osif_sync op start/stop calls in the miscellaneous
remaining callback handlers.

Change-Id: Id16db2dc5ba426b696a23d6bbc6ea49ba64f344a
CRs-Fixed: 2413760
2019-03-12 00:55:31 -07:00
Jeff Johnson
7d4a0b5f60 qcacld-3.0: Rename HDD identifier wmmAcSetupImplicitQos
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcSetupImplicitQos to be compliant.

Change-Id: I9da004d4652e1b827f99368ac0ffa4cce33d2fda
CRs-Fixed: 2412976
2019-03-11 21:55:43 -07:00
Jeff Johnson
4d20900bfc qcacld-3.0: Rename HDD identifier pAc
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pAc to be compliant.

Change-Id: Id650b37ad74265ba793379b8e88439de8ba131dd
CRs-Fixed: 2412975
2019-03-11 21:55:39 -07:00
Jeff Johnson
d37476ee94 qcacld-3.0: Rename HDD identifier pAcStatus
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pAcStatus to be
compliant.

Change-Id: I6829e197f903b9967cd011c77d5e8e9927e98c4b
CRs-Fixed: 2412974
2019-03-11 21:55:34 -07:00
Jeff Johnson
c4adb88597 qcacld-3.0: Rename HDD identifier pCurrentQosInfo
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pCurrentQosInfo to be
compliant.

Change-Id: I70394379fd13ed4da4fd53fb08927dc1df432675
CRs-Fixed: 2412973
2019-03-11 21:55:29 -07:00
Jeff Johnson
2059fd71e9 qcacld-3.0: Rename HDD identifier smeStatus
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier smeStatus to be compliant.

Change-Id: Ia642941c96b891ca226d2640846d8673c9fc3127
CRs-Fixed: 2412972
2019-03-11 21:55:25 -07:00