From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C0C0FCD6E5D for ; Fri, 5 Jun 2026 06:01:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Message-ID:Subject:Cc:To: From:Date:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=UBNqjFdYuvFiXkB26JlQDvB8ArlAqTAL5YvWlcrmJbM=; b=1gYorf60+UzlxgwZ9i7cSwJKVn EVo853AmbYd9tgCyPUJ7JJBGbTgl6a7s0lOv/ETUwcqvtLa5usRK1Gk3/O9994zJwLEgdW4JEqBgC zMtaJMQ0HHuZJnPztUhAptY6M4HGMQ3MZGVsVnhBr05ScDaLAF7RZw8jH3L5ou95xOAHEkqFDHht5 IDzQ19ZaKNzZBuV7b78KJO0JvNFPWSmF0J39h0vDwu3k3QV3EloIvVZ26zFEB+AwTI0DWvD90kJbc L4oSuu+YVF7MnFMO7d9nF/hisu+aM53HiT/osGNDbf8SEvyyRm1v0DBlBl4JDOrdLRfb3Mqutpqze qkBdy9nA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wVNcQ-000000008Au-2Fnq; Fri, 05 Jun 2026 06:01:22 +0000 Received: from mgamail.intel.com ([198.175.65.11]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wVNcN-000000008AX-1KaL for ath12k@lists.infradead.org; Fri, 05 Jun 2026 06:01:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1780639280; x=1812175280; h=date:from:to:cc:subject:message-id; bh=tY6regCDfxsJMRTuKfW2fWQKp1ZiqWp9qdTqXQawT8c=; b=dg/BS/5gyviwtgABjRhkg1zFuckG0acl0eyebxB3YXJLZydT0XWtg9I6 iNZ5hNhh9q8VFD4SNEXLuXL71JqCc8dKYLvnl342D5tr+hCKLJ8aki54/ 6LOHmIb80rtuQMr8g95co1u5oUafMXSMvT6QBhNKo1aKAL4+F3AAluwfX VLQJ8ha9iSQgvDzCJ6atUgUaK4foq5BFz8qt/cBwgjHk/NhKpSr7O/GCd kDg0m/uzMqsHg4y+iWZnHsG/+8fmorKtrFvXobxTC0K3rOj5PbkfYTMqE UjZIHXWPZPtZTcR9/mb/Cf+/uwqE9hNBd5RtdZzySnHYuVp19BLe1QgG9 A==; X-CSE-ConnectionGUID: HyedfCXdRP69Kw65phxNyw== X-CSE-MsgGUID: qZCbx379QiyJ5tT+gQNRSQ== X-IronPort-AV: E=McAfee;i="6800,10657,11807"; a="91786424" X-IronPort-AV: E=Sophos;i="6.24,188,1774335600"; d="scan'208";a="91786424" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jun 2026 23:01:19 -0700 X-CSE-ConnectionGUID: mhpXvIVfR+uc9hPPVCek3Q== X-CSE-MsgGUID: Wzy+QJ92TsmavLj4irrY0g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,188,1774335600"; d="scan'208";a="249088734" Received: from lkp-server01.sh.intel.com (HELO f0d55cb201f0) ([10.239.97.150]) by orviesa004.jf.intel.com with ESMTP; 04 Jun 2026 23:01:16 -0700 Received: from kbuild by f0d55cb201f0 with local (Exim 4.98.2) (envelope-from ) id 1wVNcH-00000000Fau-1wUa; Fri, 05 Jun 2026 06:01:13 +0000 Date: Fri, 05 Jun 2026 14:00:30 +0800 From: kernel test robot To: Johannes Berg Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Jeff Johnson , ath12k@lists.infradead.org, Jeff Johnson Subject: [ath:master 2/4] net/wireless/nl80211.c:6993:36: error: no member named 'he_oper' in 'struct cfg80211_ap_settings' Message-ID: <202606051350.TYjbkXmP-lkp@intel.com> User-Agent: s-nail v14.9.25 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260604_230119_801564_DF3DEB33 X-CRM114-Status: UNSURE ( 8.16 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath12k@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "ath12k" Errors-To: ath12k-bounces+ath12k=archiver.kernel.org@lists.infradead.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/ath/ath.git master head: d54e5a797eebf0ef8c91f628aac578128b39a0b1 commit: da16cf9abfd30e79c6c7ed7c4f8bf8b1316b934b [2/4] Merge remote-tracking branch 'wireless-next/main' config: sparc64-randconfig-002-20260605 (https://download.01.org/0day-ci/archive/20260605/202606051350.TYjbkXmP-lkp@intel.com/config) compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 7917772d7d61384696c61102c08c2ea158e610fa) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260605/202606051350.TYjbkXmP-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202606051350.TYjbkXmP-lkp@intel.com/ All errors (new ones prefixed by >>): >> net/wireless/nl80211.c:6993:36: error: no member named 'he_oper' in 'struct cfg80211_ap_settings' 6993 | if (!!params->he_cap != !!params->he_oper) | ~~~~~~ ^ >> net/wireless/nl80211.c:6996:37: error: no member named 'eht_oper' in 'struct cfg80211_ap_settings' 6996 | if (!!params->eht_cap != !!params->eht_oper) | ~~~~~~ ^ 2 errors generated. vim +6993 net/wireless/nl80211.c 7443dcd1f1718a Aloka Dixit 2020-09-11 6942 66cd794e3c30b8 Johannes Berg 2017-02-07 6943 /* 66cd794e3c30b8 Johannes Berg 2017-02-07 6944 * Since the nl80211 API didn't include, from the beginning, attributes about a384ae96990250 Johannes Berg 2026-04-15 6945 * HT/VHT/... capabilities, we parse them out of the elements and check for a384ae96990250 Johannes Berg 2026-04-15 6946 * validity for use by drivers/mac80211. 66cd794e3c30b8 Johannes Berg 2017-02-07 6947 */ d642e759b73cbf Johannes Berg 2026-04-15 6948 static int nl80211_calculate_ap_capabilities(struct genl_info *info, d642e759b73cbf Johannes Berg 2026-04-15 6949 struct cfg80211_ap_settings *params) 66cd794e3c30b8 Johannes Berg 2017-02-07 6950 { a384ae96990250 Johannes Berg 2026-04-15 6951 size_t ies_len = params->beacon.tail_len; a384ae96990250 Johannes Berg 2026-04-15 6952 const u8 *ies = params->beacon.tail; 153e2a11c99b73 Johannes Berg 2021-09-30 6953 const struct element *cap; 66cd794e3c30b8 Johannes Berg 2017-02-07 6954 153e2a11c99b73 Johannes Berg 2021-09-30 6955 cap = cfg80211_find_elem(WLAN_EID_HT_CAPABILITY, ies, ies_len); d642e759b73cbf Johannes Berg 2026-04-15 6956 if (cap) { d642e759b73cbf Johannes Berg 2026-04-15 6957 if (cap->datalen < sizeof(*params->ht_cap)) { d642e759b73cbf Johannes Berg 2026-04-15 6958 GENL_SET_ERR_MSG(info, "bad HT capability in beacon"); d642e759b73cbf Johannes Berg 2026-04-15 6959 return -EINVAL; d642e759b73cbf Johannes Berg 2026-04-15 6960 } 153e2a11c99b73 Johannes Berg 2021-09-30 6961 params->ht_cap = (void *)cap->data; d642e759b73cbf Johannes Berg 2026-04-15 6962 } d642e759b73cbf Johannes Berg 2026-04-15 6963 153e2a11c99b73 Johannes Berg 2021-09-30 6964 cap = cfg80211_find_elem(WLAN_EID_VHT_CAPABILITY, ies, ies_len); d642e759b73cbf Johannes Berg 2026-04-15 6965 if (cap) { d642e759b73cbf Johannes Berg 2026-04-15 6966 if (cap->datalen < sizeof(*params->vht_cap)) { d642e759b73cbf Johannes Berg 2026-04-15 6967 GENL_SET_ERR_MSG(info, "bad VHT capability in beacon"); d642e759b73cbf Johannes Berg 2026-04-15 6968 return -EINVAL; d642e759b73cbf Johannes Berg 2026-04-15 6969 } 153e2a11c99b73 Johannes Berg 2021-09-30 6970 params->vht_cap = (void *)cap->data; d642e759b73cbf Johannes Berg 2026-04-15 6971 } d642e759b73cbf Johannes Berg 2026-04-15 6972 153e2a11c99b73 Johannes Berg 2021-09-30 6973 cap = cfg80211_find_ext_elem(WLAN_EID_EXT_HE_CAPABILITY, ies, ies_len); d642e759b73cbf Johannes Berg 2026-04-15 6974 if (cap) { d642e759b73cbf Johannes Berg 2026-04-15 6975 if (cap->datalen < sizeof(*params->he_cap) + 1) { d642e759b73cbf Johannes Berg 2026-04-15 6976 GENL_SET_ERR_MSG(info, "bad HE capability in beacon"); d642e759b73cbf Johannes Berg 2026-04-15 6977 return -EINVAL; d642e759b73cbf Johannes Berg 2026-04-15 6978 } 153e2a11c99b73 Johannes Berg 2021-09-30 6979 params->he_cap = (void *)(cap->data + 1); d642e759b73cbf Johannes Berg 2026-04-15 6980 } d642e759b73cbf Johannes Berg 2026-04-15 6981 8bc65d38ee4668 Aloka Dixit 2022-05-22 6982 cap = cfg80211_find_ext_elem(WLAN_EID_EXT_EHT_CAPABILITY, ies, ies_len); 8bc65d38ee4668 Aloka Dixit 2022-05-22 6983 if (cap) { 8bc65d38ee4668 Aloka Dixit 2022-05-22 6984 params->eht_cap = (void *)(cap->data + 1); 8bc65d38ee4668 Aloka Dixit 2022-05-22 6985 if (!ieee80211_eht_capa_size_ok((const u8 *)params->he_cap, 8bc65d38ee4668 Aloka Dixit 2022-05-22 6986 (const u8 *)params->eht_cap, d642e759b73cbf Johannes Berg 2026-04-15 6987 cap->datalen - 1, true)) { d642e759b73cbf Johannes Berg 2026-04-15 6988 GENL_SET_ERR_MSG(info, "bad EHT capability in beacon"); 8bc65d38ee4668 Aloka Dixit 2022-05-22 6989 return -EINVAL; 8bc65d38ee4668 Aloka Dixit 2022-05-22 6990 } 8bc65d38ee4668 Aloka Dixit 2022-05-22 6991 } 072e6f7f416f5d Johannes Berg 2026-01-30 6992 cb9959ab5f9961 Johannes Berg 2026-06-03 @6993 if (!!params->he_cap != !!params->he_oper) cb9959ab5f9961 Johannes Berg 2026-06-03 6994 return -EINVAL; cb9959ab5f9961 Johannes Berg 2026-06-03 6995 cb9959ab5f9961 Johannes Berg 2026-06-03 @6996 if (!!params->eht_cap != !!params->eht_oper) cb9959ab5f9961 Johannes Berg 2026-06-03 6997 return -EINVAL; cb9959ab5f9961 Johannes Berg 2026-06-03 6998 8bc65d38ee4668 Aloka Dixit 2022-05-22 6999 return 0; 66cd794e3c30b8 Johannes Berg 2017-02-07 7000 } 66cd794e3c30b8 Johannes Berg 2017-02-07 7001 :::::: The code at line 6993 was first introduced by commit :::::: cb9959ab5f99611d27a06586add84811fe8102dc wifi: cfg80211: enforce HE/EHT cap/oper consistency :::::: TO: Johannes Berg :::::: CC: Johannes Berg -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki