From owner-freebsd-wireless@freebsd.org Sat Sep 2 00:05:26 2017 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 32B6FE10241 for ; Sat, 2 Sep 2017 00:05:26 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-vk0-x22f.google.com (mail-vk0-x22f.google.com [IPv6:2607:f8b0:400c:c05::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 D6BB16A022 for ; Sat, 2 Sep 2017 00:05:25 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-vk0-x22f.google.com with SMTP id d124so4410098vkf.3 for ; Fri, 01 Sep 2017 17:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ReIxIsA0PyvWqtLarFXdu96jpdHuH6ToopmoNk/sZUI=; b=UviYQIvGN8dSgqEMDy+btQQV9ey4JsmXdZUQawNFZ9HPfLyyYMr30apNNiWYHfG00c PZmgcTmEIWqi3oF75PlVWACcslmsqgDlsDY9LtiuEPFD1je7Y+TS9+13drIJ8Zy3eEuJ oU67OUbb6wrwdCrsVYxp90ZFBl0z+qFe6J2YzeGcrGw0Bh9R7H6InKQWQRUTxyVgnmQF TM+Lpn4WJsVn890hj9kZqEfcdAAbc/xQvgRueqbaiH5z9FZZPYUXLhORWTTSIJDFeZc/ lmfiI3JDLVE9isnlMThX577N43MUt6r09FqYCUdcBCT5Q5cdkMw8RsBK/IidvUck4G8X HoWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ReIxIsA0PyvWqtLarFXdu96jpdHuH6ToopmoNk/sZUI=; b=KY1jkuORG3wq47enduNzqdB8PcDJzFC2xAXf9kxGEH0A3ytxJKum0ttHhpPBECC37y kRPOHzKouXharhkx74edTeMI4KTegokRzy2ReDFg2BIKpXF9Yl1S9yUQfSeh60cAsiNb 7wVUK7C55PCiKTqZSthfx6XnsEYWsVt22GueKVWdaDygvrAROCKFgjDaJFg0zWX+egSL YfsZzoaCyGxOQrRpB0DsZi6E5rfzsgUbsbxFulLM0rOw1Y+ioWEFOZBCyAlpMsnDicUq 5ij4dGZ9+dCCr3Dze8G4WH79PBUu1bnJTNyEqeQXszaa25EbFXbHXf/ZuRZVsl6HT/0Z fWEw== X-Gm-Message-State: AHPjjUi+Q+jlWpZRMgJTta3JGZlwhb31/7wKVY5+PtJWcx4c9Zy6TGcH tzTPc4ASpxK7Ukj5sAVMnu08FJF9hw== X-Google-Smtp-Source: ADKCNb4NxeIBnxCeiozKIxhzlB2pDmq6qffDsBdB/5JUI/gz3qRA1owg8cdklZmgMQwbleQ9klat0GoI3naVC0x5LWQ= X-Received: by 10.31.170.142 with SMTP id t136mr1927608vke.157.1504310724495; Fri, 01 Sep 2017 17:05:24 -0700 (PDT) MIME-Version: 1.0 References: <68.D0.25924.050D9A95@dnvrco-omsmta02> In-Reply-To: <68.D0.25924.050D9A95@dnvrco-omsmta02> From: blubee blubeeme Date: Sat, 02 Sep 2017 00:05:13 +0000 Message-ID: Subject: Re: Adding wifi source code To: Thomas Mueller , freebsd-wireless@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 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: Sat, 02 Sep 2017 00:05:26 -0000 Here's a pdf giving a decent overview: https://www.bsdcan.org/2006/papers/freebsd.device.driver.slides.pdf But, the FreeBSD handbook also goes over the process as well. https://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/driverbasics.html For the guy that took Linux drivers, you might want to look into the Linux Emulator, that would be the easiest path especially if those Linux drivers includes a lot of Linux specific headers. The NetBSD drivers should be a bit easier to port. Best, Owen On Sat, Sep 2, 2017, 05:25 Thomas Mueller wrote: > from Tecno Linux: > > > Hello, I have the source code of my wireless driver i extract it from the > > linux kernel how can i compile that source code or i have another option > my > > wireless driver is a realtek rtl8723be wifi > > I have similar question, but the source code is from NetBSD and the > wireless chip is Atheros AR9271. > > I also have similar question regarding Ethernet Realtek 8111E re driver, > works in NetBSD but not FreeBSD (11.1-STABLE and HEAD) on computer in > question. > > Is there online handbook/documentation on writing device drivers or > porting from Linux or NetBSD? > > Tom > > _______________________________________________ > 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 > " >