Subject: kern/29786: ieee80211 headers contain two definitions of IEEE80211_AUTH_*
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <hramrach@centrum.cz>
List: netbsd-bugs
Date: 03/24/2005 16:49:00
>Number:         29786
>Category:       kern
>Synopsis:       ieee80211 headers contain two definitions of IEEE80211_AUTH_*
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 24 16:49:00 +0000 2005
>Originator:     hramrach@centrum.cz
>Release:        NetBSD 3.99.1 23-03-2005
>Organization:
>Environment:
System: NetBSD Dell 3.99.1 NetBSD 3.99.1 (Dell) #2: Wed Mar 23 15:46:42 CET 2005 hramrach@Dell:/scratch/obj/usr/src/sys/arch/i386/compile/Dell i386
Architecture: i386
Machine: i386
>Description:
/usr/include/net80211/ieee80211.h contains an enum of authentication types (IEEE80211_AUTH_*).
/usr/include/net80211/ieee80211_ioctl.h contains #defines of the first three only.
I beleive this is a bug since the values are duplicated in different headers and the definitions
in ieee80211_ioctl.h are incomplete.
>How-To-Repeat:
>Fix:
Removeing the defines from ieee80211_ioctl.h should be OK imho since they are incomplete anyway.
Some sources may need including ieee80211.h then.

Thanks
Michal Suchanek