Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107188564
D29800.id87595.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D29800.id87595.diff
View Options
Index: sys/dev/iwn/if_iwnreg.h
===================================================================
--- sys/dev/iwn/if_iwnreg.h
+++ sys/dev/iwn/if_iwnreg.h
@@ -2267,7 +2267,8 @@
160,310,
97,
97,
- 110
+ 110,
+ 390
};
/* Map TID to TX scheduler's FIFO. */
Index: tools/tools/iwn/iwnstats/Makefile
===================================================================
--- tools/tools/iwn/iwnstats/Makefile
+++ tools/tools/iwn/iwnstats/Makefile
@@ -15,6 +15,8 @@
# to not compile, use gcc for now.
#CC= gcc
+BINDIR?=/usr/sbin
+
SRCS= main.c iwn_ioctl.c
# CFLAGS.clang+= -fbracket-depth=512
Index: tools/tools/iwn/iwnstats/main.c
===================================================================
--- tools/tools/iwn/iwnstats/main.c
+++ tools/tools/iwn/iwnstats/main.c
@@ -72,8 +72,7 @@
}
static void
-iwn_stats_phy_print(struct iwnstats *is, struct iwn_rx_phy_stats *rxphy,
- const char *prefix)
+iwn_stats_phy_print(struct iwn_rx_phy_stats *rxphy, const char *prefix)
{
printf("%s: %s: ina=%d, fina=%d, bad_plcp=%d, bad_crc32=%d, overrun=%d, eoverrun=%d\n",
@@ -108,7 +107,7 @@
}
static void
-iwn_stats_rx_general_print(struct iwnstats *is, struct iwn_rx_general_stats *g)
+iwn_stats_rx_general_print(struct iwn_rx_general_stats *g)
{
printf("%s: bad_cts=%d, bad_ack=%d, not_bss=%d, filtered=%d, bad_chan=%d, beacons=%d\n",
@@ -147,7 +146,7 @@
}
static void
-iwn_stats_tx_print(struct iwnstats *is, struct iwn_tx_stats *tx)
+iwn_stats_tx_print(struct iwn_tx_stats *tx)
{
printf("%s: preamble=%d, rx_detected=%d, bt_defer=%d, bt_kill=%d, short_len=%d\n",
@@ -191,7 +190,7 @@
}
static void
-iwn_stats_ht_phy_print(struct iwnstats *is, struct iwn_rx_ht_phy_stats *ht)
+iwn_stats_ht_phy_print(struct iwn_rx_ht_phy_stats *ht)
{
printf("%s: bad_plcp=%d, overrun=%d, eoverrun=%d, good_crc32=%d, bad_crc32=%d\n",
@@ -212,7 +211,7 @@
static void
-iwn_stats_general_print(struct iwnstats *is, struct iwn_stats *stats)
+iwn_stats_general_print(struct iwn_stats *stats)
{
/* General */
@@ -249,16 +248,16 @@
gettimeofday(&tv, NULL);
printf("time=%ld.%.6ld\n", (long)tv.tv_sec, (long)tv.tv_usec);
- iwn_stats_general_print(is, s);
+ iwn_stats_general_print(s);
/* RX */
- iwn_stats_phy_print(is, &s->rx.ofdm, "ofdm");
- iwn_stats_phy_print(is, &s->rx.cck, "cck");
- iwn_stats_ht_phy_print(is, &s->rx.ht);
- iwn_stats_rx_general_print(is, &s->rx.general);
+ iwn_stats_phy_print(&s->rx.ofdm, "ofdm");
+ iwn_stats_phy_print(&s->rx.cck, "cck");
+ iwn_stats_ht_phy_print(&s->rx.ht);
+ iwn_stats_rx_general_print(&s->rx.general);
/* TX */
- iwn_stats_tx_print(is, &s->tx);
+ iwn_stats_tx_print(&s->tx);
printf("--\n");
}
@@ -278,9 +277,6 @@
int ch;
char *ifname;
bool first;
- char *sysctlname;
- size_t len;
- int ret;
ifname = strdup(IWN_DEFAULT_IF);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 12, 9:54 AM (18 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15767228
Default Alt Text
D29800.id87595.diff (2 KB)
Attached To
Mode
D29800: iwnstats: fix build with clang and allow install under /usr/local/sbin
Attached
Detach File
Event Timeline
Log In to Comment