calling all WiFi users

Thomas Nikolajsen thomas.nikolajsen at mail.dk
Tue Mar 8 10:56:13 PST 2011


>>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);






More information about the Users mailing list