Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/net80211 Undo typo fixes, will be reapplied later
details: https://anonhg.NetBSD.org/src-all/rev/8171435d25b8
branches: trunk
changeset: 364736:8171435d25b8
user: Martin Husemann <martin%NetBSD.org@localhost>
date: Tue Sep 14 19:09:11 2021 +0200
description:
Undo typo fixes, will be reapplied later
diffstat:
sys/net80211/ieee80211.c | 2 +-
sys/net80211/ieee80211_ioctl.c | 2 +-
sys/net80211/ieee80211_output.c | 4 ++--
sys/net80211/ieee80211_proto.c | 6 +++---
sys/net80211/ieee80211_proto.h | 6 +++---
5 files changed, 10 insertions(+), 10 deletions(-)
diffs (83 lines):
diff -r 57219ec21267 -r 8171435d25b8 sys/net80211/ieee80211.c
--- a/sys/net80211/ieee80211.c Mon Sep 20 17:02:23 2021 +0200
+++ b/sys/net80211/ieee80211.c Tue Sep 14 19:09:11 2021 +0200
@@ -1048,7 +1048,7 @@
{ 72 | IFM_IEEE80211_11G, IFM_IEEE80211_OFDM36 },
{ 96 | IFM_IEEE80211_11G, IFM_IEEE80211_OFDM48 },
{ 108 | IFM_IEEE80211_11G, IFM_IEEE80211_OFDM54 },
- /* NB: OFDM72 doesn't really exist so we don't handle it */
+ /* NB: OFDM72 doesn't realy exist so we don't handle it */
};
u_int mask, i;
diff -r 57219ec21267 -r 8171435d25b8 sys/net80211/ieee80211_ioctl.c
--- a/sys/net80211/ieee80211_ioctl.c Mon Sep 20 17:02:23 2021 +0200
+++ b/sys/net80211/ieee80211_ioctl.c Tue Sep 14 19:09:11 2021 +0200
@@ -1414,7 +1414,7 @@
* themselves perilously close to exhausting the stack.
*
* To avoid this, we deliberately prevent gcc from inlining this
- * routine. Another way to avoid this is to use less aggressive
+ * routine. Another way to avoid this is to use less agressive
* optimization when compiling this file (i.e. -O instead of -O2)
* but special-casing the compilation of this one module in the
* build system would be awkward.
diff -r 57219ec21267 -r 8171435d25b8 sys/net80211/ieee80211_output.c
--- a/sys/net80211/ieee80211_output.c Mon Sep 20 17:02:23 2021 +0200
+++ b/sys/net80211/ieee80211_output.c Tue Sep 14 19:09:11 2021 +0200
@@ -2001,10 +2001,10 @@
struct ieee80211_wme_state *wme = &ic->ic_wme;
/*
- * Check for aggressive mode change. When there is
+ * Check for agressive mode change. When there is
* significant high priority traffic in the BSS
* throttle back BE traffic by using conservative
- * parameters. Otherwise BE uses aggressive params
+ * parameters. Otherwise BE uses agressive params
* to optimize performance of legacy/non-QoS traffic.
*/
if (wme->wme_flags & WME_F_AGGRMODE) {
diff -r 57219ec21267 -r 8171435d25b8 sys/net80211/ieee80211_proto.c
--- a/sys/net80211/ieee80211_proto.c Mon Sep 20 17:02:23 2021 +0200
+++ b/sys/net80211/ieee80211_proto.c Tue Sep 14 19:09:11 2021 +0200
@@ -711,7 +711,7 @@
/* NB: check ic_bss to avoid NULL deref on initial attach */
if (ic->ic_bss != NULL) {
/*
- * Calculate aggressive mode switching threshold based
+ * Calculate agressive mode switching threshold based
* on beacon interval. This doesn't need locking since
* we're only called before entering the RUN state at
* which point we start sending beacon frames.
@@ -760,11 +760,11 @@
}
/*
- * This implements aggressive mode as found in certain
+ * This implements agressive mode as found in certain
* vendors' AP's. When there is significant high
* priority (VI/VO) traffic in the BSS throttle back BE
* traffic by using conservative parameters. Otherwise
- * BE uses aggressive params to optimize performance of
+ * BE uses agressive params to optimize performance of
* legacy/non-QoS traffic.
*/
if ((ic->ic_opmode == IEEE80211_M_HOSTAP &&
diff -r 57219ec21267 -r 8171435d25b8 sys/net80211/ieee80211_proto.h
--- a/sys/net80211/ieee80211_proto.h Mon Sep 20 17:02:23 2021 +0200
+++ b/sys/net80211/ieee80211_proto.h Tue Sep 14 19:09:11 2021 +0200
@@ -210,10 +210,10 @@
struct ieee80211_wme_state {
u_int wme_flags;
-#define WME_F_AGGRMODE 0x00000001 /* STATUS: WME aggressive mode */
+#define WME_F_AGGRMODE 0x00000001 /* STATUS: WME agressive mode */
u_int wme_hipri_traffic; /* VI/VO frames in beacon interval */
- u_int wme_hipri_switch_thresh;/* aggressive mode switch thresh */
- u_int wme_hipri_switch_hysteresis;/* aggressive mode switch hysteresis */
+ u_int wme_hipri_switch_thresh;/* agressive mode switch thresh */
+ u_int wme_hipri_switch_hysteresis;/* agressive mode switch hysteresis */
struct wmeParams wme_params[4]; /* from assoc resp for each AC*/
struct chanAccParams wme_wmeChanParams; /* WME params applied to self */
Home |
Main Index |
Thread Index |
Old Index