From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Chadd Date: Fri, 15 Mar 2013 13:30:35 -0700 Subject: [ath9k-devel] ath9k driver modifications In-Reply-To: <5141F945.4030106@iol.unh.edu> References: <5141F945.4030106@iol.unh.edu> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi, On 14 March 2013 09:22, Mikkel Hagen wrote: > Hello, > I work with the UNH-IOL to test conformance of 11n MAC, we have been > trying to implement our test suite over an atheros 11n card. We have most > of the test suite working except for two issues that are preventing us > finishing the implementation: > 1. turning off retries > 2. setting a hard rate on transmit > > > We tried to use iwconfig to set retry and rates but it seems to ignore > those settings, we then tried to use the radiotap header to no success, we > then tried to start modifying the atheros drivers and still did not meet > with much success. We are using lorcon over the mac80211 driver for > injection, with the ath9k driver. Right now we have been modifying the > driver in the 3.5 kernel, but we can use any version that you recommend. > > An example of something that we have already tried to not transmit retries > is below, from xmit.c, line 316: > > hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_RETRY); > > to > > hdr->frame_control |= cpu_to_le16(0x0000); > > To try and force it not to set the retry bit, but this did not seem to do > anything. Do you have any pointers on what we might try next? Thanks! > > > That only sets the retry bit on outgoing frames, but the driver and mac80211 will do something different. You need to find a way to tell mac80211 and the rate control layer to set the retry count to 1. The problem is that mac80211/ath9k will do software retransmissions too, so you may have to extend it to have some way to say "don't software retransmit this frame either please." Felix would know better about this. Thanks, Adrian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130315/d2594cee/attachment.htm