All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Wunderlich <sw@simonwunderlich.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k: set 5/10 MHz supported channels
Date: Tue, 12 Nov 2013 17:34:52 +0100	[thread overview]
Message-ID: <201311121734.52533.sw@simonwunderlich.de> (raw)
In-Reply-To: <BLU0-SMTP327979676BB2CF5F1DD0F69BFFF0@phx.gbl>

> ???? 11/11/2013 3:15 PM, ?/? Kamran Nishat ??????:
> > Dear Alex,
> > Can you send me updates in driver to make it support 5/10Mhz channel
> > both at client and AP ath9k. Also how can i set my channel to 5/10Mhz
> > in settings.
> > Kamran
> > 
> > 
> > On Mon, Nov 11, 2013 at 2:16 PM, Alex Hacker <hacker@epn.ru
> > 
> > <mailto:hacker@epn.ru>> wrote:
> >     Thank you Adrian. Yes I know, but I can not get it working with
> >     AR9390 (enterprise) chip too. :(
> >     Alex.
> > 
> > _______________________________________________
> > ath9k-devel mailing list
> > ath9k-devel at lists.ath9k.org
> > https://lists.ath9k.org/mailman/listinfo/ath9k-devel
> 
> Dear all,
> 
> I am also trying to reduce channel width to 5/10 MHZ. So far I managed
> to see the code inside the ath9k driver. More particulary in hw.c and
> ar9003_phy.c the functions "IS_CHAN_QUARTER_RATE" and
> "IS_CHAN_HALF_RATE" exist. These functions take values from the hw.h
> file, #define IS_CHAN_HALF_RATE(c) (((_c)->channelFlags &
> CHANNEL_QUARTER)   !=0 . From what I understand, this function changes
> the clockrate value which in turn affects the PLL value. In a paper
> reported that these values are responsible for channel width.
> 
> The question is how can I enable these half/quarter rate functions. For
> example when you want to set the channel width to 40MHZ, you simply
> type: iw dev "XXX" set channel "X" HT40+ . Also is this possible for
> AR9380 chipset and if so, is this possible via driver configuration?  Is
> there anyone of you who achieved this?

Tomas,

I've worked on this feature, it is working in IBSS mode, for AP mode we are 
still lacking hostap support. Therefore I've never tried client mode as well.

I still had a patch for iw on my disk which enables 5/10 MHz for the "iw join 
ibss" command, which I forgot to send. I've cleaned it up and sent it to 
linux-wireless[1], so you can have a look.

Cheers,
    Simon

[1] http://permalink.gmane.org/gmane.linux.kernel.wireless.general/115597

  parent reply	other threads:[~2013-11-12 16:34 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-08  7:02 [ath9k-devel] ath9k: set 5/10 MHz supported channels Kamran Nishat
2013-11-08 10:05 ` Simon Wunderlich
2013-11-08 10:46 ` Sergey Ryazanov
2013-11-12 11:58   ` Kamran Nishat
2013-11-12 13:02     ` Sergey Ryazanov
2013-11-08 15:07 ` Adrian Chadd
2013-11-11  8:11   ` Alex Hacker
2013-11-11  8:57     ` Adrian Chadd
2013-11-11  9:16       ` Alex Hacker
2013-11-11 13:15         ` Kamran Nishat
2013-11-11 14:47           ` sotouki
2013-11-12  6:49             ` Alex Hacker
2013-11-12 16:34             ` Simon Wunderlich [this message]
2013-11-18 10:42               ` sotouki
2013-11-18 11:07                 ` Simon Wunderlich
2013-11-18 19:39                   ` Kamran Nishat
2013-11-19 15:16                     ` Simon Wunderlich
2013-11-19 20:07                       ` Adrian Chadd
2013-11-20 14:50                         ` Holger Schurig
2013-11-19 20:12                       ` Johannes Berg
2013-11-21 22:44                       ` Kamran Nishat
2013-11-21 23:27                         ` Adrian Chadd
2013-11-21 23:29                           ` Adrian Chadd
2013-11-22  3:29                             ` Kamran Nishat
2013-11-22  3:33                               ` Adrian Chadd
2013-11-22 10:30                         ` Simon Wunderlich
     [not found]                           ` <CADxDmp4UnGdSpPXt5B6_GAfkmOcFAx7+36Bv2ymgpWzZHvnRZA@mail.gmail.com>
2013-11-23 14:18                             ` [ath9k-devel] Fwd: " Kamran Nishat
2013-12-13 11:24                               ` sotouki

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=201311121734.52533.sw@simonwunderlich.de \
    --to=sw@simonwunderlich.de \
    --cc=ath9k-devel@lists.ath9k.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.