From: Pavel Roskin Date: Wed, 11 Mar 2009 00:17:10 -0400 Subject: [ath9k-devel] Sequence numbers in ath9k tx path In-Reply-To: <31436f4a0903100346l39ab318akc3779fb55ca396ee@mail.gmail.com> References: <31436f4a0903100346l39ab318akc3779fb55ca396ee@mail.gmail.com> Message-ID: <1236745030.27368.12.camel@mj> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Tue, 2009-03-10 at 12:46 +0200, David Shwatrz wrote: > Hello, > > I have a short question regarding the transmit path: > > I see that the sequence number of the ieee80211 header > (ieee80211_hdr) is incremented in the driver transmit path: > > ath_tx_cabq() in xmit.c: > .... > hdr->seq_ctrl |= cpu_to_le16(sc->tx.seq_no); > > AFAIK, it is also incremented also in the tx path of the mlme.c: mac80211 fills in the sequence number, but the driver or the hardware are free to replace it when actually transmitting. As I understand, ath9k uses its own sequence numbers. -- Regards, Pavel Roskin