From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis R. Rodriguez Date: Fri, 2 Oct 2009 14:22:09 -0700 Subject: [ath9k-devel] Possible to set MCS Index? In-Reply-To: References: Message-ID: <20091002212209.GC9121@mosca> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Thu, Oct 01, 2009 at 12:55:00PM -0700, Rakesh Kumar wrote: > @Matt: > > I did hack the ath9k/mac80211/cfg80211 code for fixing a given HT rate and also made some corresponding changes to iw, but like Louis has written, since the rate control code itself is MCS unaware so what my hack does is to simply fix it to a given valid rate_table array index for the given mode (HT20/HT40). > > Would love to share the hack with you if it is useful Just post the patches, might be good to CC the linux-wireless mailing list for this. > and also, can somebody guide as to how to make that modification a permanent part > of the driver? Is that even required for the main driver, I am not sure? I cannot see what you have done so I canno advise. Anyway I'd probably advise you to change whatever you have to use debugfs instead. Check out: drivers/net/wireless/ath/ath9k/debug.c Luis