Commit Graph

13527 Commits

Author SHA1 Message Date
Yeshwanth Sriram Guntuka
fa9f3798cd qcacld-3.0: Add Diag Log support for cold boot cal event
Add Diag log support for logging cold boot calibration
data sent by firmware via cold boot cal wmi event.

Change-Id: I932fd5f87667498b77ee13ca5b3ce08d6001cdf0
CRs-Fixed: 2413450
2019-03-12 18:57:30 -07:00
nshrivas
276eb41bad Release 5.2.0.125K
Release 5.2.0.125K

Change-Id: I66bc68b766c75be0f8560c639a1022137ec0e514
CRs-Fixed: 774533
2019-03-12 13:58:18 -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
Nachiket Kukade
9ea5f13a28 qcacld-3.0: Add support for disabling an NDI concurrency
NAN Datapath implementation allows more than one concurrent
NDI's to be active at the same time. But this isn't supported
if there is a higher priority incoming connection such as
STA. Add modules that check for unsupported NDI concurrency
and initiates termination of all NDP's on it.

Add modules that check and disable unsupported NDI concurrency.

Change-Id: I6ad9afbfc41beda1d1c8f31bf58a8ea70027f5ca
CRs-Fixed: 2407215
2019-03-12 13:58:08 -07:00
nshrivas
147dfb4c96 Release 5.2.0.125J
Release 5.2.0.125J

Change-Id: Ie0b18070d1c34fc1a9b7bd69447d94a9b881625f
CRs-Fixed: 774533
2019-03-12 11:40:43 -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
gaurank kathpalia
76d2e0aa81 qcacld-3.0: Modify the session he caps according to sesseion nss
Currently the driver populates the he caps value from the mlme cfg
which is the max MCS set that the driver supports in 11ax , i.e
for 2x2 mode, but dont consider the session nss, i.e the intersection
of AP, and the self capability, hence the assoc req is sent with
2x2 MCS rates in HE caps.

Fix is to change the MCS set according to the nss value of the
session.

Change-Id: I0ca4778eeafc3469611109b420e4dd58cc8e8ae8
CRs-Fixed: 2410721
2019-03-12 11:40:37 -07:00
nshrivas
fc94fa0b18 Release 5.2.0.125I
Release 5.2.0.125I

Change-Id: I32ff5b0ec9de47056719c7ca3146a3c019284240
CRs-Fixed: 774533
2019-03-12 10:01:23 -07:00
Rakshith Suresh Patkar
dd7f36c0dd qcacld-3.0: Move htt_rx specific macros from hif to htt
Add htt_rx specific macros in htt.

Change-Id: I34aca35574a3366e65000f40529e65593a37932e
CRs-Fixed: 2412216
2019-03-12 10:01:22 -07:00
nshrivas
306eb52953 Release 5.2.0.125H
Release 5.2.0.125H

Change-Id: If785d0513722fccb04b5020c4bdd2901dd8c2d71
CRs-Fixed: 774533
2019-03-12 08:34:53 -07:00
Abhishek Singh
a0f55ea6b1 qcacld-3.0: Send HW mode change before switching channel in DBS mode
If DBS 2x2 mode is supported, to operate in 2.4Ghz the driver needs to
be in DBS mode before vdev start/restart is sent on 2.4Ghz channel.
In scenareo with gWlanMccToSccSwitchMode 4, when AP is in 5Ghz and
STA connect to any other channel in 5ghz, it force AP to switch to 2.4 Ghz
channel. Thus AP sends vdev restart without sending the HW mode change
to firmware.

Fix is to set HW mode before the AP start channel switch.

Change-Id: I2a1c176d5f3ed8cc2f62dc24c72959db1afbaae3
CRs-Fixed: 2414034
2019-03-12 08:34:52 -07:00
nshrivas
7206901a1b Release 5.2.0.125G
Release 5.2.0.125G

Change-Id: I9fca12d6a4538fbd369cb034c86469ef178a7352
CRs-Fixed: 774533
2019-03-12 06:09:56 -07:00
Rajeev Kumar Sirasanagandla
4477e7e4ae qcacld-3.0: Fix function type for sme_ser_cmd_callback
To address kernel control flow integrity (CFI) issues related to type
mismatch, correct the input argument type for sme_ser_cmd_callback().

Change-Id: I3f0b5df70163eca9282d2b1c2a48203448e4f0a6
CRs-Fixed: 2402977
2019-03-12 06:09:56 -07:00
nshrivas
219f118fbf Release 5.2.0.125F
Release 5.2.0.125F

Change-Id: I13520b44ff5e52a47dfb29ab807a1740cb78f13f
CRs-Fixed: 774533
2019-03-12 04:29:48 -07:00
nshrivas
10002b5e79 Release 5.2.0.125E
Release 5.2.0.125E

Change-Id: Icc07a60d5be43074c62829ded82d8449bd3f70fd
CRs-Fixed: 774533
2019-03-12 02:58:50 -07:00
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
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
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
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