svn commit: r298939 - in head/sys/dev/ath: . ath_dfs/null ath_hal ath_hal/ar5211 ath_hal/ar5212 ath_hal/ar5416 ath_hal/ar9002
Pedro F. Giffuni
pfg at FreeBSD.org
Mon May 2 19:56:52 UTC 2016
Author: pfg
Date: Mon May 2 19:56:48 2016
New Revision: 298939
URL: https://svnweb.freebsd.org/changeset/base/298939
Log:
dev/ath: minor spelling fixes in comments.
No functional change.
Reviewed by: adrian
Modified:
head/sys/dev/ath/ath_dfs/null/dfs_null.c
head/sys/dev/ath/ath_hal/ah.c
head/sys/dev/ath/ath_hal/ah.h
head/sys/dev/ath/ath_hal/ah_regdomain.c
head/sys/dev/ath/ath_hal/ar5211/ar5211_reset.c
head/sys/dev/ath/ath_hal/ar5212/ar2316.c
head/sys/dev/ath/ath_hal/ar5212/ar2317.c
head/sys/dev/ath/ath_hal/ar5212/ar2413.c
head/sys/dev/ath/ath_hal/ar5212/ar2425.c
head/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
head/sys/dev/ath/ath_hal/ar5212/ar5212_power.c
head/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c
head/sys/dev/ath/ath_hal/ar5212/ar5413.c
head/sys/dev/ath/ath_hal/ar5416/ar5416_btcoex.c
head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c
head/sys/dev/ath/ath_hal/ar5416/ar5416_spectral.c
head/sys/dev/ath/ath_hal/ar5416/ar5416_xmit.c
head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h
head/sys/dev/ath/ath_hal/ar9002/ar9280_olc.c
head/sys/dev/ath/if_ath.c
head/sys/dev/ath/if_ath_ioctl.c
head/sys/dev/ath/if_ath_lna_div.c
head/sys/dev/ath/if_ath_pci.c
head/sys/dev/ath/if_ath_rx.c
head/sys/dev/ath/if_ath_tx.c
head/sys/dev/ath/if_athvar.h
Modified: head/sys/dev/ath/ath_dfs/null/dfs_null.c
==============================================================================
--- head/sys/dev/ath/ath_dfs/null/dfs_null.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_dfs/null/dfs_null.c Mon May 2 19:56:48 2016 (r298939)
@@ -181,7 +181,7 @@ ath_dfs_process_phy_err(struct ath_softc
}
/*
- * Process the radar events and determine whether a DFS event has occured.
+ * Process the radar events and determine whether a DFS event has occurred.
*
* This is designed to run outside of the RX processing path.
* The RX path will call ath_dfs_tasklet_needed() to see whether
Modified: head/sys/dev/ath/ath_hal/ah.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ah.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ah.c Mon May 2 19:56:48 2016 (r298939)
@@ -362,7 +362,7 @@ ath_hal_computetxtime(struct ath_hal *ah
kbps = rates->info[rateix].rateKbps;
/*
- * index can be invalid duting dynamic Turbo transitions.
+ * index can be invalid during dynamic Turbo transitions.
* XXX
*/
if (kbps == 0)
Modified: head/sys/dev/ath/ath_hal/ah.h
==============================================================================
--- head/sys/dev/ath/ath_hal/ah.h Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ah.h Mon May 2 19:56:48 2016 (r298939)
@@ -414,7 +414,7 @@ typedef enum {
/* Allow all mcast/bcast frames */
/*
- * Magic RX filter flags that aren't targetting hardware bits
+ * Magic RX filter flags that aren't targeting hardware bits
* but instead the HAL sets individual bits - eg PHYERR will result
* in OFDM/CCK timing error frames being received.
*/
@@ -1224,7 +1224,7 @@ typedef struct {
/*
* slotted mode only. rx_clear and bt_ant decision
* will be held the entire time that BT_ACTIVE is asserted,
- * otherwise the decision is made before every slot boundry.
+ * otherwise the decision is made before every slot boundary.
*/
HAL_BOOL bt_hold_rxclear;
} HAL_BT_COEX_CONFIG;
Modified: head/sys/dev/ath/ath_hal/ah_regdomain.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ah_regdomain.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ah_regdomain.c Mon May 2 19:56:48 2016 (r298939)
@@ -490,7 +490,7 @@ getchannels(struct ath_hal *ah,
break;
default:
HALDEBUG(ah, HAL_DEBUG_REGDOMAIN,
- "%s: Unkonwn HAL mode 0x%x\n", __func__, cm->mode);
+ "%s: Unknown HAL mode 0x%x\n", __func__, cm->mode);
continue;
}
if (isChanBitMaskZero(channelBM))
Modified: head/sys/dev/ath/ath_hal/ar5211/ar5211_reset.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5211/ar5211_reset.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ar5211/ar5211_reset.c Mon May 2 19:56:48 2016 (r298939)
@@ -913,7 +913,7 @@ getNoiseFloorThresh(struct ath_hal *ah,
}
/*
- * Read the NF and check it against the noise floor threshhold
+ * Read the NF and check it against the noise floor threshold
*
* Returns: TRUE if the NF is good
*/
Modified: head/sys/dev/ath/ath_hal/ar5212/ar2316.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5212/ar2316.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ar5212/ar2316.c Mon May 2 19:56:48 2016 (r298939)
@@ -373,9 +373,9 @@ ar2316getGainBoundariesAndPdadcsForPower
* change pwr_I_0 to signed 5-bits.
*/
int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
- /* to accomodate -ve power levels later on. */
+ /* to accommodate -ve power levels later on. */
int16_t Pmax_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
- /* to accomodate -ve power levels later on */
+ /* to accommodate -ve power levels later on */
uint16_t numVpd = 0;
uint16_t Vpd_step;
int16_t tmpVal ;
Modified: head/sys/dev/ath/ath_hal/ar5212/ar2317.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5212/ar2317.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ar5212/ar2317.c Mon May 2 19:56:48 2016 (r298939)
@@ -351,9 +351,9 @@ ar2317getGainBoundariesAndPdadcsForPower
* change pwr_I_0 to signed 5-bits.
*/
int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
- /* to accomodate -ve power levels later on. */
+ /* to accommodate -ve power levels later on. */
int16_t Pmax_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
- /* to accomodate -ve power levels later on */
+ /* to accommodate -ve power levels later on */
uint16_t numVpd = 0;
uint16_t Vpd_step;
int16_t tmpVal ;
Modified: head/sys/dev/ath/ath_hal/ar5212/ar2413.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5212/ar2413.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ar5212/ar2413.c Mon May 2 19:56:48 2016 (r298939)
@@ -367,9 +367,9 @@ ar2413getGainBoundariesAndPdadcsForPower
* change pwr_I_0 to signed 5-bits.
*/
int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
- /* to accomodate -ve power levels later on. */
+ /* to accommodate -ve power levels later on. */
int16_t Pmax_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
- /* to accomodate -ve power levels later on */
+ /* to accommodate -ve power levels later on */
uint16_t numVpd = 0;
uint16_t Vpd_step;
int16_t tmpVal ;
Modified: head/sys/dev/ath/ath_hal/ar5212/ar2425.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5212/ar2425.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ar5212/ar2425.c Mon May 2 19:56:48 2016 (r298939)
@@ -372,9 +372,9 @@ ar2425getGainBoundariesAndPdadcsForPower
* change pwr_I_0 to signed 5-bits.
*/
static int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
- /* to accomodate -ve power levels later on. */
+ /* to accommodate -ve power levels later on. */
static int16_t Pmax_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
- /* to accomodate -ve power levels later on */
+ /* to accommodate -ve power levels later on */
uint16_t numVpd = 0;
uint16_t Vpd_step;
int16_t tmpVal ;
Modified: head/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c Mon May 2 19:56:48 2016 (r298939)
@@ -885,7 +885,7 @@ ar5212FillCapabilityInfo(struct ath_hal
pCap->halRfSilentSupport = AH_TRUE;
}
- /* NB: this is a guess, noone seems to know the answer */
+ /* NB: this is a guess, no one seems to know the answer */
ahpriv->ah_rxornIsFatal =
(AH_PRIVATE(ah)->ah_macVersion < AR_SREV_VERSION_VENICE);
Modified: head/sys/dev/ath/ath_hal/ar5212/ar5212_power.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5212/ar5212_power.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ar5212/ar5212_power.c Mon May 2 19:56:48 2016 (r298939)
@@ -51,7 +51,7 @@ ar5212SetPowerModeAwake(struct ath_hal *
* which when blindly written back with OS_REG_RMW_FIELD
* enables the MIB interrupt for the sleep performance
* counters. This can result in an interrupt storm when
- * ANI is in operation as noone knows to turn off the MIB
+ * ANI is in operation as no one knows to turn off the MIB
* interrupt cause.
*/
scr = OS_REG_READ(ah, AR_SCR);
Modified: head/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c Mon May 2 19:56:48 2016 (r298939)
@@ -1385,7 +1385,7 @@ ar5212GetNfHistMid(const int16_t calData
}
/*
- * Read the NF and check it against the noise floor threshhold
+ * Read the NF and check it against the noise floor threshold
*/
int16_t
ar5212GetNf(struct ath_hal *ah, struct ieee80211_channel *chan)
Modified: head/sys/dev/ath/ath_hal/ar5212/ar5413.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5212/ar5413.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ar5212/ar5413.c Mon May 2 19:56:48 2016 (r298939)
@@ -411,9 +411,9 @@ ar5413getGainBoundariesAndPdadcsForPower
* change pwr_I_0 to signed 5-bits.
*/
int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
- /* to accomodate -ve power levels later on. */
+ /* to accommodate -ve power levels later on. */
int16_t Pmax_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
- /* to accomodate -ve power levels later on */
+ /* to accommodate -ve power levels later on */
uint16_t numVpd = 0;
uint16_t Vpd_step;
int16_t tmpVal ;
Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_btcoex.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_btcoex.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_btcoex.c Mon May 2 19:56:48 2016 (r298939)
@@ -95,7 +95,7 @@ ar5416BTCoexSetWeights(struct ath_hal *a
struct ath_hal_5416 *ahp = AH5416(ah);
if (AR_SREV_KIWI_10_OR_LATER(ah)) {
- /* TODO: TX RX seperate is not enabled. */
+ /* TODO: TX RX separate is not enabled. */
switch (stompType) {
case HAL_BT_COEX_STOMP_ALL:
ahp->ah_btCoexBTWeight = AR5416_BT_WGHT;
Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c Mon May 2 19:56:48 2016 (r298939)
@@ -772,7 +772,7 @@ ar5416SanitizeNF(struct ath_hal *ah, int
/*
- * Read the NF and check it against the noise floor threshhold
+ * Read the NF and check it against the noise floor threshold
*
* Return 0 if the NF calibration hadn't finished, 0 if it was
* invalid, or > 0 for a valid NF reading.
Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_spectral.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_spectral.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_spectral.c Mon May 2 19:56:48 2016 (r298939)
@@ -119,7 +119,7 @@ ar5416ConfigureSpectralScan(struct ath_h
} else {
if (ss->ss_count != HAL_SPECTRAL_PARAM_NOVAL) {
/*
- * In Merlin, for continous scan, scan_count = 128.
+ * In Merlin, for continuous scan, scan_count = 128.
* In case of Kiwi, this value should be 0
*/
if (ss->ss_count == 128)
Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_xmit.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_xmit.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_xmit.c Mon May 2 19:56:48 2016 (r298939)
@@ -807,7 +807,7 @@ ar5416ProcTxDesc(struct ath_hal *ah,
}
/*
- * These fields are not used. Zero these to preserve compatability
+ * These fields are not used. Zero these to preserve compatibility
* with existing drivers.
*/
ts->ts_virtcol = MS(ads->ds_ctl1, AR_VirtRetryCnt);
Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h Mon May 2 19:56:48 2016 (r298939)
@@ -277,10 +277,10 @@
#define AR_PCIE_PM_CTRL_ENA 0x00080000
#define AR_AHB_EXACT_WR_EN 0x00000000 /* write exact bytes */
-#define AR_AHB_BUF_WR_EN 0x00000001 /* buffer write upto cacheline*/
+#define AR_AHB_BUF_WR_EN 0x00000001 /* buffer write up to cacheline*/
#define AR_AHB_EXACT_RD_EN 0x00000000 /* read exact bytes */
-#define AR_AHB_CACHELINE_RD_EN 0x00000002 /* read upto end of cacheline */
-#define AR_AHB_PREFETCH_RD_EN 0x00000004 /* prefetch upto page boundary*/
+#define AR_AHB_CACHELINE_RD_EN 0x00000002 /* read up to end of cacheline */
+#define AR_AHB_PREFETCH_RD_EN 0x00000004 /* prefetch up to page boundary*/
#define AR_AHB_PAGE_SIZE_1K 0x00000000 /* set page-size as 1k */
#define AR_AHB_PAGE_SIZE_2K 0x00000008 /* set page-size as 2k */
#define AR_AHB_PAGE_SIZE_4K 0x00000010 /* set page-size as 4k */
@@ -518,7 +518,7 @@
#define AR_PCU_FORCE_QUIET_COLL 0x00040000 /* kill xmit for channel change */
#define AR_PCU_BT_ANT_PREVENT_RX 0x00100000
#define AR_PCU_BT_ANT_PREVENT_RX_S 20
-#define AR_PCU_TBTT_PROTECT 0x00200000 /* no xmit upto tbtt+20 uS */
+#define AR_PCU_TBTT_PROTECT 0x00200000 /* no xmit up to tbtt+20 uS */
#define AR_PCU_CLEAR_VMF 0x01000000 /* clear vmf mode (fast cc)*/
#define AR_PCU_CLEAR_BA_VALID 0x04000000 /* clear ba state */
#define AR_PCU_SEL_EVM 0x08000000 /* select EVM data or PLCP header */
Modified: head/sys/dev/ath/ath_hal/ar9002/ar9280_olc.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar9002/ar9280_olc.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/ath_hal/ar9002/ar9280_olc.c Mon May 2 19:56:48 2016 (r298939)
@@ -328,7 +328,7 @@ ar9280SetPowerCalTable(struct ath_hal *a
* uses this to calculate the PDADC delta during
* calibration ; 0 here effectively stops the
* temperature compensation calibration from
- * occuring.
+ * occurring.
*/
AH5416(ah)->initPDADC = 0;
}
Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/if_ath.c Mon May 2 19:56:48 2016 (r298939)
@@ -2698,7 +2698,7 @@ ath_txrx_start(struct ath_softc *sc)
}
/*
- * Grab the reset lock, and wait around until noone else
+ * Grab the reset lock, and wait around until no one else
* is trying to do anything with it.
*
* This is totally horrible but we can't hold this lock for
@@ -2782,7 +2782,7 @@ ath_reset(struct ath_softc *sc, ATH_RESE
ATH_PCU_UNLOCK_ASSERT(sc);
ATH_UNLOCK_ASSERT(sc);
- /* Try to (stop any further TX/RX from occuring */
+ /* Try to (stop any further TX/RX from occurring */
taskqueue_block(sc->sc_tq);
/*
@@ -2826,7 +2826,7 @@ ath_reset(struct ath_softc *sc, ATH_RESE
/*
* Should now wait for pending TX/RX to complete
- * and block future ones from occuring. This needs to be
+ * and block future ones from occurring. This needs to be
* done before the TX queue is drained.
*/
ath_draintxq(sc, reset_type); /* stop xmit side */
@@ -3676,7 +3676,7 @@ ath_bstuck_proc(void *arg, int pending)
sc->sc_stats.ast_bstuck++;
/*
* This assumes that there's no simultaneous channel mode change
- * occuring.
+ * occurring.
*/
ath_reset(sc, ATH_RESET_NOLOSS);
}
@@ -4737,7 +4737,7 @@ ath_tx_freebuf(struct ath_softc *sc, str
/*
* Make sure that we only sync/unload if there's an mbuf.
* If not (eg we cloned a buffer), the unload will have already
- * occured.
+ * occurred.
*/
if (bf->bf_m != NULL) {
bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap,
@@ -5076,7 +5076,7 @@ ath_chan_set(struct ath_softc *sc, struc
ATH_PCU_UNLOCK_ASSERT(sc);
ATH_UNLOCK_ASSERT(sc);
- /* (Try to) stop TX/RX from occuring */
+ /* (Try to) stop TX/RX from occurring */
taskqueue_block(sc->sc_tq);
ATH_PCU_LOCK(sc);
@@ -5857,7 +5857,7 @@ ath_newassoc(struct ieee80211_node *ni,
* If we're reassociating, make sure that any paused queues
* get unpaused.
*
- * Now, we may hvae frames in the hardware queue for this node.
+ * Now, we may have frames in the hardware queue for this node.
* So if we are reassociating and there are frames in the queue,
* we need to go through the cleanup path to ensure that they're
* marked as non-aggregate.
@@ -6068,7 +6068,7 @@ ath_setcurmode(struct ath_softc *sc, enu
sc->sc_currates = rt;
sc->sc_curmode = mode;
/*
- * All protection frames are transmited at 2Mb/s for
+ * All protection frames are transmitted at 2Mb/s for
* 11g, otherwise at 1Mb/s.
*/
if (mode == IEEE80211_MODE_11G)
Modified: head/sys/dev/ath/if_ath_ioctl.c
==============================================================================
--- head/sys/dev/ath/if_ath_ioctl.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/if_ath_ioctl.c Mon May 2 19:56:48 2016 (r298939)
@@ -163,7 +163,7 @@ bad:
* Diagnostic interface to the HAL. This is used by various
* tools to do things like retrieve register contents for
* debugging. The mechanism is intentionally opaque so that
- * it can change frequently w/o concern for compatiblity.
+ * it can change frequently w/o concern for compatibility.
*/
static int
ath_ioctl_diag(struct ath_softc *sc, struct ath_diag *ad)
Modified: head/sys/dev/ath/if_ath_lna_div.c
==============================================================================
--- head/sys/dev/ath/if_ath_lna_div.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/if_ath_lna_div.c Mon May 2 19:56:48 2016 (r298939)
@@ -73,7 +73,7 @@ __FBSDID("$FreeBSD$");
#include <dev/ath/if_ath_debug.h>
#include <dev/ath/if_ath_lna_div.h>
-/* Linux compability macros */
+/* Linux compatibility macros */
/*
* XXX these don't handle rounding, underflow, overflow, wrapping!
*/
Modified: head/sys/dev/ath/if_ath_pci.c
==============================================================================
--- head/sys/dev/ath/if_ath_pci.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/if_ath_pci.c Mon May 2 19:56:48 2016 (r298939)
@@ -82,7 +82,7 @@ struct ath_pci_softc {
/*
* XXX eventually this should be some system level definition
- * so modules will hvae probe/attach information like USB.
+ * so modules will have probe/attach information like USB.
* But for now..
*/
struct pci_device_id {
Modified: head/sys/dev/ath/if_ath_rx.c
==============================================================================
--- head/sys/dev/ath/if_ath_rx.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/if_ath_rx.c Mon May 2 19:56:48 2016 (r298939)
@@ -802,7 +802,7 @@ rx_accept:
* This code should be removed once the actual
* root cause of the issue has been identified.
* For example, it may be that the rs_antenna
- * field is only valid for the lsat frame of
+ * field is only valid for the last frame of
* an aggregate and it just happens that it is
* "mostly" right. (This is a general statement -
* the majority of the statistics are only valid
Modified: head/sys/dev/ath/if_ath_tx.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx.c Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/if_ath_tx.c Mon May 2 19:56:48 2016 (r298939)
@@ -3125,7 +3125,7 @@ ath_tx_swq(struct ath_softc *sc, struct
* If we're not doing A-MPDU, be prepared to direct dispatch
* up to both limits if possible. This particular corner
* case may end up with packet starvation between aggregate
- * traffic and non-aggregate traffic: we wnat to ensure
+ * traffic and non-aggregate traffic: we want to ensure
* that non-aggregate stations get a few frames queued to the
* hardware before the aggregate station(s) get their chance.
*
@@ -3949,7 +3949,7 @@ ath_tx_tid_reset(struct ath_softc *sc, s
* XXX TODO: it may just be enough to walk the HWQs and mark
* frames for that node as non-aggregate; or mark the ath_node
* with something that indicates that aggregation is no longer
- * occuring. Then we can just toss the BAW complaints and
+ * occurring. Then we can just toss the BAW complaints and
* do a complete hard reset of state here - no pause, no
* complete counter, etc.
*/
Modified: head/sys/dev/ath/if_athvar.h
==============================================================================
--- head/sys/dev/ath/if_athvar.h Mon May 2 19:32:06 2016 (r298938)
+++ head/sys/dev/ath/if_athvar.h Mon May 2 19:56:48 2016 (r298939)
@@ -126,7 +126,7 @@ struct ath_tid {
TAILQ_HEAD(,ath_buf) tid_q; /* pending buffers */
struct ath_node *an; /* pointer to parent */
int tid; /* tid */
- int ac; /* which AC gets this trafic */
+ int ac; /* which AC gets this traffic */
int hwq_depth; /* how many buffers are on HW */
u_int axq_depth; /* SW queue depth */
More information about the svn-src-head
mailing list