From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Wunderlich Date: Tue, 19 Nov 2013 16:16:08 +0100 Subject: [ath9k-devel] ath9k: set 5/10 MHz supported channels In-Reply-To: References: <201311181207.49364.sw@simonwunderlich.de> Message-ID: <201311191616.08633.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 Hey Kamran, for 2.4 GHz that's certainly possible, as those are 5 MHz spaced anyway. For 5 GHz I don't know if it's possible. For example in ath9k, you could try to hack ath9k_5ghz_chantable, add more channels in 5 mhz spaces and try if it works. The driver says here: /* Some 5 GHz radios are actually tunable on XXXX-YYYY * on 5 MHz steps, we support the channels which we know * we have calibration data for all cards though to make * this static */ I don't know if it works, please give it a try and report back. :) Simon > Can I change the center of my 5/10MMHz channel so I can accommodated more > than one channels in official 802.11 20Mhz channel? If not then is it for > HW reason or b/c of driver? > > On Mon, Nov 18, 2013 at 4:07 PM, Simon Wunderlich wrote: > > Hey Tomas, > > > > > > 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 > > > > > > _______________________________________________ > > > > ath9k-devel mailing list > > > > ath9k-devel at lists.ath9k.org > > > > https://lists.ath9k.org/mailman/listinfo/ath9k-devel > > > > > > Dear Simon, > > > > > > thanks a lot for your immediate response. I looked at the patch you > > > gave us. Can you tell us in what driver is this pacth applicable? > > > I have tried mine but a lot of source code was missing. > > > > > > Thank you in advance > > > > > > Tomas > > > > the patch is for the iw tool, Johannes has already merged it, so just > > check out the latest trunk of iw[1]. It should work on recent kernels > > (3.12 or mac80211-next) with ath5k and ath9k, but there was a reporting > > problem[2] which forced us to disable the support for now. If you revert > > the disabling patch [3] manually and understand that this may lead to an > > incompatible kernel > > you may still use it though, or use later kernels (or mac80211-next). > > > > Cheers, > > > > Simon > > > > [1] git clone http://git.kernel.org/?p=linux/kernel/git/jberg/iw.git > > [2] http://permalink.gmane.org/gmane.linux.kernel.wireless.general/115842 > > [3] http://permalink.gmane.org/gmane.linux.kernel.wireless.general/115841 --- Mit freundlichen Gr??en / kind regards Simon Wunderlich Fon: +49 (0) 3741 / 2518068-0 Fax: +49 (0) 3741 / 2518068-9