Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1197763rdh; Mon, 25 Sep 2023 06:12:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEzGbDBNB0MeLzEJiy2Af6oTeMpI9Qf3G3H5J+2RXjsi5Zo7DnK33DbVA+DZ0L0u1TFWt0y X-Received: by 2002:a17:902:7685:b0:1c0:bcbc:d64 with SMTP id m5-20020a170902768500b001c0bcbc0d64mr4723325pll.51.1695647547176; Mon, 25 Sep 2023 06:12:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695647547; cv=none; d=google.com; s=arc-20160816; b=xBHlhO7HYPWIyvNw0kVzFiu4xn4I7y8emaSJF65DJZapOjLLVzSX0hjJU6+x14WhwP u8NHNd79Fgo6t/5cmHjGWqLWvYlMOModO1CkU4UUTgCBTQwOfdCWDmTLSN/QdcAgaCws c854I3XnNrbwD9puiKVMXFan3l82YY2ZsT6V73lZyEBXKIoyCA9LftYe9RLgKG/pqeJm vjnEhhIH7XuLcsYwOv8i2YulyNfE4Co5O5vZQ3f/w8AoOofpFO/asDGXgjD1vK7/XGOn +WdnD1TqjYVUpkQzzeSIoN+Vs1bG1H5M3np/plb6SXhX0+llKXi2UIAeam16AbD4Aev/ +F0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=k4WMyb/6ALlehe1nhAo81Ig1g2I0SCuczgCxavJ4s4Q=; fh=YFxtJ1xXx2t8gOU3zOKGdBZLQQRAPE7/C3S1y3bq7Yo=; b=KvCN+0gsZl703Yb4D85WLzW++2YA2POxvM2C2PBYGF9/gCzgAnYye0wo9ldmywzZga muwsKpURh6Ge11MUHWYomis67MuVHu/rzAh+T0YfXR3eROt+DotQPfRTd7pSTHzy/7Yh /Qauf6PE2U7KhqTqPB00bgOlyDgOGVgA3ZWsM7xS+gwLkgpZSovMTbzpMD4MlAMRzZ3X EcHSTFMoB15y9T+BU7IUNa9nxHlBaUi1iNbb3eR0wPhnCfMRmF9J9Er0s+TazMZsfWZu tiiR0GBWBiIDXf8+vDDV+E8smt/Rq8b2/YRr5lw2T9WLn48SMUnmJ3fhoSQLtu+kmkf4 fPqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CZnYgG5h; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id km7-20020a17090327c700b001c448d89b6asi9323565plb.104.2023.09.25.06.12.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 06:12:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CZnYgG5h; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 947A081DC62F; Mon, 25 Sep 2023 04:58:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230113AbjIYL6w (ORCPT + 56 others); Mon, 25 Sep 2023 07:58:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjIYL6v (ORCPT ); Mon, 25 Sep 2023 07:58:51 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1F9DDF for ; Mon, 25 Sep 2023 04:58:44 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38PBGnWX024686; Mon, 25 Sep 2023 11:58:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=k4WMyb/6ALlehe1nhAo81Ig1g2I0SCuczgCxavJ4s4Q=; b=CZnYgG5hSfwq6CxmwmUTPWWaS6gXLAAqQxTFS0BQnpo/rfrTLli+7jyBlzab0lIxkWOD 69hgqUvwOdgfeOLcDcylveUm7cXb6t64Mu+vBljfMdy802HSFykeMjVm/cJ8JgvfVMK7 3QnRdCUL+h6YpgE2dh8+DfRV8BlKFJscJoOZWYNxvxGs13r/sLPWoNmdD1+xneDDMtv/ kB3jAR+tI35rq+hWfY2YwP4R8oSKbzq0ihuaWrpJjB30CNbO1ouQMOl3GxrW5vgTINFi lZxyV2XFU/UgdmMLdK+5dvWYafEpXQH90YQoIY9tNmUB4mDG852cjThEhk+bNMBuiN+W uA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tb7re08a4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Sep 2023 11:58:41 +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 38PBwe2C015455 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Sep 2023 11:58:40 GMT Received: from adisi-linux.qualcomm.com (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.1118.36; Mon, 25 Sep 2023 04:58:38 -0700 From: Aditya Kumar Singh To: CC: , Aditya Kumar Singh Subject: [PATCH v2 0/2] wifi: cfg80211/mac80211: add link_id handling in AP channel switch during Multi-Link Operation Date: Mon, 25 Sep 2023 17:28:20 +0530 Message-ID: <20230925115822.12131-1-quic_adisi@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain 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: RXx03Zh_FzIoryXxTx3MKd8raBWk26nM X-Proofpoint-GUID: RXx03Zh_FzIoryXxTx3MKd8raBWk26nM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-25_08,2023-09-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 mlxlogscore=902 adultscore=0 priorityscore=1501 phishscore=0 clxscore=1015 spamscore=0 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309250089 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 25 Sep 2023 04:58:48 -0700 (PDT) Currently, during channel switch, deflink (or link_id 0) is always considered. However, with Multi-Link Operation (MLO), there is a need to handle link specific data structures based on the actual operational link_id during channel switch operation. Hence, add support for the same. Non-MLO based operations will use link_id as 0 or deflink member as applicable. While at it, beacon count down now needs to be updated on proper link_id's beacon, do that as well. Aditya Kumar Singh (2): wifi: cfg80211/mac80211: add support for AP channel switch with MLO wifi: mac80211: update beacon counters per link basis --- v2: * reabsed on ToT * removed unwanted locking sequence during cancelling CSA work handler since now locking is moved to wiphy level, that part is uncessary now. --- drivers/net/wireless/ath/ath10k/mac.c | 4 +- drivers/net/wireless/ath/ath10k/wmi.c | 2 +- drivers/net/wireless/ath/ath11k/mac.c | 2 +- drivers/net/wireless/ath/ath11k/wmi.c | 2 +- drivers/net/wireless/ath/ath12k/wmi.c | 2 +- drivers/net/wireless/ath/ath9k/beacon.c | 2 +- .../net/wireless/ath/ath9k/htc_drv_beacon.c | 2 +- .../net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 6 +- .../wireless/intel/iwlwifi/mvm/time-event.c | 2 +- .../net/wireless/marvell/mwifiex/cfg80211.c | 3 +- drivers/net/wireless/mediatek/mt76/mac80211.c | 2 +- .../net/wireless/mediatek/mt76/mt7615/mcu.c | 2 +- .../net/wireless/mediatek/mt76/mt7915/mcu.c | 2 +- .../net/wireless/mediatek/mt76/mt7996/mcu.c | 2 +- drivers/net/wireless/ti/wlcore/event.c | 2 +- drivers/net/wireless/virtual/mac80211_hwsim.c | 2 +- include/net/cfg80211.h | 3 +- include/net/mac80211.h | 7 +- net/mac80211/cfg.c | 113 +++++++++++------- net/mac80211/ibss.c | 2 +- net/mac80211/ieee80211_i.h | 3 +- net/mac80211/mesh.c | 2 +- net/mac80211/tx.c | 14 ++- net/wireless/nl80211.c | 2 +- net/wireless/rdev-ops.h | 7 +- net/wireless/trace.h | 12 +- 26 files changed, 124 insertions(+), 80 deletions(-) base-commit: 5ee7b2ea07cc6972bc505103f5d483943754a601 -- 2.17.1