Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2007 18:50:10 +1300
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        Sergey Matveychuk <sem@FreeBSD.org>
Cc:        ports@FreeBSD.org, freebsd-net@freebsd.org, Denis Barov <dindin@yandex-team.ru>, freebsd-ports@freebsd.org
Subject:   Re: net-mgmt/bsd-airtools broken not because of gcc4
Message-ID:  <20071108055010.GA62962@heff.fud.org.nz>
In-Reply-To: <473297D0.6010705@FreeBSD.org>
References:  <20071107182928.GA66533@sepulcator.local.yandex.ru> <473297D0.6010705@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 08, 2007 at 08:00:00AM +0300, Sergey Matveychuk wrote:
> Denis Barov wrote:
>> Hi all!
>> I found, that port net-mgmt/bsd-airtools marked as broken:
>> BROKEN=          Does not compile with GCC 4.2
>> but, it's not really so. It's broken after Wed Jul 11 21:25:48 2007 UTC 
>> commit by
>> thompsa@freebsd.org, when some ioctls was deleted from kernel.
>> For example, after patching /usr/include/dev/wi/if_wavelan_ieee.h
>> bsd-airtools compiled well:
>> --- /usr/include/dev/wi/if_wavelan_ieee.h       2007-11-07
>> 19:36:15.000000000 +0300
>> +++ /usr/src/sys/dev/wi/if_wavelan_ieee.h       2007-07-12
>> 01:25:48.000000000 +0400
>> @@ -59,7 +59,7 @@
>>   */
>>  #define WI_MAX_DATALEN 512
>>  -#if 1
>> +#if 0
>>  struct wi_req {
>>         u_int16_t       wi_len;
>>         u_int16_t       wi_type;
>> But, still missing some ioctls. dstumbler said
>> error: unable to ioctl device socket: Invalid argument
>> May be I can do something helpful?
>
> I guess you should back not just these header definitions but ioctl 
> implementations too. Or ask thompsa if you could use something instead.

The net80211 system supports the IEEE80211_IOC_SCAN_REQ and
IEEE80211_IOC_SCAN_RESULTS ioctls which work on _all_ wireless
interfaces. These have been present since 6.0 and the above wi(4)
specific interface have been removed as the driver has been brought into
line.


cheers,
Andrew



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