ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] Bug in packet-wlancap.c?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Tue, 5 Aug 2003 14:33:20 +0200
Hi,

I am working as a wireless LAN developer at LANCOM Systems, Germany. 

I am currently working on transforming one of our access points into
a wireless sniffer, and I found the AVS capture frame format 
(as defined on http://www.shaftnet.org/~pizza/software/capturefrm.txt)
suitable as format to store the capture results. 

For the moment, I have created a small 'dummy' test file with just a
single frame, and have used Ethereal 0.9.14 to display it.  The display
works fine, with a small problem: the frame's signal strength is 
interpreted
as an unsigned value, and not as signed as the format definiton states - 
which looks rather weird if one has signal strength values smaller than
0 dBm 8-)

I have taken a look into 'packet-wlancap.c' and after changing the 
definition of the 'ssi_signal' field from signed to unsigned (lines
163+246), ethereal's dump looked as I expected it. 

I'm not entirely sure whether this is actually a bug or the header
definition I have is outdated, I just thought I should mention it. 

Best regards

Alfred Arnold

LANCOM Systems GmbH, Germany