]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
wifi: brcmsmac: Spelling corrections
authorSimon Horman <horms@kernel.org>
Tue, 15 Apr 2025 16:06:34 +0000 (17:06 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Apr 2025 13:35:27 +0000 (15:35 +0200)
Various spelling corrections as flagged by codespell.

Signed-off-by: Simon Horman <horms@kernel.org>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Link: https://patch.msgid.link/20250415-brcmsmac-spell-v1-1-3e1375586883@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c
drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.h
drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c
drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c
drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h
drivers/net/wireless/broadcom/brcm80211/brcmsmac/pmu.c

index 50d817485cf9fc4f93f63cb52990520dfdb3e1c0..0cb64fc5678325e0a5f1bd4bd0389b303bdc2898 100644 (file)
 #define        CST4313_SPROM_OTP_SEL_SHIFT             0
 
 /* 4313 Chip specific ChipControl register bits */
- /* 12 mA drive strengh for later 4313 */
+ /* 12 mA drive strength for later 4313 */
 #define CCTRL_4313_12MA_LED_DRIVE    0x00000007
 
 /* Manufacturer Ids */
@@ -453,7 +453,7 @@ ai_buscore_setup(struct si_info *sii, struct bcma_device *cc)
        /* get chipcommon chipstatus */
        sii->chipst = bcma_read32(cc, CHIPCREGOFFS(chipstatus));
 
-       /* get chipcommon capabilites */
+       /* get chipcommon capabilities */
        sii->pub.cccaps = bcma_read32(cc, CHIPCREGOFFS(capabilities));
 
        /* get pmu rev and caps */
@@ -657,7 +657,7 @@ u16 ai_clkctl_fast_pwrup_delay(struct si_pub *sih)
 }
 
 /*
- *  clock control policy function throught chipcommon
+ *  clock control policy function through chipcommon
  *
  *    set dynamic clk control mode (forceslow, forcefast, dynamic)
  *    returns true if we are forcing fast clock
index 90b6e3982d2c30e850cfde109684296416fc1211..e791dd07ca7871bad325ace6d34db6c304393c4c 100644 (file)
@@ -76,7 +76,7 @@
  * conventions for the use the flash space:
  */
 
-/* Minumum amount of flash we support */
+/* Minimum amount of flash we support */
 #define FLASH_MIN              0x00020000      /* Minimum flash size */
 
 #define        CC_SROM_OTP             0x800   /* SROM/OTP address space */
index a767cbb791858cd2e2bd6dcd254260074da40aaf..e1d707a7c964680f315388c053c132923eb90c66 100644 (file)
@@ -479,7 +479,7 @@ void brcms_c_ampdu_reset_session(struct brcms_ampdu_session *session,
 
 /*
  * Preps the given packet for AMPDU based on the session data. If the
- * frame cannot be accomodated in the current session, -ENOSPC is
+ * frame cannot be accommodated in the current session, -ENOSPC is
  * returned.
  */
 int brcms_c_ampdu_add_frame(struct brcms_ampdu_session *session,
@@ -529,7 +529,7 @@ int brcms_c_ampdu_add_frame(struct brcms_ampdu_session *session,
        }
 
        /*
-        * Now that we're sure this frame can be accomodated, update the
+        * Now that we're sure this frame can be accommodated, update the
         * session information.
         */
        session->ampdu_len += len;
index d1b9a18d0374034b0020283bd1513a7408f50615..3878c4124e256880c8b517b0edcad7a458034a9e 100644 (file)
@@ -445,7 +445,7 @@ brcms_c_channel_reg_limits(struct brcms_cm_info *wlc_cm, u16 chanspec,
 
                /*
                 * OFDM 40 MHz SISO has the same power as the corresponding
-                * MCS0-7 rate unless overriden by the locale specific code.
+                * MCS0-7 rate unless overridden by the locale specific code.
                 * We set this value to 0 as a flag (presumably 0 dBm isn't
                 * a possibility) and then copy the MCS0-7 value to the 40 MHz
                 * value if it wasn't explicitly set.
@@ -479,7 +479,7 @@ brcms_c_channel_reg_limits(struct brcms_cm_info *wlc_cm, u16 chanspec,
 
                /*
                 * 20 MHz has the same power as the corresponding OFDM rate
-                * unless overriden by the locale specific code.
+                * unless overridden by the locale specific code.
                 */
                txpwr->mcs_20_siso[i] = txpwr->ofdm[i];
                txpwr->mcs_40_siso[i] = 0;
index 80c35027787a1e112d35eb630e0e43a24aa94ff6..c739bf7463b3166d931fbd53168f5bc6c2064333 100644 (file)
@@ -1348,7 +1348,7 @@ static void prep_ampdu_frame(struct dma_info *di, struct sk_buff *p)
        ret = brcms_c_ampdu_add_frame(session, p);
        if (ret == -ENOSPC) {
                /*
-                * AMPDU cannot accomodate this frame. Close out the in-
+                * AMPDU cannot accommodate this frame. Close out the in-
                 * progress AMPDU session and start a new one.
                 */
                ampdu_finalize(di);
index 5b1d35601bbd14ce3b67cf1ca165a5d34f12f52d..1c3d29dca42490668c7d3e70a2951853e4851772 100644 (file)
@@ -48,9 +48,9 @@
        FIF_BCN_PRBRESP_PROMISC | \
        FIF_PSPOLL)
 
-#define CHAN2GHZ(channel, freqency, chflags)  { \
+#define CHAN2GHZ(channel, frequency, chflags)  { \
        .band = NL80211_BAND_2GHZ, \
-       .center_freq = (freqency), \
+       .center_freq = (frequency), \
        .hw_value = (channel), \
        .flags = chflags, \
        .max_antenna_gain = 0, \
index 2738d4d6c60a914a50b47fd283005cd5bf574387..c1a9c1e442eed63dbcd5a3acf202f60ecf8a42fb 100644 (file)
@@ -921,7 +921,7 @@ brcms_c_dotxstatus(struct brcms_c_info *wlc, struct tx_status *txs)
                 * The "fallback limit" is the number of tx attempts a given
                 * MPDU is sent at the "primary" rate. Tx attempts beyond that
                 * limit are sent at the "secondary" rate.
-                * A 'short frame' does not exceed RTS treshold.
+                * A 'short frame' does not exceed RTS threshold.
                 */
                u16 sfbl,       /* Short Frame Rate Fallback Limit */
                    lfbl,       /* Long Frame Rate Fallback Limit */
@@ -6259,7 +6259,7 @@ brcms_c_d11hdrs_mac80211(struct brcms_c_info *wlc, struct ieee80211_hw *hw,
                }
 
                /*
-                * Currently only support same setting for primay and
+                * Currently only support same setting for primary and
                 * fallback rates. Unify flags for each rate into a
                 * single value for the frame
                 */
index 9f76b880814e8201744a83256f8a89af8e4f0ba7..b7ca0d9891c4f24e658d6978b01ace049b7738ae 100644 (file)
@@ -603,7 +603,7 @@ enum brcms_bss_type {
  * cur_etheraddr: h/w address
  * flags: BSSCFG flags; see below
  *
- * current_bss: BSS parms in ASSOCIATED state
+ * current_bss: BSS parameters in ASSOCIATED state
  *
  *
  * ID: 'unique' ID of this bsscfg, assigned at bsscfg allocation
index 71b80381f3ad7883c929cd40120f43282f22dd5b..c9a29e626daa51422e6852b9ff9c440a0cde093b 100644 (file)
@@ -31,7 +31,7 @@
 #define EXT_ILP_HZ 32768
 
 /*
- * Duration for ILP clock frequency measurment in milliseconds
+ * Duration for ILP clock frequency measurement in milliseconds
  *
  * remark: 1000 must be an integer multiple of this duration
  */