Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2583441rwl; Mon, 27 Mar 2023 02:12:39 -0700 (PDT) X-Google-Smtp-Source: AKy350Z84BXwmvmgAT1nnNmEN6NmgqjeLlgYNPvUJ60H1wOSxSwXFjTAb8r3r9OX+Qot2oBQQBxf X-Received: by 2002:aa7:cb98:0:b0:4fc:6475:d249 with SMTP id r24-20020aa7cb98000000b004fc6475d249mr10238670edt.3.1679908359294; Mon, 27 Mar 2023 02:12:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679908359; cv=none; d=google.com; s=arc-20160816; b=m5smckfR7xYcwfRiiQ/dJKZ0YW4u8HoVRwG1PTSx7CESUtmG2TL2RtD6uM8JF7mVE7 NYUSrptCpLNGuZchsDL/o9uwd8Z7sIwLzmStg2tvyRRE97iEIWhInhsyzPvAJxualcZn DTDz/aBeUYK8LhFFvzd2koBkfK68pyB9I6/OlMDcBhaAk7S+fyTAbyzWAU5dzZgFKGHs c64v/tqbnnMT2jnIakmYsD4OheoQDb6h+IU/ENGP5e4EOs2QWVoTXMQ+FvNtQ+CeSnKJ kV9c24c11BtjyKoFJfAuI7OufJw14P4CYjNhtd1Wi10eP4nFi2pJLNDuf9YgscfJONko KIUA== 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=C+FboeoZ/bFE8+DOViTg+lZYffF8U9jm8mht5SIImDc=; b=FoeF1J3nPv0HEHOEziLnLLnjXgjui8As0B6Ztu08kijv5gTj4zb0Qs4loC6XOsFmoQ Uxcf8ISGjLOfA0VQ7Njc1zgyHA4gB2xNKfY4SxR8kwFUGRUfwMJB5sT6B67vE49GgeDr quu2vgiWP3XWy0MLOk4mNy7Wz143qk5UaaUszLgY2kDapQLXt1ue4O66tQsHRIL3fpLJ cisXcv4ZItYPoBNyEyeqZG563XtINQfwg4QiO3bU1XKRF0kI6yQjwjhqtV1eb6jMKJv2 YGz6EVbGQNHHQDgmqy+wCdpC0zjdBAFZxMl6re3TPCay/FwbroZi00y6ni/FFw68xF0u VATg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CcOG537N; 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 d2-20020a50fb02000000b00501e22f86cbsi16533521edq.245.2023.03.27.02.12.24; Mon, 27 Mar 2023 02:12:39 -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=CcOG537N; 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 S232529AbjC0JKY (ORCPT + 60 others); Mon, 27 Mar 2023 05:10:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232901AbjC0JKN (ORCPT ); Mon, 27 Mar 2023 05:10:13 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DA89E9 for ; Mon, 27 Mar 2023 02:10:12 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32R40nFJ015017; Mon, 27 Mar 2023 09:10: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=C+FboeoZ/bFE8+DOViTg+lZYffF8U9jm8mht5SIImDc=; b=CcOG537NYudKIFQWwoVsWD+HNMi9N4raZoLnoH3x92RXY8O2blb9dKOEUiunUHVK6YuJ pAE7ZIkZVutu3+gXYRHwPM35YPLLxeyShcONXaNUaMUYNfp5FwSh4SsAWdm/C2AMRUTm 5V6Y9akXxMGEx0ACCBIlLekeGRcGXGgezhFfRAmAbVlUxATEMl0Rs1P2oqM3y8NoPdIM EefVXq0LihV6gwPVd3ZdmbguDvqHvme9mv4e1/mKgas4qqyQyA+uz7iZ/GQQF9LjSrTr +30az5BTWU16tTcf1enlhjLDlBm51F3jc17QI2a5STF7grI+Le4A7h4i2lPdpZ6u2Ak+ Gw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3phte8btww-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Mar 2023 09:10:07 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 32R9A6u1023501 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Mar 2023 09:10:06 GMT Received: from [10.231.195.204] (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.41; Mon, 27 Mar 2023 02:10:04 -0700 Message-ID: Date: Mon, 27 Mar 2023 17:10:02 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 24/27] wifi: mac80211: implement link switching Content-Language: en-US To: Johannes Berg , CC: , References: <20220902141259.377789-1-johannes@sipsolutions.net> <20220902161143.d99dfbe65c90.I92385ba882ec984a9a2ad18293173436657e82aa@changeid> <50719d34bc48d816d00b56d3d9efdb59e3e51a16.camel@sipsolutions.net> <31b91fad-bd14-b6e1-8abe-fceb66085ecb@quicinc.com> From: Wen Gong In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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-GUID: 9t0_hyFabZfktjVANHhH0jKQxVwHIkMq X-Proofpoint-ORIG-GUID: 9t0_hyFabZfktjVANHhH0jKQxVwHIkMq 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-03-24_11,2023-03-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 adultscore=0 suspectscore=0 priorityscore=1501 malwarescore=0 clxscore=1015 mlxscore=0 bulkscore=0 spamscore=0 phishscore=0 mlxlogscore=400 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303270074 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 3/27/2023 5:04 PM, Johannes Berg wrote: > On Mon, 2023-03-27 at 16:40 +0800, Wen Gong wrote: >>>>> + for_each_set_bit(link_id, &add, IEEE80211_MLD_MAX_NUM_LINKS) { >>>>> + struct ieee80211_link_data *link; >>>>> + >>>>> + link = sdata_dereference(sdata->link[link_id], sdata); >>>>> + >>>>> + ret = ieee80211_link_use_channel(link, &link->conf->chandef, >>>>> + IEEE80211_CHANCTX_SHARED); >>>> For the 1st link of MLO connection/NON-MLO connetion, ieee80211_link_use_channel() is called before drv_change_sta_link(), >>>> And now it is after drv_change_sta_link(), May I know is it also has some design here? >>> Hmm, probably not really, at least I don't remember anything about that. >>> >>> Not sure it makes a huge difference? But I suppose we could change it, I >>> don't really see why not either. >> Not huge difference, I have made little change in lower-driver to match >> that. So it is OK now. > OK. Still maybe we should change it for consistency? I can try that > later with our driver. > > johannes I think it is not urgent for that:) And lower-drvier should also handler different case. >