All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] How to print block ack bitmap one by one??
@ 2010-11-14 12:28 Mingu Cho
  0 siblings, 0 replies; only message in thread
From: Mingu Cho @ 2010-11-14 12:28 UTC (permalink / raw)
  To: ath9k-devel

Hello.

I'm Mingu Cho from Korea.

I have some questions for ath9k.

First, I'd like to know how to print the bitmap values of block ack(BA) and
which functions can do it.
I have guessed I have to use below macros. Is it ok??
==============================================================
/* return whether a bit at index _n in bitmap _bm is set
 * _sz is the size of the bitmap  */
*#define ATH_BA_ISSET*(_bm, _n)  (((_n) < (WME_BA_BMP_SIZE)) && \
((_bm)[(_n) >> 5] & (1 << ((_n) & 31))))

/* return block-ack bitmap index given sequence and starting sequence */
*#define ATH_BA_INDEX*(_st, _seq) (((_seq) - (_st)) & (IEEE80211_SEQ_MAX -
1))
==============================================================

Second, in ath5k, I could print all frames: ack, data and mgmt in
ieee80211_rx in net/mac80211/rx.c.
But, in ath9k, even if I used same code for printing all frames, I could not
print control frames. ex) ack, block ack and etc.
Are there any differences between ath5k and ath9k for print mpdus??

Plz, give me some explanation of yours.

Thank you for your reading.

Best regards.

-- 
Mingu Cho
MS Student
Multimedia & Mobile Communications Lab.
School of Computer Science and Engineering
Seoul National University, Republic of Korea.
Homepage: http://mmlab.snu.ac.kr/~mgcho
Tel: +82-2-880-9147, +82-10-8285-8014
Fax: +82-2-888-1048
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20101114/bfa1fc38/attachment.htm 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-14 12:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-14 12:28 [ath9k-devel] How to print block ack bitmap one by one?? Mingu Cho

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.