Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2046613lqt; Sun, 21 Apr 2024 22:34:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUZNgRiv8T+gN2ZY1xZRBCTEk7qYOjRSMjXOCWm7SXrh8OODENSVGMRxJk8e/Eyt8Ckl9jxLlwguylreExL5hKEJeZhDKj3/yYVYauYKQ== X-Google-Smtp-Source: AGHT+IHI6ckbkZjRKhte3OZXhdHcgGhAAXxN97bGnQ30ihtiCs08LucgZFLtPjnfZmwiju/Tz+hc X-Received: by 2002:ac8:5f46:0:b0:439:b3ba:b940 with SMTP id y6-20020ac85f46000000b00439b3bab940mr2910198qta.6.1713764096794; Sun, 21 Apr 2024 22:34:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713764096; cv=pass; d=google.com; s=arc-20160816; b=FTYSTjiQ/HUlI6RSa8vmreNG2qPN/tKWJQ+4eZ8MErxf5bbrnQ8trmtUff7gzS6kBk 9ZtC6v4N8RAoqvRyZ38ufBhmvkzSXBFDmEnWQfzWkcF7ARq5jM6hlz5ZPT6/a7ygnKnS t4FI1AEygF5/25sZpBXvYnrtXxfjp9A5E81zfeJYcpZQWYuCcsJlLboVmXg7ENa0dawM R/JRpl3/j+IVPkpMtOPyX2GroSB6a1jl6S8U/jVNMD1orgZE3mwyosZuu3FYuenIUHsC qdCHJxRKC7mWuPjEq+/wrsn62KCLX53BHGPEZi29LuBwPzRINrPYJPPjnAJnnwBewnIQ kI0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=0vLUa0dDYwcfoKBRm6JzcsMYrXtMRNeKoP5k3UP9aOU=; fh=dRNDPLKj1q8SUpbayxqGVeYxeS9at2WOrn0wPVmYJGA=; b=0fx7Xl6TeOhSfQxgpc/tpq8xa6MvvnH3VeMKv9epPinqTsR89zoCumUdl5lwfg+CS6 7FgtVRa6vEDZy5kUsMpl1Sy39NmmzAgb3b1mkvtdrGRXOxRA1gGeML+paWS35NSTRypR zd3Oh/yp6UuR6LZFpgXKhFjgLBZWSZ89UrPI+5FWCOoYgP+e9NtP5kSsXywJvbvK7zhD v7/baPJpzR3xbDZH2bG50M5TNU2twDrixtnMAC2VZR4x3cx3d68Zt17D7W93lBAKTSLV x50mFhLPtbQGdb76x5hGvyd5g9Oz4gC1fqTVJO4I+ernBmQbDkARpDlRA6JJoasf/89L y6NA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="pl0/tu3V"; 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-6630-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6630-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c5-20020ac87d85000000b0043784fa5b73si9450236qtd.373.2024.04.21.22.34.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Apr 2024 22:34:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6630-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="pl0/tu3V"; 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-6630-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6630-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 848111C21B62 for ; Mon, 22 Apr 2024 05:34:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2AD6018B04; Mon, 22 Apr 2024 05:34:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="pl0/tu3V" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 AC38E13FF6 for ; Mon, 22 Apr 2024 05:34:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713764088; cv=none; b=RGJBZJgfwot0mYRbzvd57+t2LlMWkXX5ToK38FXTWd7NJSHNGBgXoU4L1QuMt9PAVqvO1VdqJthNM5Np+Ri+AMCvDMrWvBvUis8Jte0x2MUYPHyhOn19uEJ1/JcCBlaNUlKBIrM3tSSOq1xjfOccFCCoRN22DVYChXPkQebhL+A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713764088; c=relaxed/simple; bh=Ef3Z/C4qnuYPIZmr+PzI54GhLPTLuQbx51Kj2h+uraw=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=CZi9Zicl5f+aqv8hzPnpsbKwEl4BX1JzzSik29tW+74WsqfhGO9egF+ivWBXhYYIF+i9N7X85r2eYk2zkgWeq1OoE6/toMCsIkvVUL94PZrOZMCzaS4Zj2bhX1JZLPUMBRAPnwOgu/vjM9xmwK/CiMf9yL+B35IIviPKRg8IRUE= 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=pl0/tu3V; arc=none smtp.client-ip=205.220.168.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 (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 43M3TiC7010535; Mon, 22 Apr 2024 05:34:43 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-transfer-encoding:content-type; s=qcppdkim1; bh=0vLUa0d DYwcfoKBRm6JzcsMYrXtMRNeKoP5k3UP9aOU=; b=pl0/tu3VJ4/SbrOdKLw8k6S DsYbyruCWtci/4BMCNIUpsGNPNCNZgoTi6Y9uNqDbssGeCSpnpCZ+AKEHRnKo5Y1 Mqt3hueMUmlctgbptojEztR18rhxqrIaQy9f61pAyn9zOQ1hwzFmH1ghLDRE3uWY HHKr9b7G2KBAff1Z2acOMi6PqQdT0USqW8h5s6Qq5ftfT9ncMx9c+B9vRF6RIY2e qulT7XV0U8xXTU0txUptpU9tENjdFiXyO7Uer4vYXqNpT7Q20S32rrGF6Ufc7B4I XPOZezheVivF0iT+e1Nsn8/pKFNVDFI+WxBa+9Fgazfwk0tyPi9w31OLTzH35sA= = Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xned0gbgj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Apr 2024 05:34:42 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43M5YVhL006164 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Apr 2024 05:34:31 GMT Received: from hu-adisi-blr.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.1544.9; Sun, 21 Apr 2024 22:34:30 -0700 From: Aditya Kumar Singh To: CC: , Aditya Kumar Singh Subject: [PATCH v2 0/7] wifi: cfg80211/mac80211: add support for HE BSS color handling with Multi-Link Operation Date: Mon, 22 Apr 2024 11:04:05 +0530 Message-ID: <20240422053412.2024075-1-quic_adisi@quicinc.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: RWtjiNfo0u6AOd47AIL-lEdQLhXtB4zY X-Proofpoint-GUID: RWtjiNfo0u6AOd47AIL-lEdQLhXtB4zY X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-22_02,2024-04-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 mlxlogscore=905 mlxscore=0 suspectscore=0 adultscore=0 lowpriorityscore=0 malwarescore=0 impostorscore=0 spamscore=0 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404220025 Currently, deflink (or link_id 0) is always considered while handling HE BSS color. However, with Multi-Link Operation (MLO), there is a need to handle link specific data structures based on the actual operational link_id. Hence, add support for the same. Non-MLO based operations will continue to use link_id as 0 or deflink member as applicable. At the same time, add support for BSS color by mac80211_hwsim. Aditya Kumar Singh (7): wifi: cfg80211: send link id in color_change ops wifi: cfg80211: notify link ID in bss_color_notify wifi: mac80211: handle set color_change/after_color_change beacon on per link basis wifi: mac80211: handle color_change_abort and bss_config_notify on per link wifi: mac80211: start and finalize color change on link basis wifi: mac80211: add support to call color_change and OBSS collision on a link wifi: mac80211_hwsim: add support for BSS color --- v2: * Rebased on ToT * Fix sparse warning - warning: context imbalance in 'ieee80211_obss_color_collision_notify' - different lock contexts for basic block --- drivers/net/wireless/ath/ath11k/mac.c | 2 +- drivers/net/wireless/ath/ath11k/wmi.c | 3 +- .../net/wireless/mediatek/mt76/mt7915/mcu.c | 2 +- .../net/wireless/mediatek/mt76/mt7996/mcu.c | 2 +- drivers/net/wireless/virtual/mac80211_hwsim.c | 6 + include/net/cfg80211.h | 29 ++-- include/net/mac80211.h | 6 +- net/mac80211/cfg.c | 144 ++++++++++++------ net/mac80211/rx.c | 7 +- net/wireless/nl80211.c | 10 +- net/wireless/trace.h | 6 +- 11 files changed, 149 insertions(+), 68 deletions(-) base-commit: b0d2d8f996c1ce3d4c8a1c8cb7d634536e7c2118 -- 2.34.1