From a56a51ccc1d0837a67d9af2b94f9400b324659ea Mon Sep 17 00:00:00 2001 From: Abhinav Kumar Date: Tue, 4 Dec 2018 14:40:07 +0530 Subject: [PATCH] qcacld-3.0: Address checkpatch errors added as part of VHT & WMM CFG items Address checkpatch errors added as part of VHT & WMM CFG items. Change-Id: I2c3d5466264781cee8197778806a349cfbf06957 CRs-Fixed: 2359406 --- mlme/dispatcher/inc/wlan_mlme_api.h | 243 +++++++++++------------ mlme/dispatcher/inc/wlan_mlme_ucfg_api.h | 130 ++++++------ mlme/dispatcher/src/wlan_mlme_api.c | 88 ++++---- 3 files changed, 218 insertions(+), 243 deletions(-) diff --git a/mlme/dispatcher/inc/wlan_mlme_api.h b/mlme/dispatcher/inc/wlan_mlme_api.h index aee276e3c7..65804bf3e9 100644 --- a/mlme/dispatcher/inc/wlan_mlme_api.h +++ b/mlme/dispatcher/inc/wlan_mlme_api.h @@ -851,8 +851,7 @@ QDF_STATUS wlan_mlme_set_fils_enabled_info(struct wlan_objmgr_psoc *psoc, * Return: QDF Status */ QDF_STATUS -wlan_mlme_get_wmm_dir_ac_vi(struct wlan_objmgr_psoc *psoc, - uint8_t *value); +wlan_mlme_get_wmm_dir_ac_vi(struct wlan_objmgr_psoc *psoc, uint8_t *value); /** * wlan_mlme_get_wmm_nom_msdu_size_ac_vi() - Get normal @@ -862,9 +861,8 @@ wlan_mlme_get_wmm_dir_ac_vi(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -QDF_STATUS -wlan_mlme_get_wmm_nom_msdu_size_ac_vi(struct wlan_objmgr_psoc *psoc, - uint16_t *value); +QDF_STATUS wlan_mlme_get_wmm_nom_msdu_size_ac_vi(struct wlan_objmgr_psoc *psoc, + uint16_t *value); /** * wlan_mlme_get_wmm_mean_data_rate_ac_vi() - mean data @@ -876,7 +874,7 @@ wlan_mlme_get_wmm_nom_msdu_size_ac_vi(struct wlan_objmgr_psoc *psoc, */ QDF_STATUS wlan_mlme_get_wmm_mean_data_rate_ac_vi(struct wlan_objmgr_psoc *psoc, - uint32_t *value); + uint32_t *value); /** * wlan_mlme_get_wmm_min_phy_rate_ac_vi() - min PHY @@ -886,9 +884,8 @@ wlan_mlme_get_wmm_mean_data_rate_ac_vi(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -QDF_STATUS -wlan_mlme_get_wmm_min_phy_rate_ac_vi(struct wlan_objmgr_psoc *psoc, - uint32_t *value); +QDF_STATUS wlan_mlme_get_wmm_min_phy_rate_ac_vi(struct wlan_objmgr_psoc *psoc, + uint32_t *value); /** * wlan_mlme_get_wmm_sba_ac_vi() - surplus bandwidth @@ -945,9 +942,8 @@ wlan_mlme_get_wmm_dir_ac_be(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -QDF_STATUS -wlan_mlme_get_wmm_nom_msdu_size_ac_be(struct wlan_objmgr_psoc *psoc, - uint16_t *value); +QDF_STATUS wlan_mlme_get_wmm_nom_msdu_size_ac_be(struct wlan_objmgr_psoc *psoc, + uint16_t *value); /** * wlan_mlme_get_wmm_mean_data_rate_ac_be() - mean data @@ -957,9 +953,8 @@ wlan_mlme_get_wmm_nom_msdu_size_ac_be(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -QDF_STATUS -wlan_mlme_get_wmm_mean_data_rate_ac_be(struct wlan_objmgr_psoc *psoc, - uint32_t *value); +QDF_STATUS wlan_mlme_get_wmm_mean_data_rate_ac_be(struct wlan_objmgr_psoc *psoc, + uint32_t *value); /** * wlan_mlme_get_wmm_min_phy_rate_ac_be() - min PHY @@ -980,8 +975,8 @@ QDF_STATUS wlan_mlme_get_wmm_min_phy_rate_ac_be(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -QDF_STATUS wlan_mlme_get_wmm_sba_ac_be(struct wlan_objmgr_psoc *psoc, - uint16_t *value); +QDF_STATUS +wlan_mlme_get_wmm_sba_ac_be(struct wlan_objmgr_psoc *psoc, uint16_t *value); /** * wlan_mlme_get_wmm_uapsd_be_srv_intv() - Get Uapsd service @@ -991,8 +986,9 @@ QDF_STATUS wlan_mlme_get_wmm_sba_ac_be(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -QDF_STATUS wlan_mlme_get_wmm_uapsd_be_srv_intv(struct wlan_objmgr_psoc *psoc, - uint32_t *value); +QDF_STATUS +wlan_mlme_get_wmm_uapsd_be_srv_intv(struct wlan_objmgr_psoc *psoc, + uint32_t *value); /** * wlan_mlme_get_wmm_uapsd_be_sus_intv() - Get Uapsd suspension @@ -1002,8 +998,9 @@ QDF_STATUS wlan_mlme_get_wmm_uapsd_be_srv_intv(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -QDF_STATUS wlan_mlme_get_wmm_uapsd_be_sus_intv(struct wlan_objmgr_psoc *psoc, - uint32_t *value); +QDF_STATUS +wlan_mlme_get_wmm_uapsd_be_sus_intv(struct wlan_objmgr_psoc *psoc, + uint32_t *value); /** * wlan_mlme_get_wmm_dir_ac_bk() - Get TSPEC direction @@ -1024,9 +1021,8 @@ wlan_mlme_get_wmm_dir_ac_bk(struct wlan_objmgr_psoc *psoc, uint8_t *value); * * Return: QDF Status */ -QDF_STATUS -wlan_mlme_get_wmm_nom_msdu_size_ac_bk(struct wlan_objmgr_psoc *psoc, - uint16_t *value); +QDF_STATUS wlan_mlme_get_wmm_nom_msdu_size_ac_bk(struct wlan_objmgr_psoc *psoc, + uint16_t *value); /** * wlan_mlme_get_wmm_mean_data_rate_ac_bk() - mean data @@ -1036,9 +1032,8 @@ wlan_mlme_get_wmm_nom_msdu_size_ac_bk(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -QDF_STATUS -wlan_mlme_get_wmm_mean_data_rate_ac_bk(struct wlan_objmgr_psoc *psoc, - uint32_t *value); +QDF_STATUS wlan_mlme_get_wmm_mean_data_rate_ac_bk(struct wlan_objmgr_psoc *psoc, + uint32_t *value); /** * wlan_mlme_get_wmm_min_phy_rate_ac_bk() - min PHY @@ -1048,9 +1043,8 @@ wlan_mlme_get_wmm_mean_data_rate_ac_bk(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -QDF_STATUS -wlan_mlme_get_wmm_min_phy_rate_ac_bk(struct wlan_objmgr_psoc *psoc, - uint32_t *value); +QDF_STATUS wlan_mlme_get_wmm_min_phy_rate_ac_bk(struct wlan_objmgr_psoc *psoc, + uint32_t *value); /** * wlan_mlme_get_wmm_sba_ac_bk() - surplus bandwidth @@ -1124,9 +1118,8 @@ wlan_mlme_get_wmm_uapsd_mask(struct wlan_objmgr_psoc *psoc, uint8_t *value); * * Return: QDF Status */ -QDF_STATUS -wlan_mlme_get_implicit_qos_is_enabled(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS wlan_mlme_get_implicit_qos_is_enabled(struct wlan_objmgr_psoc *psoc, + bool *value); #ifdef FEATURE_WLAN_ESE /** @@ -1136,8 +1129,9 @@ wlan_mlme_get_implicit_qos_is_enabled(struct wlan_objmgr_psoc *psoc, * * Return: None */ -void wlan_mlme_get_inactivity_interval(struct wlan_objmgr_psoc *psoc, - uint32_t *value); +void +wlan_mlme_get_inactivity_interval(struct wlan_objmgr_psoc *psoc, + uint32_t *value); #endif /** @@ -1178,8 +1172,8 @@ wlan_mlme_get_ts_acm_value_for_ac(struct wlan_objmgr_psoc *psoc, bool *value); * * Return: QDF Status */ -QDF_STATUS wlan_mlme_get_wmm_dir_ac_vo(struct wlan_objmgr_psoc *psoc, - uint8_t *value); +QDF_STATUS +wlan_mlme_get_wmm_dir_ac_vo(struct wlan_objmgr_psoc *psoc, uint8_t *value); /** * wlan_mlme_get_wmm_nom_msdu_size_ac_vo() - Get normal @@ -1189,9 +1183,8 @@ QDF_STATUS wlan_mlme_get_wmm_dir_ac_vo(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -QDF_STATUS -wlan_mlme_get_wmm_nom_msdu_size_ac_vo(struct wlan_objmgr_psoc *psoc, - uint16_t *value); +QDF_STATUS wlan_mlme_get_wmm_nom_msdu_size_ac_vo(struct wlan_objmgr_psoc *psoc, + uint16_t *value); /** * wlan_mlme_get_wmm_mean_data_rate_ac_vo() - mean data rate for VO @@ -1200,9 +1193,8 @@ wlan_mlme_get_wmm_nom_msdu_size_ac_vo(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -QDF_STATUS -wlan_mlme_get_wmm_mean_data_rate_ac_vo(struct wlan_objmgr_psoc *psoc, - uint32_t *value); +QDF_STATUS wlan_mlme_get_wmm_mean_data_rate_ac_vo(struct wlan_objmgr_psoc *psoc, + uint32_t *value); /** * wlan_mlme_get_wmm_min_phy_rate_ac_vo() - min PHY * rate for VO @@ -1211,9 +1203,8 @@ wlan_mlme_get_wmm_mean_data_rate_ac_vo(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -QDF_STATUS -wlan_mlme_get_wmm_min_phy_rate_ac_vo(struct wlan_objmgr_psoc *psoc, - uint32_t *value); +QDF_STATUS wlan_mlme_get_wmm_min_phy_rate_ac_vo(struct wlan_objmgr_psoc *psoc, + uint32_t *value); /** * wlan_mlme_get_wmm_sba_ac_vo() - surplus bandwidth allowance for VO * @psoc: pointer to psoc object @@ -1265,8 +1256,9 @@ wlan_mlme_get_wmm_uapsd_vo_sus_intv(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_get_vht_max_mpdu_len(struct wlan_objmgr_psoc *psoc, - uint8_t *value); +QDF_STATUS +wlan_mlme_cfg_get_vht_max_mpdu_len(struct wlan_objmgr_psoc *psoc, + uint8_t *value); /** * wlan_mlme_cfg_set_vht_max_mpdu_len() - sets vht max mpdu length into cfg item @@ -1275,8 +1267,9 @@ QDF_STATUS wlan_mlme_cfg_get_vht_max_mpdu_len(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_set_vht_max_mpdu_len(struct wlan_objmgr_psoc *psoc, - uint8_t value); +QDF_STATUS +wlan_mlme_cfg_set_vht_max_mpdu_len(struct wlan_objmgr_psoc *psoc, + uint8_t value); /** * wlan_mlme_cfg_get_vht_chan_width() - gets vht supported channel width from @@ -1331,7 +1324,7 @@ QDF_STATUS wlan_mlme_cfg_get_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS */ QDF_STATUS wlan_mlme_cfg_set_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc, - bool value); + bool value); /** * wlan_mlme_cfg_get_vht_short_gi_80mhz() - gets vht short gi 80MHz from @@ -1342,7 +1335,7 @@ QDF_STATUS wlan_mlme_cfg_set_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS */ QDF_STATUS wlan_mlme_cfg_get_vht_short_gi_80mhz(struct wlan_objmgr_psoc *psoc, - bool *value); + bool *value); /** * wlan_mlme_cfg_set_vht_short_gi_80mhz() - sets vht short gi 80MHz into @@ -1353,7 +1346,7 @@ QDF_STATUS wlan_mlme_cfg_get_vht_short_gi_80mhz(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS */ QDF_STATUS wlan_mlme_cfg_set_vht_short_gi_80mhz(struct wlan_objmgr_psoc *psoc, - bool value); + bool value); /** * wlan_mlme_cfg_get_short_gi_160_mhz() - gets vht short gi 160MHz from @@ -1363,8 +1356,8 @@ QDF_STATUS wlan_mlme_cfg_set_vht_short_gi_80mhz(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_get_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS +wlan_mlme_cfg_get_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc, bool *value); /** * wlan_mlme_cfg_set_short_gi_160_mhz() - sets vht short gi 160MHz into @@ -1374,8 +1367,8 @@ QDF_STATUS wlan_mlme_cfg_get_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_set_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc, - bool value); +QDF_STATUS +wlan_mlme_cfg_set_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc, bool value); /** * wlan_mlme_cfg_get_vht_tx_stbc() - gets vht tx stbc from @@ -1385,8 +1378,8 @@ QDF_STATUS wlan_mlme_cfg_set_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_get_vht_tx_stbc(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS +wlan_mlme_cfg_get_vht_tx_stbc(struct wlan_objmgr_psoc *psoc, bool *value); /** * wlan_mlme_cfg_get_vht_rx_stbc() - gets vht rx stbc from @@ -1396,8 +1389,8 @@ QDF_STATUS wlan_mlme_cfg_get_vht_tx_stbc(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS +wlan_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, bool *value); /** * wlan_mlme_cfg_set_vht_tx_stbc() - sets vht tx stbc into @@ -1407,8 +1400,8 @@ QDF_STATUS wlan_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_set_vht_tx_stbc(struct wlan_objmgr_psoc *psoc, - bool value); +QDF_STATUS +wlan_mlme_cfg_set_vht_tx_stbc(struct wlan_objmgr_psoc *psoc, bool value); /** * wlan_mlme_cfg_get_vht_rx_stbc() - gets vht rx stbc from @@ -1418,8 +1411,8 @@ QDF_STATUS wlan_mlme_cfg_set_vht_tx_stbc(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS +wlan_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, bool *value); /** * wlan_mlme_cfg_set_vht_rx_stbc() - sets vht rx stbc into @@ -1429,8 +1422,8 @@ QDF_STATUS wlan_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_set_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, - bool value); +QDF_STATUS +wlan_mlme_cfg_set_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, bool value); /** * wlan_mlme_cfg_get_vht_su_bformer() - gets vht su beam former cap from @@ -1440,8 +1433,8 @@ QDF_STATUS wlan_mlme_cfg_set_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_get_vht_su_bformer(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS +wlan_mlme_cfg_get_vht_su_bformer(struct wlan_objmgr_psoc *psoc, bool *value); /** * wlan_mlme_cfg_set_vht_su_bformer() - sets vht su beam former cap into @@ -1451,8 +1444,8 @@ QDF_STATUS wlan_mlme_cfg_get_vht_su_bformer(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_set_vht_su_bformer(struct wlan_objmgr_psoc *psoc, - bool value); +QDF_STATUS +wlan_mlme_cfg_set_vht_su_bformer(struct wlan_objmgr_psoc *psoc, bool value); /** * wlan_mlme_cfg_set_vht_su_bformee() - sets vht su beam formee cap into @@ -1462,8 +1455,8 @@ QDF_STATUS wlan_mlme_cfg_set_vht_su_bformer(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_set_vht_su_bformee(struct wlan_objmgr_psoc *psoc, - bool value); +QDF_STATUS +wlan_mlme_cfg_set_vht_su_bformee(struct wlan_objmgr_psoc *psoc, bool value); /** * wlan_mlme_cfg_set_vht_tx_bfee_ant_supp() - sets vht Beamformee antenna @@ -1475,7 +1468,7 @@ QDF_STATUS wlan_mlme_cfg_set_vht_su_bformee(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS */ QDF_STATUS wlan_mlme_cfg_set_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc, - uint8_t value); + uint8_t value); /** * wlan_mlme_cfg_get_vht_tx_bfee_ant_supp() - Gets vht Beamformee antenna @@ -1498,7 +1491,7 @@ QDF_STATUS wlan_mlme_cfg_get_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS */ QDF_STATUS wlan_mlme_cfg_set_vht_num_sounding_dim(struct wlan_objmgr_psoc *psoc, - uint8_t value); + uint8_t value); /** * wlan_mlme_cfg_get_vht_mu_bformer() - gets vht mu beam former cap from @@ -1508,8 +1501,8 @@ QDF_STATUS wlan_mlme_cfg_set_vht_num_sounding_dim(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_get_vht_mu_bformer(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS +wlan_mlme_cfg_get_vht_mu_bformer(struct wlan_objmgr_psoc *psoc, bool *value); /** * wlan_mlme_cfg_set_vht_mu_bformer() - sets vht mu beam former cap into @@ -1519,8 +1512,8 @@ QDF_STATUS wlan_mlme_cfg_get_vht_mu_bformer(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_set_vht_mu_bformer(struct wlan_objmgr_psoc *psoc, - bool value); +QDF_STATUS +wlan_mlme_cfg_set_vht_mu_bformer(struct wlan_objmgr_psoc *psoc, bool value); /** * wlan_mlme_cfg_get_vht_mu_bformee() - gets vht mu beam formee cap from @@ -1530,8 +1523,8 @@ QDF_STATUS wlan_mlme_cfg_set_vht_mu_bformer(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_get_vht_mu_bformee(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS +wlan_mlme_cfg_get_vht_mu_bformee(struct wlan_objmgr_psoc *psoc, bool *value); /** * wlan_mlme_cfg_set_vht_mu_bformee() - sets vht mu beam formee cap into @@ -1541,8 +1534,8 @@ QDF_STATUS wlan_mlme_cfg_get_vht_mu_bformee(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_set_vht_mu_bformee(struct wlan_objmgr_psoc *psoc, - bool value); +QDF_STATUS +wlan_mlme_cfg_set_vht_mu_bformee(struct wlan_objmgr_psoc *psoc, bool value); /** * wlan_mlme_cfg_get_vht_txop_ps() - gets vht tx ops ps cap from @@ -1552,8 +1545,8 @@ QDF_STATUS wlan_mlme_cfg_set_vht_mu_bformee(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_get_vht_txop_ps(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS +wlan_mlme_cfg_get_vht_txop_ps(struct wlan_objmgr_psoc *psoc, bool *value); /** * wlan_mlme_cfg_set_vht_txop_ps() - sets vht tx ops ps cap into @@ -1563,8 +1556,8 @@ QDF_STATUS wlan_mlme_cfg_get_vht_txop_ps(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_set_vht_txop_ps(struct wlan_objmgr_psoc *psoc, - bool value); +QDF_STATUS +wlan_mlme_cfg_set_vht_txop_ps(struct wlan_objmgr_psoc *psoc, bool value); /** * wlan_mlme_cfg_get_vht_ampdu_len_exp() - gets vht max AMPDU length exponent from @@ -1574,8 +1567,9 @@ QDF_STATUS wlan_mlme_cfg_set_vht_txop_ps(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_get_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc, - uint8_t *value); +QDF_STATUS +wlan_mlme_cfg_get_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc, + uint8_t *value); /** * wlan_mlme_cfg_set_vht_ampdu_len_exp() - sets vht max AMPDU length exponent into @@ -1585,8 +1579,9 @@ QDF_STATUS wlan_mlme_cfg_get_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_set_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc, - uint8_t value); +QDF_STATUS +wlan_mlme_cfg_set_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc, + uint8_t value); /** * wlan_mlme_cfg_get_vht_rx_mcs_map() - gets vht rx mcs map from @@ -1597,7 +1592,7 @@ QDF_STATUS wlan_mlme_cfg_set_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS */ QDF_STATUS wlan_mlme_cfg_get_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, - uint32_t *value); + uint32_t *value); /** * wlan_mlme_cfg_set_vht_rx_mcs_map() - sets rx mcs map into @@ -1607,8 +1602,8 @@ QDF_STATUS wlan_mlme_cfg_get_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_set_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, - uint32_t value); +QDF_STATUS +wlan_mlme_cfg_set_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, uint32_t value); /** * wlan_mlme_cfg_get_vht_tx_mcs_map() - gets vht tx mcs map from @@ -1619,7 +1614,7 @@ QDF_STATUS wlan_mlme_cfg_set_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS */ QDF_STATUS wlan_mlme_cfg_get_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc, - uint32_t *value); + uint32_t *value); /** * wlan_mlme_cfg_set_vht_tx_mcs_map() - sets tx mcs map into @@ -1630,7 +1625,7 @@ QDF_STATUS wlan_mlme_cfg_get_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS */ QDF_STATUS wlan_mlme_cfg_set_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc, - uint32_t value); + uint32_t value); /** * wlan_mlme_cfg_set_vht_rx_supp_data_rate() - sets rx supported data rate into @@ -1664,8 +1659,9 @@ wlan_mlme_cfg_set_vht_tx_supp_data_rate(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_get_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc, - uint32_t *value); +QDF_STATUS +wlan_mlme_cfg_get_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc, + uint32_t *value); /** * wlan_mlme_cfg_set_vht_basic_mcs_set() - sets basic mcs set into @@ -1675,8 +1671,9 @@ QDF_STATUS wlan_mlme_cfg_get_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_cfg_set_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc, - uint32_t value); +QDF_STATUS +wlan_mlme_cfg_set_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc, + uint32_t value); /** * wlan_mlme_get_vht_enable_tx_bf() - Get vht enable tx bf @@ -1685,8 +1682,8 @@ QDF_STATUS wlan_mlme_cfg_set_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_get_vht_enable_tx_bf(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS +wlan_mlme_get_vht_enable_tx_bf(struct wlan_objmgr_psoc *psoc, bool *value); /** * wlan_mlme_get_vht_tx_su_beamformer() - VHT enable tx su beamformer @@ -1695,8 +1692,8 @@ QDF_STATUS wlan_mlme_get_vht_enable_tx_bf(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_get_vht_tx_su_beamformer(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS +wlan_mlme_get_vht_tx_su_beamformer(struct wlan_objmgr_psoc *psoc, bool *value); /** * wlan_mlme_get_vht_channel_width() - gets Channel width capability @@ -1707,7 +1704,7 @@ QDF_STATUS wlan_mlme_get_vht_tx_su_beamformer(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS */ QDF_STATUS wlan_mlme_get_vht_channel_width(struct wlan_objmgr_psoc *psoc, - uint8_t *value); + uint8_t *value); /** * wlan_mlme_get_vht_rx_mcs_8_9() - VHT Rx MCS capability for 1x1 mode @@ -1726,8 +1723,8 @@ QDF_STATUS wlan_mlme_get_vht_rx_mcs_8_9(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_get_vht_tx_mcs_8_9(struct wlan_objmgr_psoc *psoc, - uint8_t *value); +QDF_STATUS +wlan_mlme_get_vht_tx_mcs_8_9(struct wlan_objmgr_psoc *psoc, uint8_t *value); /** * wlan_mlme_get_vht_rx_mcs_2x2() - VHT Rx MCS capability for 2x2 mode @@ -1756,8 +1753,8 @@ QDF_STATUS wlan_mlme_get_vht_tx_mcs_2x2(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_get_vht20_mcs9(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS +wlan_mlme_get_vht20_mcs9(struct wlan_objmgr_psoc *psoc, bool *value); /** * wlan_mlme_get_vht_enable2x2() - Enables/disables VHT Tx/Rx MCS values for 2x2 @@ -1766,8 +1763,8 @@ QDF_STATUS wlan_mlme_get_vht20_mcs9(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_get_vht_enable2x2(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS +wlan_mlme_get_vht_enable2x2(struct wlan_objmgr_psoc *psoc, bool *value); /** * wlan_mlme_set_vht_enable2x2() - Enables/disables VHT Tx/Rx MCS values for 2x2 @@ -1776,8 +1773,8 @@ QDF_STATUS wlan_mlme_get_vht_enable2x2(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_set_vht_enable2x2(struct wlan_objmgr_psoc *psoc, - bool value); +QDF_STATUS +wlan_mlme_set_vht_enable2x2(struct wlan_objmgr_psoc *psoc, bool value); /** * wlan_mlme_get_vht_enable_paid() - Enables/disables paid feature @@ -1786,8 +1783,8 @@ QDF_STATUS wlan_mlme_set_vht_enable2x2(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_get_vht_enable_paid(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS +wlan_mlme_get_vht_enable_paid(struct wlan_objmgr_psoc *psoc, bool *value); /** * wlan_mlme_get_vht_enable_gid() - Enables/disables VHT GID feature @@ -1796,8 +1793,8 @@ QDF_STATUS wlan_mlme_get_vht_enable_paid(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_get_vht_enable_gid(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS +wlan_mlme_get_vht_enable_gid(struct wlan_objmgr_psoc *psoc, bool *value); /** * wlan_mlme_get_vht_for_24ghz() - Enables/disables VHT for 24 ghz @@ -1806,8 +1803,8 @@ QDF_STATUS wlan_mlme_get_vht_enable_gid(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_get_vht_for_24ghz(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS +wlan_mlme_get_vht_for_24ghz(struct wlan_objmgr_psoc *psoc, bool *value); /** * wlan_mlme_get_vendor_vht_for_24ghz() - nables/disables vendor VHT for 24 ghz @@ -1816,8 +1813,8 @@ QDF_STATUS wlan_mlme_get_vht_for_24ghz(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS wlan_mlme_get_vendor_vht_for_24ghz(struct wlan_objmgr_psoc *psoc, - bool *value); +QDF_STATUS +wlan_mlme_get_vendor_vht_for_24ghz(struct wlan_objmgr_psoc *psoc, bool *value); /** * mlme_update_vht_cap() - update vht capabilities @@ -1826,8 +1823,8 @@ QDF_STATUS wlan_mlme_get_vendor_vht_for_24ghz(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS */ -QDF_STATUS mlme_update_vht_cap(struct wlan_objmgr_psoc *psoc, - struct wma_tgt_vht_cap *cfg); +QDF_STATUS +mlme_update_vht_cap(struct wlan_objmgr_psoc *psoc, struct wma_tgt_vht_cap *cfg); /** * mlme_update_nss_vht_cap() - Update the number of spatial diff --git a/mlme/dispatcher/inc/wlan_mlme_ucfg_api.h b/mlme/dispatcher/inc/wlan_mlme_ucfg_api.h index c3a63b57c3..d1240062b6 100644 --- a/mlme/dispatcher/inc/wlan_mlme_ucfg_api.h +++ b/mlme/dispatcher/inc/wlan_mlme_ucfg_api.h @@ -1777,9 +1777,8 @@ QDF_STATUS ucfg_mlme_set_enable_bcast_probe_rsp(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE */ -static inline -QDF_STATUS ucfg_mlme_set_vht_ch_width(struct wlan_objmgr_psoc *psoc, - uint8_t value) +static inline QDF_STATUS +ucfg_mlme_set_vht_ch_width(struct wlan_objmgr_psoc *psoc, uint8_t value) { return wlan_mlme_cfg_set_vht_chan_width(psoc, value); } @@ -1794,9 +1793,8 @@ QDF_STATUS ucfg_mlme_set_vht_ch_width(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE */ -static inline -QDF_STATUS ucfg_mlme_cfg_get_vht_chan_width(struct wlan_objmgr_psoc *psoc, - uint8_t *value) +static inline QDF_STATUS +ucfg_mlme_cfg_get_vht_chan_width(struct wlan_objmgr_psoc *psoc, uint8_t *value) { return wlan_mlme_cfg_get_vht_chan_width(psoc, value); } @@ -1812,8 +1810,7 @@ QDF_STATUS ucfg_mlme_cfg_get_vht_chan_width(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE */ static inline QDF_STATUS -ucfg_mlme_cfg_set_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc, - bool value) +ucfg_mlme_cfg_set_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc, bool value) { return wlan_mlme_cfg_set_vht_ldpc_coding_cap(psoc, value); } @@ -1829,8 +1826,7 @@ ucfg_mlme_cfg_set_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE */ static inline QDF_STATUS -ucfg_mlme_cfg_get_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc, - bool *value) +ucfg_mlme_cfg_get_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc, bool *value) { return wlan_mlme_cfg_get_short_gi_160_mhz(psoc, value); } @@ -1847,8 +1843,7 @@ ucfg_mlme_cfg_get_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE */ static inline QDF_STATUS -ucfg_mlme_cfg_set_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc, - bool value) +ucfg_mlme_cfg_set_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc, bool value) { return wlan_mlme_cfg_set_short_gi_160_mhz(psoc, value); } @@ -1865,8 +1860,7 @@ ucfg_mlme_cfg_set_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE */ static inline QDF_STATUS -ucfg_mlme_cfg_get_vht_tx_stbc(struct wlan_objmgr_psoc *psoc, - bool *value) +ucfg_mlme_cfg_get_vht_tx_stbc(struct wlan_objmgr_psoc *psoc, bool *value) { return wlan_mlme_cfg_get_vht_tx_stbc(psoc, value); } @@ -1883,8 +1877,7 @@ ucfg_mlme_cfg_get_vht_tx_stbc(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE */ static inline QDF_STATUS -ucfg_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, - bool *value) +ucfg_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, bool *value) { return wlan_mlme_cfg_get_vht_rx_stbc(psoc, value); } @@ -1899,9 +1892,9 @@ ucfg_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE */ -static inline QDF_STATUS -ucfg_mlme_cfg_set_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc, - uint8_t value) +static inline +QDF_STATUS ucfg_mlme_cfg_set_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc, + uint8_t value) { return wlan_mlme_cfg_set_vht_tx_bfee_ant_supp(psoc, value); } @@ -1916,9 +1909,9 @@ ucfg_mlme_cfg_set_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc, * * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE */ -static inline QDF_STATUS -ucfg_mlme_cfg_get_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc, - uint8_t *value) +static inline +QDF_STATUS ucfg_mlme_cfg_get_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc, + uint8_t *value) { return wlan_mlme_cfg_get_vht_tx_bfee_ant_supp(psoc, value); } @@ -1935,8 +1928,7 @@ ucfg_mlme_cfg_get_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE */ static inline QDF_STATUS -ucfg_mlme_cfg_get_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, - uint32_t *value) +ucfg_mlme_cfg_get_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, uint32_t *value) { return wlan_mlme_cfg_get_vht_rx_mcs_map(psoc, value); } @@ -1952,8 +1944,7 @@ ucfg_mlme_cfg_get_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE */ static inline QDF_STATUS -ucfg_mlme_cfg_set_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, - uint32_t value) +ucfg_mlme_cfg_set_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, uint32_t value) { return wlan_mlme_cfg_set_vht_rx_mcs_map(psoc, value); } @@ -1970,8 +1961,7 @@ ucfg_mlme_cfg_set_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE */ static inline QDF_STATUS -ucfg_mlme_cfg_get_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc, - uint32_t *value) +ucfg_mlme_cfg_get_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc, uint32_t *value) { return wlan_mlme_cfg_get_vht_tx_mcs_map(psoc, value); } @@ -1987,8 +1977,7 @@ ucfg_mlme_cfg_get_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc, * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE */ static inline QDF_STATUS -ucfg_mlme_cfg_set_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc, - uint32_t value) +ucfg_mlme_cfg_set_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc, uint32_t value) { return wlan_mlme_cfg_set_vht_tx_mcs_map(psoc, value); } @@ -2334,9 +2323,9 @@ ucfg_mlme_get_vendor_vht_for_24ghz(struct wlan_objmgr_psoc *psoc, bool *value) * * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE */ -static inline QDF_STATUS -ucfg_mlme_update_vht_cap(struct wlan_objmgr_psoc *psoc, - struct wma_tgt_vht_cap *cfg) +static inline +QDF_STATUS ucfg_mlme_update_vht_cap(struct wlan_objmgr_psoc *psoc, + struct wma_tgt_vht_cap *cfg) { return mlme_update_vht_cap(psoc, cfg); } @@ -2587,8 +2576,7 @@ QDF_STATUS ucfg_mlme_ibss_power_save_setup(struct wlan_objmgr_psoc *psoc, * Return: QDF Status */ static inline QDF_STATUS -ucfg_mlme_get_wmm_dir_ac_vi(struct wlan_objmgr_psoc *psoc, - uint8_t *value) +ucfg_mlme_get_wmm_dir_ac_vi(struct wlan_objmgr_psoc *psoc, uint8_t *value) { return wlan_mlme_get_wmm_dir_ac_vi(psoc, value); } @@ -2603,9 +2591,9 @@ ucfg_mlme_get_wmm_dir_ac_vi(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -static inline QDF_STATUS -ucfg_mlme_get_wmm_nom_msdu_size_ac_vi(struct wlan_objmgr_psoc *psoc, - uint16_t *value) +static inline +QDF_STATUS ucfg_mlme_get_wmm_nom_msdu_size_ac_vi(struct wlan_objmgr_psoc *psoc, + uint16_t *value) { return wlan_mlme_get_wmm_nom_msdu_size_ac_vi(psoc, value); } @@ -2620,9 +2608,9 @@ ucfg_mlme_get_wmm_nom_msdu_size_ac_vi(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -static inline QDF_STATUS -ucfg_mlme_get_wmm_mean_data_rate_ac_vi(struct wlan_objmgr_psoc *psoc, - uint32_t *value) +static inline +QDF_STATUS ucfg_mlme_get_wmm_mean_data_rate_ac_vi(struct wlan_objmgr_psoc *psoc, + uint32_t *value) { return wlan_mlme_get_wmm_mean_data_rate_ac_vi(psoc, value); } @@ -2637,9 +2625,9 @@ ucfg_mlme_get_wmm_mean_data_rate_ac_vi(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -static inline QDF_STATUS -ucfg_mlme_get_wmm_min_phy_rate_ac_vi(struct wlan_objmgr_psoc *psoc, - uint32_t *value) +static inline +QDF_STATUS ucfg_mlme_get_wmm_min_phy_rate_ac_vi(struct wlan_objmgr_psoc *psoc, + uint32_t *value) { return wlan_mlme_get_wmm_min_phy_rate_ac_vi(psoc, value); } @@ -2720,9 +2708,9 @@ ucfg_mlme_get_wmm_dir_ac_be(struct wlan_objmgr_psoc *psoc, uint8_t *value) * * Return: QDF Status */ -static inline QDF_STATUS -ucfg_mlme_get_wmm_nom_msdu_size_ac_be(struct wlan_objmgr_psoc *psoc, - uint16_t *value) +static inline +QDF_STATUS ucfg_mlme_get_wmm_nom_msdu_size_ac_be(struct wlan_objmgr_psoc *psoc, + uint16_t *value) { return wlan_mlme_get_wmm_nom_msdu_size_ac_be(psoc, value); } @@ -2737,9 +2725,9 @@ ucfg_mlme_get_wmm_nom_msdu_size_ac_be(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -static inline QDF_STATUS -ucfg_mlme_get_wmm_mean_data_rate_ac_be(struct wlan_objmgr_psoc *psoc, - uint32_t *value) +static inline +QDF_STATUS ucfg_mlme_get_wmm_mean_data_rate_ac_be(struct wlan_objmgr_psoc *psoc, + uint32_t *value) { return wlan_mlme_get_wmm_mean_data_rate_ac_be(psoc, value); } @@ -2754,9 +2742,9 @@ ucfg_mlme_get_wmm_mean_data_rate_ac_be(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -static inline QDF_STATUS -ucfg_mlme_get_wmm_min_phy_rate_ac_be(struct wlan_objmgr_psoc *psoc, - uint32_t *value) +static inline +QDF_STATUS ucfg_mlme_get_wmm_min_phy_rate_ac_be(struct wlan_objmgr_psoc *psoc, + uint32_t *value) { return wlan_mlme_get_wmm_min_phy_rate_ac_be(psoc, value); } @@ -2837,9 +2825,9 @@ ucfg_mlme_get_wmm_dir_ac_bk(struct wlan_objmgr_psoc *psoc, uint8_t *value) * * Return: QDF Status */ -static inline QDF_STATUS -ucfg_mlme_get_wmm_nom_msdu_size_ac_bk(struct wlan_objmgr_psoc *psoc, - uint16_t *value) +static inline +QDF_STATUS ucfg_mlme_get_wmm_nom_msdu_size_ac_bk(struct wlan_objmgr_psoc *psoc, + uint16_t *value) { return wlan_mlme_get_wmm_nom_msdu_size_ac_bk(psoc, value); } @@ -2854,9 +2842,9 @@ ucfg_mlme_get_wmm_nom_msdu_size_ac_bk(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -static inline QDF_STATUS -ucfg_mlme_get_wmm_mean_data_rate_ac_bk(struct wlan_objmgr_psoc *psoc, - uint32_t *value) +static inline +QDF_STATUS ucfg_mlme_get_wmm_mean_data_rate_ac_bk(struct wlan_objmgr_psoc *psoc, + uint32_t *value) { return wlan_mlme_get_wmm_mean_data_rate_ac_bk(psoc, value); } @@ -2871,9 +2859,9 @@ ucfg_mlme_get_wmm_mean_data_rate_ac_bk(struct wlan_objmgr_psoc *psoc, * * Return: QDF Status */ -static inline QDF_STATUS -ucfg_mlme_get_wmm_min_phy_rate_ac_bk(struct wlan_objmgr_psoc *psoc, - uint32_t *value) +static inline +QDF_STATUS ucfg_mlme_get_wmm_min_phy_rate_ac_bk(struct wlan_objmgr_psoc *psoc, + uint32_t *value) { return wlan_mlme_get_wmm_min_phy_rate_ac_bk(psoc, value); } @@ -2955,9 +2943,9 @@ ucfg_mlme_get_wmm_mode(struct wlan_objmgr_psoc *psoc, uint8_t *value) * * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE */ -static inline -QDF_STATUS ucfg_mlme_update_tgt_he_cap(struct wlan_objmgr_psoc *psoc, - struct wma_tgt_cfg *cfg) +static inline QDF_STATUS +ucfg_mlme_update_tgt_he_cap(struct wlan_objmgr_psoc *psoc, + struct wma_tgt_cfg *cfg) { return mlme_update_tgt_he_caps_in_cfg(psoc, cfg); } @@ -3058,9 +3046,9 @@ ucfg_mlme_get_wmm_uapsd_mask(struct wlan_objmgr_psoc *psoc, uint8_t *value) * * Return: QDF Status */ -static inline QDF_STATUS -ucfg_mlme_get_implicit_qos_is_enabled(struct wlan_objmgr_psoc *psoc, - bool *value) +static inline +QDF_STATUS ucfg_mlme_get_implicit_qos_is_enabled(struct wlan_objmgr_psoc *psoc, + bool *value) { return wlan_mlme_get_implicit_qos_is_enabled(psoc, value); } @@ -3102,9 +3090,9 @@ ucfg_mlme_is_ese_enabled(struct wlan_objmgr_psoc *psoc, bool *val); * * Return: None */ -static inline void -ucfg_mlme_get_is_ts_burst_size_enable(struct wlan_objmgr_psoc *psoc, - bool *value) +static inline +void ucfg_mlme_get_is_ts_burst_size_enable(struct wlan_objmgr_psoc *psoc, + bool *value) { wlan_mlme_get_is_ts_burst_size_enable(psoc, value); } diff --git a/mlme/dispatcher/src/wlan_mlme_api.c b/mlme/dispatcher/src/wlan_mlme_api.c index bd563c3121..ce2bcad40a 100644 --- a/mlme/dispatcher/src/wlan_mlme_api.c +++ b/mlme/dispatcher/src/wlan_mlme_api.c @@ -1005,7 +1005,7 @@ QDF_STATUS wlan_mlme_get_wmm_nom_msdu_size_ac_vo(struct wlan_objmgr_psoc *psoc, QDF_STATUS wlan_mlme_get_wmm_mean_data_rate_ac_vo(struct wlan_objmgr_psoc *psoc, - uint32_t *value) + uint32_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -1031,8 +1031,8 @@ QDF_STATUS wlan_mlme_get_wmm_min_phy_rate_ac_vo(struct wlan_objmgr_psoc *psoc, return QDF_STATUS_SUCCESS; } -QDF_STATUS wlan_mlme_get_wmm_sba_ac_vo(struct wlan_objmgr_psoc *psoc, - uint16_t *value) +QDF_STATUS +wlan_mlme_get_wmm_sba_ac_vo(struct wlan_objmgr_psoc *psoc, uint16_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -1047,7 +1047,7 @@ QDF_STATUS wlan_mlme_get_wmm_sba_ac_vo(struct wlan_objmgr_psoc *psoc, } QDF_STATUS wlan_mlme_get_wmm_uapsd_vo_srv_intv(struct wlan_objmgr_psoc *psoc, - uint32_t *value) + uint32_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -1061,7 +1061,7 @@ QDF_STATUS wlan_mlme_get_wmm_uapsd_vo_srv_intv(struct wlan_objmgr_psoc *psoc, } QDF_STATUS wlan_mlme_get_wmm_uapsd_vo_sus_intv(struct wlan_objmgr_psoc *psoc, - uint32_t *value) + uint32_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -1074,8 +1074,8 @@ QDF_STATUS wlan_mlme_get_wmm_uapsd_vo_sus_intv(struct wlan_objmgr_psoc *psoc, return QDF_STATUS_SUCCESS; } -QDF_STATUS wlan_mlme_get_wmm_dir_ac_vi(struct wlan_objmgr_psoc *psoc, - uint8_t *value) +QDF_STATUS +wlan_mlme_get_wmm_dir_ac_vi(struct wlan_objmgr_psoc *psoc, uint8_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -1105,7 +1105,7 @@ QDF_STATUS wlan_mlme_get_wmm_nom_msdu_size_ac_vi(struct wlan_objmgr_psoc *psoc, QDF_STATUS wlan_mlme_get_wmm_mean_data_rate_ac_vi(struct wlan_objmgr_psoc *psoc, - uint32_t *value) + uint32_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -1118,9 +1118,8 @@ wlan_mlme_get_wmm_mean_data_rate_ac_vi(struct wlan_objmgr_psoc *psoc, return QDF_STATUS_SUCCESS; } -QDF_STATUS -wlan_mlme_get_wmm_min_phy_rate_ac_vi(struct wlan_objmgr_psoc *psoc, - uint32_t *value) +QDF_STATUS wlan_mlme_get_wmm_min_phy_rate_ac_vi(struct wlan_objmgr_psoc *psoc, + uint32_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -1134,7 +1133,7 @@ wlan_mlme_get_wmm_min_phy_rate_ac_vi(struct wlan_objmgr_psoc *psoc, } QDF_STATUS wlan_mlme_get_wmm_sba_ac_vi(struct wlan_objmgr_psoc *psoc, - uint16_t *value) + uint16_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -1206,7 +1205,7 @@ QDF_STATUS wlan_mlme_get_wmm_nom_msdu_size_ac_be(struct wlan_objmgr_psoc *psoc, QDF_STATUS wlan_mlme_get_wmm_mean_data_rate_ac_be(struct wlan_objmgr_psoc *psoc, - uint32_t *value) + uint32_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -1219,9 +1218,8 @@ wlan_mlme_get_wmm_mean_data_rate_ac_be(struct wlan_objmgr_psoc *psoc, return QDF_STATUS_SUCCESS; } -QDF_STATUS -wlan_mlme_get_wmm_min_phy_rate_ac_be(struct wlan_objmgr_psoc *psoc, - uint32_t *value) +QDF_STATUS wlan_mlme_get_wmm_min_phy_rate_ac_be(struct wlan_objmgr_psoc *psoc, + uint32_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -1249,7 +1247,7 @@ wlan_mlme_get_wmm_sba_ac_be(struct wlan_objmgr_psoc *psoc, uint16_t *value) } QDF_STATUS wlan_mlme_get_wmm_uapsd_be_srv_intv(struct wlan_objmgr_psoc *psoc, - uint32_t *value) + uint32_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -1263,7 +1261,7 @@ QDF_STATUS wlan_mlme_get_wmm_uapsd_be_srv_intv(struct wlan_objmgr_psoc *psoc, } QDF_STATUS wlan_mlme_get_wmm_uapsd_be_sus_intv(struct wlan_objmgr_psoc *psoc, - uint32_t *value) + uint32_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -1306,7 +1304,7 @@ QDF_STATUS wlan_mlme_get_wmm_nom_msdu_size_ac_bk(struct wlan_objmgr_psoc *psoc, QDF_STATUS wlan_mlme_get_wmm_mean_data_rate_ac_bk(struct wlan_objmgr_psoc *psoc, - uint32_t *value) + uint32_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -1319,9 +1317,8 @@ wlan_mlme_get_wmm_mean_data_rate_ac_bk(struct wlan_objmgr_psoc *psoc, return QDF_STATUS_SUCCESS; } -QDF_STATUS -wlan_mlme_get_wmm_min_phy_rate_ac_bk(struct wlan_objmgr_psoc *psoc, - uint32_t *value) +QDF_STATUS wlan_mlme_get_wmm_min_phy_rate_ac_bk(struct wlan_objmgr_psoc *psoc, + uint32_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -1420,9 +1417,8 @@ wlan_mlme_get_wmm_uapsd_mask(struct wlan_objmgr_psoc *psoc, uint8_t *value) return QDF_STATUS_SUCCESS; } -QDF_STATUS -wlan_mlme_get_implicit_qos_is_enabled(struct wlan_objmgr_psoc *psoc, - bool *value) +QDF_STATUS wlan_mlme_get_implicit_qos_is_enabled(struct wlan_objmgr_psoc *psoc, + bool *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -1437,7 +1433,7 @@ wlan_mlme_get_implicit_qos_is_enabled(struct wlan_objmgr_psoc *psoc, #ifdef FEATURE_WLAN_ESE void wlan_mlme_get_inactivity_interval(struct wlan_objmgr_psoc *psoc, - uint32_t *value) + uint32_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -2185,9 +2181,8 @@ 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) { - if (len == 0) { + if (len == 0) return QDF_STATUS_E_FAILURE; - } mlme_debug("WEP set key for key_id:%d key_len:%zd", wep_keyid, len); switch (wep_keyid) { @@ -2306,9 +2301,8 @@ wlan_mlme_cfg_get_vht_chan_width(struct wlan_objmgr_psoc *psoc, uint8_t *value) return QDF_STATUS_SUCCESS; } -QDF_STATUS -wlan_mlme_cfg_set_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc, - bool value) +QDF_STATUS wlan_mlme_cfg_set_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc, + bool value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -2380,7 +2374,7 @@ wlan_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, bool *value) QDF_STATUS wlan_mlme_cfg_set_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc, - uint8_t value) + uint8_t value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -2395,7 +2389,7 @@ wlan_mlme_cfg_set_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc, QDF_STATUS wlan_mlme_cfg_get_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc, - uint8_t *value) + uint8_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -2408,9 +2402,8 @@ wlan_mlme_cfg_get_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc, return QDF_STATUS_SUCCESS; } -QDF_STATUS -wlan_mlme_cfg_get_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, - uint32_t *value) +QDF_STATUS wlan_mlme_cfg_get_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, + uint32_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -2423,9 +2416,8 @@ wlan_mlme_cfg_get_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, return QDF_STATUS_SUCCESS; } -QDF_STATUS -wlan_mlme_cfg_set_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, - uint32_t value) +QDF_STATUS wlan_mlme_cfg_set_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, + uint32_t value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -2438,9 +2430,8 @@ wlan_mlme_cfg_set_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, return QDF_STATUS_SUCCESS; } -QDF_STATUS -wlan_mlme_cfg_get_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc, - uint32_t *value) +QDF_STATUS wlan_mlme_cfg_get_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc, + uint32_t *value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -2453,9 +2444,8 @@ wlan_mlme_cfg_get_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc, return QDF_STATUS_SUCCESS; } -QDF_STATUS -wlan_mlme_cfg_set_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc, - uint32_t value) +QDF_STATUS wlan_mlme_cfg_set_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc, + uint32_t value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -2470,7 +2460,7 @@ wlan_mlme_cfg_set_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc, QDF_STATUS wlan_mlme_cfg_set_vht_rx_supp_data_rate(struct wlan_objmgr_psoc *psoc, - uint32_t value) + uint32_t value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -2485,7 +2475,7 @@ wlan_mlme_cfg_set_vht_rx_supp_data_rate(struct wlan_objmgr_psoc *psoc, QDF_STATUS wlan_mlme_cfg_set_vht_tx_supp_data_rate(struct wlan_objmgr_psoc *psoc, - uint32_t value) + uint32_t value) { struct wlan_mlme_psoc_obj *mlme_obj; @@ -2725,8 +2715,8 @@ wlan_mlme_get_vendor_vht_for_24ghz(struct wlan_objmgr_psoc *psoc, bool *value) return QDF_STATUS_SUCCESS; } -QDF_STATUS mlme_update_vht_cap(struct wlan_objmgr_psoc *psoc, - struct wma_tgt_vht_cap *cfg) +QDF_STATUS +mlme_update_vht_cap(struct wlan_objmgr_psoc *psoc, struct wma_tgt_vht_cap *cfg) { struct wlan_mlme_psoc_obj *mlme_obj; struct mlme_vht_capabilities_info *vht_cap_info;