Commit Graph

15283 Commits

Author SHA1 Message Date
Abhinav Kumar
93463d2d7c qcacld-3.0: Device not roaming if FastRoamingEnabled disabled case
Allow driver to send RSO command irrespective of value of INI
FastRoamingEnabled.
FastRoamEnabled has nothing to do with LFR enable or disable.

Change-Id: Ice5e653b249f988a49d18ed56c9be53d4436bf56
CRs-Fixed: 2385045
2019-03-12 02:58:50 -07:00
Bala Venkatesh
ef8692ef8a qcacld-3.0: Send correct vdev_id to enable TDLS in FW
After STA or P2P cli disconnection, TDLS component is notfied
of the disconnection to check if the TDLS can be enabled in FW
and host. But while sending tdls set state command to FW,
the disconnected vdev_id is given to FW. This can result in
FW assert while processing the next tdls commands.

Change-Id: Ib79547ce9d192b1d8bba3767655b3dada36e5e95
CRs-Fixed: 2412170
2019-03-12 02:58:45 -07:00
Srinivas Girigowda
98234535e0 qcacld-3.0: Converge *_MIN/MAX() to QDF_MIN/MAX()
Converge multiple MIN/MAX() macros across the stack
to QDF_MIN/MAX().

Change-Id: Ibf622b1e365431fa579005ba8bffdd33b7808da8
CRs-Fixed: 2413868
2019-03-12 02:58:39 -07:00
nshrivas
29b12692c5 Release 5.2.0.125D
Release 5.2.0.125D

Change-Id: Ib21072f79d31870c9a997add7a3f2d0d54fa5b87
CRs-Fixed: 774533
2019-03-12 00:56:12 -07:00
bings
2f0f9f056e qcacld-3.0: Replace CONFIG_MCL_REGDB with CONFIG_REG_CLIENT
Do not use MCL in the macro. Use feature name to define macro.

This is for CONFIG_MCL_REGDB cleanup.

Change-Id: I12af832d81815277ec6014ff5047bf960f01534a
CRs-Fixed: 2411995
2019-03-12 00:56:11 -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
nshrivas
60f3c60e1a Release 5.2.0.125C
Release 5.2.0.125C

Change-Id: I07d1368a1d604352f8e394404bf656453712e054
CRs-Fixed: 774533
2019-03-11 21:55:44 -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
Jeff Johnson
5b05251b60 qcacld-3.0: Rename HDD identifier lastStatus
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier lastStatus to be compliant.

Change-Id: I7793b0023dcc6aca7dd4ad0129bc2318cf1f5649
CRs-Fixed: 2412971
2019-03-11 21:55:20 -07:00
Jeff Johnson
104f70eec7 qcacld-3.0: Rename HDD identifier qosFlowId
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier qosFlowId to be compliant.

Change-Id: I21aa9b3dacc5a23014e6ce05c34de84b17c10b62
CRs-Fixed: 2412970
2019-03-11 21:55:15 -07:00
Jeff Johnson
239ff2e433 qcacld-3.0: Rename HDD identifier acType
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier acType to be compliant.

Change-Id: I903779cd8fca3d7a630343d44c324d3270e5a197
CRs-Fixed: 2412969
2019-03-11 21:55:10 -07:00
Ashish Kumar Dhanotiya
3651083ee4 qcacld-3.0: Clear PMK cache from driver
Currently PMK cache is not getting cleared inside driver,
which can lead to information disclosure.
To address this issue, clear PMK information from all the
possible places in the driver.

Change-Id: I83758920f414c5287292ebdbebdcc9bf7238103c
CRs-fixed: 2403441
2019-03-11 21:55:05 -07:00
nshrivas
e077d31d30 Release 5.2.0.125B
Release 5.2.0.125B

Change-Id: Ie3dcb3bd7f3fce719848cfb0bdac1b93317f5b0d
CRs-Fixed: 774533
2019-03-11 19:22:56 -07:00
Ashish Kumar Dhanotiya
0213793334 qcacld-3.0: Clear PTK, GTK and IGTK keys on sta disconnection
Currently PTK, GTK and IGTK keys are not getting cleared
on wifi link disconnection from wifi driver memory, which
can lead to information disclosure. Clear PTK, GTK and IGTK
keys from wifi driver memory to avoid any potential information
disclore after wifi is turned off.

Change-Id: I309cd7af8d396167e9ec3ef9c6c443e8c08903d8
CRs-fixed: 2396603
2019-03-11 19:22:55 -07:00
nshrivas
7f548c6986 Release 5.2.0.125A
Release 5.2.0.125A

Change-Id: Ide59240f383b3ce667593a4a089f0e1601fa97d0
CRs-Fixed: 774533
2019-03-11 15:53:49 -07:00
Srinivas Girigowda
d8697d4d00 qcacld-3.0: Replace CSR_SESSION_ID_INVALID with WLAN_UMAC_VDEV_ID_MAX
Replace CSR_SESSION_ID_INVALID with WLAN_UMAC_VDEV_ID_MAX.

Change-Id: I00e0784086805f43c7889e3708dd7026cfe52c4f
CRs-Fixed: 2412781
2019-03-11 15:53:49 -07:00
nshrivas
764c2a5328 Release 5.2.0.125
Release 5.2.0.125

Change-Id: I3fbadac600a892fc1e6bd3c94768ed08582c562e
CRs-Fixed: 774533
2019-03-11 14:20:43 -07:00
Dustin Brown
98f7c82f7d qcacld-3.0: Integrate DSC (misc - part 1/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: I1091eeaf39e37592c79dd33fc1db92aec63c54b9
CRs-Fixed: 2410909
2019-03-11 14:20:42 -07:00
Dustin Brown
4376fedf86 qcacld-3.0: Integrate DSC (cfg80211)
As part of DSC integration, replace remaining cds_ssr_protect/unprotect
with appropriate osif_sync op start/stop calls in cfg80211 callback
handlers.

Change-Id: Ie5c513e8ca51668d0ac7e2972e6db1556057f314
CRs-Fixed: 2410851
2019-03-11 14:20:36 -07:00
nshrivas
d74a5dfc39 Release 5.2.0.124Z
Release 5.2.0.124Z

Change-Id: I5ca685f7f8a50fe3a3c5699e9a666010282b4678
CRs-Fixed: 774533
2019-03-11 12:45:30 -07:00
Ajit Pal Singh
e6da1de6c4 qcacld-3.0: Refactor/correct usage of flow control stats
Correct flow control usage of stats in hdd_tx_resume_cb() and
wlan_hdd_mod_fc_timer()

Change-Id: I2efd145332f79f058f367bef21a4d22cb52e927d
CRs-Fixed: 2373789
2019-03-11 12:45:30 -07:00
nshrivas
68c624093a Release 5.2.0.124Y
Release 5.2.0.124Y

Change-Id: I22843dba0ec6deb95ba8f3ef111813adcd2ccdd7
CRs-Fixed: 774533
2019-03-11 11:14:28 -07:00
Ajit Pal Singh
f9a4a38bcf qcacld-3.0: Remove flag CONFIG_PER_VDEV_TX_DESC_POOL
Remove flag CONFIG_PER_VDEV_TX_DESC_POOL.
Legacy per vdev flow control implementation under
CONFIG_PER_VDEV_TX_DESC_POOL was never used in cld3.0 driver.
For a Genoa a new per vdev flow control implementation for HL systems,
was added under the flag QCA_HL_NETDEV_FLOW_CONTROL.
Hence remove CONFIG_PER_VDEV_TX_DESC_POOL and replace it with
QCA_HL_NETDEV_FLOW_CONTROL or QCA_LL_LEGACY_TX_FLOW_CONTROL whereever
applicable.

Change-Id: Ibdf88e60cff7d3be46924ce7605f468781b5b856
CRs-Fixed: 2373790
2019-03-11 11:14:27 -07:00
nshrivas
ee3ba7889a Release 5.2.0.124X
Release 5.2.0.124X

Change-Id: I13da07514c0d347edb6a0519548cb46c86cb77ad
CRs-Fixed: 774533
2019-03-11 09:18:27 -07:00
Yeshwanth Sriram Guntuka
6125b515d4 qcacld-3.0: Increase default value of bmps timer to 600secs
CBF report is not sent as response to NDPA frames
sent by AP when STA goes to powersave. This is
resulting in VHT-5.2.63A cert test case failure,
where pass criteria is to check the last CBF frame
from STA.

Fix is to increase default value of bmps timer to
600secs.

Change-Id: Ibca5fe0af0be22f0bef463a5b4d11d617ac4391b
CRs-Fixed: 2412177
2019-03-11 09:18:26 -07:00
nshrivas
ff4a9956ab Release 5.2.0.124W
Release 5.2.0.124W

Change-Id: I18151e8f768faf669c80244870678d3a097ac1e2
CRs-Fixed: 774533
2019-03-11 07:46:54 -07:00
Jingxiang Ge
45a2433bca qcacld-3.0: Fix camelCase for sessionId in t_packetmeta
Replace sessionId with session_id in t_packetmeta.

Change-Id: I041d25a5a5f61dd65fea25d41fa11d6456e4e88f
CRs-Fixed: 2413150
2019-03-11 07:46:54 -07:00
nshrivas
d5e4819cd5 Release 5.2.0.124V
Release 5.2.0.124V

Change-Id: I8b05fcd7d6ad6320a3ab230bbbf47d05d7204caa
CRs-Fixed: 774533
2019-03-11 04:47:47 -07:00
Bala Venkatesh
f28679097c qcacld-3.0: Take vdev ref only if vdev is not NULL
In functions ucfg_tdls_update_rx_pkt_cnt and
ucfg_tdls_update_tx_pkt_cnt, driver tries
to get the vdev ref, even if it is NULL.
This can result in assert.

Change-Id: I62b3a9b088324e06518e82203092a2ac9098ac13
CRs-Fixed: 2412095
2019-03-11 04:47:47 -07:00
bings
285b898a04 qcacld-3.0: Call dot11f_unpack_ie_rsn only for RSN IE
In lim_send_mlm_assoc_ind, wpa information may be copied to rsnIEdata.
So before calling dot11f_unpack_ie_rsn for rsnIEdata in the function
csr_roam_chk_lnk_assoc_ind, make sure the element id is RSN IE.

dot11f_unpack_ie_rsn returns failure for rsnIEdata if it contains
WPA information, then WPA connection fails.

Change-Id: I602a47326d452f33ba589a9cc99f59ce443d3162
CRs-Fixed: 2406444
2019-03-11 04:47:41 -07:00
nshrivas
76a3ffe5e0 Release 5.2.0.124U
Release 5.2.0.124U

Change-Id: I0c348af97145a4e580ad5f7908e93b29e03f5916
CRs-Fixed: 774533
2019-03-11 01:35:01 -07:00
hangtian
ee84dbeb33 qcacld-3.0: Allow SSR during driver resume
Allow SSR during driver resume. Assume firmware goes down during driver
is in suspend state. Avoid get into bad state and wmi access during driver
resume.

Change-Id: Ie1689e0b080f940666fbbb19c9f0e3b0fecfe564
CRs-Fixed: 2412130
2019-03-11 01:35:00 -07:00
nshrivas
3eddc4ba94 Release 5.2.0.124T
Release 5.2.0.124T

Change-Id: Id51691b80d68cd9773877621530a7123c6b6b99d
CRs-Fixed: 774533
2019-03-10 16:37:56 -07:00
Jeff Johnson
a9f092a1eb qcacld-3.0: Rename HDD identifier pGranted
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pGranted to be compliant.

Change-Id: Iccc58b730e381928b510a35c4d40addd1960201d
CRs-Fixed: 2412968
2019-03-10 16:37:55 -07:00
Jeff Johnson
c9770ee2b7 qcacld-3.0: Replace typedef tSirWifiInterfaceInfo
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 tSirWifiInterfaceInfo typedef
does not meet any of those criteria, so replace it (and the "tp"
variant) with a properly named struct.

Change-Id: Id3f2f5e9dc07faccd582c16919103ca2da2b2b92
CRs-Fixed: 2412967
2019-03-10 16:37:51 -07:00
nshrivas
7aa744883d Release 5.2.0.124S
Release 5.2.0.124S

Change-Id: Ib3752bbb5f3d34333eb5eb78d8db09b4bc508ca1
CRs-Fixed: 774533
2019-03-10 15:04:48 -07:00
Jeff Johnson
8d4621bc8d qcacld-3.0: Rename HDD identifier pContext
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pContext to be compliant.

Change-Id: I1fe6d309d9b29703ca9f643cc0a8200fc4964fc2
CRs-Fixed: 2412966
2019-03-10 15:04:47 -07:00
Jeff Johnson
bc376d8e9e qcacld-3.0: Rename HDD identifier sapContext
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier sapContext to be compliant.

Change-Id: I77c66a27c423941285ddd52cfd642d8be67415fe
CRs-Fixed: 2412965
2019-03-10 15:04:42 -07:00