Andrew Zaborowski
ef9b6f41ce
eapol: Separate EAPOL header from struct eapol_key
...
This is needed so we can better handle sending and receiving EAPoL
packets other than EAPoL-Key.
2015-11-02 21:40:21 -06:00
Denis Kenzior
7f52c8ec9d
monitor: Fix unused variable error
2015-10-06 15:25:30 -05:00
Denis Kenzior
9be930442c
monitor: Dump WIPHY_BANDS attribute
2015-10-06 14:33:18 -05:00
Denis Kenzior
e055460709
wsc: Rename wsc.[ch] to wscutil.[ch]
2015-09-10 23:07:34 -05:00
Denis Kenzior
3e927ea6c9
nlmon: Fix up bitwise logic
...
The flags in question contain multiple set bits. So we should only
print the relevant details if all bits are set, not just one of the
bits.
2015-09-09 08:52:49 -05:00
Denis Kenzior
913bf61447
nlmon: print NetworkKeyShareable, RequestToEnroll
2015-09-07 09:36:42 -05:00
Denis Kenzior
7cb5a83732
monitor: Print WSC WFA extended attributes
...
Introduced in Version 2.0 of the spec
2015-09-07 09:34:53 -05:00
Denis Kenzior
410d74f772
nlmon: Pretty print WSC_ATTR_CONFIGURATION_ERROR
2015-09-02 13:37:50 -05:00
Denis Kenzior
312ff46f88
nlmon: Pretty-print WSC_ATTR_ASSOCIATION_STATE
2015-09-01 17:19:42 -05:00
Denis Kenzior
0496a79eea
nlmon: Print WSC_ATTR_REQUEST_TYPE
2015-09-01 17:10:41 -05:00
Denis Kenzior
a6a26cfe7f
nlmon: Print WSC frames in other IE elements
...
Trigger Scan Event, Trigger Scan Requests, etc.
2015-09-01 16:58:41 -05:00
Denis Kenzior
add4458a32
nlmon: Print human-readable reason-code
2015-09-01 16:48:50 -05:00
Denis Kenzior
f912e63df5
nlmon: decode RF_BANDS attributes
2015-07-24 21:23:29 -05:00
Denis Kenzior
bbb892da26
nlmon: decode CONFIGURATION_METHODS attributes
2015-07-24 21:23:29 -05:00
Denis Kenzior
084e69dadb
nlmon: decode DEVICE_NAME attributes
2015-07-24 21:23:29 -05:00
Denis Kenzior
a07813dff1
nlmon: decode PRIMARY_DEVICE_TYPE attributes
2015-07-24 21:23:26 -05:00
Denis Kenzior
8cc4ee923a
nlmon: decode SERIAL_NUMBER attributes
2015-07-24 17:09:23 -05:00
Denis Kenzior
47b995d119
nlmon: decode MODEL_NUMBER attributes
2015-07-24 17:07:51 -05:00
Denis Kenzior
f22c931b93
nlmon: decode MODEL_NAME attributes
2015-07-24 17:06:10 -05:00
Denis Kenzior
7fe9a3cebe
nlmon: decode MANUFACTURER attributes
2015-07-24 16:58:13 -05:00
Denis Kenzior
c9c440be3c
nlmon: decode UUID-E and UUID-R attributes
2015-07-24 16:41:00 -05:00
Denis Kenzior
6e6ae9fe32
nlmon: decode RESPONSE_TYPE attributes
2015-07-24 16:32:22 -05:00
Denis Kenzior
9682d561e7
nlmon: decode DEVICE_PASSWORD_ID attributes
2015-07-24 16:28:56 -05:00
Denis Kenzior
8760e56278
nlmon: decode WSC_STATE attributes
2015-07-24 16:19:08 -05:00
Denis Kenzior
d9b2d8151a
nlmon: Add basic WSC pretty-printing capability
2015-07-23 20:49:29 -05:00
Denis Kenzior
a76918e15c
monitor: Refactor print_ie_vendor
...
To support addition WFA tags
2015-07-09 11:58:29 -05:00
Denis Kenzior
15c9bc7933
monitor: dump IE_TYPE_RM_ENABLED_CAPABILITIES
2015-06-11 19:29:12 -05:00
Denis Kenzior
b86dcab024
monitor: Decode more ATTR_BSS nested elements
2015-06-11 18:27:37 -05:00
Denis Kenzior
eee6e7db29
monitor: Fix mandatory calculation in ie_rate
...
The high-order bit should be checked, not the 3rd bit.
2015-06-10 11:33:51 -05:00
Denis Kenzior
47508db472
monitor: Add decoder for tx_bitrate and rx_bitrate
2015-06-08 22:53:47 -05:00
Denis Kenzior
a7e92e300a
monitor: Signal strength in sta_info is signed
...
Signal strength is expressed in negative dBm, so the value extracted is
a signed 8-bit value, not unsigned.
2015-06-08 22:52:00 -05:00
Denis Kenzior
fa8c673137
monitor: Print Key ID field in the case of WPA
2015-05-18 12:50:50 -05:00
Denis Kenzior
4f5013515d
monitor: Shorten up printed strings
...
HT Operation Information strings wrap on 80 character terminals, so
shorten up the printed string to avoid that in most cases
2015-05-18 12:50:50 -05:00
Denis Kenzior
96d0703eb3
monitor: Add decoder for HT Capabilities field
2015-05-07 21:33:07 -05:00
Denis Kenzior
2948f2d933
monitor: Pretty-print Extended Capabilities IE
2015-05-06 21:57:53 -05:00
Denis Kenzior
9ac2e109e3
monitor: Reflow formatting of ie_entry
2015-05-06 21:55:55 -05:00
Denis Kenzior
0239c6f09e
monitor: Add decoder for NL80211_ATTR_EXT_CAPA
2015-05-06 21:50:30 -05:00
Denis Kenzior
6f7a07e012
monitor: Add additional nl80211 command names
2015-05-06 15:29:28 -05:00
Denis Kenzior
c3abaf8181
monitor: Pretty-print commands supported by phy
2015-05-06 15:23:57 -05:00
Denis Kenzior
7744c38ec1
monitor: Add Beacon Loss Event entry
2015-04-30 17:47:23 -05:00
Denis Kenzior
c8fc79c611
monitor: Print AKM suites
2015-04-17 12:49:54 -05:00
Denis Kenzior
835ae605d9
monitor: Make sure to print attribute type
2015-04-17 12:49:51 -05:00
Denis Kenzior
90c922f2ca
monitor: Fix buffer overrun
...
When printing New Address events, the extra_str buffer is overrun,
resulting in weird stuff happening.
> RTNL: Error (0x02) len 20 > 5.252075
Flags: 0 (0x000)
Sequence number: 189 (0x000000bd)
Port ID: 2116
ACK: 0
==4080== Invalid read of size 1
==4080== at 0x4E8000E: vfprintf (in /lib64/libc-2.20.so)
==4080== by 0x4EA8A24: vsnprintf (in /lib64/libc-2.20.so)
==4080== by 0x4E86011: snprintf (in /lib64/libc-2.20.so)
==4080== by 0x403B64: print_packet (nlmon.c:238)
==4080== by 0x40C8FD: print_nlmsghdr (nlmon.c:3197)
==4080== by 0x40CD9E: print_rtnl_msg (nlmon.c:3266)
==4080== by 0x40CE4F: nlmon_print_rtnl (nlmon.c:3298)
==4080== by 0x40D1CD: nlmon_receive (nlmon.c:3390)
2015-04-12 12:25:55 -05:00
Jukka Rissanen
02a2515f3d
monitor: Pretty print LinkMode value
...
LinkMode tells whether kernel (0) or user space (1) is controlling
the link.
2015-03-27 13:31:41 -05:00
Jukka Rissanen
f4f5afdd50
monitor: Pretty print OperState value
...
Instead of plain number, decode the value for human consumption.
2015-03-27 13:31:41 -05:00
Jukka Rissanen
2c3c96f322
monitor: Print OperState instead of Openstate for operational state flag
2015-03-27 13:31:41 -05:00
Denis Kenzior
d277456852
monitor: Always hexdump the raw PAE frame
2015-03-20 13:48:49 -05:00
Denis Kenzior
9318414f22
monitor: Fix Capabilities Field dump
...
The capabilities field was not decoded from the appropriate place in the
data file. This resulted in bogus values being printed.
2015-03-20 13:47:47 -05:00
Denis Kenzior
a2bc325b3b
monitor: Fix typo
2015-03-20 11:34:21 -05:00
Patrik Flykt
2129becac8
monitor: Print HT Operation IE
...
As well as the therein contained MCS field
2015-03-20 11:29:42 -05:00