From owner-freebsd-drivers@FreeBSD.ORG Fri Oct 25 12:15:39 2013 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0563E489; Fri, 25 Oct 2013 12:15:39 +0000 (UTC) (envelope-from matthias@petermann-it.de) Received: from mail.s1.d2ux.org (static.209.96.9.5.clients.your-server.de [5.9.96.209]) by mx1.freebsd.org (Postfix) with ESMTP id 7D2ED21D3; Fri, 25 Oct 2013 12:15:37 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id 5530284F25D6; Fri, 25 Oct 2013 14:08:57 +0200 (CEST) Received: from mail.s1.d2ux.org ([10.0.0.3]) by mail.s1.d2ux.org (mail.s1.d2ux.org [10.0.0.3]) (amavisd-new, port 10024) with ESMTP id JmYx6yjB2Mhn; Fri, 25 Oct 2013 14:08:55 +0200 (CEST) Received: from workstation.local (p5DDA8D2F.dip0.t-ipconnect.de [93.218.141.47]) by mail.s1.d2ux.org (Postfix) with ESMTPSA id 3B16E84F25CC; Fri, 25 Oct 2013 14:08:55 +0200 (CEST) Message-ID: <526A5EBD.0@petermann-it.de> Date: Fri, 25 Oct 2013 14:06:21 +0200 From: Matthias Petermann User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Cedric GROSS Subject: Re: Centrino Wireless N2230 support References: <20130913112427.Horde.Lr2e32AbzvcQIrrWuDh-dg1@d2ux.org> <001e01ceb064$80168220$80438660$@info> In-Reply-To: <001e01ceb064$80168220$80438660$@info> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org, freebsd-drivers@freebsd.org, freebsd-current@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 12:15:39 -0000 Hi Cedric, Am 13.09.2013 11:34, schrieb Cedric GROSS: > Not against 10-current. But if you wish, you could test with my > version on github https://github.com/KreizIT/FreeBSD-IWN Use LKGV > branch, should be running with 10-current. Cedric finally I had a chance to test the driver. I installed a fresh 9.2 relase and placed the files from https://github.com/KreizIT/FreeBSD-IWN into my /usr/src/sys and tried to make sys/modules/iwn (cd /usr/src/sys/modules/iwn;make) Unfortunality it doesn't build, instead giving this message: Warning: Object directory not changed from original /usr/src/sys/modules/iwn @ -> /usr/src/sys machine -> /usr/src/sys/amd64/include x86 -> /usr/src/sys/x86/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h echo "#define IEEE80211_DEBUG 1" > opt_wlan.h :> opt_iwn.h cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c cc1: warnings being treated as errors /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c: In function 'iwn_rate_to_plcp': /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:2254: warning: implicit declaration of function 'ieee80211_legacy_rate_lookup' /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:2254: warning: nested extern declaration of 'ieee80211_legacy_rate_lookup' [-Wnested-externs] /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c: In function 'iwn_rx_compressed_ba': /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:2600: error: 'struct ieee80211_tx_ampdu' has no member named 'txa_tid' /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c: In function 'iwn_ampdu_tx_done': /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:3075: error: 'struct ieee80211_tx_ampdu' has no member named 'txa_tid' /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c: In function 'iwn_addba_response': /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:6021: error: 'struct ieee80211_tx_ampdu' has no member named 'txa_tid' /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c: In function 'iwn_ampdu_tx_stop': /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:6084: error: 'struct ieee80211_tx_ampdu' has no member named 'txa_tid' *** [if_iwn.o] Error code 1 The closest issue seems to be "struct ieee80211_tx_ampdu' has no member named 'txa_tid' but I cannot see what's wrong with it. As I get the similiar error when trying to build https://github.com/KreizIT/freebsd-iwl - is there anything wrong with my build process? Kind regards, Matthias