Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp264348lqt; Thu, 6 Jun 2024 02:57:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXiqs84o72k39BhwQ3N2K5EKFIsUgrrPME8euGtASrfAmNQcAfe3WKPOiC7ZsbbLNSNGPRclZxIHjAnUej7kZrp8fZS2ebUD/SEsJc58w== X-Google-Smtp-Source: AGHT+IFNaE3C7RoWehFplCe3gDdXcyuBOizVVajcWG+GpVQnMj+YK3oyhp8azW1rDorIUcGtxw4Y X-Received: by 2002:a05:622a:1a08:b0:43f:f1dd:bc69 with SMTP id d75a77b69052e-440361fb93dmr37752891cf.1.1717667858073; Thu, 06 Jun 2024 02:57:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717667858; cv=pass; d=google.com; s=arc-20160816; b=zDH2g1sY5mMXb98lNSxRdQuLv8nONSPzuZImQomS8a/oc/k/TI3U17C3KWa9XoWb56 WHEBi9UNj3kWMJ+5wZ/ZDLxV6MP+F9yhmzcEZitclLw+34VqdE9yV5iyXLCyF9Oaah8M qnF+ATRnnsKVIGNj3nIiJPaALTFZ0lFnQkQ2WsarNQvUXp7Xr10osaiULKt/KOcruPBd 8zP3ShTlicg8qAW0JxJ5lKRdEWgtzlfzLUU2bvE/YUlWtX+F83IthcV7Ol4iKqWRoaQb +P0V6TfL5QG1qfHaO2E/iAYrc+WGnxCz8T03OpzCvJlzEqUCNwVyODwLPRAjSaouCXyg vAHg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=DRskY3Fm6twrGgZRg1yhT//X2m4BPET781lfyiAROCE=; fh=FWLqcmcJXA/Yc+Oa6pEJCbMdlHxZCj5KpkEYmY/2e+M=; b=QIXt0kIkBP59EypZNEHyXF2BsCv//Zusbne1ABlsR6Weclsv958KbBylgTikJ5Gfgm LwNnjaQODCkSut8zsqor6NLTeijidksB4VUDT2i43iBTY3jGhlevcDebXEpBGYk8D9W5 htFy2aUBcRtUU0kSK0/7/s2YXOFZKku12MZmpQj6U8+EnPCA0bUBOgFdqA+jARo79224 0amCfTSV9T1NJ56bk3BNL6zozAHJCSSW3dFX8wPWN+oD1m1malMyBLrdnzmCR9lPPNW3 xrv0l5pztWFTraVxF2ISoiI3zjB37UYHUOHTKPsCefPWwI1CTaUSffmjZYYafk3hZDSL m3HA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=hEItTRvd; arc=pass (i=1 dkim=pass dkdomain=nbd.name dmarc=pass fromdomain=nbd.name); spf=pass (google.com: domain of linux-wireless+bounces-8603-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8603-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-44038b18c0fsi12387211cf.295.2024.06.06.02.57.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 02:57:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8603-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=hEItTRvd; arc=pass (i=1 dkim=pass dkdomain=nbd.name dmarc=pass fromdomain=nbd.name); spf=pass (google.com: domain of linux-wireless+bounces-8603-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8603-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C8D851C249D1 for ; Thu, 6 Jun 2024 09:57:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 356F317FAA1; Thu, 6 Jun 2024 09:57:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nbd.name header.i=@nbd.name header.b="hEItTRvd" X-Original-To: linux-wireless@vger.kernel.org Received: from nbd.name (nbd.name [46.4.11.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C84EE1802D3 for ; Thu, 6 Jun 2024 09:57:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.4.11.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717667836; cv=none; b=KZFJACj/daXF6V7/ScVuL312svfGE70MDnosFrDPcQAaedQOS4M2AC6pxy8IHeWL6O0m0GqokHGNRZycJgqF/QwQ4vyJJt5L2EFL8EcvQC53b9UFjxreQLRsnpsknGJCb+cx1iX+PhlPJrRj8HIsrOXVEVnJk8Ds7XBPo/OHVL0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717667836; c=relaxed/simple; bh=FkNKOKg2ca6cOLfGpksAmiErWepaTiPT2vyh6SnQ3ZU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=OTn+TozP51/Q9KCFHhSXeyIgL6SUGuGyuv+pDPwPcDXczrjAGNdBA5CR1W/PsD5pXRPgBiqwKpPxp45pGKNzcAgxbfNLmSnRRHVVqczGQ65afzEdRQUUAQMUlsPq1GzMgq1dBnPTvKeoD1jVs5fzpTdj13BAiHa6Y2sU4FbQf/0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nbd.name; spf=none smtp.mailfrom=nbd.name; dkim=pass (1024-bit key) header.d=nbd.name header.i=@nbd.name header.b=hEItTRvd; arc=none smtp.client-ip=46.4.11.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nbd.name Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=nbd.name 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=DRskY3Fm6twrGgZRg1yhT//X2m4BPET781lfyiAROCE=; b=hEItTRvdTm6aG5+aw7wVqFLssT 1WvuYd0P/xe/mzdOMj9XudBe0IFs7UUiGF3D5jGCKY+x+2c260QTOgALweRkree++3o6aYq1ogr5I RMohZ1TizSMQZuyw+eXi/f82kGM9Gr15qRZUYUkFs29EH3YLqVJHN8xMrom5g3ybOEtE=; Received: from p4ff130d0.dip0.t-ipconnect.de ([79.241.48.208] helo=nf.local) by ds12 with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1sF9rr-008SQj-0j; Thu, 06 Jun 2024 11:57:11 +0200 Message-ID: <7351cdeb-8dd7-4e48-aa72-6b4d21ed7a73@nbd.name> Date: Thu, 6 Jun 2024 11:57:10 +0200 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC v2 3/7] wifi: cfg80211: extend interface combination check for multi-radio To: Karthikeyan Periyasamy , linux-wireless@vger.kernel.org Cc: johannes@sipsolutions.net, quic_adisi@quicinc.com, ath12k@lists.infradead.org References: <8fc2f117346fcb4ed11bb20cdf9cb1f88bcf64b4.1717611760.git-series.nbd@nbd.name> <8add7134-9929-0288-0770-7778013cc37c@quicinc.com> <23a6d1eb-3ce9-400c-aa3d-a7d29c953079@nbd.name> <555d6af3-5b47-6d8a-9222-d3949c156cc4@quicinc.com> <21208cf1-eaa7-4077-873d-5863019111e7@nbd.name> <4369fb49-bab7-7ed7-f841-4be537a26f20@quicinc.com> From: Felix Fietkau Content-Language: en-US Autocrypt: addr=nbd@nbd.name; keydata= xsDiBEah5CcRBADIY7pu4LIv3jBlyQ/2u87iIZGe6f0f8pyB4UjzfJNXhJb8JylYYRzIOSxh ExKsdLCnJqsG1PY1mqTtoG8sONpwsHr2oJ4itjcGHfn5NJSUGTbtbbxLro13tHkGFCoCr4Z5 Pv+XRgiANSpYlIigiMbOkide6wbggQK32tC20QxUIwCg4k6dtV/4kwEeiOUfErq00TVqIiEE AKcUi4taOuh/PQWx/Ujjl/P1LfJXqLKRPa8PwD4j2yjoc9l+7LptSxJThL9KSu6gtXQjcoR2 vCK0OeYJhgO4kYMI78h1TSaxmtImEAnjFPYJYVsxrhay92jisYc7z5R/76AaELfF6RCjjGeP wdalulG+erWju710Bif7E1yjYVWeA/9Wd1lsOmx6uwwYgNqoFtcAunDaMKi9xVQW18FsUusM TdRvTZLBpoUAy+MajAL+R73TwLq3LnKpIcCwftyQXK5pEDKq57OhxJVv1Q8XkA9Dn1SBOjNB l25vJDFAT9ntp9THeDD2fv15yk4EKpWhu4H00/YX8KkhFsrtUs69+vZQwc0cRmVsaXggRmll dGthdSA8bmJkQG5iZC5uYW1lPsJgBBMRAgAgBQJGoeQnAhsjBgsJCAcDAgQVAggDBBYCAwEC HgECF4AACgkQ130UHQKnbvXsvgCgjsAIIOsY7xZ8VcSm7NABpi91yTMAniMMmH7FRenEAYMa VrwYTIThkTlQzsFNBEah5FQQCACMIep/hTzgPZ9HbCTKm9xN4bZX0JjrqjFem1Nxf3MBM5vN CYGBn8F4sGIzPmLhl4xFeq3k5irVg/YvxSDbQN6NJv8o+tP6zsMeWX2JjtV0P4aDIN1pK2/w VxcicArw0VYdv2ZCarccFBgH2a6GjswqlCqVM3gNIMI8ikzenKcso8YErGGiKYeMEZLwHaxE Y7mTPuOTrWL8uWWRL5mVjhZEVvDez6em/OYvzBwbkhImrryF29e3Po2cfY2n7EKjjr3/141K DHBBdgXlPNfDwROnA5ugjjEBjwkwBQqPpDA7AYPvpHh5vLbZnVGu5CwG7NAsrb2isRmjYoqk wu++3117AAMFB/9S0Sj7qFFQcD4laADVsabTpNNpaV4wAgVTRHKV/kC9luItzwDnUcsZUPdQ f3MueRJ3jIHU0UmRBG3uQftqbZJj3ikhnfvyLmkCNe+/hXhPu9sGvXyi2D4vszICvc1KL4RD aLSrOsROx22eZ26KqcW4ny7+va2FnvjsZgI8h4sDmaLzKczVRIiLITiMpLFEU/VoSv0m1F4B FtRgoiyjFzigWG0MsTdAN6FJzGh4mWWGIlE7o5JraNhnTd+yTUIPtw3ym6l8P+gbvfoZida0 TspgwBWLnXQvP5EDvlZnNaKa/3oBes6z0QdaSOwZCRA3QSLHBwtgUsrT6RxRSweLrcabwkkE GBECAAkFAkah5FQCGwwACgkQ130UHQKnbvW2GgCeMncXpbbWNT2AtoAYICrKyX5R3iMAoMhw cL98efvrjdstUfTCP2pfetyN In-Reply-To: <4369fb49-bab7-7ed7-f841-4be537a26f20@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 06.06.24 11:52, Karthikeyan Periyasamy wrote: > > > On 6/6/2024 2:28 PM, Felix Fietkau wrote: >> On 06.06.24 10:56, Karthikeyan Periyasamy wrote: >>> >>> >>> On 6/6/2024 1:25 PM, Felix Fietkau wrote: >>>> On 06.06.24 09:20, Karthikeyan Periyasamy wrote: >>>>> >>>>> >>>>> On 6/6/2024 12:01 AM, Felix Fietkau wrote: >>>>>>       /* >>>>>>        * This is a bit strange, since the iteration used to rely >>>>>> only on >>>>>> @@ -2384,8 +2383,10 @@ int cfg80211_iter_combinations(struct wiphy >>>>>> *wiphy, >>>>>>        * cfg80211 already - the only thing not would appear to be >>>>>> any new >>>>>>        * interfaces (while being brought up) and channel/radar data. >>>>>>        */ >>>>>> -    cfg80211_calculate_bi_data(wiphy, params->new_beacon_int, >>>>>> -                   &beacon_int_gcd, &beacon_int_different); >>>>>> +    if (!radio) >>>>>> +            cfg80211_calculate_bi_data(wiphy, params->new_beacon_int, >>>>>> +                           &beacon_int_gcd, >>>>>> +                           &beacon_int_different); >>>>> >>>>> Why its avoid for radio specific iface combination ? >>>> >>>> Because it iterates over all wdevs within cfg80211. I didn't think >>>> this was necessary, given that it already excludes MLO wdevs. >>>> >>> >>> Dont tie the radio specific iface advertisement with MLO. >>> >>> Usually the existing code consider "params->new_beacon_int" the MLO >>> scenario also. >> >> For your hardware, do beacon intervals need to be matched/aligned per >> radio or globally? >> > > Our hardware supports radio aligned beacon interval. > > Currently, ath12k use use same beacon interval configuration all radio > iface combination. > > Even in radio specific iface combination, we should check the beacon > interval for the non MLO VAPs. > > so dont avoid the beacon interval check. Okay, I'll look into making this work. - Felix