Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2849708pxb; Mon, 18 Oct 2021 03:17:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/Oh7d6eSKRZCPeE3DKdrD0cHCEDXvKCuKQglJQYx/PCxtZYFN2VGkrpcjJd6ltm1OADX9 X-Received: by 2002:a05:6a00:1ad4:b0:44d:9ab:c129 with SMTP id f20-20020a056a001ad400b0044d09abc129mr28350855pfv.14.1634552233730; Mon, 18 Oct 2021 03:17:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634552233; cv=none; d=google.com; s=arc-20160816; b=fRe/VesWM/mDAjPWc96igsLigMM/6Elm6p3nE4bplJXVgY0qcYQ7IjX955iqZbKlKp KrK8uQN48gxWyrhG2rDn/SucrQYl6a8AwGmL8ayj9V2AH2AHpNmTgxkFSQXEWd0VWd5I AenrRHZjsybyRdODUFP35zExSyBZX5r09CL6cTHKlhOkRSJDyHF52li99gkcH4y/k5rf AfxxkiyozIvgZpa7TNIwxPSUk692WQRlJxFR/XDQqVjbDG5d/RrG0Gzvq/FBK3RV3fvD k8zQ58zay1KSLJ4N3CoztUZakU1OXNwxmlUuiUD0TlZWc8dmmZQjoTfFg6+Siebi9PQS 9dSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=iosnmQOJWI7XWNeYhYR243+qqN8R1RCG0Hp7iVJ4bxg=; b=MxwUqgEqStktk/Y7qnMS6L2Nr108dz6yhmZWzi4rGfIG+Bh8fhJtGH6L9uLRGWGu0i 8/8Xft07cNcmjURHFh6dBISEyUlXmFtntoVtpn/HniZ7hxQtBB8a18bb70OjOzf4nJbW EO4F3T0zsTcHmLJf3JX/RfMBzmsnbBlu5QJcXGOs5Hp5cMpz69sfOVSVR+jEub3ygeX4 +/R0hgJI9w/mVIJQiQbdrWQWqrzQGNGCjHYm58iedijBTT2B9oesLksYP4SJbW5sfNf7 oDct2jgH8ExnQRguNGGJjmigPuE6ahz7ypCt7TazsfOXtPygBk90Cl0bCNi7AEbkfxWc GXNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=gf2eLeWZ; 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 e30si1426255pgm.325.2021.10.18.03.17.04; Mon, 18 Oct 2021 03:17:13 -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=gf2eLeWZ; 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 S231658AbhJRKTM (ORCPT + 64 others); Mon, 18 Oct 2021 06:19:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229985AbhJRKTG (ORCPT ); Mon, 18 Oct 2021 06:19:06 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8986EC0617AA; Mon, 18 Oct 2021 03:16:14 -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:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID: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=iosnmQOJWI7XWNeYhYR243+qqN8R1RCG0Hp7iVJ4bxg=; b=gf2eLeWZLk2w6Vi2AU54sQvFrX injMvWZyhfNraHIvhffFnRRdadeqE37Xj62GGt9/Izgpf3dB5/q/mBr51WUuTMBCKsgdlZizPMsT6 yT4yNeT+JOFR377JuEUf8Z/dw7Q7e74JzYaP1D/Mr30DrH9//0C+RF9X69ZpGqZ+1bX4=; Received: from p4ff1322b.dip0.t-ipconnect.de ([79.241.50.43] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1mcPgX-0004ZM-2s; Mon, 18 Oct 2021 12:16:01 +0200 Message-ID: <569d434d-cf5b-6ab0-5931-41b21ab047b7@nbd.name> Date: Mon, 18 Oct 2021 12:16:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [RFC v2] mt76: mt7615: mt7622: fix ibss and meshpoint Content-Language: en-US To: Kalle Valo , Nick Hainke Cc: lorenzo.bianconi83@gmail.com, ryder.lee@mediatek.com, davem@davemloft.net, kuba@kernel.org, matthias.bgg@gmail.com, sean.wang@mediatek.com, shayne.chen@mediatek.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Robert Foss References: <20211007225725.2615-1-vincent@systemli.org> <87czoe61kh.fsf@codeaurora.org> From: Felix Fietkau In-Reply-To: <87czoe61kh.fsf@codeaurora.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2021-10-09 10:32, Kalle Valo wrote: > Nick Hainke writes: > >> Fixes: d8d59f66d136 ("mt76: mt7615: support 16 interfaces"). > > The fixes tag should be in the end, before Signed-off-by tags. But I can > fix that during commit. > >> commit 7f4b7920318b ("mt76: mt7615: add ibss support") introduced IBSS >> and commit f4ec7fdf7f83 ("mt76: mt7615: enable support for mesh") >> meshpoint support. >> >> Both used in the "get_omac_idx"-function: >> >> if (~mask & BIT(HW_BSSID_0)) >> return HW_BSSID_0; >> >> With commit d8d59f66d136 ("mt76: mt7615: support 16 interfaces") the >> ibss and meshpoint mode should "prefer hw bssid slot 1-3". However, >> with that change the ibss or meshpoint mode will not send any beacon on >> the mt7622 wifi anymore. Devices were still able to exchange data but >> only if a bssid already existed. Two mt7622 devices will never be able >> to communicate. >> >> This commits reverts the preferation of slot 1-3 for ibss and >> meshpoint. Only NL80211_IFTYPE_STATION will still prefer slot 1-3. >> >> Tested on Banana Pi R64. >> >> Signed-off-by: Nick Hainke > > Felix, can I take this to wireless-drivers? Ack? Acked-by: Felix Fietkau