DragonFly BSD
DragonFly users List (threaded) for 2011-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: calling all WiFi users


From: Thomas Nikolajsen <thomas.nikolajsen@xxxxxxx>
Date: Tue, 8 Mar 2011 19:50:45 +0100

>>Anyone using WiFi on DragonFly BSD please test the following branch:
>>
>>git://leaf.dragonflybsd.org/~josepht/dragonfly.git mjumpagesize
>>
>>This adds jumbo cluster support needed for Intel WiFi NICs and removes
>>the requirement for non-Intel WiFi NIC users to rebuild their kernel
>>with MCLSHIFT set to 11.
>
>It works here, using ath(4) (AR5212 if it matters).
>This NIC broke with MCLSHIFT=12.

Found a minor issue: buildkernel fails on x86_64:
'size' has different type in two places, see below.

'size' isn't used in your implementation at all.
FreeBSD use int for size.

It works great here using size_t.

 -thomas

http://gitweb.dragonflybsd.org/~josepht/dragonfly.git/commit/33dbeae810812d056db4c1a65d540b9dceeccede

diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
. .
+struct mbuf *
+m_getjcl(int how, short type, int flags, size_t size)
. .
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
. .
+struct mbuf    *m_getjcl(int how, short type, int flags, uint size);




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]