mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 23:05:25 -04:00
wifi: brcmsmac: Spelling corrections
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>
This commit is contained in:
committed by
Johannes Berg
parent
c96d5afc34
commit
e7c0fe7a9e
@@ -198,7 +198,7 @@
|
||||
#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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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, \
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user