why wifi0 "TX packets:0" ?

Masini Filippo f.masini
Tue Feb 1 04:44:47 PST 2005


My situation:

Laptop Compaq Presario 900EA
Athlon XP 1500 Linux Suse 9.2 Pro
Pcmcia DWL-650 rev.P

The firmware is good downloaded in the card 
the two led are on, and the card find the accesspoint
by the command :~# iwlist wlan0 scan
but it not comunicate with him

I can see in "ifconfig -a" output that my card not transmit any packet
beacuse wlan0 TX > 0 but wifi0 Tx = 0, but the card receive every packet
i can still go in monitor mode, but i can't transmit packets.

These are my logs, can you help me?

homer:~/Desktop/hostap-driver-0.2.6 # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

wifi0     no wireless extensions.

wlan0     IEEE 802.11b  ESSID:"Spartacus"  Nickname:"homer"
          Mode:Managed  Frequency:2.422GHz  Access Point: 00:0D:88:1F:0A:38
          Bit Rate:11Mb/s   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:50/70  Signal level:-40 dBm  Noise level:-90 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


homer:~/Desktop/hostap-driver-0.2.6 # ifconfig -a

wifi0     Link encap:UNSPEC  HWaddr 00-0D-88-4C-0E-7D-00-00-00-00-00-00-00-00-00-00
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1402 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:500994 (489.2 Kb)  TX bytes:0 (0.0 b)
          Interrupt:10 Base address:0x880

wlan0     Link encap:Ethernet  HWaddr 00:0D:88:4C:0E:7D
          inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:88ff:fe4c:e7d/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1402 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:475758 (464.6 Kb)  TX bytes:17404 (16.9 Kb)
          Interrupt:10 Base address:0x880



homer:~ # cardctl ident

Socket 0:
 product info: "D-Link", "DWL-650 Wireless PC Card RevP", "ISL37101P-10", "A3"
 manfid: 0x000b, 0x7110
 function: 6 (network)


homer:~ # cardctl status

Socket 0:
 5V 16-bit PC Card
 function 0: [ready]


homer:~ # dmesg
....

wifi0: NIC: id=0x801d v1.0.0
wifi0: PRI: id=0x15 v1.1.2
wifi0: STA: id=0x1f v1.8.3
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:0d:88:1f:0a:38
wlan0: no IPv6 routers present


homer:~ # hostap_diag wlan0

Host AP driver diagnostics information for 'wlan0'

NICID: id=0x801d v1.0.0 (PRISM III PCMCIA (AT24C08 compatible small serial flash))
PRIID: id=0x0015 v1.1.2
STAID: id=0x001f v1.8.3 (station firmware)


homer:~ # hostap_fw_load wlan0

Downloading primary firmware /etc/dwl_firmware/pm010102.hex
srec summary for pm010102.hex
Included file name: PM010102.HEX
Component: 0x0015 1.1.2 (primary firmware)


Verifying update compatibility and combining data:
Plugging PDR 0400 (NIC configuration): ram16=1 pci=0 (03 00)
OK.

Downloading to volatile memory (RAM).
OK.

srec summary for pm010102.hex

Included file name: PM010102.HEX
Component: 0x0015 1.1.2 (primary firmware)

ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
STAID not available (maybe running PRI-only)
ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
ioctl[PRISM2_IOCTL_HOSTAPD]: No data available

Verifying update compatibility and combining data:

Plug record length mismatch (PDR=0x0001): 6 != 16
==> extend from default
OK.

Downloading to volatile memory (RAM).
OK.
Downloading secondary (station) firmware /etc/dwl_firmware/rf010803.hex
srec summary for rf010803.hex
Component: 0x001f 1.8.3 (station firmware)

ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
STAID not available (maybe running PRI-only)
ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
ioctl[PRISM2_IOCTL_HOSTAPD]: No data available

Verifying update compatibility and combining data:
Could not find data position for plugging PDR 0x0413 at 0x0000118a (len=2)
PDR 0x0413 is not in wlan card PDA and there is no default data. Ignoring plug record.
OK.

Downloading to volatile memory (RAM).
OK.
Components after download:
 NICID: 0x801d v1.0.0
 PRIID: 0x0015 v1.1.2
 STAID: 0x001f v1.8.3
Card is ready with both PRI and STA firmware images











More information about the Hostap mailing list