From: "Tomas Winkler" <tomasw@gmail.com>
To: Sujith <Sujith.Manoharan@atheros.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 12:24:35 +0200 [thread overview]
Message-ID: <1ba2fa240812310224m15c1f32brb06cc6aa1a607962@mail.gmail.com> (raw)
In-Reply-To: <18779.17630.122619.462997@gargle.gargle.HOWL>
> + } else {
> + ieee80211_stop_queues_by_reason(&sdata->local->hw,
> + IEEE80211_QUEUE_STOP_REASON_CSA);
Why to stop the queues before the switching time
> + 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));
> + }
> +}
Thanks
Tomas
next prev parent reply other threads:[~2008-12-31 10:24 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 [this message]
2008-12-31 10:44 ` Sujith
-- 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=1ba2fa240812310224m15c1f32brb06cc6aa1a607962@mail.gmail.com \
--to=tomasw@gmail.com \
--cc=Jouni.Malinen@atheros.com \
--cc=Sujith.Manoharan@atheros.com \
--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