linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Thomas Bächler" <thomas@archlinux.org>
To: linux-wireless@vger.kernel.org
Subject: mac80211 bug? no data is being transmitted after interface is brought down and then up again
Date: Sat, 29 Mar 2008 19:32:51 +0100	[thread overview]
Message-ID: <fsm20k$usk$1@ger.gmane.org> (raw)

This is the result of my quest to find the reason why I couldn't roam 
with any mac80211 driver (tested with iwl3945 and b43).

When you use dhclient for dhcp, the (very old) default dhclient-script 
brings the interface down and then up again after it receives a DHCPNAK 
(and on some other occasions). With the ieee80211 stack, this never 
caused any problems.

However, with mac80211, after the interface has been brought down and 
then up again, the "RUNNING" flag in ifconfig disappears and no data is 
being transmitted. Due to dhclient's weird behaviour, this makes any 
mac80211 driver unusable with dhclient and the (very old) default script.

I had no difficulty fixing this problem (once I found it), simply remove 
the word 'down' from all ifconfig-lines in dhclient-script.

My question is, should this be considered a bug in mac80211?
IMO, when an interface is brought down and then up again, one of the 
following things should happen:
1) Everything works as before
2) Nothing works, but the card disassociates from the network.
The current behaviour (card stays associated, but no data is transmitted 
any more) is unintuitive and costed me much time.


             reply	other threads:[~2008-03-29 18:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-29 18:32 Thomas Bächler [this message]
2008-03-31 19:02 ` mac80211 bug? no data is being transmitted after interface is brought down and then up again John W. Linville
2008-03-31 19:51   ` Thomas Bächler
2008-04-01  1:53   ` bruno randolf
2008-04-01  6:27     ` Tomas Winkler
2008-04-01 12:57       ` bruno randolf

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='fsm20k$usk$1@ger.gmane.org' \
    --to=thomas@archlinux.org \
    --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).