[Click] Help on feedback of transmitted packets

aka aka aka9791 at gmail.com
Thu Jul 3 17:32:43 EDT 2008


Dear All,

I am using latest version of click (user level ) with madwifi drivers
(0.9.4) on wireless nodes running Ubuntu linux (2.6.22-14). I have setup a
very simple testbed of three wireless nodes which are communicating in
"adhoc" mode in 802.11b.  On one wireless node, I want to record statistics
of  transmitted packets: retried, acked, or dropped. After going through
click and madiwifi documentation (including madwifi stripped) and related
mailing lists,  I had written several variation of click script files to get
the feedback about transmitted packets. However,  I have not been
successful.  I have gone through lot of documentation before posting  the
question.

I also wanted to use old madwifi drivers (stripped) as given on the "
http://pdos.csail.mit.edu/~jbicket/madwifi.stripped/". However, the "README"
file in the driver directory asks to patch the linux kernel before compiling
the driver. As i could not find the required patch for the kernel
(2.6.22-14) i am running, i could not try it, and have been using userlevel
click.

Below I am providing a simple click script file which i was using for
obtaining the desired feedback. On the node where i want to record the
statistics,  the wireless interface is configured as ath0.

FromDevice(ath0)
->ExtraDecap()
->FilterFailures()
->Print(0)
-> tx_filter :: FilterTX()
tx_filter[1]->PrintTXFeedback(A)->Queue()->Discard;
tx_filter[0]->PrintTXFeedback(B)->Queue()->Discard;

When i run this,  although packets at output 0 ( tx_filter[0]) show up,
however they have all filed 0 as follows.

"B: 1215120504.951015 FF-FF-FF-FF-FF-FF flags 0 rate 0 max_retries 0
alt_rate 0 alt_retries 0 retries 0 virt_col 0."

However, its not showing any packets on the output 1 (tx_filter[1]).

I must say that i am very new to click/madwifi. I would be very happy to
provide if any other information is required. I appreciate your help in this
regard.

Thanks
Aka


More information about the click mailing list