Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1207626rdh; Mon, 25 Sep 2023 06:26:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFZbE3DQPIadBaYayC4nU8t0cMgnkbnUizqdissdhkpXIDZ/GJ9J2yA20+eHKCLkFumS99O X-Received: by 2002:a05:6358:94a1:b0:139:5a46:ea7e with SMTP id i33-20020a05635894a100b001395a46ea7emr9404346rwb.28.1695648365933; Mon, 25 Sep 2023 06:26:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695648365; cv=none; d=google.com; s=arc-20160816; b=ro9Hd32QsbfeYFpF1zOCvHg1hSn1XMisKglb0AQkWLuDmta4IfetJGhwoN4DCoQwql MRavFQ7bbiIBA4wH779mQLl3fQckYxaVo62VacNCf5YMOh3yJKDW4VG5/ak/Imx3zwiA zE52IhzxYCPflQOmxJR3sQ2SuE4TezhWfKKj7cDaWotPh1j7Yuko8XPveSPZKAEGiny8 kEeL891K7e9bRT4DxqAXD4jWe4YG/xwY0WGylBj4JTJ3opdxxi9H5LNUjgOj+uHYQy9k 7oOlSkSaO+eGYW/BHSxQ280N9p46NC2jRGf66yHi+BQPEL2wwgJxYX5MbqoojuG3aUy6 BydQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:to:from :subject:message-id:dkim-signature; bh=/6kJsovocZNi04vvaSQAYvjqXnjlAilFbtb7EljgXbM=; fh=gyVH2RGItclL45srER/2uCodXZl8Tw5tpjirkQXJ4mk=; b=tVCdrlZ4i56On1NHaY2Re2akSQ8gWQyi8pSdfdXNvN0mjYSInU7oNCMFvmReMme57C RE/+xvjtl6XURY6/ks1tZycPQH6U2r9eSPDmunTd8+V4GTjOhUEBMKHJq/0Av4m+Kno7 o81XeeNsj6w0lxB29V2hNEWF4y3drmTUNnvXdoSlBXkmJGme8zDaHXFVkjPaeR1Ml2pw sJqLoReXXNL8IltQQfhDKO3QxO0R6Y9PcW33g7w9K3yPQ0zpwQ8WMqta/PdYnpKoWJ5g 83qJ71BTHvbpXKxQRTkewgpTZIVOsoWLL2+8OpvKzpyXio8RAM27q+14Q3BAeG30IbK6 2l9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=OzKcnkud; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id b132-20020a63348a000000b005787de7abd4si9914485pga.12.2023.09.25.06.26.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 06:26:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=OzKcnkud; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id C6CB88093D68; Mon, 25 Sep 2023 06:12:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231583AbjIYNMq (ORCPT + 56 others); Mon, 25 Sep 2023 09:12:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230448AbjIYNMq (ORCPT ); Mon, 25 Sep 2023 09:12:46 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:242:246e::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3995FFE for ; Mon, 25 Sep 2023 06:12:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:To:From:Subject:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=/6kJsovocZNi04vvaSQAYvjqXnjlAilFbtb7EljgXbM=; t=1695647559; x=1696857159; b=OzKcnkudmDCJO7+Yg1tdZxqw9nDW5YGWqacisY4Y+kVQ7sa 2GOAOEwfEE2/8edWaym1cvTb8V/T9AdQ/yak4vsVEpSU1+MGQOO7TP4L8uKezRTLNwxqWtsgqkEN3 oFzCcj8HZ/qqHB6h9QMeuoa3gnaMR2zA6BA2Kh166csW4dbhfv7gSDwNJl9QB7vcXHSmLuA8ucgf4 vJId6mYDLiFTpeQJTfHAGvkmAkf1f8kOhk5aofozMg+ctRlM4h86swYTkqy1067uDV6Ny8cZJ5Sbp E/i8ALjRJqpf4Wr+2OyWmn74PXCWF15bNfe5pgrDPDQKDcwb0/jr5iLNiRVUmZHg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1qklO8-003ckJ-1W; Mon, 25 Sep 2023 15:12:36 +0200 Message-ID: Subject: Re: [PATCH v2 1/2] wifi: cfg80211/mac80211: add support for AP channel switch with MLO From: Johannes Berg To: Aditya Kumar Singh , linux-wireless@vger.kernel.org Date: Mon, 25 Sep 2023 15:12:35 +0200 In-Reply-To: <20230925115822.12131-2-quic_adisi@quicinc.com> References: <20230925115822.12131-1-quic_adisi@quicinc.com> <20230925115822.12131-2-quic_adisi@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-malware-bazaar: not-scanned X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 25 Sep 2023 06:12:43 -0700 (PDT) On Mon, 2023-09-25 at 17:28 +0530, Aditya Kumar Singh wrote: >=20 > -void ieee80211_csa_finish(struct ieee80211_vif *vif) > +void ieee80211_csa_finish(struct ieee80211_vif *vif, unsigned int link_i= d) > { > struct ieee80211_sub_if_data *sdata =3D vif_to_sdata(vif); > struct ieee80211_local *local =3D sdata->local; > + struct ieee80211_link_data *link_data; > + > + if (WARN_ON(link_id > IEEE80211_MLD_MAX_NUM_LINKS)) > + return; >=3D. You also have that in the other patch. johannes