qcacld-3.0: Set AMSDU/AMPDU caps per vdev from cli

In the case of EHT, if the mode is MLO then set AMSDU/AMPDU
caps per vdev instead of setting it only on assoc vdev.

Change-Id: Iaf480ee6a42cea83e30f412f663f688c0330d246
CRs-Fixed: 3392015
This commit is contained in:
Gururaj Pandurangi
2022-11-09 14:32:00 -08:00
committed by Madan Koyyalamudi
parent d595b21680
commit 8bb46df0d8
6 changed files with 183 additions and 11 deletions

View File

@@ -2510,6 +2510,27 @@ wlan_mlme_set_relaxed_6ghz_conn_policy(struct wlan_objmgr_psoc *psoc,
#endif
#ifdef WLAN_FEATURE_11BE_MLO
/**
* wlan_mlme_get_eht_mode() - Get the EHT mode of operations
* @psoc: psoc context
* @value: EHT mode value ptr
*
* Return: QDF_STATUS
*/
QDF_STATUS
wlan_mlme_get_eht_mode(struct wlan_objmgr_psoc *psoc,
enum wlan_eht_mode *value);
/**
* wlan_mlme_set_eht_mode() - Set the EHT mode of operation
* @psoc: psoc context
* @value: EHT mode value
*
* Return: QDF_STATUS
*/
QDF_STATUS
wlan_mlme_set_eht_mode(struct wlan_objmgr_psoc *psoc, enum wlan_eht_mode value);
/**
* wlan_mlme_get_emlsr_mode_enabled() - Get the eMLSR mode flag
* @psoc: psoc context
@@ -2575,6 +2596,19 @@ QDF_STATUS
wlan_mlme_set_t2lm_negotiation_supported(struct wlan_objmgr_psoc *psoc,
uint8_t value);
#else
static inline QDF_STATUS
wlan_mlme_get_eht_mode(struct wlan_objmgr_psoc *psoc, enum wlan_eht_mode *value)
{
*value = WLAN_EHT_MODE_DISABLED;
return QDF_STATUS_SUCCESS;
}
static inline QDF_STATUS
wlan_mlme_set_eht_mode(struct wlan_objmgr_psoc *psoc, enum wlan_eht_mode value)
{
return QDF_STATUS_SUCCESS;
}
static inline QDF_STATUS
wlan_mlme_get_emlsr_mode_enabled(struct wlan_objmgr_psoc *psoc, bool *value)
{