Subject: Re: latest ath/net80211 from freebsd
To: None <tech-net@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: tech-net
Date: 06/07/2005 19:28:52
On Tue, Jun 07, 2005 at 09:48:11PM +0200, Petar Bogdanovic wrote:
> However, I tried to play around with a GENERIC_LAPTOP (3.99.5/i386) on a
> Soekris net4501, but I wasn't very successful. In most cases, ifconfig
> returned something like: "unable to reset hardware" and in one case:
Are you using a MiniPCI or Cardbus ath(4) in your net4501? Is there
any difference if you use a NET4501 kernel?
> #ifconfig ath0 up chan 7 media OFDM54 mode 11g mediaopt adhoc ssid
> TESTNETZ 130.92.178.20 netmask 255.255.255.0 broadcast 130.92.178.255
I can reproduce this. In
sys/net80211/ieee80211_netbsd.c:ieee80211_getmgtframe, see if it helps
to change the line
if (len < MINCLSIZE) {
to
if (len <= MHLEN) {
Dave
--
David Young OJC Technologies
dyoung@ojctech.com Urbana, IL * (217) 278-3933