From nobody@FreeBSD.org  Sun Dec 16 23:19:16 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 90CFC37B416
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Dec 2001 23:19:16 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id fBH7JG766289;
	Sun, 16 Dec 2001 23:19:16 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200112170719.fBH7JG766289@freefall.freebsd.org>
Date: Sun, 16 Dec 2001 23:19:16 -0800 (PST)
From: Adam Powers <adam.powers@intel.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: raylink driver having problems receiving packets from win98se
X-Send-Pr-Version: www-1.0

>Number:         32924
>Category:       misc
>Synopsis:       raylink driver having problems receiving packets from win98se
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    dmlb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 16 23:20:01 PST 2001
>Closed-Date:    Sun Jun 16 03:17:13 PDT 2002
>Last-Modified:  Sun Jun 16 03:17:13 PDT 2002
>Originator:     Adam Powers
>Release:        4.3 Stable
>Organization:
>Environment:
Computer 1 - Desktop 1.3GHz AMD, Windows 98se, WebGear Aviator 2.4 Firmware 4.xx, ISA PCMCIA card
Computer 2 - Laptop 366MHz Celeron, FreeBSDd 4.3 Stable, Generic kernel, WebGear Aviator 2.4 Firmware 4.xx (dual boot to Windows 98se)
>Description:
hardware is fully function when speaking win98se<->win98se.

ray_rx() drops all packets because of an incorrect 802.11 header version. upon modifying the driver to print out the contents of the packets it receives, it appears that all packets contain the same repeating byte: "0x55 0x55 0x55 ...". it seems that ray_tx() is working fine because ethereal running on the windows 98 machine shows arp requests from the fbsd box and shows windows sending arp replies. also note that previous to printing out packet contents, a debug message would occasionally say "incorrect header version: <some other number than 0x55>", but i haven't seen that since. 

my test code, kernel object and messages file are available on request. (adam.powers@intel.com)
>How-To-Repeat:
attempt to use webgear aviator 2.4 cards to communicate between windows 98se and freebsd
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->ray 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Sun Dec 30 05:37:19 PST 2001 
Responsible-Changed-Why:  
Duncan looks after the ray(4) driver. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32924 
Responsible-Changed-From-To: ray->dmlb 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Sun Dec 30 05:47:04 PST 2001 
Responsible-Changed-Why:  
Oops, I got Duncan's user id wrong. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32924 
State-Changed-From-To: open->closed 
State-Changed-By: dmlb 
State-Changed-When: Sun Jun 16 03:11:02 PDT 2002 
State-Changed-Why:  
Contact submitter a couple of months ago to see if this was still a problem. 
Had no reply so am closing the PR. 

Problem is memory mapping of the RX buffer space. Adjustment of sysctl's 
machdep.pccard.mem_start and machdep.pccard.mem_end can solve the problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=32924 
>Unformatted:
