linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Alina Friedrichsen" <x-alina@gmx.net>
To: linux-wireless@vger.kernel.org, linville@tuxdriver.com,
	johannes@sipsolutions.net
Subject: generic ieee80211_sta_commit()?
Date: Sun, 08 Feb 2009 00:35:07 +0100	[thread overview]
Message-ID: <20090207233507.67590@gmx.net> (raw)

Hello,

after a "ip link set wlan0 down" and than "ip link set wlan0 up" the wi=
fi connection don't come up again. If you do a "iwconfig wlan0 channel =
4" beaconing in IBSS doesn't work anymore.

My thought to fix this is to add a generic ieee80211_sta_commit() funct=
ion which is called after the most config changes (e.g. SSID, BSSID, ch=
annel, interface up, ...), so that a clean rejoin is done by the functi=
on and the driver hangs not in an undefined state. And I think it's mor=
e elegant, because ieee80211_sta_set_bssid() then doesn't need to call =
ieee80211_sta_set_ssid() anymore to do the rejoin.

What do you think about it? If agree I will implement it after Johannes=
 IBSS changes are applied to avoid confusion.

Regards
Alina

--=20
Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL=20
f=FCr nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=3DOM.AD.PD003K11308T4=
569a
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2009-02-07 23:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-07 23:35 Alina Friedrichsen [this message]
2009-02-08 10:36 ` generic ieee80211_sta_commit()? Johannes Berg
2009-02-08 17:45   ` Alina Friedrichsen
2009-02-08 17:52     ` Johannes Berg
2009-02-08 20:08       ` Alina Friedrichsen

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=20090207233507.67590@gmx.net \
    --to=x-alina@gmx.net \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /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).