Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6816b4f authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge 2fce764b on remote branch

Change-Id: I828cc4f2242a840ef84304fbdf72f8286bc45698
parents 57f7dcce 2fce764b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2012-2020 The Linux Foundation. All rights reserved.
 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
 *
 * Permission to use, copy, modify, and/or distribute this software for
 * any purpose with or without fee is hereby granted, provided that the
+1 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2012-2020 The Linux Foundation. All rights reserved.
 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
 *
 * Permission to use, copy, modify, and/or distribute this software for
 * any purpose with or without fee is hereby granted, provided that the
+1 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2012-2020 The Linux Foundation. All rights reserved.
 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
 *
 * Permission to use, copy, modify, and/or distribute this software for
 * any purpose with or without fee is hereby granted, provided that the
+2 −1
Original line number Diff line number Diff line
@@ -955,7 +955,6 @@ ifeq ($(CONFIG_LITHIUM), y)
		CONFIG_WLAN_FEATURE_DP_RX_RING_HISTORY := y
		CONFIG_ALLOW_PKT_DROPPING := y
	endif
	CONFIG_DYNAMIC_RX_AGGREGATION := y
	CONFIG_RX_DESC_DEBUG_CHECK:= y
	CONFIG_WLAN_SUPPORT_DATA_STALL := y
	CONFIG_WLAN_DP_PER_RING_TYPE_CONFIG := y
@@ -965,6 +964,8 @@ ifeq ($(CONFIG_LITHIUM), y)
	CONFIG_WLAN_DP_PENDING_MEM_FLUSH := y
endif

CONFIG_DYNAMIC_RX_AGGREGATION := y

#Flag to enable hdd memory dump feature
CONFIG_FEATURE_MEMDUMP_ENABLE := y

+24 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
 *
 * Permission to use, copy, modify, and/or distribute this software for
 * any purpose with or without fee is hereby granted, provided that the
@@ -436,6 +437,7 @@ static void cds_cdp_cfg_attach(struct wlan_objmgr_psoc *psoc)
	struct txrx_pdev_cfg_param_t cdp_cfg = {0};
	void *soc = cds_get_context(QDF_MODULE_ID_SOC);
	struct hdd_context *hdd_ctx = gp_cds_context->hdd_context;
	uint32_t gro_bit_set;

	cdp_cfg.is_full_reorder_offload =
		cfg_get(psoc, CFG_DP_REORDER_OFFLOAD_SUPPORT);
@@ -463,7 +465,13 @@ static void cds_cdp_cfg_attach(struct wlan_objmgr_psoc *psoc)
	cdp_cfg.sg_enable = cfg_get(psoc, CFG_DP_SG);
	cdp_cfg.enable_data_stall_detection =
		cfg_get(psoc, CFG_DP_ENABLE_DATA_STALL_DETECTION);
	cdp_cfg.gro_enable = cfg_get(psoc, CFG_DP_GRO);
	gro_bit_set = cfg_get(psoc, CFG_DP_GRO);
	if (gro_bit_set & DP_GRO_ENABLE_BIT_SET) {
		cdp_cfg.gro_enable = true;
		if (gro_bit_set & DP_TC_BASED_DYNAMIC_GRO)
			cdp_cfg.tc_based_dyn_gro = true;
	}
	cdp_cfg.tc_ingress_prio = cfg_get(psoc, CFG_DP_TC_INGRESS_PRIO);
	cdp_cfg.enable_flow_steering =
		cfg_get(psoc, CFG_DP_FLOW_STEERING_ENABLED);
	cdp_cfg.disable_intra_bss_fwd =
@@ -906,6 +914,13 @@ QDF_STATUS cds_dp_open(struct wlan_objmgr_psoc *psoc)
{
	QDF_STATUS qdf_status;
	struct dp_txrx_config dp_config;
	struct hdd_context *hdd_ctx;

	hdd_ctx = gp_cds_context->hdd_context;
	if (!hdd_ctx) {
		cds_err("HDD context is null");
		return QDF_STATUS_E_FAILURE;
	}

	qdf_status = cdp_pdev_attach(cds_get_context(QDF_MODULE_ID_SOC),
				     gp_cds_context->htc_ctx,
@@ -939,6 +954,14 @@ QDF_STATUS cds_dp_open(struct wlan_objmgr_psoc *psoc)

	cds_debug("CDS successfully Opened");

	if (cdp_cfg_get(gp_cds_context->dp_soc, cfg_dp_tc_based_dyn_gro_enable))
		hdd_ctx->dp_agg_param.tc_based_dyn_gro = true;
	else
		hdd_ctx->dp_agg_param.tc_based_dyn_gro = false;

	hdd_ctx->dp_agg_param.tc_ingress_prio =
		    cdp_cfg_get(gp_cds_context->dp_soc, cfg_dp_tc_ingress_prio);

	return 0;

intr_close:
Loading