Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp11146623rwd; Thu, 22 Jun 2023 09:15:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7H9bMKkfsEP2kICXTzHpueIRG/uWjDwFX/9yuOL5u3WQZfYg0EfSS+InbZ3sWy7nGlthpj X-Received: by 2002:a05:6a21:339a:b0:116:d935:f74b with SMTP id yy26-20020a056a21339a00b00116d935f74bmr32522261pzb.10.1687450553973; Thu, 22 Jun 2023 09:15:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687450553; cv=none; d=google.com; s=arc-20160816; b=l6EgEWAMpjZQf7ZvoIN/vgsar8+71TtmarnrK1DnL9l1ktblAHakdn+EugnCxVRKRp Ei3vuE2GjRxN7/UfNDnV/iVOajwSzBLCkPQqsDMQAxVMFfaY6Y9GMzxFeVEZExpdt0gc FGehq4oq09zVdf3jD6nI+rKukfsNzzoRCXZWSJWq82Iw6hOqcAZ8s2lb5sUTfe7DyCvc ar8UZrQ1BRTO5erwGo6bPIAdVcB20xc0p/o4z2/lplZbAqYWhkvV+Udj1w2ZZa/xDC40 fRjeBSvpoL5A8Y15g2omBWVLx8Juo4nxdWmLq08wZMtd3SBRTUhQ9DBXzYfTJqEsIZOP 8C5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:to:from :subject:message-id:dkim-signature; bh=XhCI5rI9FtpLEhhWuf52l5MTNbLY8bL6LaTVqV30ue4=; b=QPE+5dl4uQak7ilV/Pq6s0/j0aOnuyKuW+cNBqKv7ueTaWYh20PQuyJuE82mOOggBr fr+lLFoIRz6Iuvfs90S9XdjXiW9J+me3xbcEaN0G8ul8SWUwmlYhqLXgvF9p7Kk02Nf+ ocEjkbbe7mznLXf0P60HEU1MbqCP99TJCpb+15RiCxtGOoUU9MSMXdkn3J365ArdydTF J24pkKFV/ZVl81bVR4Z4JLg25n7ZBXBXndgHbJRqrdNSp88UARBJL2ItnfECKJsm0zl9 izE5nyPKhqlTAm2jTF1Oj2Qh0Xj29XT0T5tf3MNW6g1duQXqBzVfH9e8Vx03XFWoSuq+ rDgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b="pdHk/iM9"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x191-20020a6386c8000000b00552db08cd8bsi6837815pgd.730.2023.06.22.09.15.46; Thu, 22 Jun 2023 09:15:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b="pdHk/iM9"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229676AbjFVQHc (ORCPT + 59 others); Thu, 22 Jun 2023 12:07:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229618AbjFVQHa (ORCPT ); Thu, 22 Jun 2023 12:07:30 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA5A5199F for ; Thu, 22 Jun 2023 09:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:To:From:Subject:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=XhCI5rI9FtpLEhhWuf52l5MTNbLY8bL6LaTVqV30ue4=; t=1687450048; x=1688659648; b=pdHk/iM9rogM7GHQ5CzdcrBIUcVnh4xu2R/uHL2W3Aa8c4H 16n421qvqPvQkJKuGh6csra056HOuXtm3FeYHc9gdomlYyeN4urReHf2ZBUKonkIHwt4lO88/vHZ7 c6f+LKdSwD22Nk48+YIdxHfYaZbpX+JE6YUUqYf7Mz+LFHfbk0bgaYc+nomI9j0Hs//uoCfNOFfkI X4Cu2lSb/yGlHuRVdko5jUHm78vb0EBYMjBnZD7oyxzpBUMXylUiopAM2ltEIWkXAtf/YOEWcg5E1 2AHdPret20y5GuTaTtUzXRWopwTUfkSiUlYBO973E+luIKQVRH0SD95cybAnvVHQ==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1qCMqD-00Eo8R-1E; Thu, 22 Jun 2023 18:07:25 +0200 Message-ID: Subject: Re: [PATCH] cfg80211: fix sband iftype data lookup for AP_VLAN From: Johannes Berg To: Felix Fietkau , linux-wireless@vger.kernel.org Date: Thu, 22 Jun 2023 18:07:24 +0200 In-Reply-To: <20230622160501.40666-1-nbd@nbd.name> References: <20230622160501.40666-1-nbd@nbd.name> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.3 (3.48.3-1.fc38) MIME-Version: 1.0 X-malware-bazaar: not-scanned X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, 2023-06-22 at 18:05 +0200, Felix Fietkau wrote: > Since AP_VLAN interfaces are not pushed to the driver,=C2=A0 >=20 That's a mac80211 thing though. > the driver should not > be expected to register iftype data for them. > Map them to the regular AP iftype on lookup. And this is in cfg80211 - not sure that seems right? OTOH I'd expect no callers with VLAN here, it doesn't really make sense since they're not a standalone mode that actually has HE/EHT, but still, seems odd this way? What's actually calling it? I'm guessing somewhere in mac80211? johannes