From: David Shwatrz Date: Tue, 10 Mar 2009 12:46:10 +0200 Subject: [ath9k-devel] Sequence numbers in ath9k tx path Message-ID: <31436f4a0903100346l39ab318akc3779fb55ca396ee@mail.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 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: in ieee80211_tx_h_sequence(): (net/mac80211/tx.c) ... if (!ieee80211_is_data_qos(hdr->frame_control)) { ... hdr->seq_ctrl = cpu_to_le16(tx->sdata->sequence_number); tx->sdata->sequence_number += 0x10; ... and ieee80211_tx_h_sequence() is called by invoke_tx_handlers() in tx.c. Why is it so ? or don't we reach both these methods? Regards, Andy ....