From: Jouni Malinen Date: Mon, 28 Sep 2009 18:15:50 +0300 Subject: [ath9k-devel] Using ath9k as a sniffer In-Reply-To: <200909281516.11639.Timothy.Smith@csr.com> References: <200909281516.11639.Timothy.Smith@csr.com> Message-ID: <1254150950.23567.18.camel@jm-desktop> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Mon, 2009-09-28 at 07:16 -0700, Timothy Smith wrote: > I'm using a few ath9k-based cards as sniffers, and it would be nice if there > was a way to get the MCS rate information out of the captured frames in some > form that wireshark/tshark can be made to read. Currently I can tell that a > frame was sent using an MCS rate because radiotap.datarate is absent from the > header, but that's all I can tell. > > From where I'm standing it doesn't look like radiotap has a way of doing this > yet, but I wonder if anyone else has solved this with a vendor extension? There is ongoing work on (finally) getting the HT rate parameters standardized in radiotap. I don't see Linux changing before this gets approved, but once that happens, I would expect this information to become available shortly. I have used some of the not-yet-approved (but already interpreted by wireshark) extensions in my tests and submitted a patch to add that into mac80211 (which ath9k would use to get this information included): http://marc.info/?l=linux-wireless&m=122908558801147&w=2 That is from last year, so I have no idea whether it still applies to the current mac80211, though. - Jouni