From: Cheung Hiu Fung Date: Sun, 27 Nov 2011 23:30:43 +0800 (HKT) Subject: [ath9k-devel] About reg.h In-Reply-To: References: <49929.14.198.51.63.1322318954.squirrel@sqmail.ust.hk> <49222.14.198.51.63.1322361879.squirrel@sqmail.ust.hk> <54048.14.198.51.63.1322402718.squirrel@sqmail.ust.hk> <55035.14.198.51.63.1322406518.squirrel@sqmail.ust.hk> Message-ID: <55366.14.198.51.63.1322407843.squirrel@sqmail.ust.hk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Thanks for reply. I am still not sure how to do it. In htc_drv_txrx.c , static void ath9k_htc_tx_data i saw after the function set all memory of header equal to 0 by memset(&tx_hdr, 0, sizeof(struct tx_frame_hdr)); and the function try to set the qos value if (ieee80211_is_data_qos(hdr->frame_control)) { qc = ieee80211_get_qos_ctl(hdr); tx_hdr.tidno = qc[0] & IEEE80211_QOS_CTL_TID_MASK; } i try to seatch where is it define. then i come to xmit.c void setup_frame_info if (an && ieee80211_is_data_qos(hdr->frame_control) && conf_is_ht(&hw->conf) && (sc->sc_flags & SC_OP_TXAGGR)) { tidno = ieee80211_get_qos_ctl(hdr)[0] & FF; and i get lost there and don't know what to do next. My programming is not in advanced level. Can u give me some guideline that what should be next step? Thanks for help Regards, Jax > You're in the right spot. Look at what ieee80211 flags are passed in > to the TX function, one of them (i think) is labelled NOACK or > similar. >