Commit Graph

15398 Commits

Author SHA1 Message Date
Srinivas Girigowda
9d5501596c qcacld-3.0: Change argument data type from int to unsigned int
kstrtouint() expects 3rd argument to be of data type unsigned int,
but currently argument of type int is passed.
Fix this by changing int to unsigned int.

Change-Id: I8263de9a4a9260da91dac6be021c54a927390a9a
CRs-Fixed: 2423711
2019-03-26 22:41:18 -07:00
Abhishek Singh
628bb6fb5f qcacld-3.0: Fix check for last active connection to set SMM
Check for last active connection to set SMM is checked in
hdd_stop_adapter. hdd_stop_adapter can get called even when session
is still active and thus the last connection check may fail to detect
the last connection and driver may end up sending SMM req after all
vdevs are deleted as part of opportunistic timer callback.

To fix this move the check in hdd_vdev_destroy once the session is
disconnected.

Change-Id: Ie074d690ec0b2848529910bd8e1411c149d4483f
CRs-Fixed: 2423329
2019-03-26 22:41:08 -07:00
nshrivas
ab93eae5d6 Release 5.2.0.128B
Release 5.2.0.128B

Change-Id: I71274c159f74b253a86aca929622e3bd0733239d
CRs-Fixed: 774533
2019-03-26 20:56:07 -07:00
Harprit Chhabada
e57425536e qcacld-3.0: Add support for bcast deauth in sap mode
Currently, only broadcast disassociate is supported and deauth is
send in a unicast manner.
For enabling broadcast deauth support, bypass the unicast deauth
and directly send broadcast disassociate.

Change-Id: Ie196bc955b5b9a9f48a474e5f109b2a6c73fa208
CRs-Fixed: 2420980
2019-03-26 20:56:07 -07:00
Rajasekaran Kalidoss
869bc4af4f qcacld-3.0: LFR2 DBS roam support
During LFR2 roaming, after the preauth with new AP
and disassociation with current AP are successful,
proper HW mode should be set based on the
existing concurrency scenario.

Change-Id: I312ed10bc844712b3dba36680457198a19f1e85c
CRs-Fixed: 2367224
2019-03-26 20:56:02 -07:00
nshrivas
193cc62420 Release 5.2.0.128A
Release 5.2.0.128A

Change-Id: Ib2bd5653c2ade8c0a18269aabf4010cc359fc0cc
CRs-Fixed: 774533
2019-03-26 17:16:34 -07:00
Dustin Brown
92acafe925 qcacld-3.0: Enable qdf_ptr_hash
Enable the recently added type, qdf_ptr_hash, added in
I7f5fc0c59ed220bde43044e7013b3c8573f1bf39.

Change-Id: I090adcb480e4dbce9934d17c82342c5b53cb8c9a
CRs-Fixed: 2421833
2019-03-26 17:16:33 -07:00
Dustin Brown
128e2d03bd qcacld-3.0: Enable qdf_slist
Enable the recently added type, qdf_slist, added in
I2959f34649a0d8e0b312d9d67c81de17753b9b6c.

Change-Id: I64ab3de7322846d2084f4f4bea01ab69bff52b32
CRs-Fixed: 2418502
2019-03-26 17:16:29 -07:00
nshrivas
6170085bea Release 5.2.0.128
Release 5.2.0.128

Change-Id: If978f96fb8c8621c73b9259cfd785915b5f6811e
CRs-Fixed: 774533
2019-03-26 15:38:15 -07:00
Rajeev Kumar Sirasanagandla
32ae804cfa qcacld-3.0: Add driver commands to set and get country
Add new driver commands SETCOUNTRYREV and GETCOUNTRYREV to set and get
the country code respectively.

Change-Id: Ia231b2842f127d1e48ffdc110d3d7ec08a15bd6c
CRs-Fixed: 2412656
2019-03-26 15:38:14 -07:00
Abhishek Singh
8c54e38f56 qcacld-3.0: Limit the wait for first CSA beacon TX completion
During channel switch in AP, Driver send beacon with CSA count
and wait for first beacon tx complete to initiate the host timer
every beacon interval to send the beacon template with updated CSA
count till CSA count become 0 and then do the vdev restart.

If driver doesn't get first beacon tx complete, the state machine
get stuck waiting for CSA to complete and can lead to functional
and stability issues.

So wait maximum for MAX_WAIT_FOR_BCN_TX_COMPLETE time for first
beacon tx complete and if not received, start the timer for every
beacon interval to send the beacon template with updated CSA count.

Change-Id: I90fab62d0851144906a7e7bd56285e64729c568c
CRs-Fixed: 2423079
2019-03-26 15:38:08 -07:00
nshrivas
b492bae0b3 Release 5.2.0.127Z
Release 5.2.0.127Z

Change-Id: I5f7799df6fc212cdf73136412fdedfa3e7594da8
CRs-Fixed: 774533
2019-03-26 10:30:13 -07:00
wadesong
7f682da30f qcacld-3.0: Documentation refine for some ini items
1) Refine the documentation text of the following items:

gTxChainMask1ss
gTDLSPuapsdInactivityTime
UapsdMask
InfraUapsdVoSrvIntv
InfraUapsdVoSuspIntv
InfraUapsdViSrvIntv
InfraUapsdViSuspIntv
InfraUapsdBeSrvIntv
InfraUapsdBeSuspIntv
InfraUapsdBkSrvIntv
InfraUapsdBkSuspIntv
InfraDirAcVo
InfraDirAcBe
InfraDirAcBk
InfraSbaAcBk
burstSizeDefinition
tsInfoAckPolicy
SingleTIDRC

2) Remove the duplicated definitions of 2 ini items:

gTDLSPuapsdInactivityTime
gTDLSPuapsdRxFrameThreshold

Change-Id: I0f122af2fc91616a38a2c101478bad942292a9ba
CRs-Fixed: 2422339
2019-03-26 10:30:12 -07:00
nshrivas
d8e2f3feba Release 5.2.0.127Y
Release 5.2.0.127Y

Change-Id: I3008dfc761e4d089d9b46f5f380b402fbd190237
CRs-Fixed: 774533
2019-03-26 05:47:08 -07:00
Jeff Johnson
8e9530b563 qcacld-3.0: mac: 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 mac replace any such comparisons with logical
operations performed on the pointer itself.

Change-Id: I387e08b1ba4d46e6b5ca5cf08ba398a32a3a00d4
CRs-Fixed: 2418392
2019-03-26 05:47:07 -07:00
Sravan Kumar Kairam
782f9c141c qcacld-3.0: Add feature flag to serialize reorder queue setup
Add feature flag to serialize update reorder queue setup wmi
command to firmware.

Change-Id: I91e3e2631d9a15500f61f5e449db71c047e0021a
CRs-Fixed: 2422772
2019-03-26 05:47:02 -07:00
nshrivas
4b81e701b0 Release 5.2.0.127X
Release 5.2.0.127X

Change-Id: I90ce56d7d740e3b35fbc501592d51f08158f6259
CRs-Fixed: 774533
2019-03-26 01:24:30 -07:00
Dustin Brown
8d8ab30f21 qcacld-3.0: Migrate to qdf_delayed_work
qdf_delayed_work_t has been superseded by qdf_delayed_work. Replace all
instances as appropriate.

Change-Id: I83f0dcec050bc9f91624048bd171f9a86b0394b5
CRs-Fixed: 2420202
2019-03-26 01:24:29 -07:00
nshrivas
2b2e6f52db Release 5.2.0.127W
Release 5.2.0.127W

Change-Id: Iafcec45223391bafdba06ad6d32202cc68cd2523
CRs-Fixed: 774533
2019-03-25 22:17:26 -07:00
Jeff Johnson
9a472f7f85 qcacld-3.0: Rename SAP identifier pconfig
The Linux Coding Style frowns upon so-called Hungarian notation, so
rename SAP identifier pconfig to be compliant.

Change-Id: I2d0ef46cf8f9972ca16592e7d8799ab8592b04a0
CRs-Fixed: 2422213
2019-03-25 22:17:25 -07:00
Jeff Johnson
8f8ceb9ac8 qcacld-3.0: Replace typedef tsap_config_t
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tsap_config_t typedef does not
meet any of those criteria, so replace it with the underlying struct.

Change-Id: I95d9ad30d9af35dc4572d70c555b24b0285f8b2d
CRs-Fixed: 2422212
2019-03-25 22:17:19 -07:00
Jeff Johnson
e71c30916e qcacld-3.0: Rename SAP identifier pconfig_params
The Linux Coding Style frowns upon so-called Hungarian notation, so
rename SAP identifier pconfig_params to be compliant.

Change-Id: I2213bd6875113b5e73238d05cc131c29a0d473c2
CRs-Fixed: 2422211
2019-03-25 22:17:15 -07:00
nshrivas
44f73bf3df Release 5.2.0.127V
Release 5.2.0.127V

Change-Id: Iafec7aee1f5eba9dcc287edca8f7f49774fe6827
CRs-Fixed: 774533
2019-03-25 20:40:34 -07:00
Jeff Johnson
7dcac7ecbf qcacld-3.0: Rename SAP Event Callback identifiers
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename SAP Event Callback identifiers
tpWLAN_SAPEventCB, pfnSapEventCallback, pSapEventCallback, and
pacs_event_callback to be compliant.

Change-Id: I6ce97af649c73dd779b23c7ec4f0192f28d0f00a
CRs-Fixed: 2422210
2019-03-25 20:40:33 -07:00
Jeff Johnson
2284ad9c47 qcacld-3.0: Rename SAP identifier pUsrContext
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename SAP identifier pUsrContext to be
compliant.

Change-Id: Ib9c4cac6eb6f813e4da66c1c65bab16cebf62946
CRs-Fixed: 2422209
2019-03-25 20:40:26 -07:00
Jeff Johnson
eb704c070e qcacld-3.0: Rename SAP identifier pConfig
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename SAP identifier pConfig to be compliant.

Change-Id: I7618b95b3d88c2306412eb8d1f55dcc6cfd1a476
CRs-Fixed: 2422208
2019-03-25 20:40:19 -07:00
Jeff Johnson
72577c82a6 qcacld-3.0: Rename SAP identifier pDelStaParams
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename SAP identifier pDelStaParams to be
compliant.

Change-Id: I034f0157fe4016bbcacf3ce652035a3a13184f90
CRs-Fixed: 2422207
2019-03-25 20:40:12 -07:00
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