linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: wen <allen.z.wen@gmail.com>
To: linux-wireless@vger.kernel.org
Subject: How to change channel type b/t HT20 and HT40 in driver code (ath9k)?
Date: Tue, 11 Jun 2013 10:11:44 -0700	[thread overview]
Message-ID: <51B75A50.1010407@gmail.com> (raw)

Hello Developers!

I've been trying to implement Notify Channel Width for linux wireless
compat driver.

One thing need to be done is to change station's channel type between ht20
and ht40 without interrupting data transmission.

What I can do now is switching between ht20 rates and ht40 rates, but not
channel type. For ap side, ieee80211_set_channel_type() works fine when
called in function ieee80211_rx_h_action() to change ap channel type
between ht20 and ht40. But on station side, I couldn't find a proper
function within which to call ieee80211_set_channel_type(), and all my try
caused kernel panic. Even calling ieee80211_set_channel_type() exactly the
same way I do with ap on station side will crash system also.

Could anybody give some hint on possible way (e.g. API) to change channel
type between ht20 and ht40 on station side, please?

Thanks in advance!

Wen


                 reply	other threads:[~2013-06-11 17:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=51B75A50.1010407@gmail.com \
    --to=allen.z.wen@gmail.com \
    --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).