From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Wunderlich Date: Tue, 12 Nov 2013 17:34:52 +0100 Subject: [ath9k-devel] ath9k: set 5/10 MHz supported channels In-Reply-To: References: Message-ID: <201311121734.52533.sw@simonwunderlich.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org > ???? 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 > > > > 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