Problem with data transmission


From: Omesh Tickoo (omesht_at_yahoo.com)
Date: 2002-08-12 21:57:45 UTC



Hi,

 I am trying to transmit some data from within hostap in managed mode. Specifically, I allocate a new sk_buff and initialize its data portion to start with dst_addr[6]+src_addr[6]+proto[2]. Then I use a function almost similar to prism2_tx (for all practical purposes its prism2_tx copied and reused) to transmit the frame. The transmission attempt always fails and the prism2_txexc is invoked. I dumped the frame headers on transmision and from prism2_txexc. Here is the dump:


wlan0: TX status=0x0000 retry_count=0 tx_rate=0 tx_control=0x000c; jiffies=273778

   FC=0x4108 (type=2:0) dur=0x0000 seq=0x0000 data_len=2 [ToDS]

   A1=00:00:00:00:00:00 A2=00:06:25:ab:30:2e A3=ff:ff:ff:ff:ff:ff A4=00:00:00:00:00:00

   dst=ff:ff:ff:ff:ff:ff src=ff:ff:ff:ff:ff:ff len=2

wlan0: TXEXC - fid=0x0376 - status=0x0001 ([RetryErr]) tx_control=000c

   retry_count=0 tx_rate=0 fc=0x0908 (Data::0)    addr1=00:06:25:ab:2f:1c addr2=00:06:25:ab:30:2e addr3=ff:ff:ff:ff:ff:ff


I suspect that Im not initializing all the required fields in the sk_buff but am not able to pin-point the specific problem. Any suggestions will be very helpful.

regards
-omesh



Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

This archive was generated by hypermail 2.1.4.