qcacmn: wmi: Fix misspellings

Address the following issues in the wmi folder:
CHECK: 'addres' may be misspelled - perhaps 'address'?
CHECK: 'COMAND' may be misspelled - perhaps 'COMMAND'?
CHECK: 'defintion' may be misspelled - perhaps 'definition'?
CHECK: 'happend' may be misspelled - perhaps 'happened'?
CHECK: 'managment' may be misspelled - perhaps 'management'?
CHECK: 'messsage' may be misspelled - perhaps 'message'?
CHECK: 'overriden' may be misspelled - perhaps 'overridden'?
CHECK: 'poiter' may be misspelled - perhaps 'pointer'?
CHECK: 'refering' may be misspelled - perhaps 'referring'?
CHECK: 'refrence' may be misspelled - perhaps 'reference'?
CHECK: 'shrinked' may be misspelled - perhaps 'shrunk'?
CHECK: 'succesfully' may be misspelled - perhaps 'successfully'?
CHECK: 'succesful' may be misspelled - perhaps 'successful'?

Change-Id: Ie97e4d83cc88a2610524b38adc3474cdd31170d9
CRs-Fixed: 2241590
This commit is contained in:
Jeff Johnson
2018-05-12 14:22:00 -07:00
committed by nshrivas
parent cfb7f32112
commit eea4516fd3
7 changed files with 28 additions and 28 deletions

View File

@@ -714,7 +714,7 @@ enum wmi_bcn_tx_rate_code {
* @intr_update: flag to check if need to update * @intr_update: flag to check if need to update
* required wma interface params * required wma interface params
* @intr_ssid: pointer to wma interface ssid * @intr_ssid: pointer to wma interface ssid
* @intr_flags: poiter to wma interface flags * @intr_flags: pointer to wma interface flags
* @requestor_id: to update requestor id * @requestor_id: to update requestor id
* @disable_hw_ack: to update disable hw ack flag * @disable_hw_ack: to update disable hw ack flag
* @info: to update channel info * @info: to update channel info
@@ -1137,7 +1137,7 @@ typedef struct {
* @tx_mcs_set: tx mcs * @tx_mcs_set: tx mcs
* @vht_capable: VHT capabalities * @vht_capable: VHT capabalities
* @tx_max_mcs_nss: max tx MCS and NSS * @tx_max_mcs_nss: max tx MCS and NSS
* @peer_bw_rxnss_override: Peer BW RX NSS overriden or not. * @peer_bw_rxnss_override: Peer BW RX NSS overridden or not.
* @is_pmf_enabled: PMF enabled * @is_pmf_enabled: PMF enabled
* @is_wme_set: WME enabled * @is_wme_set: WME enabled
* @qos_flag: QoS Flags * @qos_flag: QoS Flags
@@ -1390,7 +1390,7 @@ struct dbglog_params {
/** /**
* struct seg_hdr_info - header info * struct seg_hdr_info - header info
* @len: length * @len: length
* @msgref: message refrence * @msgref: message reference
* @segmentInfo: segment info * @segmentInfo: segment info
* @pad: padding * @pad: padding
*/ */
@@ -1472,7 +1472,7 @@ struct tx_send_params {
* @tx_params_valid: Flag that indicates if TX params are valid * @tx_params_valid: Flag that indicates if TX params are valid
* @use_6mbps: specify whether management frame to transmit should * @use_6mbps: specify whether management frame to transmit should
* use 6 Mbps rather than 1 Mbps min rate(for 5GHz band or P2P) * use 6 Mbps rather than 1 Mbps min rate(for 5GHz band or P2P)
* @tx_type: type of managment frame (determines what callback to use) * @tx_type: type of management frame (determines what callback to use)
*/ */
struct wmi_mgmt_params { struct wmi_mgmt_params {
void *tx_frame; void *tx_frame;
@@ -3142,7 +3142,7 @@ struct nan_req_params {
* @rc4_key: rc4 key * @rc4_key: rc4 key
* @rc4_key_len: rc4 key length * @rc4_key_len: rc4 key length
* @ip_id: NC id * @ip_id: NC id
* @ip_device_ip: NC IP addres * @ip_device_ip: NC IP address
* @ip_server_ip: Push server IP address * @ip_server_ip: Push server IP address
* @tcp_src_port: NC TCP port * @tcp_src_port: NC TCP port
* @tcp_dst_port: Push server TCP port * @tcp_dst_port: Push server TCP port
@@ -5283,7 +5283,7 @@ struct wmi_host_per_chain_rssi_stats {
* @peer_tx_rate: last tx data rate used for peer * @peer_tx_rate: last tx data rate used for peer
* @peer_rx_rate: last rx data rate used for peer * @peer_rx_rate: last rx data rate used for peer
* @currentper: Current PER * @currentper: Current PER
* @retries: Retries happend during transmission * @retries: Retries happened during transmission
* @txratecount: Maximum Aggregation Size * @txratecount: Maximum Aggregation Size
* @max4msframelen: Max4msframelen of tx rates used * @max4msframelen: Max4msframelen of tx rates used
* @totalsubframes: Total no of subframes * @totalsubframes: Total no of subframes

View File

@@ -1734,7 +1734,7 @@ void wmi_unified_register_module(enum wmi_target_type target_type,
void wmi_tlv_init(void); void wmi_tlv_init(void);
void wmi_non_tlv_init(void); void wmi_non_tlv_init(void);
#ifdef WMI_NON_TLV_SUPPORT #ifdef WMI_NON_TLV_SUPPORT
/* ONLY_NON_TLV_TARGET:TLV attach dummy function defintion for case when /* ONLY_NON_TLV_TARGET:TLV attach dummy function definition for case when
* driver supports only NON-TLV target (WIN mainline) */ * driver supports only NON-TLV target (WIN mainline) */
#define wmi_tlv_attach(x) qdf_print("TLV Unavailable\n") #define wmi_tlv_attach(x) qdf_print("TLV Unavailable\n")
#else #else

View File

@@ -151,7 +151,7 @@ enum WMI_HOST_TWT_COMMAND {
* wake_dura_us must be divided evenly by 256, * wake_dura_us must be divided evenly by 256,
* i.e., wake_dura_us % 256 == 0 * i.e., wake_dura_us % 256 == 0
* @sp_offset_us: this long time after TWT setup the 1st SP will start. * @sp_offset_us: this long time after TWT setup the 1st SP will start.
* @twt_cmd: cmd from enum WMI_HOST_TWT_COMAND * @twt_cmd: cmd from enum WMI_HOST_TWT_COMMAND
* @flag_bcast: 0 means Individual TWT, * @flag_bcast: 0 means Individual TWT,
* 1 means Broadcast TWT * 1 means Broadcast TWT
* @flag_trigger: 0 means non-Trigger-enabled TWT, * @flag_trigger: 0 means non-Trigger-enabled TWT,

View File

@@ -827,11 +827,11 @@ wmitlv_check_and_pad_tlvs(void *os_handle, void *param_struc_ptr,
/* Incoming structure size is greater than expected size /* Incoming structure size is greater than expected size
* then this needs shrinking for each element in the array */ * then this needs shrinking for each element in the array */
/* Find amount of bytes to be shrinked for one element */ /* Find amount of bytes to be shrunk for one element */
num_padding_bytes = tlv_size_diff * -1; num_padding_bytes = tlv_size_diff * -1;
/* Move subsequent elements of array up by number of bytes /* Move subsequent elements of array up by number of bytes
* to be shrinked for one element */ * to be shrunk for one element */
tlv_buf_ptr = buf_ptr; tlv_buf_ptr = buf_ptr;
for (i = 0; i < (num_of_elems - 1); i++) { for (i = 0; i < (num_of_elems - 1); i++) {
src_addr = src_addr =
@@ -852,7 +852,7 @@ wmitlv_check_and_pad_tlvs(void *os_handle, void *param_struc_ptr,
tag_struct_size; tag_struct_size;
} }
/* Move subsequent TLVs by number of bytes to be shrinked /* Move subsequent TLVs by number of bytes to be shrunk
* for all elements */ * for all elements */
if (param_buf_len > if (param_buf_len >
(buf_idx + curr_tlv_len)) { (buf_idx + curr_tlv_len)) {
@@ -872,7 +872,7 @@ wmitlv_check_and_pad_tlvs(void *os_handle, void *param_struc_ptr,
} }
/* Update the number of padding bytes to total number of /* Update the number of padding bytes to total number of
* bytes shrinked for all elements in the array */ * bytes shrunk for all elements in the array */
num_padding_bytes = num_padding_bytes =
num_padding_bytes * num_of_elems; num_padding_bytes * num_of_elems;

View File

@@ -5396,7 +5396,7 @@ QDF_STATUS wmi_extract_ext_tbttoffset_num_vdevs(void *wmi_hdl, void *evt_buf,
* wmi_extract_tbttoffset_update_params() - extract tbtt offset update param * wmi_extract_tbttoffset_update_params() - extract tbtt offset update param
* @wmi_handle: wmi handle * @wmi_handle: wmi handle
* @param evt_buf: pointer to event buffer * @param evt_buf: pointer to event buffer
* @param idx: Index refering to a vdev * @param idx: Index referring to a vdev
* @param tbtt_param: Pointer to tbttoffset event param * @param tbtt_param: Pointer to tbttoffset event param
* *
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure * Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
@@ -5417,7 +5417,7 @@ QDF_STATUS wmi_extract_tbttoffset_update_params(void *wmi_hdl, void *evt_buf,
* wmi_extract_ext_tbttoffset_update_params() - extract tbtt offset update param * wmi_extract_ext_tbttoffset_update_params() - extract tbtt offset update param
* @wmi_handle: wmi handle * @wmi_handle: wmi handle
* @param evt_buf: pointer to event buffer * @param evt_buf: pointer to event buffer
* @param idx: Index refering to a vdev * @param idx: Index referring to a vdev
* @param tbtt_param: Pointer to tbttoffset event param * @param tbtt_param: Pointer to tbttoffset event param
* *
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure * Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure

View File

@@ -840,7 +840,7 @@ send_pdev_utf_cmd_non_tlv(wmi_unified_t wmi_handle,
while (param->len) { while (param->len) {
if (param->len > MAX_WMI_UTF_LEN) if (param->len > MAX_WMI_UTF_LEN)
chunkLen = MAX_WMI_UTF_LEN; /* MAX messsage.. */ chunkLen = MAX_WMI_UTF_LEN; /* MAX message.. */
else else
chunkLen = param->len; chunkLen = param->len;
@@ -939,7 +939,7 @@ send_pdev_qvit_cmd_non_tlv(wmi_unified_t wmi_handle,
while (param->len) { while (param->len) {
if (param->len > MAX_WMI_QVIT_LEN) if (param->len > MAX_WMI_QVIT_LEN)
chunkLen = MAX_WMI_QVIT_LEN; /* MAX messsage.. */ chunkLen = MAX_WMI_QVIT_LEN; /* MAX message.. */
else else
chunkLen = param->len; chunkLen = param->len;
@@ -4283,7 +4283,7 @@ send_pdev_fips_cmd_non_tlv(wmi_unified_t wmi_handle,
int c; int c;
/* Checking if kmalloc is succesful to allocate space */ /* Checking if kmalloc is successful to allocate space */
if (key_unaligned == NULL) if (key_unaligned == NULL)
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;
/* Checking if space is aligned */ /* Checking if space is aligned */
@@ -4306,7 +4306,7 @@ send_pdev_fips_cmd_non_tlv(wmi_unified_t wmi_handle,
DUMP_PREFIX_NONE, DUMP_PREFIX_NONE,
16, 1, key_aligned, param->key_len, true); 16, 1, key_aligned, param->key_len, true);
/* Checking if kmalloc is succesful to allocate space */ /* Checking if kmalloc is successful to allocate space */
if (data_unaligned == NULL) if (data_unaligned == NULL)
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;
/* Checking of space is aligned */ /* Checking of space is aligned */
@@ -6149,7 +6149,7 @@ static QDF_STATUS extract_fips_event_data_non_tlv(wmi_unified_t wmi_handle,
u_int8_t *data_aligned = NULL; u_int8_t *data_aligned = NULL;
int c; int c;
/* Checking if kmalloc does succesful allocation */ /* Checking if kmalloc does successful allocation */
if (data_unaligned == NULL) if (data_unaligned == NULL)
return QDF_STATUS_E_FAILURE; return QDF_STATUS_E_FAILURE;
@@ -6240,7 +6240,7 @@ static QDF_STATUS extract_tbttoffset_num_vdevs_non_tlv(void *wmi_hdl,
* extract_tbttoffset_update_params_non_tlv() - extract tbtt offset update param * extract_tbttoffset_update_params_non_tlv() - extract tbtt offset update param
* @wmi_handle: wmi handle * @wmi_handle: wmi handle
* @param evt_buf: pointer to event buffer * @param evt_buf: pointer to event buffer
* @param idx: Index refering to a vdev * @param idx: Index referring to a vdev
* @param tbtt_param: Pointer to tbttoffset event param * @param tbtt_param: Pointer to tbttoffset event param
* *
* Return: 0 for success or error code * Return: 0 for success or error code

View File

@@ -1122,7 +1122,7 @@ send_pdev_utf_cmd_tlv(wmi_unified_t wmi_handle,
while (param->len) { while (param->len) {
if (param->len > MAX_WMI_UTF_LEN) if (param->len > MAX_WMI_UTF_LEN)
chunk_len = MAX_WMI_UTF_LEN; /* MAX messsage */ chunk_len = MAX_WMI_UTF_LEN; /* MAX message */
else else
chunk_len = param->len; chunk_len = param->len;
@@ -6853,7 +6853,7 @@ static QDF_STATUS send_dbs_scan_sel_params_cmd_tlv(wmi_unified_t wmi_handle,
* list that need to be applied to the scan results to form the * list that need to be applied to the scan results to form the
* probable candidates for roaming. * probable candidates for roaming.
* *
* Return: Return success upon succesfully passing the * Return: Return success upon successfully passing the
* parameters to the firmware, otherwise failure. * parameters to the firmware, otherwise failure.
*/ */
static QDF_STATUS send_roam_scan_filter_cmd_tlv(wmi_unified_t wmi_handle, static QDF_STATUS send_roam_scan_filter_cmd_tlv(wmi_unified_t wmi_handle,
@@ -13087,7 +13087,7 @@ send_pdev_qvit_cmd_tlv(wmi_unified_t wmi_handle,
while (param->len) { while (param->len) {
if (param->len > MAX_WMI_QVIT_LEN) if (param->len > MAX_WMI_QVIT_LEN)
chunk_len = MAX_WMI_QVIT_LEN; /* MAX messsage */ chunk_len = MAX_WMI_QVIT_LEN; /* MAX message */
else else
chunk_len = param->len; chunk_len = param->len;
@@ -14025,7 +14025,7 @@ static QDF_STATUS fips_align_data_be(wmi_unified_t wmi_handle,
data_unaligned = qdf_mem_malloc( data_unaligned = qdf_mem_malloc(
sizeof(u_int8_t)*param->data_len + FIPS_ALIGN); sizeof(u_int8_t)*param->data_len + FIPS_ALIGN);
/* Checking if kmalloc is succesful to allocate space */ /* Checking if kmalloc is successful to allocate space */
if (key_unaligned == NULL) if (key_unaligned == NULL)
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;
/* Checking if space is aligned */ /* Checking if space is aligned */
@@ -14048,7 +14048,7 @@ static QDF_STATUS fips_align_data_be(wmi_unified_t wmi_handle,
DUMP_PREFIX_NONE, DUMP_PREFIX_NONE,
16, 1, key_aligned, param->key_len, true); 16, 1, key_aligned, param->key_len, true);
/* Checking if kmalloc is succesful to allocate space */ /* Checking if kmalloc is successful to allocate space */
if (data_unaligned == NULL) if (data_unaligned == NULL)
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;
/* Checking of space is aligned */ /* Checking of space is aligned */
@@ -18450,7 +18450,7 @@ static QDF_STATUS extract_ext_tbttoffset_num_vdevs_tlv(void *wmi_hdl,
* extract_tbttoffset_update_params_tlv() - extract tbtt offset param * extract_tbttoffset_update_params_tlv() - extract tbtt offset param
* @wmi_handle: wmi handle * @wmi_handle: wmi handle
* @param evt_buf: pointer to event buffer * @param evt_buf: pointer to event buffer
* @param idx: Index refering to a vdev * @param idx: Index referring to a vdev
* @param tbtt_param: Pointer to tbttoffset event param * @param tbtt_param: Pointer to tbttoffset event param
* *
* Return: QDF_STATUS_SUCCESS for success or error code * Return: QDF_STATUS_SUCCESS for success or error code
@@ -18484,7 +18484,7 @@ static QDF_STATUS extract_tbttoffset_update_params_tlv(void *wmi_hdl,
* extract_ext_tbttoffset_update_params_tlv() - extract ext tbtt offset param * extract_ext_tbttoffset_update_params_tlv() - extract ext tbtt offset param
* @wmi_handle: wmi handle * @wmi_handle: wmi handle
* @param evt_buf: pointer to event buffer * @param evt_buf: pointer to event buffer
* @param idx: Index refering to a vdev * @param idx: Index referring to a vdev
* @param tbtt_param: Pointer to tbttoffset event param * @param tbtt_param: Pointer to tbttoffset event param
* *
* Return: QDF_STATUS_SUCCESS for success or error code * Return: QDF_STATUS_SUCCESS for success or error code
@@ -20422,7 +20422,7 @@ static QDF_STATUS fips_conv_data_be(uint32_t data_len, uint8_t *data)
data_unaligned = qdf_mem_malloc(((sizeof(uint8_t) * data_len) + data_unaligned = qdf_mem_malloc(((sizeof(uint8_t) * data_len) +
FIPS_ALIGN)); FIPS_ALIGN));
/* Assigning unaligned space to copy the data */ /* Assigning unaligned space to copy the data */
/* Checking if kmalloc does succesful allocation */ /* Checking if kmalloc does successful allocation */
if (data_unaligned == NULL) if (data_unaligned == NULL)
return QDF_STATUS_E_FAILURE; return QDF_STATUS_E_FAILURE;