Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp107469lqh; Mon, 6 May 2024 12:48:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUngR9oZCYMiWh3zw0k500vBb+O5vjUERAtAobTCoyD5HxNc5AMBjSNC8wnueefb7CdBpJXFMpgKmG+zEYKOSJRqyWTDUhWpytxGamhpg== X-Google-Smtp-Source: AGHT+IGL4wVEcXkzLDblCRBPoUmb/6Hb/xGVo7MK21Do18FbEYQagBBtECzU4CmRufPiTPmJ2bxo X-Received: by 2002:a50:8e17:0:b0:56e:3774:749b with SMTP id 23-20020a508e17000000b0056e3774749bmr5211413edw.42.1715024931632; Mon, 06 May 2024 12:48:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715024931; cv=pass; d=google.com; s=arc-20160816; b=vGKYlu5AQIVEIbhm+GHA3fUBNpNvphSiIdsnYrIsKo+HIzsJQVdn/EBPWNuV3ffy0S 7DwuXES/lO3hMO8I4wmg3pvbRwch1npZUFW6+xilBynpZjCUyCk6xzVeE9lCAncokZZ8 shvCYnT4+Ik+HMo2PA6vxmfotoYZTxFUW/DuBRfKbIcOc3WCJiFuSNEfPh9UouBIjgqu sfn/5rR23oALRBvZxfxTuGcrOfHi02YlJWNQeJ6FTSjiLeHCrMe28cpo+vkNWdEI755r Ohcujg3iMVWz5cxTFj2/Kk28Q5O1zRmUm4xhzYR/t0dluNpcIpSENmha0S1XCu79vxLw Urog== 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:to:from :dkim-signature; bh=OtKrCb9nusBOcSD3MMnOqmHph6LCrQAgu2ydZYTSOoc=; fh=qW0phhq3fb3oiohK/Mu9j1KY1zyRNiiioKFc5anvatM=; b=ZLQ20+l2wIHO0gFll4+8tH5m3ct7InURu0lmRzcxFyhTTKH/wWLLqpUye6LocQdLMm pDvf8si3r4EbLf1dOKajijlOqq9p3QYMSL1Bqo34XdKq5auJMbD0zYt4SZWb0MSGcdDx 4qGx4W9kYkNMjA6ELloFbuj+lZkZk4d+ivb56ZjTJ9U1mtXKihk/0bVIXhjJikEUl7fN hsGSjdwz4f+FVIgpYzLI53YoxEtNmhWa7BoA6R+OPUVFjusTFezzPG/Idpq//j/BCUhZ VmHr4r/+CkZM5VIbW0fSWqK3C1Z+qr1YV3agPVEGMBTpRvVOAT3Pudi2CbuZALN6dvjy YA3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=D75ldV3t; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-7244-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7244-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h12-20020a056402094c00b00572204b61b8si5175938edz.330.2024.05.06.12.48.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 12:48:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7244-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=D75ldV3t; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-7244-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7244-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 57B531F225DF for ; Mon, 6 May 2024 19:48:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97AA415ADAB; Mon, 6 May 2024 19:45:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="D75ldV3t" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (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 C8B4615ECC0 for ; Mon, 6 May 2024 19:45:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715024744; cv=none; b=ENCD+MPgkiD/KNiDlroBka6FZtXlQSfS1gYinO8+6ruDlD70E7fz+bWwhnQLD8MUYdz+uwGwMHCKCjn3YWV3HYbAh1JzooYWGYrj9q1JKJXCRiIAt2RtxXIIIwGjJ5f9AnfbYrT6klhNb8Ls3E6x3U4FPEryh8VC3tyyvcobVGc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715024744; c=relaxed/simple; bh=OtKrCb9nusBOcSD3MMnOqmHph6LCrQAgu2ydZYTSOoc=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=iwIDwnB8xygdqKEBrgpfhruonFea73zoSgRuBNKYVJuW+hmwYr8bT/2VorCwiZvdOkJV5N31lpQZTjcKYXE+Wzjp8qtC33HprIkJSh4+cW6kwHhVRyzSZ6vvyXzhfGCAKkqVExQPeWpH96XNJGwmDTE7VF0H6y/AVtH7eYTbYrU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=D75ldV3t; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: Message-ID:Date:Subject:To:From:Content-Type:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-To:Resent-Cc: Resent-Message-ID:In-Reply-To:References; bh=OtKrCb9nusBOcSD3MMnOqmHph6LCrQAgu2ydZYTSOoc=; t=1715024742; x=1716234342; b=D75ldV3tQenRYfbkcgLtb6UIBXC6G1A4ex74R/QxSEYPiiu6HGx2m3+1ZUdZJRDcKRP8CGVeIka n9wkhscuiUUFZ0IwqY0C9X5Jg7uc1u1BjNTPoyxCvgreA8bW2tUUVggzcZDorFtxHAMSzS9JXWxRo LDr4pwpgRn4iNYopD6+QV8GOaWh1ERwmy+dR9hTiIOqz44WjB3EcbMC4Nlo0vUNdoZMN0qj0/Rw0q ByutN0EJ576+0G6vCjjRrTUrK440XUHgfBx/y09hwh5qgcj7x/E4IHzabtC/Sv1OLLsRmwBlEbqi1 NcteBRGN2n67y2Sa3YPexO9tdVKGjaCH/MzA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1s44HL-00000008C27-3L6S for linux-wireless@vger.kernel.org; Mon, 06 May 2024 21:45:40 +0200 From: Johannes Berg To: linux-wireless@vger.kernel.org Subject: [PATCH 0/5] wifi: mac80211: build TPE handling Date: Mon, 6 May 2024 21:37:52 +0200 Message-ID: <20240506194536.102148-7-johannes@sipsolutions.net> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Rebuild the TPE handling in the stack to always parse out the data for drivers, and hand only the relevant parts to them, so e.g. if HE has 80 MHz, EHT has 320 MHz, and we're connecting with 160 MHz for some reason, drivers won't have to sort out all the reordering. Only really affects ath11k right now, patches for iwlwifi are upcoming. I have further patches to also handle TPE during CSA (and puncturing during CSA while I was at it thrown in), but at this point that requires https://patchwork.kernel.org/project/linux-wireless/patch/20240415112355.4d34b6a31be7.Ie8453979f5805873a8411c99346bcc3810cd6476@changeid/ and I'm not sure I want to merge that yet? johannes