Commit Graph

361 Commits

Author SHA1 Message Date
Jinwei Chen
7fef8c3b3c qcacld-3.0: Add HW cookie conversion support
Add HW cookie conversion support for wcn7850 soc.

Change-Id: I2adedb13bcaeebb1715b391f790b639d422e08f6
CRs-Fixed: 2929512
2021-06-21 17:10:05 -07:00
Liangwei Dong
3ad4f9d78b qcacld-3.0: Handle DFS channel radar history get vendor command
Add support for QCA_NL80211_VENDOR_SUBCMD_GET_RADAR_HISTORY vendor
command. This command will return the current NOL list in driver
and the last Radar detection result in previous SAP active state
(includes CAC state).

Change-Id: I719630c39b89c1813ca05c4356dce627d72d82e2
CRs-Fixed: 2966501
2021-06-21 11:12:53 -07:00
Manjunathappa Prakash
3e93ea0127 qcacld-3.0: Enable handling of buf_addr_type desc in dp_rx_err
Enable compile macro to handle buf_type decriptor in dp_rx_err_process.

Change-Id: Ibdec18b9b749f18b1e9d704974f4cbaabbc4e6a7
CRs-Fixed: 2957094
2021-06-09 23:37:54 -07:00
Rakesh Pillai
e86da7276c qcacld-3.0: Changes to enable BE/WCN7850 flags
Changes to enable compilation for beryllium target(chip WCN7850).

CRs-Fixed: 2888534
Change-Id: I7b3d252fc8550883a2d24b6beb2b78f482f5004b
2021-06-04 10:43:23 -07:00
Sandeep Puligilla
0b5da86b67 qcacld-3.0: Add MLO manager to build system
Add MLO manager files to build system.

Change-Id: I911a4ddbd93e100cb95c71a3e8cd6a5609c97e0b
CRs-Fixed: 2958473
2021-06-03 03:44:16 -07:00
Jingxiang Ge
4f440d2ef2 Revert "qcacld-3.0: Disable force wake for SDX65"
This reverts commit Ie8a23f11a5cd089b205c5b6ec27c39a9da9ddad9.

Change-Id: I2e241d95a0134c3d8514308d0cdf3d84f714726f
CRs-Fixed: 2920257
2021-06-01 21:48:42 -07:00
sheenam monga
c1e87af47a qcacld-3.0: Add fature flag to get usable channels
Add feature flag for the feature to get usable channels.

Change-Id: I6dd2360284c395747b55f806caab2a5a44089866
CRs-Fixed: 2947180
2021-05-31 05:35:49 -07:00
Lin Bai
35d67da380 qcacld-3.0: Enable CONFIG_FEATURE_GPIO_CFG
Enable CONFIG_FEATURE_GPIO_CFG by default, which is exposing vendor
cmd interface for GPIO configuration.

Change-Id: Ib05025b26c03573920d5241150fab925beed425e
CRs-Fixed: 2953325
2021-05-27 06:03:17 -07:00
sandhu
7ab9c3057e qcacld-3.0: Add flags for HTT HTC tx based completion on lithium
Added flag for HTT HTC tx based completion. currently
packet are freed using htt htc misc list.

Change-Id: I2e7e4d59cadf30f4bb14eaefc045240d1ebc1aaa
CRs-Fixed: 2922547
2021-05-17 18:55:54 -07:00
Manikanta Pubbisetty
5af2169e8f qcacld-3.0: config changes to enable deferred reo qdesc free
Config changes to enable deferred freeing of REO Queue
descriptors feature on WCN6750.

Change-Id: Id7524a8f7de8943b11530e70a842c138cc80bb71
CRs-Fixed: 2940347
2021-05-17 03:10:16 -07:00
Ananya Gupta
22a74f3eb7 qcacld-3.0: Enable SMMU Translation for IPA
Enable SMMU translation in waipio target if
IPA is enabled

Change-Id: Ib41c164bb0eaf7e3d58386013a46db8dd601f9f0
CRs-Fixed: 2943929
2021-05-13 10:18:57 -07:00
Karthik Kantamneni
d16c504bf9 qcacld-3.0: Increase QDF nbuf history for Lithium targets
For some of the stability issues triggered by H.W,
by the time host detects it most of the QDF history
is getting overwritten to avoid this increasing QDF
nbuf history. So that there will be less chance of
events getting overwritten.

Change-Id: Ia4bad1a175976af2e56126b56ae8c92a988e4289
CRs-Fixed: 2942868
2021-05-12 20:57:44 -07:00
Karthik Kantamneni
b85a37928b qcacld-3.0: Config changes for QCA6750 target
Disable lock less access and delyed reg v2 support for QCA6750.

Change-Id: I4c0294c07db656a0dbf5b0f512205eb08d72eb71
CRs-Fixed: 2933266
2021-05-11 08:03:15 -07:00
Vevek Venkatesan
263661e6b7 qcacld-3.0: enable BW_MONITOR support for moselle
Enable WDI3_STATS_BW_MONITOR support for moselle
platforms.

Change-Id: I09fc851548f584f7b67824de523df8dd3ece90eb
CRs-Fixed: 2941935
2021-05-11 03:52:01 -07:00
Karthik Kantamneni
5f7a749e92 qcacld-3.0: Enable TX HW descriptor history support
Enable TX HW descriptor history support for Lithium targets

Change-Id: I84c079cb28f0e320de5378291a21263b8417372f
CRs-Fixed: 2934910
2021-05-10 09:02:51 -07:00
Vevek Venkatesan
99c942c15d qcacld-3.0: enable Tx descriptor history in Tx and comp rings
Enable the history support to log Tx descriptors programmed
in Tx and completion HW rings.

Change-Id: I5ce308354714da78baa05500bc73e1a9ec91b958
CRs-Fixed: 2935363
2021-05-06 13:49:36 -07:00
Ananya Gupta
64cfae78e5 qcacld-3.0: Enable IPA when loaded as module
Currently, module 'm' is converted to 'y' in QGKI when
compiling. In Waipio, GKI2 is present in which 'm'
is not being converted and hence IPA_OFFLOAD is not enabled.
To fix this, checking if CONFIG_IPA3 is either set to y or m
and then enabling CONFIG_IPA_OFFLOAD.
From Kernel 5.10, few IPA functions are depreciated for which
putting the depreciated functions under kernel check condition.

Change-Id: Iba3735692267130b76a8eaaaeeb53c263f8f0ddf
CRs-Fixed: 2921600
2021-05-06 06:23:38 -07:00
Yeshwanth Sriram Guntuka
1518b18746 qcacld-3.0: Enable IPA set/reset tx doorbell paddr feature for MSL
Enable set/reset tx doorbell paddr feature for Moselle.

Change-Id: I5e3fbf7a2afcadb455732e6ad53f36a1e3760c89
CRs-Fixed: 2933285
2021-04-28 14:24:38 -07:00
Karthik Kantamneni
78bc206db0 qcacld-3.0: Enable REO queue descriptor history
Enable REO queue descriptor history for Lithium based targets

Change-Id: I452726ceb056e880096f72572e562a2d4db7e3b3
CRs-Fixed: 2929956
2021-04-23 04:35:48 -07:00
Jia Ding
30a01d3b69 qcacld-3.0: Add IPA_WDI3_TX_TWO_PIPES macro
IPA_WDI3_TX_TWO_PIPES is added to enable two TX pipes
configuration for IPA WDI 3.0 interfaces.

Enable IPA_WDI3_TX_TWO_PIPES on sdxprairie platform.

Change-Id: I34fe0af56b169ebad9d7bb29b38838dd44503736
CRs-Fixed: 2750082
2021-04-22 15:25:17 -07:00
Arun Kumar Khandavalli
4a37a51d9f qcacld-3.0: update the hdd with the eht params
update hdd wiphy with the eht params.

Change-Id: I9d8415bda1cfe32d7fc97859b637170a59ba6178
CRs-Fixed: 2911910
2021-04-19 13:32:16 -07:00
Mohit Khanna
73a1e0a529 qcacld-3.0: Record pkt history in fisa path
Record per packet history in FISA aggregation path.

Change-Id: I737481343f6c8d19deb57d39adb64f3a10f7d6f7
CRs-Fixed: 2911868
2021-04-14 22:11:36 -07:00
Wu Gao
755ad505a3 qcacld-3.0: Disable force wake for SDX65
It enabled two pipes for IPA DBS case on SDX65,  and froce wake
doesn't support this case. So disable it on this platform.

Change-Id: Ie8a23f11a5cd089b205c5b6ec27c39a9da9ddad9
CRs-Fixed: 2901043
2021-04-14 05:34:17 -07:00
Jianmin Zhu
ac8d6a6ba2 qcacld-3.0: Disable TX_AGGREGATION_SIZE ini for HSP
HSP doesn't support TX_AGGREGATION_SIZE ini, need disable it to avoid
confusing.

Change-Id: I9e49ad5218f913f116cf4472f768f572740f14df
CRs-Fixed: 2918796
2021-04-10 22:52:22 -07:00
Amruta Kulkarni
810927615f qcacld-3.0: Enable CM feature
Enable connection manager feature flag on mainline.

Change-Id: Ice2d0ac61c770066510e666c1791500f1ce8f8ba
CRs-Fixed: 2913164
2021-04-09 07:33:23 -07:00
Bapiraju Alla
97265d9bee qcacld-3.0: Don't enable HIF_DETECTION_LATENCY feature for all targets
The feature HIF_DETECTION_LATENCY_ENABLE is not applicable for all targets.
To avoid issues, enable this feature based on target.

Change-Id: Ia7bab02710ee2bbb9f487571ec98992ac338961f
CRs-Fixed: 2915968
2021-04-08 14:53:34 -07:00
sheenam monga
2deb2fb93e qcacld-3.0: Add feature flag to support IGMP offload
Add Feature flag WLAN_FEATURE_IGMP_OFFLOAD to support
IGMP offload feature.

Change-Id: I3a58e66a4e323e03c6d32c02ac1b401f23eb9d3c
CRs-Fixed: 2916022
2021-04-07 21:52:00 -07:00
Nisha Menon
4df6282e58 qcacld-3.0: Enable feature to dump reo queue info in DDR
Enable DUMP_REO_QUEUE_INFO_IN_DDR to send cache flush cmd
to REO using cmd: iwpriv wlan0 txrx_stats 34 0

Cache flush cmd will invalidate the h/w cache and ensure
that h/w writes to DDR.
In the cmd callback, the reo status tlvs are processed
and the vaddr of the reo queue desc is used to read the
queue information from DDR and dump it in the host driver logs.

Change-Id: I4521b777d13c490ac687f9ff673182262bc52f62
CRs-Fixed: 2899824
2021-04-07 01:21:48 -07:00
Will Huang
95580961d5 qcacld-3.0: Enable LPSS for SDX65
Enable LPSS flag on SDX65 platform to make suspend/resume possible to
work in some special scenario like STA/SAP interface idle exist.

Change-Id: I703401d27d3437d0006ad560c00154b0dc589091
CRs-Fixed: 2873228
2021-03-31 01:03:43 -07:00
Yu Tian
3056195afa qcacld-3.0: Enhance CPU usage for IPA exception PATH
Disabling DP trace feature in perf build.
Remove RX MCBC stats to release more CPU.

Change-Id: I71310d341e637f3fd97101d6068ca2efe1f4aae6
CRs-Fixed: 2889899
2021-03-29 01:42:45 -07:00
Will Huang
5af5135ebb qcacld-3.0: Enable LFR2.0 roaming for sdxlemur
Although sdxlemur attach HSP, but LFR3.0 is disabled and LFR2.0 enabled
in target, so add exception in default configure file.

Change-Id: Idabbe317fc0fcc194138beb7444d812cd60455a8
CRs-Fixed: 2854249
2021-03-25 07:38:45 -07:00
Alan Chen
0a0388fdba qcacld-3.0: Disable FISA compilation for certain builds
Add conditional statements to enable/disalbe FISA compilation
for certain builds.

Change-Id: I76fbe3336b9ad45dc0a4db585fd012778ba792aa
CRs-Fixed: 2901065
2021-03-19 20:49:53 -07:00
Karthik Kantamneni
6d45287e66 qcacld-3.0: Enable delayed reg update feature for QCA6750
Enable srng delayed reg update feature for QCA6750

Change-Id: Idf3765d1c624e88ffa2fc51468dde0a300348654
CRs-Fixed: 2900494
2021-03-18 07:43:01 -07:00
Gururaj Pandurangi
9996bc7175 qcacld-3.0: Remove feature flag WLAN_FEATURE_11W for pmf
Remove all of the conditional compilation for pmf since this
feature is mandatory for future scope from protocol point
of view.

Change-Id: Id3a2127e9ecb343ad2a0354dcbc331c22167d7fb
CRs-Fixed: 2852630
2021-03-18 00:39:42 -07:00
Jingxiang Ge
333dc4602d qcacld-3.0: Add detection for tasklet delay
This is to enable feature for detection CE tasklet
scheduling delay and credit response delay issue.

Change-Id: I659aa23eabaa28bfb11051bf15e0343c94061b86
CRs-Fixed: 2874867
2021-03-16 00:45:13 -07:00
Tiger Yu
248caf5ba3 qcacld-3.0: Enable RX prealloc buffer pool feature for SDXLEMUR
Enable RX prealloc buffer pool feature for SDXLEMUR.

Change-Id: I73f076dd8935184ee5dd404a47b407904be110a0
CRs-Fixed: 2887920
2021-03-15 07:22:38 -07:00
Wu Gao
9c1c89d97e qcacld-3.0: Enable mobile router for SDXLEMUR
Enable for mobile router for SDXLEMUR.

Change-Id: Iaffd843ca0d063591bf0eb35e1cf08288419c4d9
CRs-Fixed: 2838329
2021-03-15 07:22:34 -07:00
sheenam monga
72c7917fa9 qcacld-3.0: Add support for big data stats
Add support of big data stats in the cpstats
component.

Change-Id: I3642035d9f25237c80b529da78c51bb1ccf0035a
CRs-Fixed: 2868949
2021-03-11 09:48:12 -08:00
Alan Chen
073531fc1e qcacld-3.0: Update default values of INI items
Update default values of INI items to most commonly used values
in WCNSS_qcom_cfg.ini file on commercial devices.

Change-Id: Ibf1e22406951855a4e726fb8105913a53d3c33ee
CRs-Fixed: 2874758
2021-03-09 21:06:45 -08:00
Wu Gao
ac75a9046c qcacld-3.0: Don't set WLAN_STA_AP_MODE_DFS_DISABLE for SDX65
Don't set CONFIG_FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE for SDX65 to
support AP+AP both with ACS DFS channel list.

Change-Id: Id3d9fc6ef2d8b285e89c3c4e0f34badd2c63da5f
CRs-Fixed: 2857810
2021-03-04 01:43:57 -08:00
Nisha Menon
8958f63a28 qcacld-3.0: Enable device force wake recipe in driver
Enable force wake recipe feature DEVICE_FORCE_WAKE_ENABLE
and disable the generic shadow register write feature
GENERIC_SHADOW_REGISTER_ACCESS_ENABLE.
Enable feature  HIF_REG_WINDOW_SUPPORT to enable the
windowed register read/write from HIF layer.

Change-Id: Ic19d80b686639eb12a2e0a7c0ebf991740a576e7
CRs-Fixed: 2850592
2021-02-24 19:35:04 -08:00
Vevek Venkatesan
d478e8a285 qcacld-3.0: enable HAL_DELAYED_REG_WRITE_V2 and LOCK_LESS_ACCESS
Enable FEATURE_HAL_DELAYED_REG_WRITE_V2 support for Tx rings
register writes and QCA_OL_DP_SRNG_LOCK_LESS_ACCESS support
for Rx rings register writes, for moselle platforms.

Change-Id: I6b2469d22a37a097fa721269d311c0076c3b89a0
CRs-Fixed: 2873528
2021-02-12 05:02:58 -08:00
Aditya Kodukula
a9f651f6ba qcacld-3.0: Rename the flag QCA_WIFI_NAPIER_EMULATION
To make it generic, rename the flag QCA_WIFI_NAPIER_EMULATION
as QCA_WIFI_EMULATION.

Change-Id: I8e654262a38a7a701a5a34e2bbd5394c8985c65a
CRs-Fixed: 2871313
2021-02-05 12:43:51 -08:00
Vulupala Shashank Reddy
f8d388d249 qcacld-3.0: Add compilation flag of pkt capture mode for lithium
Add compilation flag of packet capture mode for lithium

Change-Id: I0a0cd43d3846761c18224c79068f2ec16179d735
CRs-Fixed: 2845616
2021-02-05 07:00:55 -08:00
Vevek Venkatesan
7ddad6e2cb qcacld-3.0: decouple bw monitor from WDI3_STATS_UPDATE
Decouple BW monitor from WDI3_STATS_UPDATE and add as a
separate feature flag WDI3_STATS_BW_MONITOR.

Change-Id: I77fb5658d995daceaada6a7d64f669da706ead9c
CRs-Fixed: 2868582
2021-02-02 13:08:13 -08:00
Manikanta Pubbisetty
ccb7f24a64 qcacld-3.0: add history for FST locking
Adding history to track the FST lock/unlock events; this
would come in handy in debugging deadlock issues.

Change-Id: I40f783e72e516330fdf71ac91553bc7c4338b82a
CRs-Fixed: 2854397
2021-01-21 17:04:27 -08:00
Alan Chen
c281068c27 qcacld-3.0: Add feature flag option for QDF_TIMER_MULTIPLER_FRAC
Add feature flag config option for QDF_TIMER_MULTIPLER_FRAC

Change-Id: Ie53ec703965311235971340251fe92fcb980a0d5
CRs-Fixed: 2855518
2021-01-19 23:24:17 -08:00
Ananya Gupta
05545a9cc0 qcacld-3.0: Add DP event history in non debug mode
Enable DP event history for perf mode.

Change-Id: I2c7acccdf23e253fb63adaff72e9bab5f010f2db
CRs-Fixed: 2850887
2021-01-19 19:02:34 -08:00
bings
25b60aee58 qcacld-3.0: Make CONFIG_MAX_LOGS_PER_SEC configurable
Make CONFIG_MAX_LOGS_PER_SEC configurable because some platforms would
like to print more information in dmesg in some situations, like FW is
crashed in some CE projects.

Change-Id: Ib12854a7254afe5ace07c616a21400e446a80d4d
CRs-Fixed: 2838214
2021-01-07 12:30:58 -08:00
Rajasekaran Kalidoss
599f3291b3 qcacld-3.0: Configure TWT SAP PDEV and SAP STA Count
Configure TWT SAP PDEV count using CONFIG_WLAN_TWT_SAP_PDEV_COUNT
and SAP STA count CONFIG_WLAN_TWT_SAP_STA_COUNT for QCA6490

Change-Id: I74ef054d9cb64ccf66d7e1e788a8cc75aec70cb9
CRs-Fixed: 2843660
2021-01-07 08:17:36 -08:00