diff --git a/hal/wifi3.0/hal_api_mon.h b/hal/wifi3.0/hal_api_mon.h index 9388f64515..ccb0cb767b 100644 --- a/hal/wifi3.0/hal_api_mon.h +++ b/hal/wifi3.0/hal_api_mon.h @@ -477,7 +477,7 @@ hal_rx_status_get_next_tlv(uint8_t *rx_tlv) { tlv_len = HAL_RX_GET_USER_TLV32_LEN(rx_tlv); tlv_tag = HAL_RX_GET_USER_TLV32_TYPE(rx_tlv); - /* The actual length of PPDU_END is the combined lenght of many PHY + /* The actual length of PPDU_END is the combined length of many PHY * TLVs that follow. Skip the TLV header and * rx_rxpcu_classification_overview that follows the header to get to * next TLV. diff --git a/hif/src/ce/ce_main.c b/hif/src/ce/ce_main.c index f9d04b1ce9..5f81be832a 100644 --- a/hif/src/ce/ce_main.c +++ b/hif/src/ce/ce_main.c @@ -1849,7 +1849,7 @@ hif_pci_ce_send_done(struct CE_handle *copyeng, void *ce_context, * @nbytes: number of bytes in the message * @pipe_info: used for the pipe_number info * - * Checks the packet length, configures the lenght in the netbuff, + * Checks the packet length, configures the length in the netbuff, * and calls the upper layer callback. * * return: None diff --git a/os_if/linux/tdls/inc/wlan_cfg80211_tdls.h b/os_if/linux/tdls/inc/wlan_cfg80211_tdls.h index 42adf4fec7..92ba83d781 100644 --- a/os_if/linux/tdls/inc/wlan_cfg80211_tdls.h +++ b/os_if/linux/tdls/inc/wlan_cfg80211_tdls.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2017-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 @@ -176,7 +176,7 @@ int wlan_cfg80211_tdls_get_all_peers(struct wlan_objmgr_vdev *vdev, * @status_code: status to be incuded in the frame * @peer_capability: peer capability information * @buf: additional IEs to be included - * @len: lenght of additional Ies + * @len: length of additional Ies * @oper: cfg80211 TDLS operation * * Return: 0 on success; negative errno otherwise diff --git a/qdf/linux/src/i_qdf_nbuf.h b/qdf/linux/src/i_qdf_nbuf.h index 14664a620f..b03b516828 100644 --- a/qdf/linux/src/i_qdf_nbuf.h +++ b/qdf/linux/src/i_qdf_nbuf.h @@ -1750,7 +1750,7 @@ static inline bool __qdf_nbuf_tso_tcp_v6(struct sk_buff *skb) } /** - * __qdf_nbuf_l2l3l4_hdr_len() - return the l2+l3+l4 hdr lenght of the skb + * __qdf_nbuf_l2l3l4_hdr_len() - return the l2+l3+l4 hdr length of the skb * @skb: sk buff * * Return: size of l2+l3+l4 header length diff --git a/qdf/linux/src/i_qdf_types.h b/qdf/linux/src/i_qdf_types.h index 395ddef41e..115aa54c16 100644 --- a/qdf/linux/src/i_qdf_types.h +++ b/qdf/linux/src/i_qdf_types.h @@ -270,7 +270,7 @@ typedef uint32_t ath_dma_addr_t; /** * typedef __qdf_segment_t - segment of memory * @daddr: dma address - * @len: lenght of segment + * @len: length of segment */ typedef struct __qdf_segment { dma_addr_t daddr; diff --git a/umac/cmn_services/policy_mgr/inc/wlan_policy_mgr_api.h b/umac/cmn_services/policy_mgr/inc/wlan_policy_mgr_api.h index 9eeb9e08e8..1efd27777a 100644 --- a/umac/cmn_services/policy_mgr/inc/wlan_policy_mgr_api.h +++ b/umac/cmn_services/policy_mgr/inc/wlan_policy_mgr_api.h @@ -303,7 +303,7 @@ uint8_t policy_mgr_get_channel(struct wlan_objmgr_psoc *psoc, * @psoc: PSOC object information * @mode: Device mode * @pcl_channels: PCL channels - * @len: lenght of the PCL + * @len: length of the PCL * @pcl_weight: Weights of the PCL * @weight_len: Max length of the weights list * @@ -532,7 +532,7 @@ bool policy_mgr_is_ibss_conn_exist(struct wlan_objmgr_psoc *psoc, /** * policy_mgr_get_conn_info() - get the current connections list - * @len: lenght of the list + * @len: length of the list * * This function returns a pointer to the current connections * list diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index 3072c3cf50..426751cfc1 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -4044,7 +4044,7 @@ struct remove_beacon_filter_params { /** * struct mgmt_params - Mgmt params * @vdev_id: vdev id - * @buf_len: lenght of frame buffer + * @buf_len: length of frame buffer * @wbuf: frame buffer */ struct mgmt_params { @@ -4461,7 +4461,7 @@ struct proxy_ast_reserve_params { * @key: pointer to key * @key_len: length of key * @data: pointer data buf - * @data_len: lenght of data buf + * @data_len: length of data buf * @mode: mode * @op: operation * @pdev_id: pdev_id for identifying the MAC @@ -7875,7 +7875,7 @@ struct wmi_host_dcs_interference_param { * struct wmi_host_fips_event_param: FIPS event param * @pdev_id: pdev id * @error_status: Error status: 0 (no err), 1, or OPER_TIMEOUR - * @data_len: FIPS data lenght + * @data_len: FIPS data length * @data: pointer to data */ struct wmi_host_fips_event_param { diff --git a/wmi/inc/wmi_unified_reg_api.h b/wmi/inc/wmi_unified_reg_api.h index 8db288d5d9..ef147d6d52 100644 --- a/wmi/inc/wmi_unified_reg_api.h +++ b/wmi/inc/wmi_unified_reg_api.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2017-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 @@ -88,7 +88,7 @@ QDF_STATUS wmi_unified_set_user_country_code_cmd_send(void *wmi_hdl, * @wmi_hdl: wmi handle. * @evt_buf: event buffer * @ch_avoid_ind: buffer pointer to save the event processed data - * @len: lenght of buffer + * @len: length of buffer * * Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure */ diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 435e423b04..119132f8e0 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -13363,7 +13363,7 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg, /* copy_hw_mode_id_in_init_cmd() - Helper routine to copy hw_mode in init cmd * @wmi_handle: pointer to wmi handle * @buf_ptr: pointer to current position in init command buffer - * @len: pointer to length. This will be updated with current lenght of cmd + * @len: pointer to length. This will be updated with current length of cmd * @param: point host parameters for init command * * Return: Updated pointer of buf_ptr.