diff --git a/core/sme/inc/csr_api.h b/core/sme/inc/csr_api.h index 4fc08090226d..6f2c2a973aa4 100644 --- a/core/sme/inc/csr_api.h +++ b/core/sme/inc/csr_api.h @@ -639,7 +639,7 @@ typedef enum { eCSR_ASSOC_STATE_TYPE_INFRA_DISCONNECTING, /* NAN Data interface not started */ eCSR_CONNECT_STATE_TYPE_NDI_NOT_STARTED, - /* NAN Data inteface started */ + /* NAN Data interface started */ eCSR_CONNECT_STATE_TYPE_NDI_STARTED, } eCsrConnectState; diff --git a/core/sme/inc/csr_internal.h b/core/sme/inc/csr_internal.h index f196a91b4d59..bac29d2021e0 100644 --- a/core/sme/inc/csr_internal.h +++ b/core/sme/inc/csr_internal.h @@ -127,7 +127,7 @@ enum csr_roam_reason { eCsrHddIssuedReassocToSameAP, eCsrSmeIssuedReassocToSameAP, eCsrSmeIssuedReassocToDiffAP, - /* roaming becuase someone asked us to deauth and stay disassociated. */ + /* roaming because someone asked us to deauth and stay disassociated. */ eCsrForcedDeauth, /* will be issued by Handoff logic to disconect from current AP */ eCsrSmeIssuedDisassocForHandoff, diff --git a/core/sme/inc/sme_api.h b/core/sme/inc/sme_api.h index 72b4f13fa64f..055c52d7dde6 100644 --- a/core/sme/inc/sme_api.h +++ b/core/sme/inc/sme_api.h @@ -979,9 +979,9 @@ bool sme_neighbor_middle_of_roaming(tHalHandle hHal, uint8_t sessionId); /** - * sme_enable_uapsd_for_ac() - enable uapsd for access catagory request to WMA + * sme_enable_uapsd_for_ac() - enable uapsd for access category request to WMA * @sta_id: station id - * @ac: access catagory + * @ac: access category * @tid: tid value * @pri: user priority * @srvc_int: service interval @@ -1002,9 +1002,9 @@ QDF_STATUS sme_enable_uapsd_for_ac(uint8_t sta_id, uint32_t delay_interval); /** - * sme_disable_uapsd_for_ac() - disable uapsd access catagory request to WMA + * sme_disable_uapsd_for_ac() - disable uapsd access category request to WMA * @sta_id: station id - * @ac: access catagory + * @ac: access category * @sessionId: session id * * Return: QDF status diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index fee0f7ceb214..118a0fe766ca 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -5112,7 +5112,7 @@ QDF_STATUS sme_register_mgmt_frame_ind_callback(tHalHandle hal, /* * sme_RegisterMgtFrame() - - * To register managment frame of specified type and subtype. + * To register management frame of specified type and subtype. * * frameType - type of the frame that needs to be passed to HDD. * matchData - data which needs to be matched before passing frame @@ -5170,7 +5170,7 @@ QDF_STATUS sme_register_mgmt_frame(tHalHandle hHal, uint8_t sessionId, /* * sme_DeregisterMgtFrame() - - * To De-register managment frame of specified type and subtype. + * To De-register management frame of specified type and subtype. * * frameType - type of the frame that needs to be passed to HDD. * matchData - data which needs to be matched before passing frame @@ -8439,7 +8439,7 @@ void sme_update_enable_ssr(tHalHandle hHal, bool enableSSR) status = sme_acquire_global_lock(&pMac->sme); if (QDF_IS_STATUS_SUCCESS(status)) { sme_debug("SSR level is changed %d", enableSSR); - /* not serializing this messsage, as this is only going + /* not serializing this message, as this is only going * to set a variable in WMA/WDI */ WMA_SetEnableSSR(enableSSR); @@ -9560,7 +9560,7 @@ QDF_STATUS sme_notify_ht2040_mode(tHalHandle hHal, uint16_t staId, } QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG, - "%s: Notifed FW about OP mode: %d for staId=%d", + "%s: Notified FW about OP mode: %d for staId=%d", __func__, pHtOpMode->opMode, staId); return QDF_STATUS_SUCCESS; @@ -13892,7 +13892,7 @@ QDF_STATUS sme_ht40_stop_obss_scan(tHalHandle hal, uint32_t vdev_id) * to FW * * Return: QDF_STATUS if SME update mimo power save - * configuration sucsess else failue status + * configuration success else failure status */ QDF_STATUS sme_update_mimo_power_save(tHalHandle hal, uint8_t is_ht_smps_enabled, @@ -14242,7 +14242,7 @@ void sme_set_chan_info_callback(tHalHandle hal_handle, * @params: adaptive_dwelltime_params config * * Return: QDF_STATUS if adaptive dwell time update - * configuration sucsess else failure status + * configuration success else failure status */ QDF_STATUS sme_set_adaptive_dwelltime_config(tHalHandle hal, struct adaptive_dwelltime_params *params) diff --git a/core/sme/src/common/sme_ft_api.c b/core/sme/src/common/sme_ft_api.c index 5420e5afe499..d33a31281613 100644 --- a/core/sme/src/common/sme_ft_api.c +++ b/core/sme/src/common/sme_ft_api.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -116,7 +116,7 @@ bool sme_get_ft_pre_auth_state(tHalHandle hHal, uint32_t sessionId) * @ft_ies_length: length of FT IEs * * Each time the supplicant sends down the FT IEs to the driver. This function - * is called in SME. This fucntion packages and sends the FT IEs to PE. + * is called in SME. This function packages and sends the FT IEs to PE. * * Return: none */ diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c index 2bf47dc1ff72..81137c582712 100644 --- a/core/sme/src/csr/csr_api_roam.c +++ b/core/sme/src/csr/csr_api_roam.c @@ -81,7 +81,7 @@ /* packet dump timer duration of 60 secs */ #define PKT_DUMP_TIMER_DURATION 60 -/* Choose the largest possible value that can be accomodates in 8 bit signed */ +/* Choose the largest possible value that can be accommodated in 8 bit signed */ /* variable. */ #define SNR_HACK_BMPS (127) @@ -10534,7 +10534,7 @@ void csr_roaming_state_msg_processor(tpAniSirGlobal pMac, void *pMsgBuf) (tSirSmeStartBssRsp *) pSmeRsp); break; /* In case CSR issues STOP_BSS, we need to tell HDD about peer departed - * becasue PE is removing them + * because PE is removing them */ case eWNI_SME_IBSS_PEER_DEPARTED_IND: pIbssPeerInd = (tSmeIbssPeerInd *) pSmeRsp; @@ -15538,7 +15538,7 @@ QDF_STATUS csr_send_join_req_msg(tpAniSirGlobal pMac, uint32_t sessionId, /* A profile can not be both ESE and 11R. But an 802.11R AP * may be advertising support for ESE as well. So if we are * associating Open or explicitly ESE then we will get ESE. - * If we are associating explictly 11R only then we will get + * If we are associating explicitly 11R only then we will get * 11R. */ if ((csr_is_profile_ese(pProfile) || diff --git a/core/sme/src/csr/csr_util.c b/core/sme/src/csr/csr_util.c index d90a1c0bb598..32e3fa8760fd 100644 --- a/core/sme/src/csr/csr_util.c +++ b/core/sme/src/csr/csr_util.c @@ -3311,7 +3311,7 @@ static void csr_check_sae_auth(tpAniSirGlobal mac_ctx, #endif /** - * csr_get_rsn_information() - to get RSN infomation + * csr_get_rsn_information() - to get RSN information * @hal: pointer to HAL * @auth_type: auth type * @encr_type: encryption type @@ -4049,7 +4049,7 @@ uint8_t csr_construct_rsn_ie(tHalHandle hHal, uint32_t sessionId, #ifdef FEATURE_WLAN_WAPI /** - * csr_get_wapi_information() - to get WAPI infomation + * csr_get_wapi_information() - to get WAPI information * @hal: pointer to HAL * @auth_type: auth type * @encr_type: encryption type diff --git a/core/sme/src/qos/sme_qos.c b/core/sme/src/qos/sme_qos.c index 00e22a353a17..bd0640435f1e 100644 --- a/core/sme/src/qos/sme_qos.c +++ b/core/sme/src/qos/sme_qos.c @@ -7438,10 +7438,10 @@ void sme_qos_cleanup_ctrl_blk_for_handoff(tpAniSirGlobal pMac, * @sessionId: sessionId returned by sme_open_session. * * The SME QoS API exposed to HDD to check if TS info ack policy field can be - * set to "HT-immediate block acknowledgement" + * set to "HT-immediate block acknowledgment" * * Return: true - Current Association is HT association and so TS info ack - * policy can be set to "HT-immediate block acknowledgement" + * policy can be set to "HT-immediate block acknowledgment" */ bool sme_qos_is_ts_info_ack_policy_valid(tpAniSirGlobal pMac, struct sme_qos_wmmtspecinfo *pQoSInfo,