Wireshark-bugs: [Wireshark-bugs] [Bug 6093] New: 802.11 Association Response Packet's "Status Co

Date: Mon, 4 Jul 2011 20:42:08 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6093

           Summary: 802.11 Association Response Packet's "Status Code"
                    field is imprecisely decoded/described.
           Product: Wireshark
           Version: SVN
          Platform: x86-64
        OS/Version: Debian
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: ali_bugs@xxxxxxxxxxxxxxx


Build Information:
him@suxbox Tue Jul 05 11:16:32 logs> wireshark -v
wireshark 1.6.0rc1 (SVN Rev Unknown from unknown)

Copyright 1998-2011 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GTK+ 2.20.1, with GLib 2.24.2, with libpcap 1.1.1, with
libz 1.2.3.4, without POSIX capabilities, without libpcre, without SMI, without
c-ares, without ADNS, without Lua, without Python, without GnuTLS, without
Gcrypt, without Kerberos, without GeoIP, without PortAudio, without AirPcap.

Running on Linux 3.0.0-rc3-wl_m_Sun19jun2011, with libpcap version 1.1.1, with
libz 1.2.3.4.

Built using gcc 4.4.5.
him@suxbox Tue Jul 05 11:16:41 logs> 
--
Line 11200 of 
http://anonsvn.wireshark.org/wireshark/trunk/epan/dissectors/packet-ieee80211.c

which initializes the status_codes[] array, decodes the 0x12 error as 
"Association denied due to requesting station not supporting all "
     "of the datarates in the BSSBasicServiceSet Parameter"

However, according to p94 the IEEE 802.11 Standard,ieee_std_802.11-2007,
section 7.3.1.9 Status Code field, Table 7-23--Status codes, the 0x12 code (ie
18) must be interpreted as 

"Association denied due to requesting STA not supporting all of the data rates
in the BSSBasicRateSet parameter"

This is seen in Association Response packets which reject a client station on
the basis of its mismatching data rates. 

The fix:
~~~~~~~~

Change the line's string to 

"Association denied due to requesting STA not supporting all of the data rates
in the BSSBasicRateSet parameter"

However, "STA" may remain as "station", for clarity.
I've quickly gone over the rest of this array, but do not see a need for any
other changes. Let's hope this is it! :-)








Association denied due to requesting station not supporting all "
     "of the datarates in the BSSBasicServiceSet Parameter"

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.