qcacld-3.0: Add API for EMLSR padding delay

Add support to configure EMLSR padding delay subfield.
Host should advertise this value in assoc request if
it's greater than the value configured by FW during boot.

Change-Id: Ia9b1e748745278ed502980697f4851f8044db658
CRs-Fixed: 3364158
This commit is contained in:
Gururaj Pandurangi
2022-12-20 18:35:02 -08:00
committed by Madan Koyyalamudi
parent 4dade9cacc
commit e2119da18d
2 changed files with 37 additions and 1 deletions

View File

@@ -2574,6 +2574,19 @@ void
wlan_mlme_get_eml_params(struct wlan_objmgr_psoc *psoc,
struct wlan_mlo_eml_cap *cap);
/**
* wlan_mlme_cfg_set_emlsr_pad_delay() - Configure EMLSR padding delay subfield
* @psoc: psoc context
* @val: EMLSR padding delay subfield value
*
* API to configure EMLSR padding delay subfield in psoc mlme obj with user
* requested value if it greater than the value configured by FW during boot-up.
*
* Return: none
*/
void
wlan_mlme_cfg_set_emlsr_pad_delay(struct wlan_objmgr_psoc *psoc, uint8_t val);
/**
* wlan_mlme_get_t2lm_negotiation_supported() - Get the T2LM
* negotiation supported value
@@ -2634,6 +2647,11 @@ wlan_mlme_get_eml_params(struct wlan_objmgr_psoc *psoc,
{
}
static inline void
wlan_mlme_cfg_set_emlsr_pad_delay(struct wlan_objmgr_psoc *psoc, uint8_t val)
{
}
static inline enum t2lm_negotiation_support
wlan_mlme_get_t2lm_negotiation_supported(struct wlan_objmgr_psoc *psoc)
{