Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4550833ybl; Tue, 20 Aug 2019 13:52:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzA7XziRMRWsVHDjkX/YyX+GrUraNd/L5YVjEDYhXakZubvvh0d3P/bH5ERPqgaBxMd1B37 X-Received: by 2002:a63:1918:: with SMTP id z24mr25231037pgl.94.1566334368577; Tue, 20 Aug 2019 13:52:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566334368; cv=none; d=google.com; s=arc-20160816; b=Rwkl8eScuzASKIhsWgT34sDTKjuhjMLCvBLSAdI7Zcvn37dp+qO9bwxgLb68vV4CIz TV1Xb+zGPenv78Dfdf8L6UQ0CHkhRteRu7FIjFaF/j4vJ0Z5ZHII11lI+e2XT6jvagyW I14ZATqCp+TEStBuOilxq4WhmR25CAHIcwyETq6pnpcy8bbylv9Uxmx+KheB72YDR+Cg I3iU52+Q7e5BrTIFOEiuibhc77Yo3mDcYwwl6k+3zPlIdeaPSOHLYsndE8dii8dQWU3P DVnzk4B30U2LpHsE7oeSSrVjhKmpv7sCxb+1sXL41vfO0IDmWwaZPhdJcMKHRS8F+b2l TSAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:dkim-signature:dkim-signature; bh=7DcY4snYwCsXKecA7pRAUSy1xG14X1fh6kko+00/71A=; b=dD1t614v7ZK08M171L4wnqya6AwI+692oSwLXfO9hzB6mkxf/ks4QqEZI5uQt032yv 6n+mg5ZQ7c/jHjVkfVOFYqW+pJdzjwxhhvJ7tYx9+CLzeANKG937u0snvtPcIFClMG21 p1wzK9SwGsxPxdM+ae7TX5C9DUaDIT22hdlDcMsJeEqlNNa+3NT8M/dKsWoJg5Yx36f8 6BRciHHuuBFsca6Dt9F9EEWmzkrGdOjCKuxy3f4+ai+W2/n0AW3xbPNkXoklMa96INSa lvOJgC0XkIl9X3aniZF18muSvYX09831w6trfZEiMLwQyfBhJAfT+CV8jkReCT0YfMzX X/Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Ge99vDVo; dkim=pass header.i=@codeaurora.org header.s=default header.b=Y4BdAmHt; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z11si12206381plo.64.2019.08.20.13.52.32; Tue, 20 Aug 2019 13:52:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Ge99vDVo; dkim=pass header.i=@codeaurora.org header.s=default header.b=Y4BdAmHt; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730704AbfHTUux (ORCPT + 99 others); Tue, 20 Aug 2019 16:50:53 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:36648 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729833AbfHTUuw (ORCPT ); Tue, 20 Aug 2019 16:50:52 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 72F3B6090F; Tue, 20 Aug 2019 20:50:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1566334251; bh=MLFFmzz1hYrHIylehvgf66H6iwkG3XqcWkKEw0qB+90=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ge99vDVomyskTyxzlAMAkF3XvDbw0rKE79d1t1jFuQrmZCN8Bxv9svfg2i/ijbCdL fPMkboCCpyDTZdJ9Bv3EgKyyML/MFFYM31xmgs0BU3rMn1XVZxJ0S4qO/ggx3+914V rmdWEHzv83OGsqYRpfBNlR7s7p6Wofs5BUqOxVLE= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from jouni.codeaurora.org (87-93-55-163.bb.dnainternet.fi [87.93.55.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jouni@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1014D608FC; Tue, 20 Aug 2019 20:50:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1566334250; bh=MLFFmzz1hYrHIylehvgf66H6iwkG3XqcWkKEw0qB+90=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y4BdAmHttSIpKLwmF605xDobVJb4Zkzx4Bx+UuQRCa/l5dSVQdZZSG8xIrVXKrLiZ oPhHIwAQFTRVsgb/ctblvmLPrndPZ0ahxsKa5UvoLkFIE1ipf2GG6LX7cochYzPBQ2 d3s/FkFlwP3uXKjpa7mBfdW+jVFFIcEQSKZ6X0oE= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1014D608FC Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jouni@codeaurora.org Received: by jouni.codeaurora.org (sSMTP sendmail emulation); Tue, 20 Aug 2019 23:50:46 +0300 Date: Tue, 20 Aug 2019 23:50:46 +0300 From: Jouni Malinen To: Johannes Berg Cc: linux-wireless@vger.kernel.org, Gurumoorthi Gnanasambandhan Subject: Re: [PATCH] cfg80211: VLAN offload support for set_key and set_sta_vlan Message-ID: <20190820205046.GA9860@jouni.qca.qualcomm.com> References: <20190815133825.8131-1-jouni@codeaurora.org> <3a8edc6691a03ed3c253d95811d5fd6cae453a03.camel@sipsolutions.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a8edc6691a03ed3c253d95811d5fd6cae453a03.camel@sipsolutions.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, Aug 19, 2019 at 12:16:03PM +0200, Johannes Berg wrote: > On Thu, 2019-08-15 at 16:38 +0300, Jouni Malinen wrote: > > From: Gurumoorthi Gnanasambandhan > > > > This provides an alternative mechanism for AP VLAN support where a > > single netdev is used with VLAN tagged frames instead of separate > > netdevs for each VLAN without tagged frames from the WLAN driver. > > > > By setting NL80211_EXT_FEATURE_VLAN_OFFLOAD flag the driver indicates > > support for a single netdev with VLAN tagged frames. Separate > > VLAN-specific netdevs are added using vcongig similar to Ethernet. > > NL80211_CMD_NEW_KEY and NL80211_CMD_SET_STATION will optionally specify > > vlan_id using NL80211_ATTR_VLAN_ID. > > Without really looking at the specifics, it might be relatively simple > to support this in mac80211? Yes, that is something that I was thinking about when going through this.. I don't remember why exactly mac80211 ended up with its current design for per-AP_VLAN netdevs without tags, but it could indeed be quite convenient to have this alternative approach available. I guess both of them have some benefits, so this would likely be left with two different mechanisms left to maintain, but the needed implementation in mac80211 for this would seem to be pretty minimal (also without looking at the exact details..). -- Jouni Malinen PGP id EFC895FA