Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2013 14:06:21 +0200
From:      Matthias Petermann <matthias@petermann-it.de>
To:        Cedric GROSS <cg@cgross.info>
Cc:        freebsd-wireless@freebsd.org, freebsd-drivers@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: Centrino Wireless N2230 support
Message-ID:  <526A5EBD.0@petermann-it.de>
In-Reply-To: <001e01ceb064$80168220$80438660$@info>
References:  <20130913112427.Horde.Lr2e32AbzvcQIrrWuDh-dg1@d2ux.org> <001e01ceb064$80168220$80438660$@info>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?526A5EBD.0>