Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2377734imn; Mon, 1 Aug 2022 23:54:47 -0700 (PDT) X-Google-Smtp-Source: AA6agR6wYp4eiOmU4ckDL+/uYSLKJ0vcdljzvv3OHTTpaoBztqOJi6gh8oewPychG/XTdgyLDuC/ X-Received: by 2002:a17:907:6e14:b0:730:a229:f747 with SMTP id sd20-20020a1709076e1400b00730a229f747mr939057ejc.202.1659423287528; Mon, 01 Aug 2022 23:54:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659423287; cv=none; d=google.com; s=arc-20160816; b=oF0qBL4DmArieh0uFlZ6k8BwUBJ8tgWEbRBlDB+7W7p9BY34XFHFTMDFwXRo/BknYS DSa97uAdcA2Z4jgcB21fy761Bkbc4fXEyGxN3AoEeV7XF7m6FAH8lQHyBYtI05SpEM2d IuBz8nyUDeSKDV4mcE7SoL5x5Zp61Men/544BpMVhcS7Nzz9pA767ILwlecMgs56qzXE nIQjfVuQ5vHfVEQR/tKiU/MGabZcvd/UeKnZHlpz0RAQc5R7A1eVhYmRlYsAlug5a0MV 1XecDGRU9w6V4zaOCIiptkvfZw5GW93LiX959ZqcXN4f+DhtQAPPLDz8WkhMWCFFl+YJ X2Eg== 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=swf5klhNTqw414ycRFxHu3r93E9CMpBlB6kAQlk5sVY=; b=dicRjO8/Av1tmx37TvN706wE9eMcTs2RfVkwRr5g6rNwYirIBeboNm3XQrEfTVsy4i WP7uSvDh/2KhXdp82kiA7sRUqRB2wfcGnBeNROMKv48aQ/ZMlRscTsSIksWXUD9kKl42 xNQLJIRgLSxnwACYsZ9pKg3IvKPQ+1jZOZuoCoHTfOgtnbjAUSEIClAP2hnaA0cr1D97 LkxLkntEZnknZf9iVY0WJpwoNkZxp4BJ1npjfdtfOgiQYU2Y2tFkl3GM1+Q/ds3l/nv+ qAm+FdPVyYrLiEK+oKMbKpJ9yiuxbypMZFxnrG2whxl0gprd8HWM4vxPikShpVoAB3+m l6Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=FvjqZgpl; 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 f15-20020a056402354f00b0043c036854e9si13824874edd.8.2022.08.01.23.54.26; Mon, 01 Aug 2022 23:54:47 -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=qcdkim header.b=FvjqZgpl; 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 S233779AbiHBGun (ORCPT + 66 others); Tue, 2 Aug 2022 02:50:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233442AbiHBGum (ORCPT ); Tue, 2 Aug 2022 02:50:42 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8C2060EF for ; Mon, 1 Aug 2022 23:50:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1659423042; x=1690959042; h=from:to:cc:subject:date:message-id:mime-version; bh=swf5klhNTqw414ycRFxHu3r93E9CMpBlB6kAQlk5sVY=; b=FvjqZgpluP2rteaeY8NKDsCYm3JFXmmhy2kdZaWDpXcAI7e1lv/ivxmP 1IjaP+uEA/gVUAI9OKsJdjcqDxZsRw/yThTdZHziipFeDDZIOvGBgOQYi hyj6ueA+OtiA2ZG0p/JcLs7MkmgG+Hm6iprcDEfdUYIeB3rkXN6gyZRq9 A=; Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 01 Aug 2022 23:50:41 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2022 23:50:41 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Mon, 1 Aug 2022 23:50:40 -0700 Received: from CDCCSTEX0180100-LIN.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.986.22; Mon, 1 Aug 2022 23:50:39 -0700 From: Vasanthakumar Thiagarajan To: CC: Subject: [RFC 0/2] wifi: mac80211: extend rx API with link_id for MLO connection Date: Tue, 2 Aug 2022 12:20:17 +0530 Message-ID: <20220802065019.20791-1-quic_vthiagar@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: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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 In MLO, the frames can be received on any of the affiliated links. When the address translation for rx frames are done in fw/hw, it is very important to have an explicit link information reported for every rx frame to mac80211. Per-link processing includes stats update, GTK/IGTK/BIGTK retrieval and so on. This patch set only tries to use the link at the top level APIs, deep rx handlers are yet to be changed to use the respective link accordingly. This series is prepared on top of the latest mld branch. Base mld commit commit f69d4554386b4d2b56ca883fb97c92d64e188615 Author: Shaul Triebitz Date: Sun Jul 24 11:07:32 2022 +0300 wifi: mac80211: properly set old_links when removing a link In ieee80211_sta_remove_link, valid_links is set to the new_links before calling drv_change_sta_links, but is used for the old_links. Change-Id: I7f74b5d818c6154bc544a75a2933ab924b0c8937 Fixes: cb71f1d136a6 ("wifi: mac80211: add sta link addition/removal") Signed-off-by: Shaul Triebitz Signed-off-by: Johannes Berg Vasanthakumar Thiagarajan (2): wifi: mac80211: add a new field in ieee80211_rx_status for link id wifi: mac80211: use link_id from ieee80211_rx_status to retrieve rx link include/net/mac80211.h | 4 ++ net/mac80211/rx.c | 133 ++++++++++++++++++++++++++++++++++++++--- 2 files changed, 128 insertions(+), 9 deletions(-) -- 2.17.1