* Some confusing segment of Beacon
@ 2011-08-25 16:26 pangyunong
0 siblings, 0 replies; only message in thread
From: pangyunong @ 2011-08-25 16:26 UTC (permalink / raw)
To: linux-wireless
Hi,
I'm output the sk_buff at ieee80211_beacon_get_tim() in mac80211/tx.c
but I'm confused about some segments.
According to the book, 802.11 wireless networks: the definitive guide,
-----------------------------------------------------------------------
Frame Control segment:
The two bytes in my condition should be 0000 0000 1000 0000 to indicate
that it is a management Beacon frame.
However, the two bytes I obtain is 1000 0000 0000 0000
------------------------------------------------------------------------
------------------------------------------------------------------------
Beacon Duration:
Two bytes in book should be 0000 0000 0010 0110 to indicate 100 ms
between two beacon from the 32th bytes but I calculate that segment
starts from 31th bytes.
-------------------------------------------------------------------------
------------------ What I add into ieee80211_beacon_get_tim()---------
printk("\n===============get_tim====================\n");
printk(" len = %u\n", skb->len);
printk(" datalen = %u\n", skb->data_len);
printk("mac len = %u\n", (unsigned int)skb->mac_len);
printk("hdr len = %u\n", (unsigned int)skb->hdr_len);
printk(" head= %u\n", (unsigned int)skb->head);
printk("network head= %u\n", (unsigned int)skb->network_header);
printk("mac head= %u\n", (unsigned int)skb->mac_header);
printk("data head= %u\n", (unsigned int)skb->data);
printk("tail head= %u\n", (unsigned int)skb->tail);
printk("end head= %u\n", (unsigned int)skb->end);
-----------------------------------------------------------------------
Hence, I’m wondering whether there are errors in my approach of
interpreting the data bytes.
Yunong Pang
Regards,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-25 16:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-25 16:26 Some confusing segment of Beacon pangyunong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox