I have a netgear wpn311 pci card with atheros chipset dmesg gives me wlan: 0.8.4.2 (Atheros/multi-bss) ath_rate_sample: 1.2 ath_pci: 0.9.4.5 (Atheros/multi-bss) ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11 wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: mac 7.9 phy 4.5 radio 5.6 wifi0: Use hw queue 1 for WME_AC_BE traffic wifi0: Use hw queue 0 for WME_AC_BK traffic wifi0: Use hw queue 2 for WME_AC_VI traffic wifi0: Use hw queue 3 for WME_AC_VO traffic wifi0: Use hw queue 8 for CAB traffic wifi0: Use hw queue 9 for beacons wifi0: Atheros 5212: mem=0xef010000, irq=11 and lspci gives me 0000:00:0d.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01) madwifi version [ebuild R ] net-wireless/madwifi-driver-0.1_pre20051031 emerging wpa_supplicant 0.4.6 gives me i686-pc-linux-gnu-gcc -O2 -mcpu=pentium4 -I/usr/include/madwifi -I. -I../utils -I../hostapd -I/usr/include/madwifi -DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54 -DCONFIG_DRIVER_MADWIFI -DCONFIG_DRIVER_ATMEL -DCONFIG_DRIVER_NDISWRAPPER -DCONFIG_DRIVER_IPW -DCONFIG_DRIVER_WIRED -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_LEAP -DEAP_PSK -DEAP_TLV -DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DPKCS12_FUNCS -DCONFIG_SMARTCARD -DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE -DCONFIG_READLINE -DCONFIG_NO_STDOUT_DEBUG -c -o driver_wext.o driver_wext.c driver_madwifi.c: In function `set80211priv': driver_madwifi.c:91: error: `IEEE80211_IOCTL_CHANLIST' undeclared (first use in this function) driver_madwifi.c:91: error: (Each undeclared identifier is reported only once driver_madwifi.c:91: error: for each function it appears in.) make: *** [driver_madwifi.o] Error 1 make: *** Waiting for unfinished jobs.... emerge --info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -mcpu=pentium4 -I/usr/include/madwifi" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acpi alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr crypt cups curl dga divx4linux dri dts dv dvb dvd dvdr dvdread eds emboss encode esd ethereal exif expat fam fbcon ffmpeg firefox flac flash foomaticdb fortran ftp gcj gd gdbm geoip ggi gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq idn imagemagick imap imlib ipv6 java javascript jikes jpeg junit kde kdeenablefinal lcms ldap lesstif libclamav libg++ libwww lirc lm_sensors mad mikmod mime mng motif mp3 mpeg mpi ncurses netboot nls oav odbc ogg oggvorbis opengl oss pam pcre pdflib perl png portaudio posix postgres python qt quicktime readline recode samba sdl sndfile sockets spell ssl svg svga symlink szip tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb vcd videos vorbis wifi win32codecs wmf wxwindows xine xinerama xml xml2 xmms xosd xpm xv xvid yahoo zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY Reproducible: Always Steps to Reproduce: 1.ACCEPT_KEYWORDS="~x86" USE="madwifi" emerge wpa_supplicant 2. 3.
Same problem. The only version of madwifi-driver in portage that works with wpa_supplicant is the masked version, 0.1_pre20050809-r1. This version should be un-masked and the current version, 0.1_pre20051031, should be masked, as it requires a special tool to configure the interface which isn't yet in portage.
*** This bug has been marked as a duplicate of 110791 ***