qcacld-3.0: Fix block comments in wlan_hdd_cfg.c

A checkpatch run on the HDD component has produced numerous
warnings about improper block comments:
WARNING: Block comments use * on subsequent lines
WARNING: Block comments should align the * on each line
WARNING: Block comments use a trailing */ on a separate line

Fix all such warnings in wlan_hdd_cfg.c.

Change-Id: I435c49baf8e24ce56d5f2aef61f61d858a09cc8f
CRs-Fixed: 1110861
This commit is contained in:
Jeff Johnson
2017-01-12 09:50:54 -08:00
committed by qcabuildsw
parent 5a06237022
commit 78d88a82c8

View File

@@ -78,7 +78,8 @@ cb_notify_set_roam_intra_band(hdd_context_t *pHddCtx, unsigned long notifyId)
static void cb_notify_set_wes_mode(hdd_context_t *pHddCtx, unsigned long notifyId) static void cb_notify_set_wes_mode(hdd_context_t *pHddCtx, unsigned long notifyId)
{ {
/* At the point this routine is called, the value in the hdd config /* At the point this routine is called, the value in the hdd config
table has already been updated */ * table has already been updated
*/
sme_update_wes_mode(pHddCtx->hHal, pHddCtx->config->isWESModeEnabled, 0); sme_update_wes_mode(pHddCtx->hHal, pHddCtx->config->isWESModeEnabled, 0);
} }
@@ -101,7 +102,8 @@ notify_is_fast_roam_ini_feature_enabled(hdd_context_t *pHddCtx,
unsigned long notifyId) unsigned long notifyId)
{ {
/* At the point this routine is called, the value in the hdd config /* At the point this routine is called, the value in the hdd config
table has already been updated */ * table has already been updated
*/
sme_update_is_fast_roam_ini_feature_enabled(pHddCtx->hHal, 0, sme_update_is_fast_roam_ini_feature_enabled(pHddCtx->hHal, 0,
pHddCtx->config-> pHddCtx->config->
isFastRoamIniFeatureEnabled); isFastRoamIniFeatureEnabled);
@@ -111,7 +113,8 @@ static void
notify_is_mawc_ini_feature_enabled(hdd_context_t *pHddCtx, unsigned long notifyId) notify_is_mawc_ini_feature_enabled(hdd_context_t *pHddCtx, unsigned long notifyId)
{ {
/* At the point this routine is called, the value in the hdd config /* At the point this routine is called, the value in the hdd config
table has already been updated */ * table has already been updated
*/
sme_update_is_mawc_ini_feature_enabled(pHddCtx->hHal, sme_update_is_mawc_ini_feature_enabled(pHddCtx->hHal,
pHddCtx->config->MAWCEnabled); pHddCtx->config->MAWCEnabled);
} }
@@ -121,7 +124,8 @@ static void
cb_notify_set_ese_feature_enabled(hdd_context_t *pHddCtx, unsigned long notifyId) cb_notify_set_ese_feature_enabled(hdd_context_t *pHddCtx, unsigned long notifyId)
{ {
/* At the point this routine is called, the value in the hdd config /* At the point this routine is called, the value in the hdd config
table has already been updated */ * table has already been updated
*/
sme_update_is_ese_feature_enabled(pHddCtx->hHal, 0, sme_update_is_ese_feature_enabled(pHddCtx->hHal, 0,
pHddCtx->config->isEseIniFeatureEnabled); pHddCtx->config->isEseIniFeatureEnabled);
} }
@@ -131,7 +135,8 @@ static void
cb_notify_set_fw_rssi_monitoring(hdd_context_t *pHddCtx, unsigned long notifyId) cb_notify_set_fw_rssi_monitoring(hdd_context_t *pHddCtx, unsigned long notifyId)
{ {
/* At the point this routine is called, the value in the hdd config /* At the point this routine is called, the value in the hdd config
table has already been updated */ * table has already been updated
*/
sme_update_config_fw_rssi_monitoring(pHddCtx->hHal, sme_update_config_fw_rssi_monitoring(pHddCtx->hHal,
pHddCtx->config-> pHddCtx->config->
fEnableFwRssiMonitoring); fEnableFwRssiMonitoring);
@@ -141,7 +146,8 @@ static void cb_notify_set_opportunistic_scan_threshold_diff(hdd_context_t *pHddC
unsigned long notifyId) unsigned long notifyId)
{ {
/* At the point this routine is called, the value in the hdd config /* At the point this routine is called, the value in the hdd config
table has already been updated */ * table has already been updated
*/
sme_set_roam_opportunistic_scan_threshold_diff(pHddCtx->hHal, 0, sme_set_roam_opportunistic_scan_threshold_diff(pHddCtx->hHal, 0,
pHddCtx->config-> pHddCtx->config->
nOpportunisticThresholdDiff); nOpportunisticThresholdDiff);
@@ -151,7 +157,8 @@ static void cb_notify_set_roam_rescan_rssi_diff(hdd_context_t *pHddCtx,
unsigned long notifyId) unsigned long notifyId)
{ {
/* At the point this routine is called, the value in the hdd config /* At the point this routine is called, the value in the hdd config
table has already been updated */ * table has already been updated
*/
sme_set_roam_rescan_rssi_diff(pHddCtx->hHal, sme_set_roam_rescan_rssi_diff(pHddCtx->hHal,
0, pHddCtx->config->nRoamRescanRssiDiff); 0, pHddCtx->config->nRoamRescanRssiDiff);
} }
@@ -161,7 +168,8 @@ cb_notify_set_neighbor_lookup_rssi_threshold(hdd_context_t *pHddCtx,
unsigned long notifyId) unsigned long notifyId)
{ {
/* At the point this routine is called, the value in the hdd config /* At the point this routine is called, the value in the hdd config
table has already been updated */ * table has already been updated
*/
sme_set_neighbor_lookup_rssi_threshold(pHddCtx->hHal, 0, sme_set_neighbor_lookup_rssi_threshold(pHddCtx->hHal, 0,
pHddCtx->config-> pHddCtx->config->
nNeighborLookupRssiThreshold); nNeighborLookupRssiThreshold);
@@ -183,7 +191,8 @@ static void
cb_notify_set_neighbor_scan_period(hdd_context_t *pHddCtx, unsigned long notifyId) cb_notify_set_neighbor_scan_period(hdd_context_t *pHddCtx, unsigned long notifyId)
{ {
/* At the point this routine is called, the value in the hdd config /* At the point this routine is called, the value in the hdd config
table has already been updated */ * table has already been updated
*/
sme_set_neighbor_scan_period(pHddCtx->hHal, 0, sme_set_neighbor_scan_period(pHddCtx->hHal, 0,
pHddCtx->config->nNeighborScanPeriod); pHddCtx->config->nNeighborScanPeriod);
} }
@@ -193,7 +202,8 @@ cb_notify_set_neighbor_results_refresh_period(hdd_context_t *pHddCtx,
unsigned long notifyId) unsigned long notifyId)
{ {
/* At the point this routine is called, the value in the hdd config /* At the point this routine is called, the value in the hdd config
table has already been updated */ * table has already been updated
*/
sme_set_neighbor_scan_refresh_period(pHddCtx->hHal, 0, sme_set_neighbor_scan_refresh_period(pHddCtx->hHal, 0,
pHddCtx->config-> pHddCtx->config->
nNeighborResultsRefreshPeriod); nNeighborResultsRefreshPeriod);
@@ -204,7 +214,8 @@ cb_notify_set_empty_scan_refresh_period(hdd_context_t *pHddCtx,
unsigned long notifyId) unsigned long notifyId)
{ {
/* At the point this routine is called, the value in the hdd config /* At the point this routine is called, the value in the hdd config
table has already been updated */ * table has already been updated
*/
sme_update_empty_scan_refresh_period(pHddCtx->hHal, 0, sme_update_empty_scan_refresh_period(pHddCtx->hHal, 0,
pHddCtx->config-> pHddCtx->config->
nEmptyScanRefreshPeriod); nEmptyScanRefreshPeriod);
@@ -215,7 +226,8 @@ cb_notify_set_neighbor_scan_min_chan_time(hdd_context_t *pHddCtx,
unsigned long notifyId) unsigned long notifyId)
{ {
/* At the point this routine is called, the value in the hdd config /* At the point this routine is called, the value in the hdd config
table has already been updated */ * table has already been updated
*/
sme_set_neighbor_scan_min_chan_time(pHddCtx->hHal, sme_set_neighbor_scan_min_chan_time(pHddCtx->hHal,
pHddCtx->config-> pHddCtx->config->
nNeighborScanMinChanTime, 0); nNeighborScanMinChanTime, 0);
@@ -234,7 +246,8 @@ static void cb_notify_set_roam_bmiss_first_bcnt(hdd_context_t *pHddCtx,
unsigned long notifyId) unsigned long notifyId)
{ {
/* At the point this routine is called, the value in the hdd config /* At the point this routine is called, the value in the hdd config
table has already been updated */ * table has already been updated
*/
sme_set_roam_bmiss_first_bcnt(pHddCtx->hHal, sme_set_roam_bmiss_first_bcnt(pHddCtx->hHal,
0, pHddCtx->config->nRoamBmissFirstBcnt); 0, pHddCtx->config->nRoamBmissFirstBcnt);
} }
@@ -257,7 +270,8 @@ static void
cb_notify_set_dfs_scan_mode(hdd_context_t *pHddCtx, unsigned long notifyId) cb_notify_set_dfs_scan_mode(hdd_context_t *pHddCtx, unsigned long notifyId)
{ {
/* At the point this routine is called, the value in the hdd config /* At the point this routine is called, the value in the hdd config
table has already been updated */ * table has already been updated
*/
sme_update_dfs_scan_mode(pHddCtx->hHal, 0, sme_update_dfs_scan_mode(pHddCtx->hHal, 0,
pHddCtx->config->allowDFSChannelRoam); pHddCtx->config->allowDFSChannelRoam);
} }
@@ -1051,8 +1065,9 @@ REG_TABLE_ENTRY g_registry_table[] = {
CFG_FAST_TRANSITION_ENABLED_NAME_MAX, CFG_FAST_TRANSITION_ENABLED_NAME_MAX,
cb_notify_set_fast_transition_enabled, 0), cb_notify_set_fast_transition_enabled, 0),
/* Variable to specify the delta/difference between the RSSI of current AP /* Variable to specify the delta/difference between the RSSI
* and roamable AP while roaming */ * of current AP and roamable AP while roaming
*/
REG_DYNAMIC_VARIABLE(CFG_ROAM_RSSI_DIFF_NAME, WLAN_PARAM_Integer, REG_DYNAMIC_VARIABLE(CFG_ROAM_RSSI_DIFF_NAME, WLAN_PARAM_Integer,
struct hdd_config, RoamRssiDiff, struct hdd_config, RoamRssiDiff,
VAR_FLAGS_OPTIONAL | VAR_FLAGS_OPTIONAL |
@@ -5962,7 +5977,8 @@ static QDF_STATUS hdd_convert_string_to_array(char *str, uint8_t *array,
int val; int val;
/* Increment length only if sscanf successfully extracted /* Increment length only if sscanf successfully extracted
* one element. Any other return value means error. * one element. Any other return value means error.
* Ignore it. */ * Ignore it.
*/
if (sscanf(s, format, &val) == 1) { if (sscanf(s, format, &val) == 1) {
array[*len] = (uint8_t) val; array[*len] = (uint8_t) val;
*len += 1; *len += 1;
@@ -6137,8 +6153,7 @@ static bool hdd_update_vht_cap_in_cfg(hdd_context_t *hdd_ctx)
status = false; status = false;
hdd_err("Couldn't pass WNI_VHT_SHORT_GI_80MHZ to CFG"); hdd_err("Couldn't pass WNI_VHT_SHORT_GI_80MHZ to CFG");
} }
/* Hardware is capable of doing /* Hardware is capable of doing 128K AMPDU in 11AC mode */
* 128K AMPDU in 11AC mode */
if (sme_cfg_set_int(hdd_ctx->hHal, if (sme_cfg_set_int(hdd_ctx->hHal,
WNI_CFG_VHT_AMPDU_LEN_EXPONENT, WNI_CFG_VHT_AMPDU_LEN_EXPONENT,
config->fVhtAmpduLenExponent) == config->fVhtAmpduLenExponent) ==