wifi: iwlwifi: fix spelling mistakes
PATCH v2 1/1 wifi: iwlwifi: fix spelling mistakes
Fix several spelling mistakes in the iwlwifi driver documentation and comments.
Reviewed-by Hanne-Lotta Mäenpää <[email protected]>
Signed-off-by Mouri Vance <[email protected]>
--- drivers/net/wireless/intel/iwlwifi/fw/error-dump.h | 2 +- drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 8 ++++---- drivers/net/wireless/intel/iwlwifi/mvm/scan.c | 4 ++-- drivers/net/wireless/intel/iwlwifi/mvm/sta.h | 4 ++-- drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 8 ++++---- drivers/net/wireless/intel/iwlwifi/mvm/utils.c | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-)
Changes in v2:
- Fix additional spelling/grammar issues suggested during review.
- Add Reviewed-by tag and use full name in Signed-off-by.
drivers/net/wireless/intel/iwlwifi/fw/error-dump.h +1 -1
@@ -352,7 +352,7 @@ struct iwl_fw_ini_error_dump_register {* struct iwl_fw_ini_dump_cfg_name - configuration name * @image_type: image type the configuration is related to * @cfg_name_len: length of the configuration name -* @cfg_name: name of the configuraiton +* @cfg_name: name of the configuration */ struct iwl_fw_ini_dump_cfg_name {__le32 image_type;
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +4 -4
@@ -2302,7 +2302,7 @@ int iwl_mvm_set_sta_pkt_ext(struct iwl_mvm *mvm,iwl_mvm_parse_ppe (mvm, pkt_ext, nss, ru_index_bitmap, ppe, ppe_pos_bit, true);/* EHT PPE Thresholds doesn't exist - set the API according to -* HE PPE Tresholds +* HE PPE Thresholds */ }else if (link_sta->he_cap.he_cap_elem.phy_cap_info[6 ] &IEEE80211_HE_PHY_CAP6_PPE_THRESHOLD_PRESENT ) {
@@ -2364,7 +2364,7 @@ int iwl_mvm_set_sta_pkt_ext(struct iwl_mvm *mvm, }/* -* This function sets the MU EDCA parameters ans returns whether MU EDCA +* This function sets the MU EDCA parameters and returns whether MU EDCA * is enabled or not */ bool iwl_mvm_set_fw_mu_edca_params(struct iwl_mvm *mvm,
@@ -2897,7 +2897,7 @@ bool iwl_mvm_start_ap_ibss_common(struct ieee80211_hw *hw,iwl_mvm_send_low_latency_cmd (mvm, true, mvmvif->id); } -/* power updated needs to be done before quotas */ +/* power update needs to be done before quotas */ iwl_mvm_power_update_mac (mvm);return false;
@@ -3617,7 +3617,7 @@ static void iwl_mvm_mei_host_associated(struct iwl_mvm *mvm,break ;default :/* auth method / AKM not supported */ -/* TODO: All the FT vesions of these? */ +/* TODO: All the FT versions of these? */ return ; }
drivers/net/wireless/intel/iwlwifi/mvm/scan.c +2 -2
@@ -2226,7 +2226,7 @@ static u16 iwl_mvm_scan_umac_flags(struct iwl_mvm *mvm,/* * Extended dwell is relevant only for low band to start with, as it is -* being used for social channles only (1, 6, 11), so we can check +* being used for social channels only (1, 6, 11), so we can check * only scan type on low band also for CDB. */ if (iwl_mvm_is_regular_scan(params) &&
@@ -3441,7 +3441,7 @@ size_t iwl_mvm_scan_size(struct iwl_mvm *mvm)/* * This function is used in nic restart flow, to inform mac80211 about scans -* that was aborted by restart flow or by an assert. +* that were aborted by restart flow or by an assert. */ void iwl_mvm_report_scan_aborted (struct iwl_mvm *mvm) {
drivers/net/wireless/intel/iwlwifi/mvm/sta.h +2 -2
@@ -75,7 +75,7 @@ struct iwl_mvm_vif;/** * DOC: station table - introduction * -* The station table is a list of data structure that reprensent the stations. +* The station table is a list of data structure that represent the stations. * In STA/P2P client mode, the driver will hold one station for the AP/ GO. * In GO/AP mode, the driver will have as many stations as associated clients. * All these stations are reflected in the fw's station table. The driver
@@ -292,7 +292,7 @@ enum iwl_mvm_rxq_notif_type {/** * struct iwl_mvm_internal_rxq_notif - Internal representation of the data sent * in &iwl_rxq_sync_cmd. Should be DWORD aligned. -* FW is agnostic to the payload, so there are no endianity requirements. +* FW is agnostic to the payload, so there are no endianness requirements. * * @type: value from &iwl_mvm_rxq_notif_type * @sync: ctrl path is waiting for all notifications to be received
drivers/net/wireless/intel/iwlwifi/mvm/tx.c +4 -4
@@ -497,7 +497,7 @@ static void iwl_mvm_set_tx_cmd_crypto(struct iwl_mvm *mvm, fallthrough;case WLAN_CIPHER_SUITE_CCMP_256 :/* TODO: Taking the key from the table might introduce a race -* when PTK rekeying is done, having an old packets with a PN +* when PTK rekeying is done, having an old packet with a PN * based on the old key but the message encrypted with a new * one. * Need to handle this.
@@ -530,7 +530,7 @@ static bool iwl_mvm_use_host_rate(struct iwl_mvm *mvm,* Not a data frame, use host rate if on an old device that * can't possibly be doing MLO (firmware may be selecting a * bad rate), if we might be doing MLO we need to let FW pick -* (since we don't necesarily know the link), but FW rate +* (since we don't necessarily know the link), but FW rate * selection was fixed. */ return mvm->trans->mac_cfg->device_family <IWL_DEVICE_FAMILY_BZ ;
@@ -914,7 +914,7 @@ static int iwl_mvm_tx_tso(struct iwl_mvm *mvm, struct sk_buff *skb,/* * Do not build AMSDU for IPv6 with extension headers. -* ask stack to segment and checkum the generated MPDUs for us. +* ask stack to segment and checksum the generated MPDUs for us. */ if (skb->protocol ==htons (ETH_P_IPV6 ) && ((struct ipv6hdr *)skb_network_header(skb))->nexthdr !=
@@ -1664,7 +1664,7 @@ static void iwl_mvm_rx_tx_cmd_single(struct iwl_mvm *mvm,* its sequence control is 0. Note that for that same * reason, NDPs are never sent to A-MPDU'able queues * so that we can never have more than one freed frame -* for a single Tx resonse (see WARN_ON below). +* for a single Tx response (see WARN_ON below). */ if (ieee80211_is_qos_nullfunc (hdr->frame_control)) is_ndp = true;
drivers/net/wireless/intel/iwlwifi/mvm/utils.c +2 -2
@@ -135,7 +135,7 @@ int iwl_mvm_send_cmd_status(struct iwl_mvm *mvm, struct iwl_host_cmd *cmd, }/* -* We assume that the caller set the status to the sucess value +* We assume that the caller set the status to the success value */ int iwl_mvm_send_cmd_pdu_status (struct iwl_mvm *mvm,u32 id,u16 len,const void *data,u32 *status)
@@ -284,7 +284,7 @@ int iwl_mvm_send_lq_cmd(struct iwl_mvm *mvm, struct iwl_lq_cmd *lq)* @smps_request: The request to change the SMPS mode. * @link_id: for MLO link_id, otherwise 0 (deflink) * -* Get a requst to change the SMPS mode, +* Get a request to change the SMPS mode, * and change it according to all other requests in the driver. */ void iwl_mvm_update_smps(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
Signature · 1 line
2.43.0