mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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
This commit is contained in:
parent
536249f659
commit
698eacd7a7
8 changed files with 21 additions and 21 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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) ||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue