From: Patrick ANDRIEUX <patrick.andrieux@gm...> - 2007-10-23 09:52:18
I'm new in madwifi mailing list, so hello to everybody.
I'm trying to get some data from madwifi driver. I successed getting
rssi,txpower... from "struct ieee80211_node" (in file
ieee80211_node.h), but I'd like to get ip addresses as well, from
"struct sk_buff *ni_rxfrag;" (still in ieee80211_node struct).
few questions on ni_rxfrag :
- is anyone knows why ni_rxfrag is sizeof 3 ?
- how can I get/access to parameters in struct sk_buff *rx_frag ?
something like this should work : ni->ni_rxfrag->nh.iph->saddr; ?
but for any value I try to read in this struct, I've got a kernel oops.
Thks in advance for help.