From owner-freebsd-wireless@freebsd.org Mon Jul 13 16:14:08 2020 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 1F1EF368868 for ; Mon, 13 Jul 2020 16:14:08 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B57xp6FRxz48Rb; Mon, 13 Jul 2020 16:14:06 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-qt1-x82d.google.com with SMTP id w34so10385408qte.1; Mon, 13 Jul 2020 09:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jiH/Ug+03YEv365AZmOgtLRh2k1hte7GkhWWPMCFja8=; b=W7HAKzKWY5OUBsjaGonSolnxeFgOrJHwH5sEYguG9meTFR0MXVEaRtnlWsj0eNSjWN NtQA6DV/O+otDUDYtYZ1jNe8YSzQC807OpNJ94IMf47qBnpGQwt5MeUk7hnfAElNqzti emPaWpO4lHIMLrZ05qAdXhE0CjZNPViacgoBGX7gMS5swpUdqcxDxQT6BFdMrtY7MpoC aNW5zEVkx7eOfs85nzK4X7yexpGx6i11Wq6uUZoSHzx3pFCoFCAQN6XqPEgV3R/njCsY 7zAhuwWM3J/vCHX2xsSjedQy7IPCtB75DnCI2Wnl8a8bcfJNiYFXT4nYSMjpGCnu+GIL iS+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jiH/Ug+03YEv365AZmOgtLRh2k1hte7GkhWWPMCFja8=; b=nIifNDlRq61XKGl/1U2BAAV7nm+FIVyKCFWHPapb9dB/lnfXPDmA7hjzOrtHQIZbRW JXcDz15oz6g7s0KPU+fEpkRbm4XWToumGFyWOKIIDZR7NjqkbHITuKitYsyQdXmel67k /Hv+rrSlrZk6kTzP8iz1z/SMdDg822RFAJWHdXY6W3a6yCG+8yhV8Mi1/aWxN5kX//8a 0ZgNIaFLtuU9Y+LCCzOkVOODaWN88EXMzoNrIODSXE5xDXyKlTIGRO6UE/8AemMSkfmC xAKe2xaXmcr1RJLJ41mIbAwm71h3Qx/XRyc6T3C+MLl1e+iCv6N+3ChsmkWlxFDZ9nsg ASlQ== X-Gm-Message-State: AOAM5324Qc0wbCv/oSOonO+RG426ItBhl1Gc0QAAsnuAVfNf51M5zaaP 0C61aRsrEfcEZX3P11e1OHbf7a/3oreIOHBDZso4Yw== X-Google-Smtp-Source: ABdhPJx9H5BaB2QH9aFyxl0WI2HgdT/ud7+cZRt//JVvLgA6x/hZdaOgz6ZVYU0egXQUTscHlCfvzfCgbq99Z3NtQuw= X-Received: by 2002:ac8:1b3b:: with SMTP id y56mr86826qtj.94.1594656845832; Mon, 13 Jul 2020 09:14:05 -0700 (PDT) MIME-Version: 1.0 References: <000501d655e3$90c40170$b24c0450$@gmail.com> <20200710233308.b27284cd15dec5849fb5cc32@bidouilliste.com> <778A3FF0-905B-49ED-ABDE-913C3451AB16@FreeBSD.org> <20200713172526.81bb91a04198792ce8695322@bidouilliste.com> In-Reply-To: <20200713172526.81bb91a04198792ce8695322@bidouilliste.com> From: Adrian Chadd Date: Mon, 13 Jul 2020 09:13:53 -0700 Message-ID: Subject: Re: Current state of recent wireless cards To: Emmanuel Vadot Cc: "Bjoern A. Zeeb" , driesm.michiels@gmail.com, "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: 4B57xp6FRxz48Rb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=W7HAKzKW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2607:f8b0:4864:20::82d as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-2.34 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.78)[-0.780]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.04)[-1.037]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.02)[-1.024]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82d:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[]; FREEMAIL_CC(0.00)[freebsd.org,gmail.com] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.33 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: Mon, 13 Jul 2020 16:14:08 -0000 On Mon, 13 Jul 2020 at 08:25, Emmanuel Vadot wrote: > > > Compile and working ? > Because that's easy to compile code if you add a lot of dummy stub > functions. I'm happy that this is going on; at the very least it'll point out a bunch of missing bits from our net80211 API that should get implemented (whether for linuxkpi style reasons or not!) that newer chipsets want. That's why I've started implementing per-VAP versions of things, initial uAPSD negotiation, etc - the ath10k driver port showed they were missing from net80211. I implemented them in ath10k then migrated them to net80211. I have a whole lot more to port from ath10k -> net80211 too. :-) There are a bunch of "is this 802.11 header X?" inlines / macros that mac80211 has that we don't, and it would be nice to have them in net80211. -adrian