qcacld-3.0: Check FW support for T2LM

If FW does not support T2LM update cfg
t2lm parameter to 0.

CRs-Fixed: 3605309
Change-Id: I1599c13d66a57a666fb66b9baa611342b28f1b77
This commit is contained in:
Amruta Kulkarni
2023-09-01 10:55:48 -07:00
committed by Rahul Choudhary
szülő d066c015fd
commit c654a74de0
4 fájl változott, egészen pontosan 67 új sor hozzáadva és 0 régi sor törölve

Fájl megtekintése

@@ -3189,6 +3189,24 @@ ucfg_mlme_get_emlsr_mode_enabled(struct wlan_objmgr_psoc *psoc, bool *value)
return wlan_mlme_get_emlsr_mode_enabled(psoc, value);
}
/**
* ucfg_mlme_set_t2lm_negotiation_supported() - Enables/disables t2lm
* negotiation support value
* @psoc: psoc context
* @value: data to be set
*
* Inline UCFG API to be used by HDD/OSIF callers to set the
* t2lm negotiation supported value
*
* Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
*/
static inline QDF_STATUS
ucfg_mlme_set_t2lm_negotiation_supported(struct wlan_objmgr_psoc *psoc,
bool value)
{
return wlan_mlme_set_t2lm_negotiation_supported(psoc, value);
}
/**
* ucfg_mlme_get_opr_rate() - Get operational rate set
* @vdev: pointer to vdev object