Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7212004rwr; Wed, 10 May 2023 05:34:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6/g5quC+BhD1w08y+nWYg433VsnrH2ZMUWgBj7cdofIA4vZqgv0Fz9j348eM9DIs3Tq49E X-Received: by 2002:a17:90a:a791:b0:24c:1688:8d8e with SMTP id f17-20020a17090aa79100b0024c16888d8emr20401471pjq.23.1683722097196; Wed, 10 May 2023 05:34:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683722097; cv=none; d=google.com; s=arc-20160816; b=QBWpnNNBubJJoq0KNxZPPmTw2caHLfZKp4CvHijllbCFIwX9Z7DZYwItu1YJOA3fz8 rsZBF0rbMugR1V9AejmwY4eEJVam86/izeevDddZFtzT3iYp+5jCz4nLwUmiwAL0xgD3 u4BLtX7Ip5BbwCI3gcLoBSdyorfqQph18Mji+oVUbm5TAIzUNnB5Y1KFNbwUAoFlPhBe 1/m6DG2p9+NPK3WWQ19qqkJwbEQYNLzWGK8VnzjydoABFKCXDrahGCUbdg/o2yv36Tip Q3G4xjQx/RwLNA20rzZVf9HGLvEi6z3NWqNKkHYeTAp+ZM8aQ5mdQF8uI3uV3cRkTvi4 fM/g== 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=kY+qCZY9zsqCirQ76ORKCt5A0pN2zqswkApy+5L+cDQ=; b=auvhKfYHCFWL9kSnXgcsin+WIiSOIo3vtKct78yhuRgo4qv1Mko02FwcpWH1DIa5Sm HY0QKKrgL7wLEmN1ZaVMKVSjL7DS46o+jET4LvRkvLZ54mz/2m6DIkztTraDWaT5oAGi 5I1nAfhlUmuZRXPaZEZCJfE6WIEet0mfRuwltw39j2fJ5Z5UBJhNtAZP7sArMPMmUzYc OJYyjbV+DieFqCs52F3q5wgJT8+iyQUjOTDSct77viTYupxu6cG7IT3FV0T/DYntAUlr 2bcGn8KRlqwmBQGukmQ2J3JlCA5z+GKAgQClHF7gj2zmBhHFc6IwweYhMsl8ZH/a0s2z fSCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KsLn+sVZ; 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=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v202-20020a6361d3000000b0051b15b58764si3819504pgb.343.2023.05.10.05.34.48; Wed, 10 May 2023 05:34:57 -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=@quicinc.com header.s=qcppdkim1 header.b=KsLn+sVZ; 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=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237007AbjEJMZR (ORCPT + 62 others); Wed, 10 May 2023 08:25:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236086AbjEJMZP (ORCPT ); Wed, 10 May 2023 08:25:15 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77BE0F1 for ; Wed, 10 May 2023 05:25:13 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34ABD4dO009190; Wed, 10 May 2023 12:25:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=kY+qCZY9zsqCirQ76ORKCt5A0pN2zqswkApy+5L+cDQ=; b=KsLn+sVZ1ei0JRZjtg9IWcg61lPTabr1Bt3p5sQRSxZ4kijrDimk5MnjGSAp6PyM+BBA +/MELtUoqFfqJDbxjnv6tvKZ8dmbJIBbpWV4H6Q1s6Gtx+bKm/YhD1ZvPAQ3wyKHtonH HJqSAp/jbys2frSjSoLIAzpEIzO/VBY7TujV5nOuCvsATFkv2E3rpP1YFUN/LniUF7VU uY5g+GPooLWtDsejPIJUiI/OAGZKIVtA22vc1tmSV+a/MsVjYq0BRGLFFBu/UCB7APCa q5LaZZrSHEHAjc7qY0L5qu+GsN1Kif1Vev5fAYcvP3yRzfFzEyxRQmpExHSCOyW5FrcF Gw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qfrvm22q4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 May 2023 12:25:07 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34ACP6Ce013388 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 May 2023 12:25:06 GMT Received: from [10.253.78.135] (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.986.42; Wed, 10 May 2023 05:25:05 -0700 Message-ID: Date: Wed, 10 May 2023 20:25:02 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH 10/27] wifi: mac80211: isolate driver from inactive links Content-Language: en-US To: Johannes Berg , CC: References: <20220902141259.377789-1-johannes@sipsolutions.net> <20220902161143.5ce3dad3be7c.I92e9f7a6c120cd4a3631baf486ad8b6aafcd796f@changeid> <5d82e564-86bf-c26b-077a-d0bc14e2d3c3@quicinc.com> <74f3eb848326607b15336c31a02bdd861ccafb47.camel@sipsolutions.net> <5e3ec5f8-1462-5de6-2b5a-4cf62f23deb7@quicinc.com> <0e7023062f44d0ea68625c27cb13731d17857311.camel@sipsolutions.net> From: Wen Gong In-Reply-To: <0e7023062f44d0ea68625c27cb13731d17857311.camel@sipsolutions.net> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] 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-ORIG-GUID: BvGK_38CqSnf3veBSI6ZM44VL-9LWegt X-Proofpoint-GUID: BvGK_38CqSnf3veBSI6ZM44VL-9LWegt X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-10_04,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 bulkscore=0 mlxscore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 adultscore=0 spamscore=0 mlxlogscore=899 clxscore=1015 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305100097 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 5/10/2023 7:24 PM, Johannes Berg wrote: > On Wed, 2023-05-10 at 19:06 +0800, Wen Gong wrote: >> On 4/11/2023 3:38 PM, Johannes Berg wrote: >>> On Tue, 2023-04-04 at 11:28 +0800, Wen Gong wrote: >>>> May I also add a field such as "u16 active_links_count" in struct >>>> wiphy_iftype_ext_capab, >>>> and add logic in function ieee80211_set_vif_links_bitmaps() for station >>>> like this ?: >>>> if (active_links_count && hweight16(links) <= active_links_count) >>>>     then sdata->vif.active_links = links; >>>> >>> Also here, not sure it makes sense in cfg80211 level? >>> >>> Though I'm not sure what the idea here is at all - you can refuse to >>> link switch etc, what would you use this for? >>> >>> Then again, we haven't really designed out all the link selection stuff, >>> do we want wpa_s to do it, driver to do it, etc.? Hence debugfs. So >>> depending on what end up doing there, we will obviously need to >>> advertise some level of link-concurrency to userspace. >> So will you plan to do something to let wpa_s/userspace app >> active/deactive links? >> >> Or you already have implemented that? >> > No plans right now, and honestly not sure what the right thing even is. OK. For "advertise some level of link-concurrency to userspace", do you have any plan/idea? > > johannes