From mboxrd@z Thu Jan 1 00:00:00 1970 From: Janboe Ye Date: Tue, 03 Sep 2013 12:42:54 +0800 Subject: [ath9k-devel] How to adjust/know rate for acknowledgments? In-Reply-To: <20991.18322.257423.158920@gargle.gargle.HOWL> References: <20990.34128.202972.914365@gargle.gargle.HOWL> <20991.18322.257423.158920@gargle.gargle.HOWL> Message-ID: <522568CE.9050502@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Sujith which specs you are referencing? Is it 802.11-2007? Thanks Janboe On 13-8-5 ??2:34, Sujith Manoharan wrote: > Lars Kristian R Johansen wrote: >> The ack should be sent with the highest possible rate restricted by these two >> conditions, whichever is lower: >> - the rates in the stations basic rate set >> - rate of the data frame that is being acked > I believe the spec. is more complicated than that. :-) > >> If I am correct, does that mean that if I receive a data frame at MCS rate >> index 5 and I have 0-7 in my supported MCS rate index set, then I will send >> the ack with MCS rate index 5? > An ACK can be sent either as a HT or a non-HT frame. If all the conditions that > allow HT control frames to be sent are met, then MCS rate determination is done > according to the rules in 9.7.6.5.3 > > For non-HT control frames, the table 9.7.9 is used. > > In the draft-11n days, I think there was a programmable ACK rate table in > the HW, which was removed once the spec. was finalized. > >> If this is incorrect, is there a way to verify what the specific rate I am >> sending an ack with? > An external sniffer can be used to capture control frames, by setting the > required monitor interface flags: > > iw help set monitor > Commands: > dev set monitor * > Set monitor flags. Valid flags are: > none: no special flags > fcsfail: show frames with FCS errors > control: show control frames > otherbss: show frames from other BSSes > cook: use cooked mode > active: use active mode (ACK incoming unicast packets) > > > Sujith > _______________________________________________ > ath9k-devel mailing list > ath9k-devel at lists.ath9k.org > https://lists.ath9k.org/mailman/listinfo/ath9k-devel