qcacld-3.0: Remove legacy ini for chainmask configs
Remove the legacy ini config values defined in hdd_cfg. Call the mlme cfg get api to retrieve chainmask config values. Remove the tx_chainmask_cck from cds_config as mlme object is not initialized during cds_open. Call mlme cfg api during wma_open to populate the tx_chainmask_cck value. Change-Id: If48aeb62cf35e2e604be2b72845b8e98c5c313dc CRs-Fixed: 2310382
This commit is contained in:

committed by
nshrivas

parent
1efe085f49
commit
5423c25281
@@ -57,4 +57,59 @@ QDF_STATUS wlan_mlme_set_ht_cap_info(struct wlan_objmgr_psoc *psoc,
|
||||
*/
|
||||
QDF_STATUS wlan_mlme_get_ignore_peer_ht_mode(struct wlan_objmgr_psoc *psoc,
|
||||
bool *value);
|
||||
/**
|
||||
* wlan_mlme_get_tx_chainmask_cck() - Get the tx_chainmask_cfg value
|
||||
*
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: Value that needs to be set from the caller
|
||||
*
|
||||
* Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
|
||||
*/
|
||||
QDF_STATUS wlan_mlme_get_tx_chainmask_cck(struct wlan_objmgr_psoc *psoc,
|
||||
bool *value);
|
||||
|
||||
/**
|
||||
* wlan_mlme_get_tx_chainmask_1ss() - Get the tx_chainmask_1ss value
|
||||
*
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: Value that needs to be set from the caller
|
||||
*
|
||||
* Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
|
||||
*/
|
||||
QDF_STATUS wlan_mlme_get_tx_chainmask_1ss(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *value);
|
||||
|
||||
/**
|
||||
* wlan_mlme_get_num_11b_tx_chains() - Get the number of 11b only tx chains
|
||||
*
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: Value that needs to be set from the caller
|
||||
*
|
||||
* Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
|
||||
*/
|
||||
QDF_STATUS wlan_mlme_get_num_11b_tx_chains(struct wlan_objmgr_psoc *psoc,
|
||||
uint16_t *value);
|
||||
|
||||
/**
|
||||
* wlan_mlme_get_num_11ag_tx_chains() - get the total number of 11a/g tx chains
|
||||
*
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: Value that needs to be set from the caller
|
||||
*
|
||||
* Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
|
||||
*/
|
||||
QDF_STATUS wlan_mlme_get_num_11ag_tx_chains(struct wlan_objmgr_psoc *psoc,
|
||||
uint16_t *value);
|
||||
|
||||
/**
|
||||
* wlan_mlme_configure_chain_mask() - configure chainmask parameters
|
||||
*
|
||||
* @psoc: pointer to psoc object
|
||||
* @session_id: vdev_id
|
||||
*
|
||||
* Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
|
||||
*/
|
||||
QDF_STATUS wlan_mlme_configure_chain_mask(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t session_id);
|
||||
|
||||
#endif /* _WLAN_MLME_API_H_ */
|
||||
|
Reference in New Issue
Block a user