qcacld-3.0: Add CFG items of power

Add power items related CFG items in new file,
and store the respective inis in MLME component

Change-Id: Iac183da52495aca07c6270edeb9f383ab49c1ff5
CRs-Fixed: 2341900
This commit is contained in:
gaurank kathpalia
2018-10-03 22:03:23 +05:30
committed by nshrivas
parent 5b574dd196
commit 3d2e38572b
17 changed files with 364 additions and 185 deletions

View File

@@ -85,6 +85,25 @@ QDF_STATUS mlme_get_wep_key(struct wlan_mlme_wep_cfg *wep_params,
QDF_STATUS mlme_set_wep_key(struct wlan_mlme_wep_cfg *wep_params,
enum wep_key_id wep_keyid, uint8_t *key_to_set,
qdf_size_t len);
/**
* wlan_mlme_get_tx_power() - Get the max tx power in particular band
* @psoc: pointer to psoc object
* @band: 2ghz/5ghz band
*
* Return: value of tx power in the respective band
*/
uint8_t wlan_mlme_get_tx_power(struct wlan_objmgr_psoc *psoc,
enum band_info band);
/**
* wlan_mlme_get_power_usage() - Get the power usage info
* @psoc: pointer to psoc object
*
* Return: pointer to character array of power usage
*/
char *wlan_mlme_get_power_usage(struct wlan_objmgr_psoc *psoc);
/**
* wlan_mlme_get_ht_cap_info() - Get the HT cap info config
* @psoc: pointer to psoc object