ソースを参照

qcacld-3.0: wma: Fix misspellings

Address the following issues in the core/wma folder:
CHECK: 'accomodate' may be misspelled - perhaps 'accommodate'?
CHECK: 'acess' may be misspelled - perhaps 'access'?
CHECK: 'catagory' may be misspelled - perhaps 'category'?
CHECK: 'chnage' may be misspelled - perhaps 'change'?
CHECK: 'defintions' may be misspelled - perhaps 'definitions'?
CHECK: 'Intialize' may be misspelled - perhaps 'Initialize'?
CHECK: 'Intial' may be misspelled - perhaps 'Initial'?
CHECK: 'proces' may be misspelled - perhaps 'process'?
CHECK: 'progess' may be misspelled - perhaps 'progress'?
CHECK: 'refrence' may be misspelled - perhaps 'reference'?
CHECK: 'Relevent' may be misspelled - perhaps 'Relevant'?
CHECK: 'reponse' may be misspelled - perhaps 'response'?

Change-Id: Idc314b5a3a6945211581e2135cfaf9d0d5f69457
CRs-Fixed: 2241946
Jeff Johnson 7 年 前
コミット
c97816c244

+ 2 - 2
core/wma/inc/wma.h

@@ -351,7 +351,7 @@ enum ds_mode {
 #define WMA_P2P_WFA_VER 0x09    /* ver 1.0 */
 #define WMA_WSC_OUI { 0x00, 0x50, 0xF2 } /* Microsoft WSC OUI byte */
 
-/* P2P Sub element defintions (according to table 5 of Wifi's P2P spec) */
+/* P2P Sub element definitions (according to table 5 of Wifi's P2P spec) */
 #define WMA_P2P_SUB_ELEMENT_STATUS                    0
 #define WMA_P2P_SUB_ELEMENT_MINOR_REASON              1
 #define WMA_P2P_SUB_ELEMENT_CAPABILITY                2
@@ -1761,7 +1761,7 @@ enum wma_cfg_cmd_id {
 
 /**
  * struct wma_trigger_uapsd_params - trigger uapsd parameters
- * @wmm_ac: wmm access catagory
+ * @wmm_ac: wmm access category
  * @user_priority: user priority
  * @service_interval: service interval
  * @suspend_interval: suspend interval

+ 5 - 5
core/wma/inc/wma_if.h

@@ -1019,10 +1019,10 @@ typedef tSirRetStatus (*tHalMsgCallback)(tpAniSirGlobal pMac, uint32_t mesgId,
 /**
  * struct tEdcaParams - EDCA parameters
  * @bssIdx: BSSID index
- * @acbe: best effort access catagory
- * @acbk: Background access catagory
- * @acvi: video access catagory
- * @acvo: voice access catagory
+ * @acbe: best effort access category
+ * @acbk: Background access category
+ * @acvi: video access category
+ * @acvo: voice access category
  * @mu_edca_params: flag to indicate MU EDCA
  */
 typedef struct {
@@ -1421,7 +1421,7 @@ typedef struct sBeaconFilterMsg {
  * @offset: offset
  * @value: value
  * @bitMask: BIT mask
- * @ref: refrence
+ * @ref: reference
  */
 typedef struct sEidByteInfo {
 	uint8_t offset;

+ 5 - 5
core/wma/src/wma_dev_if.c

@@ -4760,7 +4760,7 @@ send_rsp:
 #endif
 
 /**
- * wma_send_bss_color_change_enable() - send bss color chnage enable cmd.
+ * wma_send_bss_color_change_enable() - send bss color change enable cmd.
  * @wma: wma handle
  * @params: add sta params
  *
@@ -5076,7 +5076,7 @@ out:
 }
 
 /**
- * wma_delete_sta_req_ap_mode() - proces delete sta request from UMAC in AP mode
+ * wma_delete_sta_req_ap_mode() - process delete sta request from UMAC in AP mode
  * @wma: wma handle
  * @del_sta: delete sta params
  *
@@ -5145,7 +5145,7 @@ send_del_rsp:
 
 #ifdef FEATURE_WLAN_TDLS
 /**
- * wma_del_tdls_sta() - proces delete sta request from UMAC in TDLS
+ * wma_del_tdls_sta() - process delete sta request from UMAC in TDLS
  * @wma: wma handle
  * @del_sta: delete sta params
  *
@@ -5225,7 +5225,7 @@ send_del_rsp:
 #endif
 
 /**
- * wma_delete_sta_req_sta_mode() - proces delete sta request from UMAC
+ * wma_delete_sta_req_sta_mode() - process delete sta request from UMAC
  * @wma: wma handle
  * @params: delete sta params
  *
@@ -5403,7 +5403,7 @@ void wma_delete_sta(tp_wma_handle wma, tpDeleteStaParams del_sta)
  * Delete BSS in case of ROAM_HO_FAIL processing is handled separately in
  * this routine. It needs to be done without sending any commands to firmware
  * because firmware has already stopped and deleted peer and vdev is down.
- * Relevent logic is aggregated from other routines. It changes the host
+ * Relevant logic is aggregated from other routines. It changes the host
  * data structures without sending VDEV_STOP, PEER_FLUSH_TIDS, PEER_DELETE
  * and VDEV_DOWN commands to firmware.
  *

+ 3 - 3
core/wma/src/wma_features.c

@@ -243,7 +243,7 @@ QDF_STATUS wma_send_snr_request(tp_wma_handle wma_handle,
 {
 	tAniGetRssiReq *pRssiBkUp = NULL;
 
-	/* command is in progess */
+	/* command is in progress */
 	if (NULL != wma_handle->pGetRssiReq)
 		return QDF_STATUS_SUCCESS;
 
@@ -295,7 +295,7 @@ QDF_STATUS wma_get_snr(tAniGetSnrReq *psnr_req)
 	}
 
 	intr = &wma_handle->interfaces[psnr_req->sessionId];
-	/* command is in progess */
+	/* command is in progress */
 	if (NULL != intr->psnr_req) {
 		WMA_LOGE("%s : previous snr request is pending", __func__);
 		return QDF_STATUS_SUCCESS;
@@ -3104,7 +3104,7 @@ void wma_aggr_qos_req(tp_wma_handle wma,
 {
 	wmi_unified_aggr_qos_cmd(wma->wmi_handle,
 			   (struct aggr_add_ts_param *)pAggrQosRspMsg);
-	/* send reponse to upper layers from here only. */
+	/* send response to upper layers from here only. */
 	wma_send_msg_high_priority(wma, WMA_AGGR_QOS_RSP, pAggrQosRspMsg, 0);
 }
 

+ 1 - 1
core/wma/src/wma_main.c

@@ -4130,7 +4130,7 @@ static void wma_send_time_stamp_sync_cmd(void *data)
 
 /**
  * wma_start() - wma start function.
- *               Intialize event handlers and timers.
+ *               Initialize event handlers and timers.
  *
  * Return: 0 on success, QDF Error on failure
  */

+ 2 - 2
core/wma/src/wma_mgmt.c

@@ -1509,7 +1509,7 @@ void wma_update_cfg_params(tp_wma_handle wma, struct scheduler_msg *cfgParam)
 	uint32_t param_id;
 	uint32_t cfg_val;
 	QDF_STATUS ret;
-	/* get mac to acess CFG data base */
+	/* get mac to access CFG data base */
 	struct sAniSirGlobal *pmac;
 
 	switch (cfgParam->bodyval) {
@@ -2524,7 +2524,7 @@ static QDF_STATUS wma_store_bcn_tmpl(tp_wma_handle wma, uint8_t vdev_id,
 		tim_ie = (struct beacon_tim_ie *)
 				(&bcn_payload[bcn->tim_ie_offset]);
 		/*
-		 * Intial Value of bcn->dtim_count will be 0.
+		 * Initial Value of bcn->dtim_count will be 0.
 		 * But if the beacon gets updated then current dtim
 		 * count will be restored
 		 */

+ 3 - 3
core/wma/src/wma_power.c

@@ -554,7 +554,7 @@ static QDF_STATUS wma_set_force_sleep(tp_wma_handle wma,
 {
 	QDF_STATUS ret;
 	uint32_t cfg_data_val = 0;
-	/* get mac to acess CFG data base */
+	/* get mac to access CFG data base */
 	struct sAniSirGlobal *mac = cds_get_context(QDF_MODULE_ID_PE);
 	uint32_t rx_wake_policy;
 	uint32_t tx_wake_threshold;
@@ -1778,7 +1778,7 @@ static void wma_set_vdev_suspend_dtim(tp_wma_handle wma, uint8_t vdev_id)
 		uint32_t max_mod_dtim;
 		uint32_t beacon_interval_mod;
 
-		/* get mac to acess CFG data base */
+		/* get mac to access CFG data base */
 		struct sAniSirGlobal *mac = cds_get_context(QDF_MODULE_ID_PE);
 
 		if (!mac) {
@@ -1945,7 +1945,7 @@ static void wma_set_vdev_resume_dtim(tp_wma_handle wma, uint8_t vdev_id)
 	    (iface->restore_dtim_setting)) {
 		QDF_STATUS ret;
 		uint32_t cfg_data_val = 0;
-		/* get mac to acess CFG data base */
+		/* get mac to access CFG data base */
 		struct sAniSirGlobal *mac = cds_get_context(QDF_MODULE_ID_PE);
 
 		if (!mac) {

+ 1 - 1
core/wma/src/wma_scan_roam.c

@@ -1038,7 +1038,7 @@ void wma_roam_scan_fill_scan_params(tp_wma_handle wma_handle,
 		    && roam_req->ChannelCacheType != CHANNEL_LIST_STATIC) {
 			/* Roaming on DFS channels is supported and it is not
 			 * app channel list. It is ok to override homeAwayTime
-			 * to accomodate DFS dwell time in burst
+			 * to accommodate DFS dwell time in burst
 			 * duration.
 			 */
 			scan_params->burst_duration =