From owner-freebsd-wireless@freebsd.org Fri Sep 4 21:17:24 2015 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25BE49CAF54 for ; Fri, 4 Sep 2015 21:17:24 +0000 (UTC) (envelope-from fmm_07@openmailbox.org) Received: from mail2.openmailbox.org (mail2.openmailbox.org [62.4.1.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DC4A2879 for ; Fri, 4 Sep 2015 21:17:23 +0000 (UTC) (envelope-from fmm_07@openmailbox.org) Received: by mail2.openmailbox.org (Postfix, from userid 1004) id 9158D2AC14EE; Fri, 4 Sep 2015 23:17:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1441401440; bh=FCZ7w4HN4yRcQaKPKnVIWz4w7Qez2NhfGwY6vXbsUdA=; h=Date:From:To:Subject:From; b=ySBNNG6vnmk2kK4UY+R3Z5n7UmBb1vI1+i/EhAzy0gMoc/tcw95BQqc0U/9OnGoir HQ/IOwCP8sfd8TieVmbBtyTPUxvtuC/lQhUCP7bHy6EBrvU1tMK+WO2d27WBJNwpOD 5yxvIt6mDIVPkjlTo+jiQzajjY4/NzFBP72UqdsI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on openmailbox-b2 X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=ALL_TRUSTED,BAYES_50, DKIM_ADSP_ALL,HTML_MESSAGE autolearn=no autolearn_force=no version=3.4.0 Received: from www.openmailbox.org (openmailbox-b1 [10.91.69.218]) by mail2.openmailbox.org (Postfix) with ESMTP id 7D6252AC1551 for ; Fri, 4 Sep 2015 23:16:54 +0200 (CEST) Authentication-Results: mail2.openmailbox.org; dkim=none reason="no signature"; dkim-adsp=fail (unprotected policy); dkim-atps=neutral MIME-Version: 1.0 Date: Fri, 04 Sep 2015 16:16:54 -0500 From: fmm_07@openmailbox.org To: freebsd-wireless@freebsd.org Subject: How to develop a wireless =?UTF-8?Q?driver=3F?= Message-ID: <9723f27f8adc7024e07241b51fe3fafc@openmailbox.org> X-Sender: fmm_07@openmailbox.org User-Agent: Roundcube Webmail/1.0.6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2015 21:17:24 -0000 Hello, I have a wireless card that does not work in FreeBSD but in Gnu/Linux with a proprietary firmware (my wireless card is Realtek RTL8188CE), the firmware is rtl8192cfw.bin. My question is: How can I develop a free wireless driver and build it with a custom kernel in FreeBSD? Thanks for your help. From owner-freebsd-wireless@freebsd.org Fri Sep 4 21:23:03 2015 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 014249CB23C for ; Fri, 4 Sep 2015 21:23:03 +0000 (UTC) (envelope-from felixphew0@gmail.com) Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C8633C8D for ; Fri, 4 Sep 2015 21:23:02 +0000 (UTC) (envelope-from felixphew0@gmail.com) Received: by pacfv12 with SMTP id fv12so35598306pac.2 for ; Fri, 04 Sep 2015 14:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=J44Hvw/r32xZwiKRNDXHDdv5u5Ecwoi5R82Mkb81nOA=; b=NtO1YUPOkPS6VW2HSwkwojw6REWTeCbAm8YSlA68+Uy22RFYOCAOfCT8hlGFDPp0vE OeRFWb4QQEg2X+U5F/t/Hb0cv7vijMXlZQef66/OIECdiZfbalJgNsFuQRYBI1NNeok1 mYQmhBeVhtrUYj0Fya/ixj8ivqgpV23YjfhK3KGUIgiCH6buISLTKkioYNTQ9ENXiLNa tqpE2ieQ2ka/3qOIlI3QaVKQm4BBg0AshdsD95L+d4OihoMtUTueHvTiDkfYXVqe//Nv sCWJQi0e3kfRoL9lhBVh3pQXzf7BFpq1+RmkAwgvtqVpCYDddc042xnSBU37+3QiCh4S 1IBg== X-Received: by 10.68.234.167 with SMTP id uf7mr12495993pbc.51.1441401782386; Fri, 04 Sep 2015 14:23:02 -0700 (PDT) Received: from [192.168.0.2] (c211-30-51-180.frank3.vic.optusnet.com.au. [211.30.51.180]) by smtp.gmail.com with ESMTPSA id y5sm3571826pdc.4.2015.09.04.14.23.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Sep 2015 14:23:01 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.0 \(3093\)) Subject: Re: How to develop a wireless driver? From: Felix Friedlander In-Reply-To: <9723f27f8adc7024e07241b51fe3fafc@openmailbox.org> Date: Sat, 5 Sep 2015 07:22:57 +1000 Cc: freebsd-wireless@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <9723f27f8adc7024e07241b51fe3fafc@openmailbox.org> To: fmm_07@openmailbox.org X-Mailer: Apple Mail (2.3093) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2015 21:23:03 -0000 Are you sure the existing driver doesn=E2=80=99t work? Try adding these = two lines to loader.conf: if_urtwn_load=3D=E2=80=9CYES" legal.realtek.license_ack=3D1 and rebooting. If that doesn=E2=80=99t work, I would be looking at NDIS = as your next best option - writing drivers is *hard*(as I have = discovered in my own attempts to update the bwn(4) driver). > On 5 Sep 2015, at 7:16 AM, fmm_07@openmailbox.org wrote: >=20 >=20 >=20 > Hello, I have a wireless card that does not work in FreeBSD but in > Gnu/Linux with a proprietary firmware (my wireless card is Realtek > RTL8188CE), the firmware is rtl8192cfw.bin. > My question is: How can I develop a free wireless driver and build it > with a custom kernel in FreeBSD? >=20 > Thanks for your help.=20 >=20 > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to = "freebsd-wireless-unsubscribe@freebsd.org"