Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4873004pxb; Tue, 28 Sep 2021 06:05:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOcWhSF3w1NEhq/P1n6Ra9x8WstIy04sLkG7gAjHU1a0DFINoLLGW5UpAXNI74CCPmubcW X-Received: by 2002:a17:906:3693:: with SMTP id a19mr6644582ejc.237.1632834353225; Tue, 28 Sep 2021 06:05:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632834353; cv=none; d=google.com; s=arc-20160816; b=LC2kWo3fmuakV7vLMjD6me+6vTy3v5/nZILbw866w6VR58WbTTnwYh3Z0APdbDYBoX cE9oZ4B+nSOgcSLSOT+gI1Sr618qNDJw7QgXEB4J6EMvW4KABF3a8rmOhpyj8iXAovtG rJsCaFF5ywdtMAMvK9IRGUfTl63VY8gNyG6BfIQuMGC5InZHiK+RARD/9GbtQSYFB0C2 34cz7Ik6F+fxbAZ4dZg5P5UUOiqYr3ACweewxaC1pfghq+f5GMvNsAUUxLd5A3Ok9JwE zzWQttUKMeozWuslA6vK5ZGP2zlp+hgFXVS0aR6cUVy1svljqx5aTISHgKh8MxdOK7RE zUuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=82QXwbQwRc7AQzFplXvtgyMLY9lq/mlIgdTi9zboqE4=; b=F4y0lKZfhsS1GNDNIEEu+rN8t5l95NrkXoMYwmAhjilpUPAM7YSrwJOaPyPuGww2hm Xmsid83+7dHCG2gjo5WMNZhTNInBr3LR1ZMjcmvlMMg3k6YfMYFd8VYIxNnxA1wNBN+f +M6Mc5ka/Y8oQCclXV+nzno+zpx53bnGhGJI+zsiPArCfeR753PR7+PQgi7skoY+Ognt mzPeREWmXwJtDwVuvby/Jn0HtCcJ4GQBviFzEq+T95gYiF2MN6DFnFaOxrE519WGlAz/ EqdkG58CiorQ9J1EH2BumaaoJWja7cS0g79zl1GmELgqNjowNQHv8rMI6wS+PalVOTe5 8k7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=ffGdfcV3; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d26si20728898ejz.183.2021.09.28.06.05.29; Tue, 28 Sep 2021 06:05:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=ffGdfcV3; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240866AbhI1NE1 (ORCPT + 78 others); Tue, 28 Sep 2021 09:04:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240869AbhI1NEZ (ORCPT ); Tue, 28 Sep 2021 09:04:25 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EBAEC061604 for ; Tue, 28 Sep 2021 06:02:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=82QXwbQwRc7AQzFplXvtgyMLY9lq/mlIgdTi9zboqE4=; t=1632834166; x=1634043766; b=ffGdfcV37MlvsjVqvX41pbirUBLLpY6m1Xzrw4IxaoMhtfR asp51mlb8lXEdBtmA4I+V7rxVpBNCKxe7ibtn6UOEd4SquIshWcYR+tsOV2U3jK62sJKvnHLMYvut be8+Xqr0mx+1sT3mXaN9Yh3scX2+ZsY2M48ES1fGMVISBXFRI1BLfDKtCrPx3ob5JGmaCXM5VNm4g e6cKGHaPbzRfnU/iWSqUssrYh2H5J/SNs35MpW66QCC+8bBrVBKuYhoQbJiwtAQJhZmyzVakwD0Ij ilTXTgjjGfQvvhXkPJwAWEaSeCbe2/d93A0yXpU9+AwAeowJ7+M1LXMZX5gCQTpA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.95-RC2) (envelope-from ) id 1mVCkp-00CsjS-Ux; Tue, 28 Sep 2021 15:02:40 +0200 Message-ID: Subject: Re: [PATCH v3 2/2] mac80211: do intersection with he mcs and nss set of peer and own From: Johannes Berg To: Wen Gong , ath11k@lists.infradead.org Cc: linux-wireless@vger.kernel.org Date: Tue, 28 Sep 2021 15:02:39 +0200 In-Reply-To: <1609816120-9411-3-git-send-email-wgong@codeaurora.org> (sfid-20210105_041051_256789_4F276B28) References: <1609816120-9411-1-git-send-email-wgong@codeaurora.org> <1609816120-9411-3-git-send-email-wgong@codeaurora.org> (sfid-20210105_041051_256789_4F276B28) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi, I had done a bunch of fixups to this patch, but the zero-day build robot correctly reports that: > + ieee80211_he_mcs_intersection(&own_he_cap.he_mcs_nss_supp.rx_mcs_80, > + &he_cap->he_mcs_nss_supp.rx_mcs_80, > + &own_he_cap.he_mcs_nss_supp.tx_mcs_80, > + &he_cap->he_mcs_nss_supp.tx_mcs_80); the &own_he_cap... parts here will take an __le16 pointer to a possibly unaligned variable - any thoughts how we could fix that? johannes