Re: Centrino Wireless N2230 support

From: Matthias Petermann <matthias_at_petermann-it.de>
Date: Fri, 25 Oct 2013 14:06:21 +0200
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
_at_ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
awk -f _at_/tools/makeobjops.awk _at_/kern/device_if.m -h
awk -f _at_/tools/makeobjops.awk _at_/kern/bus_if.m -h
awk -f _at_/tools/makeobjops.awk _at_/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_at_ -I_at_/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
Received on Fri Oct 25 2013 - 10:15:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:43 UTC