-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 aka aka wrote: > 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.
the stripped driver is not needed anymore, as madwifi "monitor" virtual-interfaces do the same thing. set up your device using "wlanconfig ... wlanmode monitor ..." you also want to run echo '804' > /proc/sys/net/ath0/dev_type http://madwifi.org/wiki/UserDocs/MonitorModeInterface gives an explanation why. obviously you'll have to build your own "adhoc" mode using beaconsources/trackers, a rate selector, ..... > > 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 > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click - -- Harald Schiöberg Technische Universität Berlin | T-Laboratories | FG INET www: http://www.net.t-labs.tu-berlin.de Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534 783 47 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIbdkUJgyxs71kcx4RAoruAKCRVZ61NNJMalRtufJeUVNbGTGZKQCgoY5j mx88SmCWDqu5krOEm9k9KG8= =m14u -----END PGP SIGNATURE----- _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
