Commit-Graf

15127 Incheckningar

Upphovsman SHA1 Meddelande Datum
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
nshrivas
df278a4cf6 Release 5.2.0.125N
Release 5.2.0.125N

Change-Id: Ida7b968a508b54d7e26385de2e7d033e3c429864
CRs-Fixed: 774533
2019-03-13 06:49:18 -07:00
Jeff Johnson
0b47f6aa6a qcacld-3.0: Remove curTxMpduCnt from tDphHashNode
The curTxMpduCnt member of tDphHashNode is initialized but is
otherwise never modified or read. Since it is obsolete, remove it.

Change-Id: I73c5c296b38dc5a8794862c5314fdf5f63e6c0d4
CRs-Fixed: 2414744
2019-03-13 06:49:16 -07:00
Jeff Johnson
3c08ace019 qcacld-3.0: Prune lim_send_probe_rsp_mgmt_frame() params
The lim_send_probe_rsp_mgmt_frame() parameters n_staid and keepalive
are not actually used, so remove them.

Change-Id: Iccaecb9abe336b0cad943b2c77944ff555d523cd
CRs-Fixed: 2414655
2019-03-13 06:49:12 -07:00
Jeff Johnson
c9cc324545 qcacld-3.0: Remove fragSize from tDphHashNode
The fragSize member of tDphHashNode is initialized but is otherwise
never modified or read. Since it is obsolete, remove it.

Change-Id: I7cdf9c62b25d14f9d74ac5144def2a6d4e69ca7c
CRs-Fixed: 2414654
2019-03-13 06:49:06 -07:00
Jeff Johnson
223169db3f qcacld-3.0: Remove encPolicy from tDphHashNode
The encPolicy member of tDphHashNode is initialized but is otherwise
never modified or read. Since it is obsolete, remove it, along with
the macros that define the values that it formerly used.

Change-Id: If6698217b6c7d10840f0776c77678861be026c2b
CRs-Fixed: 2414653
2019-03-13 06:49:02 -07:00
Jeff Johnson
3d1f32eff0 qcacld-3.0: Remove stopTx from tDphHashNode
The stopTx member of tDphHashNode is unused, so remove it.

Change-Id: I4738b8289ef2f41dc0aeb1ae5492c67578d8817d
CRs-Fixed: 2414652
2019-03-13 06:48:58 -07:00
Jeff Johnson
002feba403 qcacld-3.0: Remove staAuthenticated from tDphHashNode
The staAuthenticated member of tDphHashNode is unused, so remove it.

Change-Id: Ib3b824725954f7fc9fe622bd772917aae6269fd2
CRs-Fixed: 2414651
2019-03-13 06:48:53 -07:00
Jeff Johnson
b39beee1a5 qcacld-3.0: Remove numTimSent from tDphHashNode
The numTimSent member of tDphHashNode is unused, so remove it.

Change-Id: I7ff92894a1dfa168ae501fd5d5f8494023c90241
CRs-Fixed: 2414650
2019-03-13 06:48:49 -07:00
Jeff Johnson
d085129a9b qcacld-3.0: Remove rsvd1 from tDphHashNode
The tDphHashNode is no longer part of an ABI, so using rsvd1 to
preserve bit positions is no longer required, so remove it.

Change-Id: Iea1a757d30f93a31fc1b0a315cae512bfce95d31
CRs-Fixed: 2414649
2019-03-13 06:48:44 -07:00
Jeff Johnson
84e1711054 qcacld-3.0: Remove linkTestOn from tDphHashNode
The linkTestOn member of tDphHashNode is unused, so remove it.

Change-Id: I9ac942c2e4a9fe1c9b492aee056595e3df64a25b
CRs-Fixed: 2414648
2019-03-13 06:48:40 -07:00
Jeff Johnson
805e2061c8 qcacld-3.0: Remove defaultKey members from tDphHashNode
The defaultKey and defaultKeyId members of tDphHashNode are unused, so
remove them.

Change-Id: I8ec6c73d55de3b3873797c5b0cbb0fa1e6eafe74
CRs-Fixed: 2414647
2019-03-13 06:48:36 -07:00
Jeff Johnson
314297e137 qcacld-3.0: Remove baPolicyFlag from tDphHashNode
The baPolicyFlag in tDphHashNode is initialized to 0xFF in several
places, but is otherwise never modified or read. Since the member is
obsolete, remove it.

Change-Id: I57acb5d878aa3e37c654f27d79517a8c9bcf7742
CRs-Fixed: 2414646
2019-03-13 06:48:32 -07:00
nshrivas
57c6916a54 Release 5.2.0.125M
Release 5.2.0.125M

Change-Id: I1e5a2a9ebdf92200c731bd99361f4a412b69f4b4
CRs-Fixed: 774533
2019-03-13 00:07:14 -07:00
wadesong
8e3d053517 qcacld-3.0: cfg ini documentation refine
Some malformed comments were discovered when generating
the official documentation of wlan cfg ini items.

Refine the documentation text of the following items
in one batch:

gEnableVendorVhtFor24GHzBand
hostArpOffload
ssdp
gEnableDynamicDTIM
gEnableModulatedDTIM

Change-Id: I3cd617e52e86e2a890e35edb33b37ba3df8f4f6e
CRs-Fixed: 2414259
2019-03-13 00:07:14 -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
nshrivas
eab20bad9a Release 5.2.0.125L
Release 5.2.0.125L

Change-Id: Ia49ecb0e81a013a740a4d0681a14c30ad999baab
CRs-Fixed: 774533
2019-03-12 18:57:31 -07:00
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
98885bc1b8 qcacld-3.0: Define NDI related definitions in Policy Manager
Policy manager is not aware of NAN Datapath Interface(NDI)
which is used to establish datapath with NAN peers. Define
and enumerate policy manager definitions and tables to
support NDI alongside NAN Discovery and Station interfaces.
Important thing to note is that NDI cannot be active without
presence of a NAN Discovery interface.

Define NAN Datapath related definitions in Policy Manager.

Change-Id: I6ecdf5a89a8161d9c5d671e4e718dd615f46019e
CRs-Fixed: 2407225
2019-03-12 13:58:12 -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
Wu Gao
530adb5158 qcacld-3.0: Pass p2p psoc obj to tx timer callback
When forming P2P connection, mgmt tx timer timeout when tx ack event
queued in scheduler but not processed, and then wild pointer access
in tx timer timeout callback since processed tx ack event and tx
context is freed.

Change-Id: I598e611a9e1d72bbaddbbe3541f37479f3cb9bbb
CRs-Fixed: 2372686
2019-03-12 04:29:47 -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
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