From owner-soc-status@freebsd.org Mon Jun 26 22:57:55 2017 Return-Path: Delivered-To: soc-status@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 B05EBD93AF9 for ; Mon, 26 Jun 2017 22:57:55 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) (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 423D16AF67; Mon, 26 Jun 2017 22:57:54 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-lf0-f42.google.com with SMTP id l13so8278713lfl.1; Mon, 26 Jun 2017 15:57:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:cc:message-id:date:user-agent :mime-version:content-language; bh=MgMCM0qBVsXHT6TTNaMFo0tzwAqcaJOAURUO8dQQwcs=; b=MxR+TFnGG0yXOXegAcrAb5pTTiUWOzHCXtc3mgANDh5QaMe//mh+7fxZiYs6O3sLG9 M13epvT/CIohsVLimS03/Ry82ZidMd8xtan6TqTgImBKaKp5nphx5Iy2Gl2IOFN/m4zv TL2ZTh8o1B+HbNOqaGMNKjm5EbEOz9VPlls2rzHRGaVIFUAWK9fuqpi3CGpQ2f0nib0T i4inRqoPSqedqvoyZiA1tclU6xv0MZr6SIy7zNI+q4I/tWeYoOfnK9H23Zx6j9JSjI47 d6aVI1WFSXDhzzcQFZR4yQ74im9gGxEwPmhV5G1RNOsehdC9EuoQz/OHOomSiUev5wuS sdow== X-Gm-Message-State: AKS2vOztkGSF2nEJp9s6QvHyQWNzZM1NECnwNWowWTthwEEsL2iMRZf4 Tn7DOtExEBizpaV0kcI= X-Received: by 10.46.80.69 with SMTP id v5mr684193ljd.6.1498517866919; Mon, 26 Jun 2017 15:57:46 -0700 (PDT) Received: from [192.168.2.107] (159-205-242-8.adsl.inetia.pl. [159.205.242.8]) by smtp.gmail.com with ESMTPSA id h98sm283645ljh.57.2017.06.26.15.57.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Jun 2017 15:57:45 -0700 (PDT) To: soc-status@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: [GSOC17] Porting 802.11n and 802.11ac support to iwm(4) Cc: adrian@FreeBSD.org Message-ID: Date: Tue, 27 Jun 2017 00:57:45 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2017 22:57:55 -0000 Hello, For the last two weeks I've been busy reading the Linux iwlwifi/mvm driver code. At first, I was mostly focused on the parts in charge of transmitting packets. Later, however, Adrian and I came up with a more precise and detailed plan for improving iwm. For the following weeks I intend to work on the antenna setup: 1. First, I'll review iwlwifi/mvm TX and RX antenna configuration code. Most importantly, I am interested in what it does forinitial setup, MAC context setup, PHY context setup, and TX packet setup.We need to get these things to work otherwise MIMO rates won't work at all. Currently, I am looking for PLCP-related code (like the routine that calculates the PLCP value to stuff in the transmit descriptor and see what calls it and map that out a couple levels). More details here [1]. 2. Once I get the idea of how things from 1. work I have to investigate iwlwifi and iwn to see how they assemble the MIMO version of the transmit PLCP as right now iwm only knows about 11abg PLCP configuration. 3. Subsequently, I'll add placeholders routines for 11n methods. 4. Then I'll make MAC and PHY contexts in firmware aware of the fact that they can now use 11n. 5. Finally, I have to tell net80211 that it can now use 11n and see if it crashes. As always, I put the links to the most interesting and informative sources here [2]. It might save you a lot of time if you're willing to start working on WiFi drivers while knowing very little about them. Also, I'm taking my last exam on Wednesday, so I'll be more efficient in the next few weeks. Cheers, Mateusz Piotrowski [1]: https://wiki.freebsd.org/SummerOfCode2017/Porting80211nAnd80211acToFreeBSDiwm#PLCP [2]: https://wiki.freebsd.org/MateuszPiotrowski/Drivers/WiFi101 [Project's wiki]: https://wiki.freebsd.org/SummerOfCode2017/Porting80211nAnd80211acToFreeBSDiwm