diff --git a/core/sap/inc/sap_api.h b/core/sap/inc/sap_api.h index 99257f83631d..2d6a5746df1c 100644 --- a/core/sap/inc/sap_api.h +++ b/core/sap/inc/sap_api.h @@ -194,7 +194,7 @@ typedef enum { typedef enum { eSAP_STATUS_SUCCESS, /* Success. */ eSAP_STATUS_FAILURE, /* General Failure. */ - /* Channel not selected during intial scan. */ + /* Channel not selected during initial scan. */ eSAP_START_BSS_CHANNEL_NOT_SELECTED, eSAP_ERROR_MAC_START_FAIL, /* Failed to start Infra BSS */ } eSapStatus; diff --git a/core/sap/src/sap_ch_select.c b/core/sap/src/sap_ch_select.c index 3e38fef593da..d29aa9f11f2c 100644 --- a/core/sap/src/sap_ch_select.c +++ b/core/sap/src/sap_ch_select.c @@ -562,7 +562,7 @@ uint8_t sap_select_preferred_channel_from_channel_list(uint8_t best_chnl, FUNCTION sap_chan_sel_init DESCRIPTION - Function sap_chan_sel_init allocates the memory, intializes the + Function sap_chan_sel_init allocates the memory, initializes the structures used by the channel selection algorithm DEPENDENCIES @@ -1737,7 +1737,7 @@ static void sap_chan_sel_exit(tSapChSelSpectInfo *pSpectInfoParams) FUNCTION sap_sort_chl_weight DESCRIPTION - Funtion to sort the channels with the least weight first for 20MHz channels + Function to sort the channels with the least weight first for 20MHz channels DEPENDENCIES NA. @@ -1784,7 +1784,7 @@ static void sap_sort_chl_weight(tSapChSelSpectInfo *pSpectInfoParams) } /** - * set_ht80_chl_bit() - to set availabe channel to ht80 channel bitmap + * set_ht80_chl_bit() - to set available channel to ht80 channel bitmap * @channel_bitmap: Pointer to the chan_bonding_bitmap structure * @spect_info_params: Pointer to the tSapChSelSpectInfo structure * @@ -1830,7 +1830,7 @@ static void set_ht80_chl_bit(chan_bonding_bitmap *channel_bitmap, * sap_sort_chl_weight_ht80() - to sort the channels with the least weight * @pSpectInfoParams: Pointer to the tSapChSelSpectInfo structure * - * Funtion to sort the channels with the least weight first for HT80 channels + * Function to sort the channels with the least weight first for HT80 channels * * Return: none */ @@ -1962,7 +1962,7 @@ static void sap_sort_chl_weight_ht80(tSapChSelSpectInfo *pSpectInfoParams) * sap_sort_chl_weight_vht160() - to sort the channels with the least weight * @pSpectInfoParams: Pointer to the tSapChSelSpectInfo structure * - * Funtion to sort the channels with the least weight first for VHT160 channels + * Function to sort the channels with the least weight first for VHT160 channels * * Return: none */ @@ -2157,7 +2157,7 @@ static void sap_allocate_max_weight_ht40_5_g( * sap_sort_chl_weight_ht40_24_g() - to sort channel with the least weight * @pSpectInfoParams: Pointer to the tSapChSelSpectInfo structure * - * Funtion to sort the channels with the least weight first for HT40 channels + * Function to sort the channels with the least weight first for HT40 channels * * Return: none */ @@ -2295,7 +2295,7 @@ static void sap_sort_chl_weight_ht40_24_g(tSapChSelSpectInfo *pSpectInfoParams, FUNCTION sap_sort_chl_weight_ht40_5_g DESCRIPTION - Funtion to sort the channels with the least weight first for HT40 channels + Function to sort the channels with the least weight first for HT40 channels DEPENDENCIES NA. @@ -2393,7 +2393,7 @@ static void sap_sort_chl_weight_ht40_5_g(tSapChSelSpectInfo *pSpectInfoParams) FUNCTION sap_sort_chl_weight_all DESCRIPTION - Funtion to sort the channels with the least weight first + Function to sort the channels with the least weight first DEPENDENCIES NA. diff --git a/core/sap/src/sap_fsm.c b/core/sap/src/sap_fsm.c index 14309d1129a8..d5667239fc6a 100644 --- a/core/sap/src/sap_fsm.c +++ b/core/sap/src/sap_fsm.c @@ -498,7 +498,7 @@ static void sap_get_cac_dur_dfs_region(struct sap_context *sap_ctx, if (*dfs_region != DFS_ETSI_REG) { QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_INFO, - FL("sapdfs: defult cac duration")); + FL("sapdfs: default cac duration")); return; } @@ -1060,7 +1060,7 @@ QDF_STATUS sap_goto_channel_sel(struct sap_context *sap_context, /* * In case of ACS req before start Bss, * return failure so that the calling - * fucntion can use the default channel. + * function can use the default channel. */ return QDF_STATUS_E_FAILURE; } else { diff --git a/core/sap/src/sap_module.c b/core/sap/src/sap_module.c index 23a4b2f2b64d..fec07e2d19d2 100644 --- a/core/sap/src/sap_module.c +++ b/core/sap/src/sap_module.c @@ -1171,7 +1171,7 @@ QDF_STATUS wlansap_deauth_sta(struct sap_context *sap_ctx, } /** - * wlansap_update_csa_channel_params() - fucntion to populate channel width and + * wlansap_update_csa_channel_params() - function to populate channel width and * bonding modes. * @sap_context: sap adapter context * @channel: target channel @@ -2490,7 +2490,7 @@ QDF_STATUS wlansap_acs_chselect(struct sap_context *sap_context, * * 2. Set third parameter to TRUE to indicate the * channel selection function to register a - * different scan callback fucntion to process + * different scan callback function to process * the results pre start BSS. */ qdf_status = sap_goto_channel_sel(sap_context, &sapEvent, true, false);