Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jan 2015 13:42:26 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        "Eric L. Camachat" <eric.camachat@gmail.com>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: [rft] net80211 scan overhaul, pass 1
Message-ID:  <CAJ-Vmo=E_RuHE=Oxge=rkojd=714Z%2BU6gMb1Bgy1NPKQM-EuJQ@mail.gmail.com>
In-Reply-To: <54AAF11E.3060504@gmail.com>
References:  <CAJ-Vmo=jfx2Y-ndjOojA-n8dJ=qrbYct5LsDKEqE8uuEiShzvw@mail.gmail.com> <54AAF11E.3060504@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Oh, damn. Erm, you have to add ieee80211_swscan.c to sys/conf/files ;
I only patched the kernel module directory :(



-adrian


On 5 January 2015 at 12:16, Eric L. Camachat <eric.camachat@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 01/03/2015 20:46, Adrian Chadd wrote:
>> hi all,
>>
>> I've started overhauling the net80211 scan infrastructure so it
>> can support fully-offloaded scan firmware (like the intel iwn(4)
>> NICs, and the upcoming 7260 driver I'm hacking on.)
>>
>> I'd like this patch tested:
>>
>> https://people.freebsd.org/~adrian/net80211/20150103-net80211-scan-overhaul-1.diff
>>
>>  This splits the scan code into two halves - the generic bits that
>> drive when and what to do about scanning, and the bits that
>> implement the software scanner.
>
> Cannot be compiled on 11-CURRENT, see:
> - --------------------------------------------------------------
>>>> stage 3.2: building everything
> - --------------------------------------------------------------
> cd /usr/obj/usr/src/sys/KETAGALAN; MAKEOBJDIRPREFIX=/usr/obj
> MACHINE_ARCH=amd64  MACHINE=amd64  CPUTYPE=corei7-avx
> GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
> GROFF_FONT_PATH=/usr/obj/usr/s
> rc/tmp/legacy/usr/share/groff_font
> GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
> _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp  _LDSCRIPTROOT=  VERSION="FreeBSD
> 11.0-CURRENT amd64 1100052"  IN
> STALL="sh /usr/src/tools/install.sh"
> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr
> /src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
> CC="cc " CXX="c++  "  DEPFLAGS=""  CPP="cpp "  AS="as" AR="ar" LD="ld"
> NM=nm  OBJDUMP=objd
> ump OBJCOPY="objcopy"  RANLIB=ranlib STRINGS=  SIZE="size" make  -m
> /usr/src/share/mk  KERNEL=kernel all -DNO_MODULES_OBJ
> linking kernel.debug
> ieee80211_scan.o: In function `ieee80211_scan_attach':
> /usr/src/sys/net80211/ieee80211_scan.c:(.text+0x6): undefined
> reference to `ieee80211_swscan_attach'
> ieee80211_scan.o: In function `ieee80211_scan_detach':
> /usr/src/sys/net80211/ieee80211_scan.c:(.text+0x16): undefined
> reference to `ieee80211_swscan_detach'
> ieee80211_scan.o: In function `ieee80211_scan_vattach':
> /usr/src/sys/net80211/ieee80211_scan.c:(.text+0x8b): undefined
> reference to `ieee80211_swscan_vattach'
> ieee80211_scan.o: In function `ieee80211_scan_vdetach':
> /usr/src/sys/net80211/ieee80211_scan.c:(.text+0x10b): undefined
> reference to `ieee80211_swscan_vdetach'
> ieee80211_scan.o: In function `ieee80211_start_scan_locked':
> /usr/src/sys/net80211/ieee80211_scan.c:(.text+0x812): undefined
> reference to `ieee80211_swscan_set_scan_duration'
> /usr/src/sys/net80211/ieee80211_scan.c:(.text+0x8b0): undefined
> reference to `ieee80211_swscan_run_scan_task'
> ieee80211_scan.o: In function `ieee80211_start_scan':
> /usr/src/sys/net80211/ieee80211_scan.c:(.text+0x94e): undefined
> reference to `ieee80211_swscan_start_scan'
> ieee80211_scan.o: In function `ieee80211_check_scan':
> /usr/src/sys/net80211/ieee80211_scan.c:(.text+0xbbb): undefined
> reference to `ieee80211_swscan_check_scan'
> ieee80211_scan.o: In function `ieee80211_bg_scan':
> /usr/src/sys/net80211/ieee80211_scan.c:(.text+0xcc5): undefined
> reference to `ieee80211_swscan_bg_scan'
> ieee80211_scan.o: In function `ieee80211_cancel_scan':
> /usr/src/sys/net80211/ieee80211_scan.c:(.text+0xd06): undefined
> reference to `ieee80211_swscan_cancel_scan'
> ieee80211_scan.o: In function `ieee80211_cancel_anyscan':
> /usr/src/sys/net80211/ieee80211_scan.c:(.text+0xd16): undefined
> reference to `ieee80211_swscan_cancel_anyscan'
> ieee80211_scan.o: In function `ieee80211_scan_next':
> /usr/src/sys/net80211/ieee80211_scan.c:(.text+0xd26): undefined
> reference to `ieee80211_swscan_scan_next'
> ieee80211_scan.o: In function `ieee80211_scan_done':
> /usr/src/sys/net80211/ieee80211_scan.c:(.text+0xdd3): undefined
> reference to `ieee80211_swscan_scan_done'
> ieee80211_scan.o: In function `ieee80211_probe_curchan':
> /usr/src/sys/net80211/ieee80211_scan.c:(.text+0xe64): undefined
> reference to `ieee80211_swscan_probe_curchan'
> ieee80211_scan.o: In function `ieee80211_add_scan':
> /usr/src/sys/net80211/ieee80211_scan.c:(.text+0x1036): undefined
> reference to `ieee80211_swscan_add_scan'
> ieee80211_scan_sta.o: In function `sta_attach':
> /usr/src/sys/net80211/ieee80211_scan_sta.c:(.text+0x102): undefined
> reference to `M_80211_SCAN'
> ieee80211_scan_sta.o: In function `sta_detach':
> /usr/src/sys/net80211/ieee80211_scan_sta.c:(.text+0x224): undefined
> reference to `M_80211_SCAN'
> /usr/src/sys/net80211/ieee80211_scan_sta.c:(.text+0x265): undefined
> reference to `M_80211_SCAN'
> ieee80211_scan_sta.o: In function `sta_flush':
> /usr/src/sys/net80211/ieee80211_scan_sta.c:(.text+0x614): undefined
> reference to `M_80211_SCAN'
> ieee80211_scan_sta.o: In function `sta_add':
> /usr/src/sys/net80211/ieee80211_scan_sta.c:(.text+0x90d): undefined
> reference to `M_80211_SCAN'
> ieee80211_scan_sta.o:/usr/src/sys/net80211/ieee80211_scan_sta.c:(.text+0xe7d):
> more undefined references to `M_80211_SCAN' follow
> *** Error code 1
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iF4EAREIAAYFAlSq8RkACgkQSfBQu3oOwYw8WAD7BXtRXLvYOFPKKWvvbUs6XoLU
> wh+MIAah8y8paqgz5BoBALB0FP40M4e7vpZogN89cHtcKJbQMfYu39tlYszDKgpW
> =iB91
> -----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=E_RuHE=Oxge=rkojd=714Z%2BU6gMb1Bgy1NPKQM-EuJQ>