Sequence number of sent packets and last function before sending a packet
jeanmarie.gouy at gmail.com
Wed Jun 14 07:43:00 EDT 2006
I'm using hostap driver on a zaurus c1000 in ad-hoc mode. I have two questions :
- When I dump all packets headers (iwpriv wlan0 dump 3), the sequence
number of sent packet is always 0 (you can see that below).
Do you have an idea to get the correct sequence number ?
- I'm going to modify the driver source code to create a new file in
/proc with the most recent values of signal level and noise level for
each destination (I'm using ad-hoc mode). I'm wondering how functions
are called to send a packet, and which one is the final before
sending. All sent packets seems to pass through function
"hostap_data_start_xmit" in file hostap_80211_tx.c, but I'm not sure.
Can you confirm me that ?
wifi0: TX status=0x0000 retry_count=0 tx_rate=0 tx_control=0x000c; jiffies=49995
FC=0x0008 (type=2:0) dur=0x0000 seq=0x0000 data_len=132
A1=00:16:6f:2a:56:a8 A2=00:13:46:b1:f9:8d A3=02:f2:43:dd:2b:04
dst=00:00:00:00:00:00 src=00:00:00:00:00:00 len=132
wifi0: TX status=0x0000 retry_count=0 tx_rate=0 tx_control=0x000c; jiffies=50021
FC=0x0008 (type=2:0) dur=0x0000 seq=0x0000 data_len=92
A1=00:0e:9b:2e:3f:64 A2=00:13:46:b1:f9:8d A3=02:f2:43:dd:2b:04
dst=00:00:00:00:00:00 src=00:00:00:00:00:00 len=92
More information about the HostAP