i am using madwifi-hal-testing trnk and I am trying to establish
connection between two nodes in monitor mode..
I assigned IP address to the nodes using
$ifconfig ath0 172.16.1.1 255.255.0.0 in node 1
and 172.16.1.2 in other node
I tried to ping one node from other..
i was able to print out the skb->data as hex values in ath_tx_startraw()
and found the ARP request packet in log in sending node(42 bytes without
FFFFFFFFFFFF 06214F478533 0806 0323 0800 06 04 0001 06214F478533 AC100101
000000000000 AC100102 ---->in ath_tx_startraw()
but i am seeing the same packet as:
FFFFFFFFFFFF 06214F478533 0806 0323 0800 06 04 0001 06 004F478533
AC10000000000000 AC100102 ----> in ieee80211_input_monitor()
before calling Txdescriptor function i found ieee80211anyheadersize()
function is called and it returns 30 bytes for header size..
so my setupTx descriptor has arguments as pktlen=46(with CRC) and hdrlen=30
what is the difference between ath_tx_radiotap_header(size = 23 bytes) and
ieee80211_radiotap_header(size = 8 bytes)?
I want to know when radiotap headers are added to the frames?i found its
size to be 8 bytes by using sizeof() but i couldnt make sure whether
radiotap headers are added to all outgoing frames or not
can anyone give suggestion about how can i printout the entire frame going
out of my node?or is it atleast possible to figure out the size of
frame(including all headers)?
I just want to printout all the sk_buff contents just before the frame is
sent out on air.