linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Stezenbach <js@sig21.net>
To: Helmut Schaa <helmut.schaa@googlemail.com>
Cc: Lee <lee-in-berlin@web.de>, linux-wireless@vger.kernel.org
Subject: Re: [regression]AP with hostapd 0.7.3 can't receive packets beyond authentication (2.6.36, rt73usb)
Date: Tue, 26 Oct 2010 17:40:12 +0200	[thread overview]
Message-ID: <20101026154012.GA6908@sig21.net> (raw)
In-Reply-To: <20101026110332.GA3982@sig21.net>

On Tue, Oct 26, 2010 at 01:03:32PM +0200, Johannes Stezenbach wrote:
> 
> (The client is sending ARP requests but not getting answer:
> zzz:~# tcpdump -p -i wlan0
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on wlan0, link-type EN10MB (Ethernet), capture size 65535 bytes
> 13:00:35.740957 ARP, Request who-has 172.28.120.1 tell 172.28.120.2, length 28
> 13:00:36.740924 ARP, Request who-has 172.28.120.1 tell 172.28.120.2, length 28
> 13:00:37.740926 ARP, Request who-has 172.28.120.1 tell 172.28.120.2, length 28
> )

I used a third machine (using ath9k) to dump the traffic with airodump-ng.
ARP requests are sent to broadcast address.

- first I checked power save is off on the client
  (iw dev wlan0 set power_save off)
- then I made static ARP entry on the client (arp -i wlan0 -s 172.28.120.1 00:22:B0:xx:xx:xx)

Then I can see in the dump data packets going to the AP address, and
the AP returns ACK packets.
On AP, "tcpdump -i mon0" outputs one  packet per second (corresponding with
the ping), but "tcpdump -p -i wlan0" does not output anything at all.
RX packet count in "ifconfig wlan0" output does not increase.

on AP:
 # cd /sys/kernel/debug/ieee80211/phy0/stations/00*
 # grep . *
agg_status:next dialog_token: 0x1
agg_status:(snip, all zeros)
dev:wlan0
flags:AUTH
flags:ASSOC
flags:AUTHORIZED
flags:SHORT PREAMBLE
ht_capa:ht not supported
inactive_ms:1160
last_seq_ctrl:ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff cc0 
last_signal:-40
num_ps_buf_frames:0
rc_stats:(snip, all zeors)
rc_stats:Total packet count::    ideal 2      lookaround 0
rx_bytes:1476
rx_dropped:80
rx_duplicates:0
rx_fragments:19
rx_packets:19
tx_bytes:2238
tx_filtered:0
tx_fragments:18
tx_packets:18
tx_retry_count:0
tx_retry_failed:0
wep_weak_iv_count:0

(rx_ + tx_packets does not increase with the ping)

  # cd /sys/kernel/debug/ieee80211/phy0/keys/18
(keys/18 appears after the station is connected)
  # grep . *
algorithm:CCMP
flags:0x1
hw_key_idx:0
ifindex:wlan0
key:1a62718edaf300998cc974f709a0baed
keyidx:0
keylen:16
replays:1
rx_spec:000000000000
  (snip repeats)
tx_rx_count:18
tx_spec:000000000000

  tx_rx_count increases with the ping


HTH,
Johannes

  reply	other threads:[~2010-10-26 15:40 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21 23:47 [regression]AP with hostapd 0.7.3 can't receive packets beyond authentication (2.6.36-, rt73usb) Lee
2010-10-23 19:58 ` [regression]AP with hostapd 0.7.3 can't receive packets beyond authentication (2.6.36, rt73usb) Lee
2010-10-25 17:49   ` John W. Linville
2010-10-26  2:04     ` Lee
2010-10-26  5:40   ` Helmut Schaa
2010-10-26 10:19     ` Johannes Stezenbach
2010-10-26 11:03     ` Johannes Stezenbach
2010-10-26 15:40       ` Johannes Stezenbach [this message]
2010-10-28  8:16     ` Lee
2010-10-28  8:20       ` Ivo Van Doorn
2010-10-28  8:23       ` Helmut Schaa
2010-10-28 19:06         ` Lee
2010-10-28 19:54           ` Gertjan van Wingerde
2010-10-28 20:36             ` Ivo Van Doorn
2010-10-28 20:40               ` Gertjan van Wingerde
2010-10-28 22:17             ` Helmut Schaa
2010-10-29 21:39               ` Lee
2010-10-30 12:30                 ` Helmut Schaa
2010-11-02 12:50                   ` Johannes Stezenbach
2010-11-02 14:46                     ` Johannes Stezenbach
2010-11-02 14:58                       ` Ivo Van Doorn
2010-11-02 15:05                         ` Helmut Schaa
2010-11-02 15:49                           ` Johannes Stezenbach
2010-11-03 14:14                     ` Johannes Stezenbach
2010-11-03 14:50                       ` Ivo Van Doorn
2010-11-03 15:08                         ` Johannes Stezenbach
2010-11-03 14:51                       ` Ivo Van Doorn
2010-11-03 14:59                         ` Johannes Stezenbach
2010-11-03 15:21                           ` Helmut Schaa
2010-11-03 14:53                       ` Helmut Schaa
2010-10-29 16:17             ` Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101026154012.GA6908@sig21.net \
    --to=js@sig21.net \
    --cc=helmut.schaa@googlemail.com \
    --cc=lee-in-berlin@web.de \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).