All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mikkel Hagen <mhagen@iol.unh.edu>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k driver modifications
Date: Fri, 15 Mar 2013 17:17:09 -0400	[thread overview]
Message-ID: <51438FD5.2010807@iol.unh.edu> (raw)
In-Reply-To: <CAJ-VmomtQskLkKFSq6m9ezFSuYNXWHbaqV-au0FEH+grn3_Veg@mail.gmail.com>

Thanks Adrian,
     I appreciate the quick response, we will look into the rate control 
layer and the mac80211 as well and see if we can get this working.  Thanks!

Mikkel Hagen
Research and Development
Data Center Bridging/FC/Wireless/SAS/SATA/OFA/iWARP Consortiums
Phone:1-603-862-0701 Fax:1-603-862-4181
UNH-IOL
121 Technology Drive, Suite 2
Durham, NH 03824
Facebook <http://www.facebook.com/UNHIOL> Twitter 
<http://twitter.com/unh_iol>
On 03/15/2013 04:30 PM, Adrian Chadd wrote:
> Hi,
>
>
> On 14 March 2013 09:22, Mikkel Hagen <mhagen@iol.unh.edu 
> <mailto:mhagen@iol.unh.edu>> 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/50fff6a2/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FBIcon.png
Type: image/png
Size: 10425 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130315/50fff6a2/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Twitter-Icon.png
Type: image/png
Size: 12064 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130315/50fff6a2/attachment-0003.png 

  reply	other threads:[~2013-03-15 21:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-14 16:22 [ath9k-devel] ath9k driver modifications Mikkel Hagen
2013-03-15 20:30 ` Adrian Chadd
2013-03-15 21:17   ` Mikkel Hagen [this message]
2013-03-16  0:57     ` Adrian Chadd

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=51438FD5.2010807@iol.unh.edu \
    --to=mhagen@iol.unh.edu \
    --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.