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

Ethereal-dev: Re: [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.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 5 Aug 2003 10:17:12 -0700
On Tue, Aug 05, 2003 at 02:33:20PM +0200, alfred.arnold@xxxxxxxxx wrote:
> 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. 

I don't know either, but, given that the creator of the AVS capture
frame format and the author of packet-wlancap.c are the same person,
I'll CC him on this, in case he's not on ethereal-dev.