Subject: Re: likely bug in ieee80211_encap for IBSS/AHDEMO unicast output
To: None <current-users@netbsd.org>
From: David Young <dyoung@pobox.com>
List: current-users
Date: 10/16/2003 19:18:13
On Thu, Oct 16, 2003 at 07:29:12PM -0400, Greg Troxel wrote:
> Reading the sources, in src/sys/dev/ic/wi.c, it seems that
> ieee80211_encap might be failing.  Looking at that routine (in
> src/sys/net80211/ieee80211_output.c), I see that not being in the node
> table is fatal for unicast packets for nodes other than in
> IEEE802111_M_STA mode.  But this is wrong; IBSS and AHDEMO both
> operate without node tables, and the code below that fills in the
> 802.11 header expects ni to point to the 'bssid' node id.

Adhoc should use node tables just like hostap mode. If it is not, it
is broken.  I will investigate this and repair.

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933