Commit Graph

499 Commitit

Tekijä SHA1 Viesti Päivämäärä
Ananya Gupta
466dc616fe qcacld-3.0: Enable HIF_CPU_CLEAR_AFFINITY flag
Enable CONFIG_HIF_CPU_CLEAR_AFFINITY flag to
change rx_err_ring irq cpu affinity.

Change-Id: I3d2475210ffd5ac6acef7e0418eef26cf92e1302
CRs-Fixed: 2950630
2021-07-22 12:53:01 -07:00
Yue Ma
7cf969fb7d qcacld-3.0: Enable CONFIG_CNSS_WCN7850 in WCN7850 config file
Device specific flags should be enabled from Device specific config
file itself. They don't need to be passed from upper level Makefiles.

Change-Id: Ic05cebb225cf63a6163f64cc72c02f38d2d25231
CRs-fixed: 2944594
2021-07-14 15:31:55 -07:00
Prateek Patil
17480cf50e qcacld-3.0: Enable FISA compilation for WHUNT
Enable FISA compilation for WHUNT for QCA6490

Change-Id: I042aa1f7300014fee5946fd00c3205f607ee04ce
2021-07-14 10:32:42 -07:00
Jianmin Zhu
d7866af8ae qcacld-3.0: enable DP pending memory flushing
Enable DP pending memory flushing by macro WLAN_DP_PENDING_MEM_FLUSH.

DP references of the peer will be removed once we receive PEER
unmap message from the firmware. If the firmware has failed to
send the peer unmap message (due to an assert in FW), then the
peer entries will remain the inactive peer list and will trigger
a explicit QDF_BUG() during driver unload.
Force clean the inactive peer/vdev list during driver unload in such
cases.

Change-Id: I2565cd4f1a4afea8536bcca86147d6fa028be554
CRs-Fixed: 2988733
2021-07-12 21:20:34 -07:00
Ashish Kumar Dhanotiya
55ab069325 qcacld-3.0: Move dump in progress feature to separate file
With this change introduce featurization for dump in progress
and move implementation related to this feature to new files.

Change-Id: I4614aecde57a9c5ffec765f3afaa943c58956132
CRs-Fixed: 2979226
2021-07-12 07:45:34 -07:00
Vevek Venkatesan
516ad4f689 Revert "qcacld-3.0: enable CONFIG_CLEAR_SW2TCL_CONSUMED_DESC support"
This reverts the change to do the memset of SW2TCL desc consumed by
HW to zero.

Change-Id: Ie56207cf483643f6e294df23f5445ca853a75d51
CRs-Fixed: 2984818
2021-07-06 17:33:26 -07:00
Zhaoyang Liu
2f774b0ab7 qcacld-3.0: add feature flags in qca6390 default config
As hardware based on CONFIG_LITHIUM feature flags enable/disable in Kbuild
file were removed in commit "f06df4c", use CONFIG_<FEATURE_FLAG> from
qca6390_defconfig file to enable DP feature flags.

Change-Id: I8051fc789c70766bb4519c345e04c278864e2f1b
CRs-Fixed: 2984207
2021-07-06 06:53:29 -07:00
wadesong
7d409b24f2 qcacld-3.0: Enable FW_LOG_PARSING for Genoa
Enable flag FW_LOG_PARSING for Genoa so cmd like dl_loglevel
can be sent to firmware.

Change-Id: I6fcecb6198907e56c94e5d8211ac0ea0ecadb7fc
CRs-Fixed: 2983102
2021-07-06 04:38:32 -07:00
Vevek Venkatesan
f2e5ea6182 qcacld-3.0: enable CONFIG_CLEAR_SW2TCL_CONSUMED_DESC support
Enable CONFIG_CLEAR_SW2TCL_CONSUMED_DESC support for moselle
targets.

Change-Id: I1ef8927c2af040cda67dab9347679f64a55493ac
CRs-Fixed: 2983561
2021-07-05 03:20:17 -07:00
Yu Wang
e7df98e50e qcacld-3.0: Enable DCS for QCA6490
Enable CONFIG_DCS for QCA6490 in default_defconfig.

Change-Id: I45726ff0032e72939efde6a73051796c788f9ff6
CRs-Fixed: 2976853
2021-07-01 04:24:03 -07:00
Mohit Khanna
f06df4c16a qcacld-3.0: Cleanup HW-based feature flags from Kbuild
Currently we use hardware based feature flags in Kbuild file to
enable/disable certain feature flags. In case hardware changes, then we
would also need to edit Kbuild file to enable feature flags for the next
target. Instead, use CONFIG_<FEATURE_FLAG> from defconfig files to
enable DP feature flags. This will limit the changes for hardware update
to defconfig files only.

Change-Id: Icc8aa6ad51904946f9141a0f41728ed72b1f6d2f
CRs-Fixed: 2964342
2021-06-30 13:47:24 -07:00
Mohit Khanna
41c2c3060a qcacld-3.0: Disable GENERIC_SHADOW_ENABLE feature for BE
Disable the feature as force wake recipe is expected to work on BE.

CRs-Fixed: 2971353
Change-Id: Ic4c4cd1d23272ddea00e9bb8bb23bf72b5a4bbff
2021-06-30 13:47:15 -07:00
Rakesh Pillai
5010352aea qcacld-3.0: Enable Near Full IRQ in Kbuild
Enable the Near Full IRQ feature flag in Kbuild
for WCN7850.

Change-Id: I3c3760133c3fb31233f8abf450dacbd9ba51f09c
CRs-Fixed: 2965085
2021-06-30 13:47:10 -07:00
Balaji Pothunoori
d56c5ea434 qcacld-3.0: revert Disable TX_AGGREGATION_SIZE ini for HSP
This reverts commit I9e49ad5218f913f116cf4472f768f572740f14df
since ini based tx aggregation is configured based on firmware
capability.

Change-Id: I54541cd282eda6606e75fa347989624a0e0fef01
CRs-Fixed: 2963280
2021-06-25 11:56:14 -07:00
Rakesh Pillai
e8621c7db8 qcacld-3.0: Enable SHADOW_WRITE_DELAY
When FEATURE_HAL_DELAYED_REG_WRITE enabled, also enabled
SHADOW_WRITE_DELAY to avoid back to back shadow reg write.

Change-Id: I8d48496814e063ebd441db3520e3a5406c5db13e
CRs-Fixed: 2967202
2021-06-24 22:25:02 -07:00
Alan Chen
27aeb4863e qcacld-3.0: Add debug log to print link vote id
Add debug log to print more details about the link vote id when
PCIe link suspend is not allowed.

Change-Id: I5069202436e0da37b8ae22f84e28ac06d35002b5
CRs-Fixed: 2964957
2021-06-24 16:32:02 -07:00
Tiger Yu
33c1df645b qcacld-3.0: Enable the wlan IPA events for P2P GO/CLI mode for qca6390
Enable the wlan IPA events for P2P GO/CLI mode for qca6390 to avoid RX
packets get dropped due to IPA interface context is not created.

Change-Id: I1e2c5e4085874280779d8d8d07efdb1f33e6d90b
CRs-Fixed: 2853271
2021-06-22 13:14:06 -07:00
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
Tiger Yu
1aa4e36c7e qcacld-3.0: Do not reset CONFIG_IPA3 if target is QCA6390
Do not reset CONFIG_IPA3 if target is QCA6390 to avoid mismatch between
Kbuild & qca6390_defconfig.

Change-Id: Iffe2976576a653a145a15cf798737569be116ec3
CRs-Fixed: 2946663
2021-05-18 04:07:55 -07:00
Tiger Yu
f146a1208c qcacld-3.0: Enable SMMU S1 unmap config for QCA6390
Enable SMMU S1 unmap config flag to do SMMU unmap of
IPA TX/RX doorbell registers as part of IPA cleanup.

Change-Id: I2e6e5312fb54841fde89db64071ded965c1c1bd1
CRs-Fixed: 2855099
2021-05-18 04:07:51 -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
Jianmin Zhu
1428d10b02 qcacld-3.0: Enable TX_AGGREGATION_SIZE for auto platforms
HST/Genoa/Rome support TX_AGGREGATION_SIZE, need enable it.

TX_AGGREGATION_SIZE is introduced in
change: I9e49ad5218f913f116cf4472f768f572740f14df .

Change-Id: I63fc729f3daf2b1757c5eb2fb839ed22ebce359a
CRs-Fixed: 2926281
2021-04-19 23:31:06 -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
wadesong
c4976dd8e4 qcacld-3.0: Add flag to enable rome device id
With the changes introduced in

  Change-Id: I91e87ffa32d77e2bab15fca09514cdefb1075c71
  Change-Id: Ie6579d1ed34de2c183f9ce2d411a02d6c8137da5

wlan chipset's device id won't be available in
pld_pcie_id_table unless a chip specific macro is defined;
and cnss2 will do strict device id matching after wlan
driver registers to it.

This has been a problem for rome on auto platforms because
there has been no chip specific macro defined in its
defconfig file(qca6174_defconfig).

Add rome specific macro into qca6174_defconfig to make sure
wlan driver exports the correct device id when registering
to cnss2 driver on msm-5.4, so cnss2 device id check can
be passed and wlan driver init doesn't fail.

Change-Id: Idd7a86380613b9f624cfa6e4574d40065e85a221
CRs-Fixed: 2907268
2021-04-14 22:11:40 -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