Loading components/cmn_services/policy_mgr/inc/wlan_policy_mgr_api.h +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 Loading components/cmn_services/policy_mgr/src/wlan_policy_mgr_get_set_utils.c +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 Loading components/cmn_services/policy_mgr/src/wlan_policy_mgr_init_deinit.c +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 Loading configs/default_defconfig +2 −1 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading core/cds/src/cds_api.c +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 Loading Loading @@ -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); Loading Loading @@ -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 = Loading Loading @@ -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, Loading Loading @@ -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 Loading
components/cmn_services/policy_mgr/inc/wlan_policy_mgr_api.h +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 Loading
components/cmn_services/policy_mgr/src/wlan_policy_mgr_get_set_utils.c +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 Loading
components/cmn_services/policy_mgr/src/wlan_policy_mgr_init_deinit.c +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 Loading
configs/default_defconfig +2 −1 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading
core/cds/src/cds_api.c +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 Loading Loading @@ -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); Loading Loading @@ -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 = Loading Loading @@ -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, Loading Loading @@ -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