Commit Graph

15521 Commits

Author SHA1 Message Date
Jeff Johnson
8329f33bc8 qcacld-3.0: Rename SAP identifier sapContext
The Linux Coding Style frowns upon mixed-case names so rename SAP
identifier sapContext to be compliant.

Change-Id: If3d09c63141077247635315186068cabab396612
CRs-Fixed: 2422206
2019-03-25 20:40:05 -07:00
Jeff Johnson
84e2270bc6 qcacld-3.0: Remove obsolete SapFsm() prototype
Function SapFsm() no longer exists, so remove the obsolete prototype.

Change-Id: Ie308376743bd5e501d5037464ad55a9e47965b31
CRs-Fixed: 2422205
2019-03-25 20:39:59 -07:00
Jeff Johnson
01fcdb6b96 qcacld-3.0: Rename SAP identifier sapEvent
The Linux Coding Style frowns upon mixed-case names so rename SAP
identifier sapEvent to be compliant.

Change-Id: Iaa39fd0e82dedeed1a6749372214d6bd7e9c324b
CRs-Fixed: 2422204
2019-03-25 20:39:53 -07:00
nshrivas
8ee53a526a Release 5.2.0.127U
Release 5.2.0.127U

Change-Id: I8ddc4a058e00a2da45d5a6a8cabe1a86ebd0ece0
CRs-Fixed: 774533
2019-03-25 17:56:00 -07:00
Jeff Johnson
1627e75a67 qcacld-3.0: Rename HDD identifier encryptType
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier encryptType to be compliant.

Change-Id: Ifc1e026649fbd3a5ce4e30f5233751bf55bf9b02
CRs-Fixed: 2422203
2019-03-25 17:56:00 -07:00
Jeff Johnson
e8e148f740 qcacld-3.0: Rename HDD identifier useAdapter
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier useAdapter to be compliant.

Change-Id: I1960c2d5ddb5d2c623f3fc596aeb8b4160d0137c
CRs-Fixed: 2422202
2019-03-25 17:55:54 -07:00
Jeff Johnson
f31df63d90 qcacld-3.0: Rename HDD identifier STAMacAddress
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier STAMacAddress to be compliant.

Change-Id: I291905cd8202614c06dabcbb9ce7772a39cfdef5
CRs-Fixed: 2422201
2019-03-25 17:55:49 -07:00
Jeff Johnson
25e452b65a qcacld-3.0: Rename HDD identifier Keys
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier Keys to be compliant.

Change-Id: Iec27be3927a7f71fe4ad58e836d80f6cc254bb0d
CRs-Fixed: 2422200
2019-03-25 17:55:44 -07:00
Jeff Johnson
675072b923 qcacld-3.0: Rename HDD identifier pKey
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pKey to be compliant.

Change-Id: I62e6a952328ecca9a0071152b987294945d87c98
CRs-Fixed: 2422199
2019-03-25 17:55:40 -07:00
Jeff Johnson
32fd511f84 qcacld-3.0: Rename LIM identifier isConnected
The Linux Coding Style frowns upon mixed-case names so rename LIM
identifier isConnected to be compliant.

Change-Id: I951dca2c7549fc9d24ad8d0f2e9c19e8dcfcdc0c
CRs-Fixed: 2422198
2019-03-25 17:55:35 -07:00
nshrivas
89bc6df506 Release 5.2.0.127T
Release 5.2.0.127T

Change-Id: If34ecb76705722e424aa0b56edc2f9d0f940a213
CRs-Fixed: 774533
2019-03-25 14:24:21 -07:00
Sravan Kumar Kairam
7efc0136ea qcacld-3.0: Resolve ipa compilation issue
Resolve ipa compilation issue for targets with config
ipa unified api enable and have kernel version 4.9.

Change-Id: Ibf7c51e32850024ceeb154f18a272044482af5ba
CRs-Fixed: 2422172
2019-03-25 14:24:21 -07:00
Jeff Johnson
7d70e4f3c3 qcacld-3.0: Refine wlan_hdd_cfg80211_set_key_wapi()
Function wlan_hdd_cfg80211_set_key_wapi() has a variety of issues:
- It uses mixed-case for parameter key_Len
- It has conditional logic based upon variable isConnected which is
  always true
- It unnecessarily uses a mixed-case variable pKeyPtr when setting
  the key
- It has comments which simply restate the code

Therefore refine the implementation to address these issues.

Change-Id: I41bca98de12775643198b810f7fe534f07fb1bfc
CRs-Fixed: 2422197
2019-03-25 14:24:16 -07:00
Jeff Johnson
8951509014 qcacld-3.0: Rename HDD identifier setKey
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier setKey to be compliant.

Change-Id: Id1c6abe0ec464f5a8163ad98acc82864db7bcccb
CRs-Fixed: 2422196
2019-03-25 14:24:11 -07:00
Jeff Johnson
aa7b531b20 qcacld-3.0: Rename HDD identifier broadcastMacAddr
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier broadcastMacAddr to be compliant.

Change-Id: Ib4edff8bd0b78dc16605ac8bd129021b6923a7d2
CRs-Fixed: 2422195
2019-03-25 14:24:06 -07:00
nshrivas
32cb3b47b7 Release 5.2.0.127S
Release 5.2.0.127S

Change-Id: I365212934dfbf17720fdc8065a08f775c60ece96
CRs-Fixed: 774533
2019-03-25 12:39:41 -07:00
Jeff Johnson
b15ecdfc42 qcacld-3.0: Rename HDD identifier macTable
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier macTable to be compliant.

Change-Id: Ibe516331e58967ee778f0d5098a0b269cae95c55
CRs-Fixed: 2422194
2019-03-25 12:39:41 -07:00
Jeff Johnson
9fa537773a qcacld-3.0: Fix hdd_register_tx_flow_control() prototype
The prototype for hdd_register_tx_flow_control() does not exactly
match either the documentation or the implementation, so rename the
flowControl parameter to be consistent, as well as to be compliant
with the coding standard.

Change-Id: I2a65fc78febef5bd44b38e0b7ff3fa5968a6e214
CRs-Fixed: 2422193
2019-03-25 12:39:36 -07:00
Dustin Brown
06878b3a80 qcacld-3.0: Reject up-tree ops during transition
Currently, the Driver Synchronization Core (DSC) blocks transitions
up-tree and down-tree from a node currently undergoing a transition, but
only rejects operations down-tree from the current node. Instead, reject
new operations both up-tree and down-tree from the current node under
transition. This provides more forgiving safety guarantees to operation
implementations at the cost of a reduced amount of parallelism that can
be achieved.

Change-Id: I09e1c48f7030a2252380d172c1c00ee22eac39c5
CRs-Fixed: 2421786
2019-03-25 12:39:31 -07:00
Dustin Brown
2a1755db02 qcacld-3.0: Add osif_sync high level documentation
While the concepts of osif_sync started out as a simple set of APIs, it
ultimately evolved into its own full-fledge code module. While the
per-function documenation is present, high-level documentation for the
osif_sync code module as a whole was over looked. Add a high-level
description of the purpose of osif_sync in osif_sync.h

Change-Id: I42cd28673b500c85ecf95de4b507b677804892ba
CRs-Fixed: 2421801
2019-03-25 12:39:26 -07:00
Jeff Johnson
cc9c7bbbc1 qcacld-3.0: Replace camelCase in struct p2p_app_set_ps
The Linux Coding Style frowns upon mixed-case names so rename members
ctWindow and psSelection in struct p2p_app_set_ps to be compliant.

Change-Id: If5156a8dd6203fb530a164447d458ac3e55e233a
CRs-Fixed: 2422192
2019-03-25 12:39:21 -07:00
nshrivas
ba59972e3b Release 5.2.0.127R
Release 5.2.0.127R

Change-Id: Ifc3cc07f05a2ab134cf8130e2a398fbc61b1991d
CRs-Fixed: 774533
2019-03-25 10:59:40 -07:00
Jeff Johnson
085583ae7a qcacld-3.0: Remove p2pNoA from struct pe_session
The p2pNoA member of struct pe_session is unused, so remove it. And
since this is the only usage of typedef tSirNoAParam, remove it as
well.

Change-Id: I323a595c38aee806c0dabbf3b70de22538385ec5
CRs-Fixed: 2422191
2019-03-25 10:59:39 -07:00
nshrivas
1a9113a117 Release 5.2.0.127Q
Release 5.2.0.127Q

Change-Id: Ie521f159004353851196cce2ed65fa2bf2f691a6
CRs-Fixed: 774533
2019-03-25 07:27:52 -07:00
Jeff Johnson
038efe7d8f qcacld-3.0: sme: Replace explicit comparison to NULL
Per the Linux Kernel coding style, as enforced by the kernel
checkpatch script, pointers should not be explicitly compared to
NULL. Therefore within sme replace any such comparisons with logical
operations performed on the pointer itself.

Change-Id: I26dc90bbae78329dd04768a21c63a9ea55c8fdb4
CRs-Fixed: 2418388
2019-03-25 07:27:51 -07:00
nshrivas
367878597f Release 5.2.0.127P
Release 5.2.0.127P

Change-Id: I2e05b4b33306444338c00a3d96cf3b50b41e3196
CRs-Fixed: 774533
2019-03-25 05:58:10 -07:00
Wu Gao
3c00e931ea qcacld-3.0: Handle event eWNI_SME_UPPER_LAYER_ASSOC_CNF
It doesn't handle event eWNI_SME_UPPER_LAYER_ASSOC_CNF if state isn't
eCSR_ROAMING_STATE_JOINED, which cause memory leak. So handle this
event and free the memory.

Change-Id: Ibfbf9ac5e2d74a2c81839976b4cc1fb7deae7e60
CRs-Fixed: 2414369
2019-03-25 05:58:09 -07:00
nshrivas
4be9f667e1 Release 5.2.0.127O
Release 5.2.0.127O

Change-Id: I859ff212d048bdb2490d16f6c48a7065ef7862f9
CRs-Fixed: 774533
2019-03-25 04:24:55 -07:00
Jeff Johnson
d36fa33779 qcacld-3.0: hdd: Replace explicit comparison to NULL
Per the Linux Kernel coding style, as enforced by the kernel
checkpatch script, pointers should not be explicitly compared to
NULL. Therefore within hdd replace any such comparisons with logical
operations performed on the pointer itself.

Change-Id: I69fc3065ee76a619b13b237c7800054468f839d0
CRs-Fixed: 2418393
2019-03-25 04:24:54 -07:00
nshrivas
e9430986aa Release 5.2.0.127N
Release 5.2.0.127N

Change-Id: I47410a9c3580cc8ca01bdaa666492ae7d1a4f9a7
CRs-Fixed: 774533
2019-03-24 20:48:16 -07:00
Dustin Brown
4bbd546f61 qcacld-3.0: Expose timer multiplier via module param
The timer multiplier is currently controlled via ini configuration.
However, there are several timers which are started before the
configuration can be applied during SoC probe. Add a module parameter
that allows controlling the timer multiplier both at load time and at
run time.

Change-Id: I34a8511c1900a722030374b881a73adc9c5fee19
CRs-Fixed: 2421716
2019-03-24 20:48:15 -07:00
Jeff Johnson
bdc473f2f4 qcacld-3.0: tdls: Replace explicit comparison to NULL
Per the Linux Kernel coding style, as enforced by the kernel
checkpatch script, pointers should not be explicitly compared to
NULL. Therefore within tdls replace any such comparisons with logical
operations performed on the pointer itself.

Change-Id: I836dec2b71e0c11f11b18402c7b127bb4ccbba48
CRs-Fixed: 2418394
2019-03-24 20:48:11 -07:00
nshrivas
ec25097c09 Release 5.2.0.127M
Release 5.2.0.127M

Change-Id: I3bb2f036a7a70293d4bcbbe339897d1bccda1f53
CRs-Fixed: 774533
2019-03-24 19:26:52 -07:00
Jeff Johnson
753f9d7861 qcacld-3.0: pld: Replace explicit comparison to NULL
Per the Linux Kernel coding style, as enforced by the kernel
checkpatch script, pointers should not be explicitly compared to
NULL. Therefore within pld replace any such comparisons with logical
operations performed on the pointer itself.

Change-Id: I8092ddbb80bb39fc6ff560cca34e021b115f7fd7
CRs-Fixed: 2418390
2019-03-24 19:26:51 -07:00
Dustin Brown
05a0658f4a qcacld-3.0: Enable qdf_delayed_work
Enable the qdf_delayed_work type, recently added in
I76bc59dcd4222643d70c6a763e5bc4ee9f0a487c.

Change-Id: I6214879680f6251797d1db2986cf10d8f636314c
CRs-Fixed: 2419158
2019-03-24 19:26:47 -07:00
nshrivas
771ce050dc Release 5.2.0.127L
Release 5.2.0.127L

Change-Id: I953be238d575203efff058637d5d34d3acb5491f
CRs-Fixed: 774533
2019-03-24 17:55:05 -07:00
Srinivas Girigowda
d36b3fa6ec qcacld-3.0: Replace TOS_* macros with QCA_WLAN_AC_*
Replace TOS_* macros with QCA_WLAN_AC_*.

Change-Id: I6ff2e341d8696f650e52f679a06a440373c87256
CRs-Fixed: 2421732
2019-03-24 17:55:04 -07:00
Srinivas Girigowda
167ea82cab qcacld-3.0: Replace WME_AC_* macros with QCA_WLAN_AC_*
Replace WME_AC_* macros with QCA_WLAN_AC_*.

Change-Id: I359a8afa48ae6697df41d8f832195c918d57e0ae
CRs-Fixed: 2421732
2019-03-24 17:55:00 -07:00
Srinivas Girigowda
865969e543 qcacld-3.0: Replace SME_QOS_EDCA_AC_* macro with QCA_WLAN_AC_*
Replace SME_QOS_EDCA_AC_* macro with QCA_WLAN_AC_*.

Change-Id: I1a9fdb21e61e9be1a2e417e1dd174b87ae4bb6b9
CRs-Fixed: 2421732
2019-03-24 17:54:54 -07:00
Srinivas Girigowda
5b86fbd1bd qcacld-3.0: Replace EDCA_AC_* macros with QCA_WLAN_AC_*
Replace EDCA_AC_* macros with QCA_WLAN_AC_*.

Change-Id: Ia48c0ffc9c87d3313e996567cf0ba9a599cdf6c3
CRs-Fixed: 2421732
2019-03-24 17:54:49 -07:00
nshrivas
ff2d8591db Release 5.2.0.127K
Release 5.2.0.127K

Change-Id: I5a2df3e6a5fa5bf3038536971bdc62d5033a4043
CRs-Fixed: 774533
2019-03-24 14:54:48 -07:00
Abhishek Singh
bfaebe3372 qcacld-3.0: Fix opportunistic timer start issue in 2x2 DBS mode
In 2x2 DBS mode once STA/SAP change channel from 2.4Ghz to 5Ghz,
policy_mgr_get_current_pref_hw_mode_ptr never return
PM_SINGLE_MAC_UPGRADE to start the opportunistic timer to switch to
single mac mode.

Fix is to check and start opportunistic timer once connection info are
updated. Also start opportunistic timer before
check for SAP to change channel as when SAP change channel it should
stop opportunistic timer and set required HW mode.
If single mac mode is required after channel switch it will start
opportunistic timer again in channel switch callback.

Change-Id: Id6bbc7ea51ba8147e517e7e7bf2b14931c95ea44
CRs-Fixed: 2419645
2019-03-24 14:54:48 -07:00
Nachiket Kukade
8de3c7bcb2 qcacld-3.0: Move interface name related modules to NAN OS IF
NAN Datapath vendor commands include a vendor attribute that
contains interface name string. Only NAN Datapath interface
needs the modules that return vdev object from interface name
and vice versa. Presently these modules are part of in cmn
utils under UMAC. They're accessing OS IF private structures
which is a layering violation. So move these modules to the
NAN OS IF files where they're appropriate.

Move interface name related modules to NAN OS IF files.

Change-Id: I643bf597895e172fa501ada18ebc13ffa2e144e3
CRs-Fixed: 2284200
2019-03-24 14:54:43 -07:00
nshrivas
e30041a794 Release 5.2.0.127J
Release 5.2.0.127J

Change-Id: I6625dd46d3b99dd8986c826e9cac95f1d5a0950d
CRs-Fixed: 774533
2019-03-22 17:39:29 -07:00
Jeff Johnson
6795c3a9aa qcacld-3.0: dp: Replace explicit comparison to NULL
Per the Linux Kernel coding style, as enforced by the kernel
checkpatch script, pointers should not be explicitly compared to
NULL. Therefore within dp replace any such comparisons with logical
operations performed on the pointer itself.

Change-Id: I6c5589e430bdd8687122337fe88fb84ba72bab60
CRs-Fixed: 2418391
2019-03-22 17:39:28 -07:00
nshrivas
cd956a839a Release 5.2.0.127I
Release 5.2.0.127I

Change-Id: I636c0afd77e104654d6f621de6dee7748554e9aa
CRs-Fixed: 774533
2019-03-22 16:11:24 -07:00
Jeff Johnson
9cb757b963 qcacld-3.0: Rename HDD identifier channelEnabledState
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier channelEnabledState to be compliant.

Change-Id: I26a676e216b2a8c5964f3e903cbda884769db284
CRs-Fixed: 2418191
2019-03-22 16:11:20 -07:00
Jeff Johnson
603ef85889 qcacld-3.0: Rename HDD identifier fValidChannel
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier fValidChannel to be
compliant.

Change-Id: Ic591e0e194b3444499518f7fd3c273adb6189423
CRs-Fixed: 2418190
2019-03-22 16:11:16 -07:00
Jeff Johnson
a8fef4e3a4 qcacld-3.0: Rename HDD identifier fEnableSNRMonitoring
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier fEnableSNRMonitoring to
be compliant.

Change-Id: Ic613f39d0d267ba7e8cb72cd0cc3bf261a029278
CRs-Fixed: 2418189
2019-03-22 16:11:11 -07:00
nshrivas
b4ad9859ea Release 5.2.0.127H
Release 5.2.0.127H

Change-Id: I3d310eccb15a0e044f4a0e4c526837508adc2c98
CRs-Fixed: 774533
2019-03-22 13:33:35 -07:00