From owner-freebsd-wireless@freebsd.org Wed Nov 16 20:03:46 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 14A3FC43396 for ; Wed, 16 Nov 2016 20:03:46 +0000 (UTC) (envelope-from imrevdsz@gmail.com) Received: from mail-qk0-x22f.google.com (mail-qk0-x22f.google.com [IPv6:2607:f8b0:400d:c09::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 C82711778; Wed, 16 Nov 2016 20:03:45 +0000 (UTC) (envelope-from imrevdsz@gmail.com) Received: by mail-qk0-x22f.google.com with SMTP id n204so190597382qke.2; Wed, 16 Nov 2016 12:03:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc; bh=0QqXPL8IXdqrM68WaFr0FRXLRTt7j8b65IeAHZ6RtSU=; b=VbheoMWcYDzgzX7PhHiXSBBLrl4sAG+pzEOTYSqynj3d/VUHnQJ9+WhEFH/RC2wJeq Ri0Fn6ehR0K6XXpzXbPZJChsDYc5JxgfKNAUBhRh75y+tJKYVCo9+HqnbJj2MN8X4xkj vXJmOgrG167Qk6GL0uH0WeYab7xsYF3OUYSJCWJdN8o9LNADroprXY7iLrr3/sD6ZbcZ CBiBb+A38kBzcFHULNM+FaE+7d7hDT/JxKzlgQbvaWB/yelfBVT15n6h1tHo6OOXlSaV efZcdmtxotDei1B0fp/DNTOo6CrLpBsc2VlV2jyDqsxkyp1aA/LfZJlFsMlgB7vDc5J6 0IIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=0QqXPL8IXdqrM68WaFr0FRXLRTt7j8b65IeAHZ6RtSU=; b=ObN8YtD8Iu66se0uk8/pc5FMryhwC0XutWpAeaTiHd8+ZwGjLOK7qCBLIX+q4UKGHE /r1ChS006UFytQRkvI6rRgrX8ta94gaxlJPuQ3wsxrhrYfdoaIbvO8G1mx/9FZS6v9cS JnlGLHW6mnfsnmdRSiZ8K9Zvu8A+5TlGB0JyKCOBHgU3fROdzHtVgVV853vTwyxbMYAE wIBwcM4+xWgXhVJxKl0s4JAfEc1h2HfYu1uRzf6ip6jBwxh6uNJiZEk3/1Pjs0d/ftfa 5ToTre271CmyDEiHHLVl8W6YyDyfcRNYdwcu9GPsETkDcBrrRggEaUjaRNEyHRU/YF9G RSpA== X-Gm-Message-State: AKaTC02Rh2OBLr8q0SVPujTUTxsikLydsGtx+PPN+cgiFmPD/MnwTKyEDyvnWY913V7LkvaFN95ExravFJ41Kw== X-Received: by 10.55.73.148 with SMTP id w142mr6175249qka.284.1479326624580; Wed, 16 Nov 2016 12:03:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.46.189 with HTTP; Wed, 16 Nov 2016 12:03:44 -0800 (PST) From: =?UTF-8?B?SW1yZSBWYWTDoXN6?= Date: Wed, 16 Nov 2016 21:03:44 +0100 Message-ID: Subject: Re: Intel 8265 To: freebsd-wireless@freebsd.org Cc: Alexander Motin Content-Type: text/plain; charset=UTF-8 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: Wed, 16 Nov 2016 20:03:46 -0000 Hi, Something is weird with version 21 firmwares with iwm, which causes lots of debugging notifications to be sent by the firmware. Version 22 firmware only sends a single debugging notification during the initialization code of iwm, when it initializes the LAR (Location Aware Regulatory) feature. I already updated DragonFlyBSD's iwm to version 22 firmwares for those chipsets where it is available (7265Dfw, 8000Cfw, 3168fw, 8265fw. older chipsets are limited to version 17). There haven't really been any api changes which are significant for iwm since version 16 firmware. The only api that is relevant for AC82xx chipsets with newer firmware versions, which is missing in the freebsd iwm is the firmware paging support (IWM_FW_PAGING_BLOCK_CMD command). Sorry for slacking on updating the FreeBSD iwm as well. I committed lots of updates to DragonFlyBSD's iwm version, which should basically all be easy to apply to the FreeBSD iwm. Imre > Without firmware this patch is not very significant and quite useless. > All it does is adding new device ID and blocking logs about some > firmware event spamming too heavy for real life use. But here is it, if > you like: https://people.freebsd.org/~mav/iwm8265_nofw.patch > That blocked even is not the only unclear message that driver logs, but > it is much more noisy then everything else together. > On 15.11.2016 11:40, Adrian Chadd wrote: > > hiya, > > > > can you split out the firmware from the non-firmware bit? It's making > > reading the diff kinda hard. :) > > > > On 11 November 2016 at 21:55, Alexander Motin wrote: > >> After buying new laptop including Intel 8265 WiFi I've found that it is > >> not supported by the iwm driver. By adding the respective firmware and > >> minor hacks to the driver I've made it kind of work: > >> https://people.freebsd.org/~mav/iwm8265.patch > >> > >> It seems to be quite buggy right now now (though I am typing this over > >> it). So if anybody is working on proper support for it, I'd be happy to > >> try new patches. Thanks. > -- > Alexander Motin