[Airo-linux-gen80211] Problem faced in writing onto skb->data (packet)
Status: Inactive
Brought to you by:
breed
From: Vishal B. <vis...@ya...> - 2003-02-28 06:18:10
|
Hi all! I am trying to pass on the signal strength info in the packet so that a sniffer can be used at a higher level and extract the signal strength info.. In the function static void airo_interrupt (int irq, void*dev_id, struct pt_regs *regs) { I am adding the three commented out lines to the code.. } else { bap_setup (apriv, fid, 0x38, BAP0); bap_read (apriv, buffer,len + hdrlen,BAP0); } OUT4500( apriv, EVACK, EV_RX); //skb->data[24]=hdr.rssi[0]; //skb->data[25]=0x100-apriv->rssi[hdr.rssi[1]].rssidBm; //skb->data[26]=0x36; //just to check if it is really changing the values #ifdef WIRELESS_SPY The problem is that on one of the machines(the powerful machine ... P4 2.4 Ghz), it is working perfectly.. whereas when i try to install the module on the other old machines, with the same kernel and same pcmcia-cs-3.2.3, with the airo files taken from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/airo-linux/airo-linux/kernel/airo.c?rev=1.34 it compiles perfectly, and even loads on 'modprobe airo', but when i try to bring the interface up by 'ifconfig eth1 up' , I get the error eth1: unknown interface: No such device and no errors are thrown up by the kernel in /var/log/messages. I would really appreciate any help in this regard... Thanks, Vishal __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ |