Gleb Kurtsou
a1897c0cf6
Add shlib-compat under tools.
...
shlib-compat is ABI compatibility checker for shared libraries with
symbol versioning.
2013-03-25 00:31:14 +00:00
Adrian Chadd
8e787d67be
More indentation fixes.
2013-03-23 23:27:16 +00:00
Adrian Chadd
d90b001e03
Expose the beacon miss counter.
2013-03-23 23:20:38 +00:00
Adrian Chadd
d18e646cbe
Add AR9300 descriptor decoding.
2013-03-23 01:25:11 +00:00
Neel Natu
7778bd576f
Set WARNS=3 so this actually compiles.
2013-03-20 21:47:05 +00:00
Navdeep Parhar
144d9d11b8
Fix compile warning by including ctype.h for isdigit().
...
MFC after: 1 day
2013-03-05 19:37:29 +00:00
Adrian Chadd
b5a44455d6
Print out the RTS/CTS rate in the TX descriptor.
2013-02-19 06:42:12 +00:00
Adrian Chadd
6e1ff18743
* Add initial debugging of the interrupt status entry
...
* Add in the TDMA debugging entries that I added a while ago
2013-02-18 04:20:43 +00:00
Adrian Chadd
fec3d03df0
Make this output more terse.
2013-02-18 04:19:21 +00:00
Luigi Rizzo
f8e4e36a0a
update the netmap example programs merging some common code in nm_util.c
...
pkt-gen now implements several functions (unlimited transmit, receive,
ping-pong) and can operate on a 'tap' device.
2013-02-17 04:43:22 +00:00
Adrian Chadd
0a83addd18
Teach athalq about the recent if_ath_alq timestamp format change.
2013-02-11 02:54:24 +00:00
Ed Maste
4673bd3950
Restore Python 2.6+ compatibility
...
SVN r245536 ported this to Python 3. The major change was the use of the
print function. Unfortunately this is incompatible with Python 2, which
is still the default version in the ports tree.
Use a __future__ import to make this compatible with Python 2.6 and later.
2013-01-22 18:02:48 +00:00
Adrian Chadd
3301ff5648
Add extra debugging fields.
2013-01-17 17:12:44 +00:00
Eitan Adler
6b1897b2ad
Convert to Python 3
...
Approved by: cperciva
2013-01-17 04:20:53 +00:00
Navdeep Parhar
bfc486325b
Allow "ivlan" (inner VLAN) to be used as an alias for "vlan" when
...
specifying match criteria. "vlan" continues to be valid here, and it
continues to be valid when deleting, rewriting, inserting, or stacking
an 802.1q tag to a matching packet.
MFC after: 3 days
2013-01-17 00:21:45 +00:00
Adrian Chadd
1efdee81a9
Add the "enable at reset" functionality to trigger spectral scan upon
...
a channel change/reset.
2013-01-09 18:50:06 +00:00
Adrian Chadd
21eec1f68e
Disable clang for athstats for now.
2013-01-02 18:49:40 +00:00
Adrian Chadd
1984dd520b
Add missing err() format string.
2013-01-02 18:33:48 +00:00
Adrian Chadd
9de4b9861e
Fix missing err() format string.
2013-01-02 18:29:54 +00:00
Adrian Chadd
b920ab488c
Fix some conversions to keep clang happy.
2013-01-02 18:29:11 +00:00
Adrian Chadd
5e951af2b6
Fix some clang warnings!
2013-01-02 18:26:32 +00:00
Adrian Chadd
5205fa3436
Fix up some warnings from clang.
...
This still triggers a bug in clang..
2013-01-02 18:21:24 +00:00
Adrian Chadd
c6b1b4562c
Add missing err() format strings.
...
Thanks to: clang
2013-01-02 18:14:26 +00:00
Adrian Chadd
e337f1ac1d
* Add missing err() string formats;
...
* Fix up a printf() type mismatch.
Thanks to: clang
2013-01-02 18:12:06 +00:00
Adrian Chadd
6029f436bb
* Add missing format specifier for err()
...
* add missing exit(0)
* Fix some operator evaluation complaints.
Thanks to: clang
2013-01-02 18:09:30 +00:00
Adrian Chadd
0f7918149a
Fix some printf() formats.
...
Found by: clang
2013-01-02 18:05:31 +00:00
Adrian Chadd
a0eb0f26ef
Fix incorrect format string.
2013-01-02 18:03:19 +00:00
Adrian Chadd
c8308f78aa
Add a very skeletal spectral scan control application.
...
The main use for this is to manually trigger spectral scan operations
(athspectral -i athX start) whilst doing debugging.
2013-01-02 04:02:27 +00:00
Luigi Rizzo
9aff36d897
use nanosecond resolution, make sure gettimeofday
...
is called at most every 100 packets.
2012-12-27 09:15:21 +00:00
Luigi Rizzo
f7a1732204
various connections to last commit
2012-12-25 07:29:25 +00:00
Luigi Rizzo
6750270f23
small cleanup of the code, and add support for running multiple
...
threads on each socket.
2012-12-23 23:03:45 +00:00
Poul-Henning Kamp
efe3d4d7c9
Update to the new and brighter pkg world
2012-12-15 17:54:29 +00:00
Adrian Chadd
5466211d6d
Add in a totally hacked up copy of the AR5416 descriptor decoding stuff,
...
as well as TDMA related things.
I used this to debug TDMA related issues in -HEAD.
2012-11-27 02:28:42 +00:00
Adrian Chadd
e0c5571733
Make this a flag.
2012-11-17 02:38:36 +00:00
Adrian Chadd
2afd280161
Implement AR5210 descriptor decoding.
2012-11-17 02:37:25 +00:00
Adrian Chadd
5eb67bb6cb
Add AR5211 descriptor decoding support.
2012-11-17 02:14:50 +00:00
Adrian Chadd
055ef78fd7
Add AR5212 frame decoding support.
2012-11-17 01:57:45 +00:00
Adrian Chadd
d8a32b7351
Implement a basic data decoder for the data produced by if_ath_alq.
...
This decodes the AR5416 family 11n TX and RX descriptors.
2012-11-17 01:11:00 +00:00
Eitan Adler
4e730560e9
Finish migration of MAINTAINER entries
...
Approved by: cperciva
MFC after: 3 days
2012-10-22 02:12:11 +00:00
Ed Maste
a5450ddfbd
Make local function static.
2012-10-11 21:24:07 +00:00
Navdeep Parhar
7e226bdcd6
Add a "clearstats" subcommand to cxgbetool that lets you clear the
...
MAC statistics for any port.
For example:
# cxgbetool t4nex0 clearstats 0
Submitted by: gnn@
MFC after: 3 days
2012-10-10 20:09:19 +00:00
Navdeep Parhar
b9b6413b40
Add an "i2c" subcommand to cxgbetool. You can use this to read
...
information from the transceivers connected to the ports of a
cxgbe(4) based card.
# cxgbetool t4nex0 i2c <port_id> <dev_addr> <addr> [<count>]
For example:
# cxgbetool t4nex0 i2c 0 0xa0 3
0x10 [16]
(As per SFF-8472 the SFP+ module is at 0xa0 and bit 4 in the value at
address 3 indicates it's a 10Gbase-SR module, which it is.)
2012-10-10 17:29:51 +00:00
Kevin Lo
9823d52705
Revert previous commit...
...
Pointyhat to: kevlo (myself)
2012-10-10 08:36:38 +00:00
Kevin Lo
a10cee30c9
Prefer NULL over 0 for pointers
2012-10-09 08:27:40 +00:00
Ed Maste
19bf2cd7d8
Clean up compiler warnings.
...
More work is needed here but this now builds with WARNS=6.
Sponsored by: ADARA Networks
MFC after: 2 weeks
2012-10-03 22:02:16 +00:00
Eitan Adler
2ab4fdc460
Remove scripts and tools which only functioned when src was using CVS
...
Approved by: cperciva
MFC after: 1 week
2012-09-13 17:49:11 +00:00
Adrian Chadd
e65889e66e
Add some colour to make it easy (well, easier) to see what the current
...
selected rates and current sample rates are.
(Note: when run under high traffic and with -s 0.1 the display becomes very
mesmerising. You've been warned.)
2012-09-10 06:07:28 +00:00
Adrian Chadd
b1dcd0fb75
Add a '-s <timeout>' option which will display live rate control
...
statistics.
2012-09-08 01:14:13 +00:00
Adrian Chadd
3ed3dcb676
Tidy up the output quite substantially, making it fit well within
...
80 columns.
This makes it much easier to use in a shell script, to display a "top"
style output with live rate control data.
2012-09-07 06:02:40 +00:00
Adrian Chadd
cbbbd0fa7f
Make this build again!
2012-09-07 06:02:01 +00:00