qcacld-3.0: BIGTK feature support
BIGTK feature support Change-Id: Ide9b0db436e43152a4180a460f21a7340b443756 CRs-Fixed: 2648269
This commit is contained in:

committad av
nshrivas

förälder
dca63a6617
incheckning
ec1bd31ce7
@@ -794,6 +794,16 @@ QDF_STATUS wlan_mlme_set_sap_11ac_override(struct wlan_objmgr_psoc *psoc,
|
||||
QDF_STATUS wlan_mlme_get_oce_sta_enabled_info(struct wlan_objmgr_psoc *psoc,
|
||||
bool *value);
|
||||
|
||||
/**
|
||||
* wlan_mlme_get_bigtk_support() - Get the BIGTK support
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: pointer to the value which will be filled for the caller
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
QDF_STATUS wlan_mlme_get_bigtk_support(struct wlan_objmgr_psoc *psoc,
|
||||
bool *value);
|
||||
|
||||
/**
|
||||
* wlan_mlme_get_oce_sap_enabled_info() - Get the OCE feature enable
|
||||
* info for SAP
|
||||
|
@@ -951,12 +951,14 @@ struct wlan_mlme_chain_cfg {
|
||||
/**
|
||||
* struct mlme_tgt_caps - mlme related capability coming from target (FW)
|
||||
* @data_stall_recovery_fw_support: does target supports data stall recovery.
|
||||
* @bigtk_support: does the target support bigtk capability or not.
|
||||
*
|
||||
* Add all the mlme-tgt related capablities here, and the public API would fill
|
||||
* the related capability in the required mlme cfg structure.
|
||||
*/
|
||||
struct mlme_tgt_caps {
|
||||
bool data_stall_recovery_fw_support;
|
||||
bool bigtk_support;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -1134,6 +1136,7 @@ struct wlan_mlme_chainmask {
|
||||
* @enable_ring_buffer: Decide to enable/disable ring buffer for bug report
|
||||
* @enable_peer_unmap_conf_support: Indicate whether to send conf for peer unmap
|
||||
* @dfs_chan_ageout_time: Set DFS Channel ageout time
|
||||
* @bigtk_support: Whether BIGTK is supported or not
|
||||
*/
|
||||
struct wlan_mlme_generic {
|
||||
enum band_info band_capability;
|
||||
@@ -1170,6 +1173,7 @@ struct wlan_mlme_generic {
|
||||
bool enable_ring_buffer;
|
||||
bool enable_peer_unmap_conf_support;
|
||||
uint8_t dfs_chan_ageout_time;
|
||||
bool bigtk_support;
|
||||
};
|
||||
|
||||
/*
|
||||
|
@@ -1835,6 +1835,23 @@ QDF_STATUS ucfg_mlme_get_oce_sta_enabled_info(struct wlan_objmgr_psoc *psoc,
|
||||
return wlan_mlme_get_oce_sta_enabled_info(psoc, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_bigtk_support() - Get whether bigtk is supported or not.
|
||||
*
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: pointer to the value which will be filled for the caller
|
||||
*
|
||||
* Inline UCFG API to be used by HDD/OSIF callers to get the BIGTK support
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
|
||||
*/
|
||||
static inline
|
||||
QDF_STATUS ucfg_mlme_get_bigtk_support(struct wlan_objmgr_psoc *psoc,
|
||||
bool *value)
|
||||
{
|
||||
return wlan_mlme_get_bigtk_support(psoc, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_oce_sap_enabled_info() - Get OCE feature enable/disable
|
||||
* info for SAP
|
||||
|
@@ -455,6 +455,8 @@ wlan_mlme_update_cfg_with_tgt_caps(struct wlan_objmgr_psoc *psoc,
|
||||
|
||||
mlme_obj->cfg.gen.data_stall_recovery_fw_support =
|
||||
tgt_caps->data_stall_recovery_fw_support;
|
||||
|
||||
mlme_obj->cfg.gen.bigtk_support = tgt_caps->bigtk_support;
|
||||
}
|
||||
|
||||
#ifdef WLAN_FEATURE_11AX
|
||||
@@ -2021,6 +2023,19 @@ QDF_STATUS wlan_mlme_set_go_11ac_override(struct wlan_objmgr_psoc *psoc,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS wlan_mlme_get_bigtk_support(struct wlan_objmgr_psoc *psoc,
|
||||
bool *value)
|
||||
{
|
||||
struct wlan_mlme_psoc_ext_obj *mlme_obj = mlme_get_psoc_ext_obj(psoc);
|
||||
|
||||
if (!mlme_obj)
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
||||
*value = mlme_obj->cfg.gen.bigtk_support;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS wlan_mlme_get_oce_sta_enabled_info(struct wlan_objmgr_psoc *psoc,
|
||||
bool *value)
|
||||
{
|
||||
|
Referens i nytt ärende
Block a user