qcacld-3.0: BIGTK feature support

BIGTK feature support

Change-Id: Ide9b0db436e43152a4180a460f21a7340b443756
CRs-Fixed: 2648269
Šī revīzija ir iekļauta:
gaurank kathpalia
2020-03-19 14:17:46 +05:30
revīziju iesūtīja nshrivas
vecāks dca63a6617
revīzija ec1bd31ce7
15 mainīti faili ar 173 papildinājumiem un 2 dzēšanām

Parādīt failu

@@ -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

Parādīt failu

@@ -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;
};
/*

Parādīt failu

@@ -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