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

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

Merge f170f3c1 on remote branch

Change-Id: I97f532a33b68eb3283896cd7a1c4ae294111a97c
parents 762a8607 f170f3c1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.
 * Copyright (c) 2021 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 mlme_init_generic_cfg(struct wlan_objmgr_psoc *psoc,
		cfg_get(psoc, CFG_SAE_CONNECION_RETRIES);
	gen->monitor_mode_concurrency =
		cfg_get(psoc, CFG_MONITOR_MODE_CONCURRENCY);
	gen->tx_retry_multiplier = cfg_get(psoc, CFG_TX_RETRY_MULTIPLIER);
}

static void mlme_init_edca_ani_cfg(struct wlan_objmgr_psoc *psoc,
+28 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
 * Copyright (c) 2021 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
@@ -853,6 +854,31 @@ enum monitor_mode_concurrency {
	CFG_VALUE_OR_DEFAULT, \
	"Monitor mode concurrency supported")

/*
 * <ini>
 * tx_retry_multiplier - TX retry multiplier
 * @Min: 0
 * @Max: 500
 * @Default: 0
 *
 * This ini is used to indicate percentage to max retry limit to fw
 * which can further be used by fw to multiply counter by
 * tx_retry_multiplier percent.
 *
 * Supported Feature: STA/SAP
 *
 * Usage: External
 *
 * </ini>
 */
#define CFG_TX_RETRY_MULTIPLIER CFG_INI_UINT( \
	"tx_retry_multiplier", \
	0, \
	500, \
	0, \
	CFG_VALUE_OR_DEFAULT, \
	"percentage of max retry limit")

#define CFG_GENERIC_ALL \
	CFG(CFG_ENABLE_DEBUG_PACKET_LOG) \
	CFG(CFG_PMF_SA_QUERY_MAX_RETRIES) \
@@ -887,5 +913,6 @@ enum monitor_mode_concurrency {
	CFG(CFG_DFS_CHAN_AGEOUT_TIME) \
	CFG(CFG_SAE_CONNECION_RETRIES) \
	CFG(CFG_WLS_6GHZ_CAPABLE) \
	CFG(CFG_MONITOR_MODE_CONCURRENCY)
	CFG(CFG_MONITOR_MODE_CONCURRENCY)\
	CFG(CFG_TX_RETRY_MULTIPLIER)
#endif /* __CFG_MLME_GENERIC_H */
+2 −2
Original line number Diff line number Diff line
@@ -248,7 +248,7 @@
 * bss_color_collision_det_sta - Enables BSS color collision detection in STA
 * @Min: 0
 * @Max: 1
 * @Default: 0
 * @Default: 1
 *
 * This ini used to enable or disable the BSS color collision detection in
 * STA mode if obss_color_collision_offload is enabled.
@@ -261,7 +261,7 @@
 */
#define CFG_BSS_CLR_COLLISION_DETCN_STA CFG_INI_BOOL( \
		"bss_color_collision_det_sta", \
		0, \
		1, \
		"BSS color collision detection in STA")

#define CFG_OBSS_HT40_ALL \
+15 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
 * Copyright (c) 2021 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
@@ -3194,4 +3195,18 @@ QDF_STATUS mlme_set_user_ps(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id,
 * Return: True if user_ps flag is set
 */
bool mlme_get_user_ps(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id);

/**
 * wlan_mlme_get_tx_retry_multiplier() - Get the tx retry multiplier percentage
 *
 * @psoc: pointer to psoc object
 * @tx_retry_multiplier: pointer to hold user config value of
 * tx_retry_multiplier
 *
 * Return: QDF Status
 */
QDF_STATUS
wlan_mlme_get_tx_retry_multiplier(struct wlan_objmgr_psoc *psoc,
				  uint32_t *tx_retry_multiplier);

#endif /* _WLAN_MLME_API_H_ */
+3 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.
 * Copyright (c) 2021 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
@@ -1232,6 +1233,7 @@ struct wlan_mlme_ratemask {
 * @enabled_rf_test_mode: Enable/disable the RF test mode config
 * @monitor_mode_concurrency: Monitor mode concurrency supported
 * @ocv_support: FW supports OCV or not
 * @tx_retry_multiplier: TX xretry extension parameter
 */
struct wlan_mlme_generic {
	uint32_t band_capability;
@@ -1276,6 +1278,7 @@ struct wlan_mlme_generic {
	bool enabled_rf_test_mode;
	enum monitor_mode_concurrency monitor_mode_concurrency;
	bool ocv_support;
	uint32_t tx_retry_multiplier;
};

/*
Loading