qcacld-3.0: sme: Fix misspellings

Address the following issues in the core/sme folder:
CHECK 'accomodates' may be misspelled - perhaps 'accommodates'?
 (actually accommodated)
CHECK 'acknowledgement' may be misspelled - perhaps 'acknowledgment'?
CHECK 'becasue' may be misspelled - perhaps 'because'?
CHECK 'becuase' may be misspelled - perhaps 'because'?
CHECK 'catagory' may be misspelled - perhaps 'category'?
CHECK 'explictly' may be misspelled - perhaps 'explicitly'?
CHECK 'failue' may be misspelled - perhaps 'failure'?
CHECK 'fucntion' may be misspelled - perhaps 'function'?
CHECK 'infomation' may be misspelled - perhaps 'information'?
CHECK 'inteface' may be misspelled - perhaps 'interface'?
CHECK 'managment' may be misspelled - perhaps 'management'?
CHECK 'messsage' may be misspelled - perhaps 'message'?
CHECK 'Notifed' may be misspelled - perhaps 'Notified'?

As well as the following spotted during code review:
'sucsess' -> 'success'

Change-Id: Ieaa299d4dbc08c07f10aaf9d967336ac7b11d88d
CRs-Fixed: 2241947
diff --git a/core/sme/inc/csr_api.h b/core/sme/inc/csr_api.h
index 4fc0809..6f2c2a9 100644
--- a/core/sme/inc/csr_api.h
+++ b/core/sme/inc/csr_api.h
@@ -639,7 +639,7 @@
 	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 f196a91..bac29d2 100644
--- a/core/sme/inc/csr_internal.h
+++ b/core/sme/inc/csr_internal.h
@@ -127,7 +127,7 @@
 	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 72b4f13..055c52d 100644
--- a/core/sme/inc/sme_api.h
+++ b/core/sme/inc/sme_api.h
@@ -979,9 +979,9 @@
 						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 @@
 				      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 fee0f7c..118a0fe 100644
--- a/core/sme/src/common/sme_api.c
+++ b/core/sme/src/common/sme_api.c
@@ -5112,7 +5112,7 @@
 
 /*
  * 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 @@
 
 /*
  * 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 @@
 	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_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 @@
  * 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 @@
  * @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 5420e5a..d33a312 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 @@
  * @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 2bf47dc..81137c5 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 @@
 						(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 @@
 		/* 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 d90a1c0..32e3fa8 100644
--- a/core/sme/src/csr/csr_util.c
+++ b/core/sme/src/csr/csr_util.c
@@ -3311,7 +3311,7 @@
 #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 @@
 
 #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 00e22a3..bd06404 100644
--- a/core/sme/src/qos/sme_qos.c
+++ b/core/sme/src/qos/sme_qos.c
@@ -7438,10 +7438,10 @@
  * @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,