* AP mode with ath5k/ath9k and hostapd 0.6.9 not working, probable bug found
@ 2009-10-22 12:45 Joerg Pommnitz
2009-10-22 12:59 ` Holger Schurig
0 siblings, 1 reply; 3+ messages in thread
From: Joerg Pommnitz @ 2009-10-22 12:45 UTC (permalink / raw)
To: linux-wireless; +Cc: hostapd list
[-- Attachment #1: Type: text/plain, Size: 1700 bytes --]
Hello all,
the following is my analysis of the problem I encountered while trying to get
AP mode with ath5k/ath9k to work.
Software versions
=================
Kernel/drivers: wireless-testing tagged master-2009-10-16 (e.g. the latest as of today)
hostapd: 0.6.9
For comparison I used madwifi-0.9.4 with the same hostapd binary
Client: Windows Vista
Configuration
=============
The simplest possible hostapd configuration, no encryption:
interface=wlan0
driver=nl80211
ssid=mac80211ap
hw_mode=g
Observations
============
Initially I just couldn't connect to the ath5k/ath9k AP. To investigate the problem
I run a tcpdump trace on a different machine in monitoring mode. For comparison I
did an equivalent trace with an AP based on Madwifi-0.9.4.
Comparing the two traces I found two suspicious differences:
1) The Authentication Response and the Association Response frames from the ath9k AP
had a sequence number of 0 (zero) while the equivalent frames from Madwifi had
sequence numbers in sync with previous management frames. Both of these frames
were probably injected by hostapd which doesn't know the current sequence number,
right? Who should assign the correct one: mac80211 or the driver?
2) The Association Request (e.g. *FROM* the client) had the "Short Preamble" capability
bit set zo 0 (zero) despite the fact that it was advertising extended rates. I have
no idea why it did choose so. The equivalent frame from the Madwifi trace had the
"Short Preamble" flag set to 1 as expected.
Can anybody shed some light on the problems I found?
Attached are the traces for reference.
Thanks in advance
Joerg
[-- Attachment #2: association-ath9k.txt --]
[-- Type: text/plain, Size: 35339 bytes --]
No. Time Source Destination Protocol Info
378 20.059394 IntelCor_b5:fa:63 Compex_64:c7:d7 IEEE 802.11 Authentication,SN=995,FN=0
Frame 378 (60 bytes on wire, 60 bytes captured)
Arrival Time: Oct 22, 2009 11:00:19.682465000
[Time delta from previous packet: 0.014698000 seconds]
[Time since reference or first frame: 20.059394000 seconds]
Frame Number: 378
Packet Length: 60 bytes
Capture Length: 60 bytes
[Frame is marked: True]
[Protocols in frame: radiotap:wlan]
Radiotap Header v0, Length 26
Header revision: 0
Header pad: 0
Header length: 26
Present flags: 0x0000186f
.... .... .... .... .... .... .... ...1 = TSFT: True
.... .... .... .... .... .... .... ..1. = Flags: True
.... .... .... .... .... .... .... .1.. = Rate: True
.... .... .... .... .... .... .... 1... = Channel: True
.... .... .... .... .... .... ...0 .... = FHSS: False
.... .... .... .... .... .... ..1. .... = DBM Antenna Signal: True
.... .... .... .... .... .... .1.. .... = DBM Antenna Noise: True
.... .... .... .... .... .... 0... .... = Lock Quality: False
.... .... .... .... .... ...0 .... .... = TX Attenuation: False
.... .... .... .... .... ..0. .... .... = DB TX Attenuation: False
.... .... .... .... .... .0.. .... .... = DBM TX Attenuation: False
.... .... .... .... .... 1... .... .... = Antenna: True
.... .... .... .... ...1 .... .... .... = DB Antenna Signal: True
.... .... .... .... ..0. .... .... .... = DB Antenna Noise: False
.... .... .... .... .0.. .... .... .... = FCS in header: False
0... .... .... .... .... .... .... .... = Ext: False
MAC timestamp: 127679021676
Flags: 0x12
.... ...0 = CFP: False
.... ..1. = Preamble: Short
.... .0.. = WEP: False
.... 0... = Fragmentation: False
...1 .... = FCS at end: True
..0. .... = Data Pad: False
Data Rate: 11.0 Mb/s
Channel: 12
Channel frequency: 2467
Channel type: 802.11g (0x0480)
SSI Signal: -51 dBm
SSI Noise: -96 dBm
Antenna: 1
SSI Signal: 45 dB
IEEE 802.11
Type/Subtype: Authentication (11)
Frame Control: 0x00B0 (Normal)
Version: 0
Type: Management frame (0)
Subtype: 11
Flags: 0x0
DS status: Not leaving DS or network is operating in AD-HOC mode (To DS: 0 From DS: 0) (0x00)
.... .0.. = More Fragments: This is the last fragment
.... 0... = Retry: Frame is not being retransmitted
...0 .... = PWR MGT: STA will stay up
..0. .... = More Data: No data buffered
.0.. .... = Protected flag: Data is not protected
0... .... = Order flag: Not strictly ordered
Duration: 213
Destination address: Compex_64:c7:d7 (00:80:48:64:c7:d7)
Source address: IntelCor_b5:fa:63 (00:13:e8:b5:fa:63)
BSS Id: Compex_64:c7:d7 (00:80:48:64:c7:d7)
Fragment number: 0
Sequence number: 995
Frame check sequence: 0x2f74d2b5 [correct]
[Good: True]
[Bad: False]
IEEE 802.11 wireless LAN management frame
Fixed parameters (6 bytes)
Authentication Algorithm: Open System (0)
Authentication SEQ: 0x0001
Status code: Successful (0x0000)
No. Time Source Destination Protocol Info
379 20.059604 IntelCor_b5:fa:63 (RA) IEEE 802.11 Acknowledgement
Frame 379 (38 bytes on wire, 38 bytes captured)
Arrival Time: Oct 22, 2009 11:00:19.682675000
[Time delta from previous packet: 0.000210000 seconds]
[Time since reference or first frame: 20.059604000 seconds]
Frame Number: 379
Packet Length: 38 bytes
Capture Length: 38 bytes
[Frame is marked: True]
[Protocols in frame: radiotap:wlan]
Radiotap Header v0, Length 26
Header revision: 0
Header pad: 0
Header length: 26
Present flags: 0x0000186f
.... .... .... .... .... .... .... ...1 = TSFT: True
.... .... .... .... .... .... .... ..1. = Flags: True
.... .... .... .... .... .... .... .1.. = Rate: True
.... .... .... .... .... .... .... 1... = Channel: True
.... .... .... .... .... .... ...0 .... = FHSS: False
.... .... .... .... .... .... ..1. .... = DBM Antenna Signal: True
.... .... .... .... .... .... .1.. .... = DBM Antenna Noise: True
.... .... .... .... .... .... 0... .... = Lock Quality: False
.... .... .... .... .... ...0 .... .... = TX Attenuation: False
.... .... .... .... .... ..0. .... .... = DB TX Attenuation: False
.... .... .... .... .... .0.. .... .... = DBM TX Attenuation: False
.... .... .... .... .... 1... .... .... = Antenna: True
.... .... .... .... ...1 .... .... .... = DB Antenna Signal: True
.... .... .... .... ..0. .... .... .... = DB Antenna Noise: False
.... .... .... .... .0.. .... .... .... = FCS in header: False
0... .... .... .... .... .... .... .... = Ext: False
MAC timestamp: 127679021886
Flags: 0x12
.... ...0 = CFP: False
.... ..1. = Preamble: Short
.... .0.. = WEP: False
.... 0... = Fragmentation: False
...1 .... = FCS at end: True
..0. .... = Data Pad: False
Data Rate: 11.0 Mb/s
Channel: 12
Channel frequency: 2467
Channel type: 802.11g (0x0480)
SSI Signal: -45 dBm
SSI Noise: -96 dBm
Antenna: 1
SSI Signal: 51 dB
IEEE 802.11
Type/Subtype: Acknowledgement (29)
Frame Control: 0x00D4 (Normal)
Version: 0
Type: Control frame (1)
Subtype: 13
Flags: 0x0
DS status: Not leaving DS or network is operating in AD-HOC mode (To DS: 0 From DS: 0) (0x00)
.... .0.. = More Fragments: This is the last fragment
.... 0... = Retry: Frame is not being retransmitted
...0 .... = PWR MGT: STA will stay up
..0. .... = More Data: No data buffered
.0.. .... = Protected flag: Data is not protected
0... .... = Order flag: Not strictly ordered
Duration: 0
Receiver address: IntelCor_b5:fa:63 (00:13:e8:b5:fa:63)
No. Time Source Destination Protocol Info
380 20.060598 Compex_64:c7:d7 IntelCor_b5:fa:63 IEEE 802.11 Authentication,SN=0,FN=0
Frame 380 (60 bytes on wire, 60 bytes captured)
Arrival Time: Oct 22, 2009 11:00:19.683669000
[Time delta from previous packet: 0.000994000 seconds]
[Time since reference or first frame: 20.060598000 seconds]
Frame Number: 380
Packet Length: 60 bytes
Capture Length: 60 bytes
[Frame is marked: True]
[Protocols in frame: radiotap:wlan]
Radiotap Header v0, Length 26
Header revision: 0
Header pad: 0
Header length: 26
Present flags: 0x0000186f
.... .... .... .... .... .... .... ...1 = TSFT: True
.... .... .... .... .... .... .... ..1. = Flags: True
.... .... .... .... .... .... .... .1.. = Rate: True
.... .... .... .... .... .... .... 1... = Channel: True
.... .... .... .... .... .... ...0 .... = FHSS: False
.... .... .... .... .... .... ..1. .... = DBM Antenna Signal: True
.... .... .... .... .... .... .1.. .... = DBM Antenna Noise: True
.... .... .... .... .... .... 0... .... = Lock Quality: False
.... .... .... .... .... ...0 .... .... = TX Attenuation: False
.... .... .... .... .... ..0. .... .... = DB TX Attenuation: False
.... .... .... .... .... .0.. .... .... = DBM TX Attenuation: False
.... .... .... .... .... 1... .... .... = Antenna: True
.... .... .... .... ...1 .... .... .... = DB Antenna Signal: True
.... .... .... .... ..0. .... .... .... = DB Antenna Noise: False
.... .... .... .... .0.. .... .... .... = FCS in header: False
0... .... .... .... .... .... .... .... = Ext: False
MAC timestamp: 127679022878
Flags: 0x12
.... ...0 = CFP: False
.... ..1. = Preamble: Short
.... .0.. = WEP: False
.... 0... = Fragmentation: False
...1 .... = FCS at end: True
..0. .... = Data Pad: False
Data Rate: 1.0 Mb/s
Channel: 12
Channel frequency: 2467
Channel type: 802.11g (0x0480)
SSI Signal: -45 dBm
SSI Noise: -96 dBm
Antenna: 1
SSI Signal: 51 dB
IEEE 802.11
Type/Subtype: Authentication (11)
Frame Control: 0x00B0 (Normal)
Version: 0
Type: Management frame (0)
Subtype: 11
Flags: 0x0
DS status: Not leaving DS or network is operating in AD-HOC mode (To DS: 0 From DS: 0) (0x00)
.... .0.. = More Fragments: This is the last fragment
.... 0... = Retry: Frame is not being retransmitted
...0 .... = PWR MGT: STA will stay up
..0. .... = More Data: No data buffered
.0.. .... = Protected flag: Data is not protected
0... .... = Order flag: Not strictly ordered
Duration: 314
Destination address: IntelCor_b5:fa:63 (00:13:e8:b5:fa:63)
Source address: Compex_64:c7:d7 (00:80:48:64:c7:d7)
BSS Id: Compex_64:c7:d7 (00:80:48:64:c7:d7)
Fragment number: 0
Sequence number: 0
Frame check sequence: 0xc283ddaa [correct]
[Good: True]
[Bad: False]
IEEE 802.11 wireless LAN management frame
Fixed parameters (6 bytes)
Authentication Algorithm: Open System (0)
Authentication SEQ: 0x0002
Status code: Successful (0x0000)
No. Time Source Destination Protocol Info
381 20.060908 Compex_64:c7:d7 (RA) IEEE 802.11 Acknowledgement
Frame 381 (38 bytes on wire, 38 bytes captured)
Arrival Time: Oct 22, 2009 11:00:19.683979000
[Time delta from previous packet: 0.000310000 seconds]
[Time since reference or first frame: 20.060908000 seconds]
Frame Number: 381
Packet Length: 38 bytes
Capture Length: 38 bytes
[Frame is marked: True]
[Protocols in frame: radiotap:wlan]
Radiotap Header v0, Length 26
Header revision: 0
Header pad: 0
Header length: 26
Present flags: 0x0000186f
.... .... .... .... .... .... .... ...1 = TSFT: True
.... .... .... .... .... .... .... ..1. = Flags: True
.... .... .... .... .... .... .... .1.. = Rate: True
.... .... .... .... .... .... .... 1... = Channel: True
.... .... .... .... .... .... ...0 .... = FHSS: False
.... .... .... .... .... .... ..1. .... = DBM Antenna Signal: True
.... .... .... .... .... .... .1.. .... = DBM Antenna Noise: True
.... .... .... .... .... .... 0... .... = Lock Quality: False
.... .... .... .... .... ...0 .... .... = TX Attenuation: False
.... .... .... .... .... ..0. .... .... = DB TX Attenuation: False
.... .... .... .... .... .0.. .... .... = DBM TX Attenuation: False
.... .... .... .... .... 1... .... .... = Antenna: True
.... .... .... .... ...1 .... .... .... = DB Antenna Signal: True
.... .... .... .... ..0. .... .... .... = DB Antenna Noise: False
.... .... .... .... .0.. .... .... .... = FCS in header: False
0... .... .... .... .... .... .... .... = Ext: False
MAC timestamp: 127679023190
Flags: 0x12
.... ...0 = CFP: False
.... ..1. = Preamble: Short
.... .0.. = WEP: False
.... 0... = Fragmentation: False
...1 .... = FCS at end: True
..0. .... = Data Pad: False
Data Rate: 1.0 Mb/s
Channel: 12
Channel frequency: 2467
Channel type: 802.11g (0x0480)
SSI Signal: -51 dBm
SSI Noise: -96 dBm
Antenna: 1
SSI Signal: 45 dB
IEEE 802.11
Type/Subtype: Acknowledgement (29)
Frame Control: 0x00D4 (Normal)
Version: 0
Type: Control frame (1)
Subtype: 13
Flags: 0x0
DS status: Not leaving DS or network is operating in AD-HOC mode (To DS: 0 From DS: 0) (0x00)
.... .0.. = More Fragments: This is the last fragment
.... 0... = Retry: Frame is not being retransmitted
...0 .... = PWR MGT: STA will stay up
..0. .... = More Data: No data buffered
.0.. .... = Protected flag: Data is not protected
0... .... = Order flag: Not strictly ordered
Duration: 0
Receiver address: Compex_64:c7:d7 (00:80:48:64:c7:d7)
No. Time Source Destination Protocol Info
382 20.061417 IntelCor_b5:fa:63 Compex_64:c7:d7 IEEE 802.11 Association Request,SN=996,FN=0, SSID: "ath9kap"
Frame 382 (83 bytes on wire, 83 bytes captured)
Arrival Time: Oct 22, 2009 11:00:19.684488000
[Time delta from previous packet: 0.000509000 seconds]
[Time since reference or first frame: 20.061417000 seconds]
Frame Number: 382
Packet Length: 83 bytes
Capture Length: 83 bytes
[Frame is marked: True]
[Protocols in frame: radiotap:wlan]
Radiotap Header v0, Length 26
Header revision: 0
Header pad: 0
Header length: 26
Present flags: 0x0000186f
.... .... .... .... .... .... .... ...1 = TSFT: True
.... .... .... .... .... .... .... ..1. = Flags: True
.... .... .... .... .... .... .... .1.. = Rate: True
.... .... .... .... .... .... .... 1... = Channel: True
.... .... .... .... .... .... ...0 .... = FHSS: False
.... .... .... .... .... .... ..1. .... = DBM Antenna Signal: True
.... .... .... .... .... .... .1.. .... = DBM Antenna Noise: True
.... .... .... .... .... .... 0... .... = Lock Quality: False
.... .... .... .... .... ...0 .... .... = TX Attenuation: False
.... .... .... .... .... ..0. .... .... = DB TX Attenuation: False
.... .... .... .... .... .0.. .... .... = DBM TX Attenuation: False
.... .... .... .... .... 1... .... .... = Antenna: True
.... .... .... .... ...1 .... .... .... = DB Antenna Signal: True
.... .... .... .... ..0. .... .... .... = DB Antenna Noise: False
.... .... .... .... .0.. .... .... .... = FCS in header: False
0... .... .... .... .... .... .... .... = Ext: False
MAC timestamp: 127679023699
Flags: 0x12
.... ...0 = CFP: False
.... ..1. = Preamble: Short
.... .0.. = WEP: False
.... 0... = Fragmentation: False
...1 .... = FCS at end: True
..0. .... = Data Pad: False
Data Rate: 11.0 Mb/s
Channel: 12
Channel frequency: 2467
Channel type: 802.11g (0x0480)
SSI Signal: -51 dBm
SSI Noise: -96 dBm
Antenna: 1
SSI Signal: 45 dB
IEEE 802.11
Type/Subtype: Association Request (0)
Frame Control: 0x0000 (Normal)
Version: 0
Type: Management frame (0)
Subtype: 0
Flags: 0x0
DS status: Not leaving DS or network is operating in AD-HOC mode (To DS: 0 From DS: 0) (0x00)
.... .0.. = More Fragments: This is the last fragment
.... 0... = Retry: Frame is not being retransmitted
...0 .... = PWR MGT: STA will stay up
..0. .... = More Data: No data buffered
.0.. .... = Protected flag: Data is not protected
0... .... = Order flag: Not strictly ordered
Duration: 213
Destination address: Compex_64:c7:d7 (00:80:48:64:c7:d7)
Source address: IntelCor_b5:fa:63 (00:13:e8:b5:fa:63)
BSS Id: Compex_64:c7:d7 (00:80:48:64:c7:d7)
Fragment number: 0
Sequence number: 996
Frame check sequence: 0x05e0fcbd [correct]
[Good: True]
[Bad: False]
IEEE 802.11 wireless LAN management frame
Fixed parameters (4 bytes)
Capability Information: 0x0401
.... .... .... ...1 = ESS capabilities: Transmitter is an AP
.... .... .... ..0. = IBSS status: Transmitter belongs to a BSS
.... ..0. .... 00.. = CFP participation capabilities: No point coordinator at AP (0x0000)
.... .... ...0 .... = Privacy: AP/STA cannot support WEP
.... .... ..0. .... = Short Preamble: Short preamble not allowed
.... .... .0.. .... = PBCC: PBCC modulation not allowed
.... .... 0... .... = Channel Agility: Channel agility not in use
.... ...0 .... .... = Spectrum Management: dot11SpectrumManagementRequired FALSE
.... .1.. .... .... = Short Slot Time: Short slot time in use
.... 0... .... .... = Automatic Power Save Delivery: apsd not implemented
..0. .... .... .... = DSSS-OFDM: DSSS-OFDM modulation not allowed
.0.. .... .... .... = Delayed Block Ack: delayed block ack not implented
0... .... .... .... = Immediate Block Ack: immediate block ack not implented
Listen Interval: 0x000a
Tagged parameters (25 bytes)
SSID parameter set: "ath9kap"
Tag Number: 0 (SSID parameter set)
Tag length: 7
Tag interpretation: ath9kap
Supported Rates: 1,0(B) 2,0(B) 5,5(B) 11,0(B) 6,0 9,0 12,0 18,0
Tag Number: 1 (Supported Rates)
Tag length: 8
Tag interpretation: Supported rates: 1,0(B) 2,0(B) 5,5(B) 11,0(B) 6,0 9,0 12,0 18,0 [Mbit/sec]
Extended Supported Rates: 24,0 36,0 48,0 54,0
Tag Number: 50 (Extended Supported Rates)
Tag length: 4
Tag interpretation: Supported rates: 24,0 36,0 48,0 54,0 [Mbit/sec]
No. Time Source Destination Protocol Info
383 20.061629 IntelCor_b5:fa:63 (RA) IEEE 802.11 Acknowledgement
Frame 383 (38 bytes on wire, 38 bytes captured)
Arrival Time: Oct 22, 2009 11:00:19.684700000
[Time delta from previous packet: 0.000212000 seconds]
[Time since reference or first frame: 20.061629000 seconds]
Frame Number: 383
Packet Length: 38 bytes
Capture Length: 38 bytes
[Frame is marked: True]
[Protocols in frame: radiotap:wlan]
Radiotap Header v0, Length 26
Header revision: 0
Header pad: 0
Header length: 26
Present flags: 0x0000186f
.... .... .... .... .... .... .... ...1 = TSFT: True
.... .... .... .... .... .... .... ..1. = Flags: True
.... .... .... .... .... .... .... .1.. = Rate: True
.... .... .... .... .... .... .... 1... = Channel: True
.... .... .... .... .... .... ...0 .... = FHSS: False
.... .... .... .... .... .... ..1. .... = DBM Antenna Signal: True
.... .... .... .... .... .... .1.. .... = DBM Antenna Noise: True
.... .... .... .... .... .... 0... .... = Lock Quality: False
.... .... .... .... .... ...0 .... .... = TX Attenuation: False
.... .... .... .... .... ..0. .... .... = DB TX Attenuation: False
.... .... .... .... .... .0.. .... .... = DBM TX Attenuation: False
.... .... .... .... .... 1... .... .... = Antenna: True
.... .... .... .... ...1 .... .... .... = DB Antenna Signal: True
.... .... .... .... ..0. .... .... .... = DB Antenna Noise: False
.... .... .... .... .0.. .... .... .... = FCS in header: False
0... .... .... .... .... .... .... .... = Ext: False
MAC timestamp: 127679023912
Flags: 0x12
.... ...0 = CFP: False
.... ..1. = Preamble: Short
.... .0.. = WEP: False
.... 0... = Fragmentation: False
...1 .... = FCS at end: True
..0. .... = Data Pad: False
Data Rate: 11.0 Mb/s
Channel: 12
Channel frequency: 2467
Channel type: 802.11g (0x0480)
SSI Signal: -44 dBm
SSI Noise: -96 dBm
Antenna: 1
SSI Signal: 52 dB
IEEE 802.11
Type/Subtype: Acknowledgement (29)
Frame Control: 0x00D4 (Normal)
Version: 0
Type: Control frame (1)
Subtype: 13
Flags: 0x0
DS status: Not leaving DS or network is operating in AD-HOC mode (To DS: 0 From DS: 0) (0x00)
.... .0.. = More Fragments: This is the last fragment
.... 0... = Retry: Frame is not being retransmitted
...0 .... = PWR MGT: STA will stay up
..0. .... = More Data: No data buffered
.0.. .... = Protected flag: Data is not protected
0... .... = Order flag: Not strictly ordered
Duration: 0
Receiver address: IntelCor_b5:fa:63 (00:13:e8:b5:fa:63)
No. Time Source Destination Protocol Info
385 20.071316 Compex_64:c7:d7 IntelCor_b5:fa:63 IEEE 802.11 Association Response,SN=0,FN=0
Frame 385 (76 bytes on wire, 76 bytes captured)
Arrival Time: Oct 22, 2009 11:00:19.694387000
[Time delta from previous packet: 0.000986000 seconds]
[Time since reference or first frame: 20.071316000 seconds]
Frame Number: 385
Packet Length: 76 bytes
Capture Length: 76 bytes
[Frame is marked: True]
[Protocols in frame: radiotap:wlan]
Radiotap Header v0, Length 26
Header revision: 0
Header pad: 0
Header length: 26
Present flags: 0x0000186f
.... .... .... .... .... .... .... ...1 = TSFT: True
.... .... .... .... .... .... .... ..1. = Flags: True
.... .... .... .... .... .... .... .1.. = Rate: True
.... .... .... .... .... .... .... 1... = Channel: True
.... .... .... .... .... .... ...0 .... = FHSS: False
.... .... .... .... .... .... ..1. .... = DBM Antenna Signal: True
.... .... .... .... .... .... .1.. .... = DBM Antenna Noise: True
.... .... .... .... .... .... 0... .... = Lock Quality: False
.... .... .... .... .... ...0 .... .... = TX Attenuation: False
.... .... .... .... .... ..0. .... .... = DB TX Attenuation: False
.... .... .... .... .... .0.. .... .... = DBM TX Attenuation: False
.... .... .... .... .... 1... .... .... = Antenna: True
.... .... .... .... ...1 .... .... .... = DB Antenna Signal: True
.... .... .... .... ..0. .... .... .... = DB Antenna Noise: False
.... .... .... .... .0.. .... .... .... = FCS in header: False
0... .... .... .... .... .... .... .... = Ext: False
MAC timestamp: 127679033598
Flags: 0x12
.... ...0 = CFP: False
.... ..1. = Preamble: Short
.... .0.. = WEP: False
.... 0... = Fragmentation: False
...1 .... = FCS at end: True
..0. .... = Data Pad: False
Data Rate: 1.0 Mb/s
Channel: 12
Channel frequency: 2467
Channel type: 802.11g (0x0480)
SSI Signal: -45 dBm
SSI Noise: -96 dBm
Antenna: 1
SSI Signal: 51 dB
IEEE 802.11
Type/Subtype: Association Response (1)
Frame Control: 0x0010 (Normal)
Version: 0
Type: Management frame (0)
Subtype: 1
Flags: 0x0
DS status: Not leaving DS or network is operating in AD-HOC mode (To DS: 0 From DS: 0) (0x00)
.... .0.. = More Fragments: This is the last fragment
.... 0... = Retry: Frame is not being retransmitted
...0 .... = PWR MGT: STA will stay up
..0. .... = More Data: No data buffered
.0.. .... = Protected flag: Data is not protected
0... .... = Order flag: Not strictly ordered
Duration: 314
Destination address: IntelCor_b5:fa:63 (00:13:e8:b5:fa:63)
Source address: Compex_64:c7:d7 (00:80:48:64:c7:d7)
BSS Id: Compex_64:c7:d7 (00:80:48:64:c7:d7)
Fragment number: 0
Sequence number: 0
Frame check sequence: 0x3df93a4f [correct]
[Good: True]
[Bad: False]
IEEE 802.11 wireless LAN management frame
Fixed parameters (6 bytes)
Capability Information: 0x0401
.... .... .... ...1 = ESS capabilities: Transmitter is an AP
.... .... .... ..0. = IBSS status: Transmitter belongs to a BSS
.... ..0. .... 00.. = CFP participation capabilities: No point coordinator at AP (0x0000)
.... .... ...0 .... = Privacy: AP/STA cannot support WEP
.... .... ..0. .... = Short Preamble: Short preamble not allowed
.... .... .0.. .... = PBCC: PBCC modulation not allowed
.... .... 0... .... = Channel Agility: Channel agility not in use
.... ...0 .... .... = Spectrum Management: dot11SpectrumManagementRequired FALSE
.... .1.. .... .... = Short Slot Time: Short slot time in use
.... 0... .... .... = Automatic Power Save Delivery: apsd not implemented
..0. .... .... .... = DSSS-OFDM: DSSS-OFDM modulation not allowed
.0.. .... .... .... = Delayed Block Ack: delayed block ack not implented
0... .... .... .... = Immediate Block Ack: immediate block ack not implented
Status code: Successful (0x0000)
Association ID: 0x0001
Tagged parameters (16 bytes)
Supported Rates: 1,0(B) 2,0(B) 5,5(B) 11,0(B) 6,0 9,0 12,0 18,0
Tag Number: 1 (Supported Rates)
Tag length: 8
Tag interpretation: Supported rates: 1,0(B) 2,0(B) 5,5(B) 11,0(B) 6,0 9,0 12,0 18,0 [Mbit/sec]
Extended Supported Rates: 24,0 36,0 48,0 54,0
Tag Number: 50 (Extended Supported Rates)
Tag length: 4
Tag interpretation: Supported rates: 24,0 36,0 48,0 54,0 [Mbit/sec]
No. Time Source Destination Protocol Info
386 20.071631 Compex_64:c7:d7 (RA) IEEE 802.11 Acknowledgement
Frame 386 (38 bytes on wire, 38 bytes captured)
Arrival Time: Oct 22, 2009 11:00:19.694702000
[Time delta from previous packet: 0.000315000 seconds]
[Time since reference or first frame: 20.071631000 seconds]
Frame Number: 386
Packet Length: 38 bytes
Capture Length: 38 bytes
[Frame is marked: True]
[Protocols in frame: radiotap:wlan]
Radiotap Header v0, Length 26
Header revision: 0
Header pad: 0
Header length: 26
Present flags: 0x0000186f
.... .... .... .... .... .... .... ...1 = TSFT: True
.... .... .... .... .... .... .... ..1. = Flags: True
.... .... .... .... .... .... .... .1.. = Rate: True
.... .... .... .... .... .... .... 1... = Channel: True
.... .... .... .... .... .... ...0 .... = FHSS: False
.... .... .... .... .... .... ..1. .... = DBM Antenna Signal: True
.... .... .... .... .... .... .1.. .... = DBM Antenna Noise: True
.... .... .... .... .... .... 0... .... = Lock Quality: False
.... .... .... .... .... ...0 .... .... = TX Attenuation: False
.... .... .... .... .... ..0. .... .... = DB TX Attenuation: False
.... .... .... .... .... .0.. .... .... = DBM TX Attenuation: False
.... .... .... .... .... 1... .... .... = Antenna: True
.... .... .... .... ...1 .... .... .... = DB Antenna Signal: True
.... .... .... .... ..0. .... .... .... = DB Antenna Noise: False
.... .... .... .... .0.. .... .... .... = FCS in header: False
0... .... .... .... .... .... .... .... = Ext: False
MAC timestamp: 127679033913
Flags: 0x12
.... ...0 = CFP: False
.... ..1. = Preamble: Short
.... .0.. = WEP: False
.... 0... = Fragmentation: False
...1 .... = FCS at end: True
..0. .... = Data Pad: False
Data Rate: 1.0 Mb/s
Channel: 12
Channel frequency: 2467
Channel type: 802.11g (0x0480)
SSI Signal: -50 dBm
SSI Noise: -96 dBm
Antenna: 1
SSI Signal: 46 dB
IEEE 802.11
Type/Subtype: Acknowledgement (29)
Frame Control: 0x00D4 (Normal)
Version: 0
Type: Control frame (1)
Subtype: 13
Flags: 0x0
DS status: Not leaving DS or network is operating in AD-HOC mode (To DS: 0 From DS: 0) (0x00)
.... .0.. = More Fragments: This is the last fragment
.... 0... = Retry: Frame is not being retransmitted
...0 .... = PWR MGT: STA will stay up
..0. .... = More Data: No data buffered
.0.. .... = Protected flag: Data is not protected
0... .... = Order flag: Not strictly ordered
Duration: 0
Receiver address: Compex_64:c7:d7 (00:80:48:64:c7:d7)
No. Time Source Destination Protocol Info
389 20.264049 IntelCor_b5:fa:63 Compex_64:c7:d7 IEEE 802.11 Deauthentication,SN=997,FN=0
Frame 389 (56 bytes on wire, 56 bytes captured)
Arrival Time: Oct 22, 2009 11:00:19.887120000
[Time delta from previous packet: 0.000341000 seconds]
[Time since reference or first frame: 20.264049000 seconds]
Frame Number: 389
Packet Length: 56 bytes
Capture Length: 56 bytes
[Frame is marked: True]
[Protocols in frame: radiotap:wlan]
Radiotap Header v0, Length 26
Header revision: 0
Header pad: 0
Header length: 26
Present flags: 0x0000186f
.... .... .... .... .... .... .... ...1 = TSFT: True
.... .... .... .... .... .... .... ..1. = Flags: True
.... .... .... .... .... .... .... .1.. = Rate: True
.... .... .... .... .... .... .... 1... = Channel: True
.... .... .... .... .... .... ...0 .... = FHSS: False
.... .... .... .... .... .... ..1. .... = DBM Antenna Signal: True
.... .... .... .... .... .... .1.. .... = DBM Antenna Noise: True
.... .... .... .... .... .... 0... .... = Lock Quality: False
.... .... .... .... .... ...0 .... .... = TX Attenuation: False
.... .... .... .... .... ..0. .... .... = DB TX Attenuation: False
.... .... .... .... .... .0.. .... .... = DBM TX Attenuation: False
.... .... .... .... .... 1... .... .... = Antenna: True
.... .... .... .... ...1 .... .... .... = DB Antenna Signal: True
.... .... .... .... ..0. .... .... .... = DB Antenna Noise: False
.... .... .... .... .0.. .... .... .... = FCS in header: False
0... .... .... .... .... .... .... .... = Ext: False
MAC timestamp: 127679226330
Flags: 0x12
.... ...0 = CFP: False
.... ..1. = Preamble: Short
.... .0.. = WEP: False
.... 0... = Fragmentation: False
...1 .... = FCS at end: True
..0. .... = Data Pad: False
Data Rate: 11.0 Mb/s
Channel: 12
Channel frequency: 2467
Channel type: 802.11g (0x0480)
SSI Signal: -49 dBm
SSI Noise: -96 dBm
Antenna: 1
SSI Signal: 47 dB
IEEE 802.11
Type/Subtype: Deauthentication (12)
Frame Control: 0x00C0 (Normal)
Version: 0
Type: Management frame (0)
Subtype: 12
Flags: 0x0
DS status: Not leaving DS or network is operating in AD-HOC mode (To DS: 0 From DS: 0) (0x00)
.... .0.. = More Fragments: This is the last fragment
.... 0... = Retry: Frame is not being retransmitted
...0 .... = PWR MGT: STA will stay up
..0. .... = More Data: No data buffered
.0.. .... = Protected flag: Data is not protected
0... .... = Order flag: Not strictly ordered
Duration: 213
Destination address: Compex_64:c7:d7 (00:80:48:64:c7:d7)
Source address: IntelCor_b5:fa:63 (00:13:e8:b5:fa:63)
BSS Id: Compex_64:c7:d7 (00:80:48:64:c7:d7)
Fragment number: 0
Sequence number: 997
Frame check sequence: 0x8bfd3c64 [correct]
[Good: True]
[Bad: False]
IEEE 802.11 wireless LAN management frame
Fixed parameters (2 bytes)
Reason code: Unspecified reason (0x0001)
No. Time Source Destination Protocol Info
390 20.264260 IntelCor_b5:fa:63 (RA) IEEE 802.11 Acknowledgement
Frame 390 (38 bytes on wire, 38 bytes captured)
Arrival Time: Oct 22, 2009 11:00:19.887331000
[Time delta from previous packet: 0.000211000 seconds]
[Time since reference or first frame: 20.264260000 seconds]
Frame Number: 390
Packet Length: 38 bytes
Capture Length: 38 bytes
[Frame is marked: True]
[Protocols in frame: radiotap:wlan]
Radiotap Header v0, Length 26
Header revision: 0
Header pad: 0
Header length: 26
Present flags: 0x0000186f
.... .... .... .... .... .... .... ...1 = TSFT: True
.... .... .... .... .... .... .... ..1. = Flags: True
.... .... .... .... .... .... .... .1.. = Rate: True
.... .... .... .... .... .... .... 1... = Channel: True
.... .... .... .... .... .... ...0 .... = FHSS: False
.... .... .... .... .... .... ..1. .... = DBM Antenna Signal: True
.... .... .... .... .... .... .1.. .... = DBM Antenna Noise: True
.... .... .... .... .... .... 0... .... = Lock Quality: False
.... .... .... .... .... ...0 .... .... = TX Attenuation: False
.... .... .... .... .... ..0. .... .... = DB TX Attenuation: False
.... .... .... .... .... .0.. .... .... = DBM TX Attenuation: False
.... .... .... .... .... 1... .... .... = Antenna: True
.... .... .... .... ...1 .... .... .... = DB Antenna Signal: True
.... .... .... .... ..0. .... .... .... = DB Antenna Noise: False
.... .... .... .... .0.. .... .... .... = FCS in header: False
0... .... .... .... .... .... .... .... = Ext: False
MAC timestamp: 127679226540
Flags: 0x12
.... ...0 = CFP: False
.... ..1. = Preamble: Short
.... .0.. = WEP: False
.... 0... = Fragmentation: False
...1 .... = FCS at end: True
..0. .... = Data Pad: False
Data Rate: 11.0 Mb/s
Channel: 12
Channel frequency: 2467
Channel type: 802.11g (0x0480)
SSI Signal: -44 dBm
SSI Noise: -96 dBm
Antenna: 1
SSI Signal: 52 dB
IEEE 802.11
Type/Subtype: Acknowledgement (29)
Frame Control: 0x00D4 (Normal)
Version: 0
Type: Control frame (1)
Subtype: 13
Flags: 0x0
DS status: Not leaving DS or network is operating in AD-HOC mode (To DS: 0 From DS: 0) (0x00)
.... .0.. = More Fragments: This is the last fragment
.... 0... = Retry: Frame is not being retransmitted
...0 .... = PWR MGT: STA will stay up
..0. .... = More Data: No data buffered
.0.. .... = Protected flag: Data is not protected
0... .... = Order flag: Not strictly ordered
Duration: 0
Receiver address: IntelCor_b5:fa:63 (00:13:e8:b5:fa:63)
^ permalink raw reply [flat|nested] 3+ messages in thread* RE: AP mode with ath5k/ath9k and hostapd 0.6.9 not working, probable bug found
@ 2009-10-22 13:35 Joerg Pommnitz
0 siblings, 0 replies; 3+ messages in thread
From: Joerg Pommnitz @ 2009-10-22 13:35 UTC (permalink / raw)
To: linux-wireless; +Cc: hostapd list, ath9k-devel
Investigating the ath9k traces further shows, that the beacons have correct sequence numbers while
all Probe Responses have 0 (zero).
--
Regards
Joerg
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-10-22 13:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-22 12:45 AP mode with ath5k/ath9k and hostapd 0.6.9 not working, probable bug found Joerg Pommnitz
2009-10-22 12:59 ` Holger Schurig
-- strict thread matches above, loose matches on Subject: below --
2009-10-22 13:35 Joerg Pommnitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox