From owner-freebsd-wireless@FreeBSD.ORG Sat Jul 23 04:54:36 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FBEE106564A; Sat, 23 Jul 2011 04:54:36 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id 374048FC08; Sat, 23 Jul 2011 04:54:35 +0000 (UTC) Received: by pzk5 with SMTP id 5so14214215pzk.17 for ; Fri, 22 Jul 2011 21:54:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=115B45EpCRPoqCl5YtNGe+NIQ0MlXD5q8rIAiRxIsko=; b=a5CiaxO1Ptg3+qleMcSdbJ1+HelPz+LamjzJaoqbtnliBRdAX4F8Rpjg+Xx05pGn/m Q2cWk7/BLFwAfJhGwnylPLNXHQf7Bz45ssozNJHuX6q3B7uYSwYtQCiYx06OEBHzLW3N oXkxKCBlVHZeOKoeOdVXAxIfxDHnIcfS8NCqU= Received: by 10.68.41.168 with SMTP id g8mr3610171pbl.512.1311396875593; Fri, 22 Jul 2011 21:54:35 -0700 (PDT) Received: from sidhe.local ([75.111.38.94]) by mx.google.com with ESMTPS id k3sm1132741pbj.93.2011.07.22.21.54.32 (version=SSLv3 cipher=OTHER); Fri, 22 Jul 2011 21:54:33 -0700 (PDT) Message-ID: <4E2A5407.7080808@gmail.com> Date: Fri, 22 Jul 2011 21:54:31 -0700 From: Matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110716 Thunderbird/5.0 MIME-Version: 1.0 To: Adrian Chadd References: <201107140702.p6E721Y4012318@freefall.freebsd.org> <4E246C95.40601@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ae@freebsd.org, freebsd-wireless@freebsd.org, freebsd-net@freebsd.org Subject: Re: kern/155498: [ral] ral(4) needs to be resynced with OpenBSD's to gain RT2860/2870 support. X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 23 Jul 2011 04:54:36 -0000 On 07/22/11 18:42, Adrian Chadd wrote: > When do we just give in and commit this merged code for now? > > > Adrian > > On 19 July 2011 01:25, Matt wrote: >> On 07/14/11 00:02, ae@FreeBSD.org wrote: >>> Synopsis: [ral] ral(4) needs to be resynced with OpenBSD's to gain >>> RT2860/2870 support. >>> >>> Responsible-Changed-From-To: freebsd-net->freebsd-wireless >>> Responsible-Changed-By: ae >>> Responsible-Changed-When: Thu Jul 14 07:00:44 UTC 2011 >>> Responsible-Changed-Why: >>> Reassign to wireless team. >>> >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=155498 >>> _______________________________________________ >>> freebsd-wireless@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>> To unsubscribe, send any mail to >>> "freebsd-wireless-unsubscribe@freebsd.org" >>> >> This is in progress...either from OpenBSD or from Alexandr's rt2860 code. >> Or a merge of the two. >> >> In the mean time, anyone interested should please test. >> It seems like it may not work on anything but current, but I don't have >> enough information to be sure. >> >> Patches (rt2860 merged with ral): >> https://docs.google.com/leaf?id=0B6YlMzJxarGbMWFmZDUxMTgtOTU4ZC00MjRlLThhMTctZTE1MDcwNDJiZDIx&hl=en_US >> >> If you have build errors, please provide output of uname -a, and copying >> exact error messages if any. >> >> Thanks, >> Matt >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" >> That may be a good stopgap! My next step is to go line by line through OpenBSD ral & existing FreeBSD ral and try to find a way to either create an abstraction layer for easy porting or otherwise structure our driver to successfully "eat" OpenBSD changes in the future. This will take significant time on my part, as I am a noobophyte :). If anyone knows of useful tools for organizing very large C sources by function please let me know, it would help! I will do some major hacking at it tonight I suppose...it's about time :). I'll post updates sometime soon, but OpenBSD's 80211 stack seems quite different than ours...pci stuff is all different for sure. Matt