From: Sujith <m.sujith@gmail.com>
To: "Tomas Winkler" <tomasw@gmail.com>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org,
Jouni.Malinen@atheros.com,
"Johannes Berg" <johannes@sipsolutions.net>
Subject: Re: [PATCH] mac80211: Add 802.11h CSA support
Date: Wed, 31 Dec 2008 16:14:08 +0530 [thread overview]
Message-ID: <18779.19704.610896.408907@localhost.localdomain> (raw)
In-Reply-To: <1ba2fa240812310224m15c1f32brb06cc6aa1a607962@mail.gmail.com>
Tomas Winkler wrote:
> > + } else {
> > + ieee80211_stop_queues_by_reason(&sdata->local->hw,
> > + IEEE80211_QUEUE_STOP_REASON_CSA);
> Why to stop the queues before the switching time
>
Transmission of frames has to be stopped until the channel is switched.
> > + ifsta->flags |= IEEE80211_STA_CSA_RECEIVED;
> > + exp = sw_elem->count * (1024 * bss->beacon_int / 1000 * HZ / 1000);
> > + mod_timer(&ifsta->chswitch_timer, jiffies + exp);
> What about:
> mod_timer(&ifsta->chswitch_timer, jiffies +
> msecs_to_jiffies(sw_elm->count * local->hw.conf.beacon_int));
>
This is cleaner, I'll add this, thanks.
Sujith
next prev parent reply other threads:[~2008-12-31 10:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-31 10:09 [PATCH] mac80211: Add 802.11h CSA support Sujith
2008-12-31 10:20 ` Johannes Berg
2008-12-31 10:41 ` Sujith
2008-12-31 10:24 ` Tomas Winkler
2008-12-31 10:44 ` Sujith [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-01-06 3:58 Sujith
2009-01-06 13:05 ` Johannes Berg
2022-11-02 3:26 ` Wen Gong
2022-11-22 21:26 ` Johannes Berg
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=18779.19704.610896.408907@localhost.localdomain \
--to=m.sujith@gmail.com \
--cc=Jouni.Malinen@atheros.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=tomasw@gmail.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