Loading components/mlme/core/src/wlan_mlme_main.c +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 Loading Loading @@ -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, Loading components/mlme/dispatcher/inc/cfg_mlme_generic.h +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 Loading Loading @@ -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) \ Loading Loading @@ -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 */ components/mlme/dispatcher/inc/cfg_mlme_obss_ht40.h +2 −2 Original line number Diff line number Diff line Loading @@ -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. Loading @@ -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 \ Loading components/mlme/dispatcher/inc/wlan_mlme_api.h +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 Loading Loading @@ -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_ */ components/mlme/dispatcher/inc/wlan_mlme_public_struct.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 Loading Loading @@ -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; Loading Loading @@ -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 Loading
components/mlme/core/src/wlan_mlme_main.c +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 Loading Loading @@ -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, Loading
components/mlme/dispatcher/inc/cfg_mlme_generic.h +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 Loading Loading @@ -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) \ Loading Loading @@ -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 */
components/mlme/dispatcher/inc/cfg_mlme_obss_ht40.h +2 −2 Original line number Diff line number Diff line Loading @@ -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. Loading @@ -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 \ Loading
components/mlme/dispatcher/inc/wlan_mlme_api.h +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 Loading Loading @@ -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_ */
components/mlme/dispatcher/inc/wlan_mlme_public_struct.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 Loading Loading @@ -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; Loading Loading @@ -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