Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp262925lqt; Thu, 6 Jun 2024 02:53:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUqfyaOanAXOZ8lpXyzTro+T55jl8hPr2MxbC9o1lC7y/Z2Ykjtqbl3ciQufzbPi9bp8ODKvMoeeoSqA09FRSs4evJj5OGwsNhXd0n4kg== X-Google-Smtp-Source: AGHT+IH/KL3rFc9UNaGn2j/bHXGdirr/IcTCh4m8uYLTOnTEmM+u+uSgyzSFJ6MoT/TSWzb7iD/6 X-Received: by 2002:a05:6a20:244d:b0:1af:cdc5:dfbe with SMTP id adf61e73a8af0-1b2b6ec65f0mr6556685637.15.1717667617908; Thu, 06 Jun 2024 02:53:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717667617; cv=pass; d=google.com; s=arc-20160816; b=U2XLvvedds+tHZNK2QpSajSfemJmtG0dOxtMi3sUU45RJPPQ054hFYsCAcmXqNhsyX 345XRQbvfynmMT3GuTnhis8h7LXV7Al1CCg6Ym/nmAk/gKYisPyq7poW0kElUv0HQIHM FGX0LFzQLOY+tSgnTepp9xle4Lx5lNTvddrDE5aebnJHxXMQv4ZfYdCh9ZMurBrugZ+h ULVcZ4r5XGFBVzyhDflbbzMUF1oC5kXDJZ5FlqnVsq+/jrf9r/IBPaurbCdNEMU+IuLB u9H27EDfJfh+ZbyXpG0OqQX5IzJ/yjN6lfLDHes9g+6KuUhewHgw0Nyag0c2iXrd/qIQ 9MHA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=vkON2huWfqzkVhlpPnFi+GiqvsCmwPiSKh8/TA2iakc=; fh=aRdHA8gIXE5KTPhP10l2FrLhMFHmROVU/bJ2cA+nLwk=; b=qmFaCX/jpfcpjSAcCidaeD9e+W6clxNp2GucJbT6qqoXelxlpr/PjGosN2WS6RrOKT WiENoNTm7siN0mXS6l2ajLsXLTlJQ1r6BArrQaIDQZ+DcApJaAhcbg5n4E1i7q2fkHUK NkChJJKywdUT4UBdK4HOtjAWYT5hWMIPs7/3xbwV9J7CVkBQ8IsGrA8dLTTteEVc9ZpK jrgCO4ZqpGA/lKoZ3aAs9FQUnOI99kLuqkBzI/uuZcozAI++s+4bIFGtiFA2X/w51R+I 1G4zmcrk4eFBO9bhCsHOhIA3hC7OPrknPrQwFkTRnY1cBEhtL4OoIzvsVOoMSWPx+dkl Z1kQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=SvKCUrtj; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-8602-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8602-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-703fd395765si839085b3a.5.2024.06.06.02.53.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 02:53:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8602-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=SvKCUrtj; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-8602-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8602-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6DA9B2825EC for ; Thu, 6 Jun 2024 09:53:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96109154420; Thu, 6 Jun 2024 09:53:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="SvKCUrtj" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 175571514E7 for ; Thu, 6 Jun 2024 09:53:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717667595; cv=none; b=iwmNp36yopujz56PCxfZN0P7X7vo3cGB3K+bv2T/uqlmVawyt/+nelj2J2PeoKckgW3Q8d0a85MMqUqYspk+qcVeNrnjYIqKcuavmxNSIAx/ljyagbWdlYVs53CSHyV72E+gVOOs8P9727rRe/ohaXm8KZ/fLLurfx4xkZT/d9s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717667595; c=relaxed/simple; bh=qMouWOxjy1ZN913zxTSsk/VtsIJbCu4FsqV2XA9Zlbo=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=SuZTgvDuGWRxt+khijc6m4tcccer0MAn7rccwZPXbXfXBG7maYlTNc09HdHd5xLNOcPc99pvTpYJEEGKl2MGvjUFqhv5YCgaLb6KkixHpbTTxLP1A4ed6WQc7aP8MFXJGinUT9HufG+0xgco4sXw/J58RxTYsFrVRSUf+cxyNsU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=SvKCUrtj; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4568mvqV032234; Thu, 6 Jun 2024 09:53:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= vkON2huWfqzkVhlpPnFi+GiqvsCmwPiSKh8/TA2iakc=; b=SvKCUrtjpgAAym9/ V5mOxDFTyCpHN3TQ822zYUXIfD9UwZsG71ap/CnI+ZBzIFFZ25fUqJkYXcC7/w6+ 1EEHMXs0UHOcmE/0305N68bz3hc8DSYpSm5rK7S1sizdQ0U+LM8jPElubLarBQW2 Z5NFGzhVbRCsNMcTIuLGGoiR8wE4ygGGxprzlamM1QBhtbMhZ1BKTCSPfRiuqCOG oJ7NqPseK78AoT0VQjhgOI8Kk1kx+yoH+y7sPA3hPHTQK2WPgDwp+5pFA2dgdr2R vCOb7SnhnSzxSrshoGIvn63DyviuT+fto41qKAQfCP7oA5he/2Lf8irraTBNaFM6 SZoenA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yjk89baf8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Jun 2024 09:53:02 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4569r1k4003248 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 6 Jun 2024 09:53:01 GMT Received: from [10.152.205.142] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 6 Jun 2024 02:52:58 -0700 Message-ID: <4369fb49-bab7-7ed7-f841-4be537a26f20@quicinc.com> Date: Thu, 6 Jun 2024 15:22:55 +0530 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [RFC v2 3/7] wifi: cfg80211: extend interface combination check for multi-radio Content-Language: en-US To: Felix Fietkau , CC: , , 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> From: Karthikeyan Periyasamy In-Reply-To: <21208cf1-eaa7-4077-873d-5863019111e7@nbd.name> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 3DqVcrr3Y454lFWMbraB9MCQlO1j95be X-Proofpoint-ORIG-GUID: 3DqVcrr3Y454lFWMbraB9MCQlO1j95be X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-06_01,2024-06-06_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 spamscore=0 impostorscore=0 phishscore=0 mlxscore=0 bulkscore=0 adultscore=0 malwarescore=0 priorityscore=1501 clxscore=1015 suspectscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406060072 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. -- Karthikeyan Periyasamy -- கார்த்திகேயன் பெரியசாமி