From owner-freebsd-wireless@freebsd.org Wed Oct 30 22:52:23 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BC2CF16445B for ; Wed, 30 Oct 2019 22:52:23 +0000 (UTC) (envelope-from ashafer@badland.io) Received: from badland.io (badland.io [178.128.156.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 473Nxy4hn3z4hgG for ; Wed, 30 Oct 2019 22:52:22 +0000 (UTC) (envelope-from ashafer@badland.io) Received: from amadeus.attlocal.net (68-74-197-208.lightspeed.rlghnc.sbcglobal.net [68.74.197.208]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by badland.io (Postfix) with ESMTPSA id 2A0F7A9832 for ; Wed, 30 Oct 2019 18:52:14 -0400 (EDT) From: Austin Shafer Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Best way to explore the 802.11 rtwn source code? Message-Id: <1F9F7008-59C4-42DF-AF1E-0028BD9576F5@badland.io> Date: Wed, 30 Oct 2019 18:52:15 -0400 To: freebsd-wireless@freebsd.org X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 473Nxy4hn3z4hgG X-Spamd-Bar: / X-Spamd-Result: default: False [-0.73 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[badland.io:s=dkim]; RECEIVED_SPAMHAUS_PBL(0.00)[208.197.74.68.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.82)[-0.821,0]; IP_SCORE(0.37)[asn: 14061(1.92), country: US(-0.05)]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[badland.io:+]; DMARC_POLICY_ALLOW(-0.50)[badland.io,reject]; NEURAL_HAM_MEDIUM(-0.79)[-0.787,0]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:178.128.144.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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: Wed, 30 Oct 2019 22:52:23 -0000 Hi all, I=E2=80=99m interested in hacking around with a netgear wifi adapter I = have (rtwn). Are there any good resources for learning how to read and = debug FreeBSD=E2=80=99s wireless network stack? Robert Watson has a great overview of starting points for understanding = the kernel as a whole, are there any similar "starting points" for = network drivers? http://www.watson.org/~robert/freebsd/reading/ The =E2=80=9CDesign and implementation ..=E2=80=9D book covers = networking and device driver creation which is helpful, but nothing = about wireless. I did find a few like the following: https://wiki.freebsd.org/MateuszPiotrowski/Drivers https://wiki.freebsd.org/WiFi/BringUp Any suggestions? I=E2=80=99d appreciate anything that helps me learn how = all this stuff works. Thanks in advance, Austin=