Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp234156pxj; Fri, 28 May 2021 02:41:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkmomNoUUZTg7alCmH4uwsdXqv/0pb2nqtiLbFaOtCkucpFxP/0vNU5oxFZR/OcVmjFxoG X-Received: by 2002:a05:6638:124b:: with SMTP id o11mr7782959jas.4.1622194906699; Fri, 28 May 2021 02:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622194906; cv=none; d=google.com; s=arc-20160816; b=gBP/+GwY6sKB9Z5Z2rLjJVy5/d7zemisXRVKCXg6QOf4jaFHJMuA5fjGpDvcuHagDB hnvi7AcKagmbEKbhHloXyQ1RKbn8Fo3qF3A6+NsFvlULA+rOEJjUJ/5cDflvEDHBTQyO 3R8pYg9gmoGWmf38h7NAGTBUUSh3BFysCHpURX6dl7iwfboWyKA4mmWMWyFxAunBOGcl YsohZYVoc462akwlUgCaJUViJ362zc4uUqmc64xGJ4/K1UJfnlXFOWvGoSNKoHJ0140Q dtu5jsd1wBU3j4WxcV1yzHt8hqm0HeHjoQmqqx/LSv9URqFAWKlC8MIhMpDNUW46Iv0O bUJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=AGxydUEVGkGqs2EIlKkeL7LUv/JG8FJNDYvBsZSrsIk=; b=oQ/8+vzhHgwMQ1aqpS6tOr/XP8xvDKgOLYZ6Pp0xyeDl1uR1Py+lYjb9WXJs5yiQpm inDD5JPAtNmjsQJ4/MrfZF1o3fnTxpAYk7RaMsGsE1+VR059DGvIxuXkrK90K9li/JpY VLnPphq9XG5OIOalrOIEA1WP3uBqDe0ucX2SnbIVCO+Oa6U14qHkS2gYF80JOage9bjn qoH9Cdnl7n+9rVaMDJCA1nm7XDVd/9RpJ4aKhP5IYdk69XwrkztzGvUlqIy1NCHv+LRF 7N9jBhdxMSBf6QMLXBD/inf5yIQlXQ/yAtMdChoPb3aA9okPNTmsprpPCkMLlWhYFY5l Vv7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=JugwPPzj; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l11si5590478jah.65.2021.05.28.02.41.30; Fri, 28 May 2021 02:41:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=JugwPPzj; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234770AbhE1JmS (ORCPT + 99 others); Fri, 28 May 2021 05:42:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232012AbhE1JmR (ORCPT ); Fri, 28 May 2021 05:42:17 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12620C061574 for ; Fri, 28 May 2021 02:40:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=AGxydUEVGkGqs2EIlKkeL7LUv/JG8FJNDYvBsZSrsIk=; b=JugwPPzjAamPu8GMHLAcz76csp 1IoDXxkh69tVcZa1m6kv8yi3ydkDiOrtfC/Hxw8EgNO+3BQEHt1D88c7+9JqUwlXWybwj1nskoPR7 2caQEXhRUZR4uJYsrEB2NZU+h8+dqn44DoHFJMd3H0Y7DAyI5kJ/zGHrVHpoJHx5nMno=; Received: from p54ae9ff2.dip0.t-ipconnect.de ([84.174.159.242] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1lmYyt-0006HP-VT; Fri, 28 May 2021 11:40:40 +0200 Subject: Re: [PATCH] mt76: move interface_modes configuration in hw specific code To: Lorenzo Bianconi Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org, sean.wang@mediatek.com, ryder.lee@mediatek.com References: <2b1f297ab8fd61241d86ff18f9c1ca634289c3f2.1621582373.git.lorenzo@kernel.org> From: Felix Fietkau Message-ID: Date: Fri, 28 May 2021 11:40:39 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <2b1f297ab8fd61241d86ff18f9c1ca634289c3f2.1621582373.git.lorenzo@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2021-05-21 09:35, Lorenzo Bianconi wrote: > Move wiphy interface_modes configuration in hw specific code since some > drivers (e.g. mt7921) do not support all operating modes (mt7921 supports > sta only in the current codebase) > > Signed-off-by: Lorenzo Bianconi I'd prefer moving it to mt76_alloc_device and mt76_alloc_phy, which allows the driver to override it. - Felix