-
Notifications
You must be signed in to change notification settings - Fork 6
/
README
60 lines (41 loc) · 1.42 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
DESCRIPTION
===========
This Linux kernel module tracks stations on a 802.11 monitor interface
and collects various statistics. This might be useful to assess link qualities,
find out which stations are in range or are interfering, etc.
BUILD
=====
To compile against your currently installed kernel, just type:
# make
if you want to compile against some other kernel, use:
# make KERNELPATH=/path/to/kernel
USAGE
=====
Usage:
1. Create monitor device mon0, for example by doing:
iw phy phy0 interface add mon0 type monitor flags control
ifconfig mon0 up
2. insert the kernel module:
insmod wifi-statistics.ko
3. activate the monitor device:
echo 1 > /sys/kernel/debug/wifi_statistics/mon0/active
4. read the statistics:
cat /sys/kernel/debug/wifi_statistics/mon0/stats
Optional:
echo "read" > /sys/kernel/debug/wifi_statistics/mon0/mode
or
echo "reset" > /sys/kernel/debug/wifi_statistics/mon0/mode
The reset mode is similar to the read mode, deletes all
stations from the internal database when reading.
In read mode, the internal database is not modified.
(reset mode is default)
LICENSE
=======
Read the GPL v2 file 'COPYING'.
AUTHOR
======
This software has been written by Simon Wunderlich <[email protected]>
for Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.
For any questions, please contact:
Simon Wunderlich <[email protected]>
Mathias Kretschmer <[email protected]>