From owner-freebsd-wireless@freebsd.org Tue May 3 03:41:03 2016 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 B15FFB2BF1B for ; Tue, 3 May 2016 03:41:03 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (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 73A461839 for ; Tue, 3 May 2016 03:41:03 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-ig0-x22b.google.com with SMTP id s8so9864365ign.0 for ; Mon, 02 May 2016 20:41:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to; bh=KYRWXzSDp6ECupT01xko7aT/uUjVL+C0V62QnStzdvk=; b=xE9iezQ0AY3HAIqmymw5v6sCohcKr21ee70dplpfHoRsLYbeWI7E18dYuETjtu6rkF 46jJa0q1BDse4KgagUlh302BsmbauASR0wdunT0YTeb+OoJ2ySItwPrSIbd5W8Pz2M8H 2UZEvg38PL/gSM2qOTOUWAesnHNLnkQNsivG54+6TxiqSMMfxWTmdDtpOZgAVIjuAfkt GBDX1YbnL4bigcZANiVjDgbtTqvcj+fvMptWl2tosacVn4rbR/ewMmJTIjefEjR+kFxA u6ITTszOy317gQM65J81lqU4+wfJxGJHf28cZARu9uXyPpxKgRW3ks2MlqphHXjuWDrZ GBlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to; bh=KYRWXzSDp6ECupT01xko7aT/uUjVL+C0V62QnStzdvk=; b=gsEx0QPLiyOYgfYlq4B3QDxUU+6BFxdEkjHhKIjY1cQSPuSyIQF/1Okj07taEOHbsY 9oSdP8cDhliUXh9Jrv2dnYc6tci8a+ynDEs7PY+tBGcwRvnf5+EVcZPIqb865HwTlxJr g8bNt5Ne/IfNVriMJiHOB4rHNTDp3+A9pwkbW8Lx+A3Rbluc8Dp+f7ZfVrjQegCvsoq4 xd63xoy3Qw3su1DY5cA+uCxzgET//blnXB8gutxklA9eJ7La40jZGxLasqAT0FxYVRgw R5ttygzPZySIrf2792JORhIAYIN4uZA5uC3X28we1eXx6cDH/bUpMWy1setFc0q69JGs GhXg== X-Gm-Message-State: AOPr4FVLzfohlXMav7YGHWw7HTBR6i6u7NzhKN807HAkUm51mu+nkHA7ffZOrCqicrqatEJUNbfgDpa5CorUSQ== MIME-Version: 1.0 X-Received: by 10.50.187.133 with SMTP id fs5mr23422479igc.61.1462246862619; Mon, 02 May 2016 20:41:02 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.113.3 with HTTP; Mon, 2 May 2016 20:41:02 -0700 (PDT) Date: Mon, 2 May 2016 20:41:02 -0700 X-Google-Sender-Auth: PHQeW0v57Wx3dIxXuj-GUe-ROlM Message-ID: Subject: bwn updates From: Adrian Chadd To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 03 May 2016 03:41:03 -0000 hi, I'm slowly going through bwn and looking at what I can pull out to make adding new phys (11n, etc) easier. There's .. a lot. I'm going to try and extract out the transmit/receive code and whatever other PHY bits we need to make it easier to bring over code from b43 and brcmfmac. I'm also going to sprinkle some lock assertions through the codebase to make sure that we're serialising access to the hardware. I'd really hate to find overlapping access to the PHY/MAC. :( Landon has been working on a rewrite of the siba/bhnd bus code to make it a whole lot easier to do things with these chips, so thanks to him. I'm hoping that can be flipped on by default on -HEAD but I'd first like some bwn hardware that I can see working right. Now - I'm going to ask for some help! Apparently the b43 driver developers actually found/fixed a whole lot of hangs which used to require pio mode - and now apparently it doesn't. I'd really appreciate it if someone would go through the b43 driver in linux and find the commit(s) where they fixed PIO mode for a bunch of PHYs. I'd like to commit that to FreeBSD. There's also some RX overflow/underflow stuff that was committed to dragonflybsd that wasn't committed back to FreeBSD. I'd also like that investigated and tested if possible. Thanks! -adrian