From: kernel test robot <lkp@intel.com>
To: Miri Korenblit <miriam.rachel.korenblit@intel.com>,
johannes@sipsolutions.net
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-wireless@vger.kernel.org,
Mukesh Sisodiya <mukesh.sisodiya@intel.com>,
Gregory Greenman <gregory.greenman@intel.com>
Subject: Re: [PATCH 01/13] wifi: iwlwifi: nvm: parse the VLP/AFC bit from regulatory
Date: Sat, 10 Feb 2024 21:44:01 +0800 [thread overview]
Message-ID: <202402102159.h0x3mL2v-lkp@intel.com> (raw)
In-Reply-To: <20240208185302.9c6a4acabdb3.I501de5c0d86b9702bf61158a2e91c954a1da9a2a@changeid>
Hi Miri,
kernel test robot noticed the following build errors:
[auto build test ERROR on wireless-next/main]
[also build test ERROR on wireless/main linus/master v6.8-rc3 next-20240209]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Miri-Korenblit/wifi-iwlwifi-nvm-parse-the-VLP-AFC-bit-from-regulatory/20240209-010143
base: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
patch link: https://lore.kernel.org/r/20240208185302.9c6a4acabdb3.I501de5c0d86b9702bf61158a2e91c954a1da9a2a%40changeid
patch subject: [PATCH 01/13] wifi: iwlwifi: nvm: parse the VLP/AFC bit from regulatory
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20240210/202402102159.h0x3mL2v-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 7dd790db8b77c4a833c06632e903dc4f13877a64)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240210/202402102159.h0x3mL2v-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402102159.h0x3mL2v-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c:377:12: error: use of undeclared identifier 'IEEE80211_CHAN_NO_6GHZ_VLP_CLIENT'; did you mean 'IEEE80211_CHAN_NO_UHB_VLP_CLIENT'?
377 | flags |= IEEE80211_CHAN_NO_6GHZ_VLP_CLIENT;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| IEEE80211_CHAN_NO_UHB_VLP_CLIENT
include/net/cfg80211.h:149:2: note: 'IEEE80211_CHAN_NO_UHB_VLP_CLIENT' declared here
149 | IEEE80211_CHAN_NO_UHB_VLP_CLIENT= 1<<22,
| ^
>> drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c:379:12: error: use of undeclared identifier 'IEEE80211_CHAN_NO_6GHZ_AFC_CLIENT'; did you mean 'IEEE80211_CHAN_NO_UHB_AFC_CLIENT'?
379 | flags |= IEEE80211_CHAN_NO_6GHZ_AFC_CLIENT;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| IEEE80211_CHAN_NO_UHB_AFC_CLIENT
include/net/cfg80211.h:150:2: note: 'IEEE80211_CHAN_NO_UHB_AFC_CLIENT' declared here
150 | IEEE80211_CHAN_NO_UHB_AFC_CLIENT= 1<<23,
| ^
>> drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c:1665:13: error: use of undeclared identifier 'NL80211_RRF_NO_6GHZ_VLP_CLIENT'; did you mean 'NL80211_RRF_NO_UHB_VLP_CLIENT'?
1665 | flags |= NL80211_RRF_NO_6GHZ_VLP_CLIENT;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| NL80211_RRF_NO_UHB_VLP_CLIENT
include/uapi/linux/nl80211.h:4543:2: note: 'NL80211_RRF_NO_UHB_VLP_CLIENT' declared here
4543 | NL80211_RRF_NO_UHB_VLP_CLIENT = 1<<22,
| ^
>> drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c:1668:13: error: use of undeclared identifier 'NL80211_RRF_NO_6GHZ_AFC_CLIENT'; did you mean 'NL80211_RRF_NO_UHB_AFC_CLIENT'?
1668 | flags |= NL80211_RRF_NO_6GHZ_AFC_CLIENT;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| NL80211_RRF_NO_UHB_AFC_CLIENT
include/uapi/linux/nl80211.h:4544:2: note: 'NL80211_RRF_NO_UHB_AFC_CLIENT' declared here
4544 | NL80211_RRF_NO_UHB_AFC_CLIENT = 1<<23,
| ^
4 errors generated.
vim +377 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c
334
335 static u32 iwl_get_channel_flags(u8 ch_num, int ch_idx, enum nl80211_band band,
336 u32 nvm_flags, const struct iwl_cfg *cfg)
337 {
338 u32 flags = IEEE80211_CHAN_NO_HT40;
339
340 if (band == NL80211_BAND_2GHZ && (nvm_flags & NVM_CHANNEL_40MHZ)) {
341 if (ch_num <= LAST_2GHZ_HT_PLUS)
342 flags &= ~IEEE80211_CHAN_NO_HT40PLUS;
343 if (ch_num >= FIRST_2GHZ_HT_MINUS)
344 flags &= ~IEEE80211_CHAN_NO_HT40MINUS;
345 } else if (nvm_flags & NVM_CHANNEL_40MHZ) {
346 if ((ch_idx - NUM_2GHZ_CHANNELS) % 2 == 0)
347 flags &= ~IEEE80211_CHAN_NO_HT40PLUS;
348 else
349 flags &= ~IEEE80211_CHAN_NO_HT40MINUS;
350 }
351 if (!(nvm_flags & NVM_CHANNEL_80MHZ))
352 flags |= IEEE80211_CHAN_NO_80MHZ;
353 if (!(nvm_flags & NVM_CHANNEL_160MHZ))
354 flags |= IEEE80211_CHAN_NO_160MHZ;
355
356 if (!(nvm_flags & NVM_CHANNEL_IBSS))
357 flags |= IEEE80211_CHAN_NO_IR;
358
359 if (!(nvm_flags & NVM_CHANNEL_ACTIVE))
360 flags |= IEEE80211_CHAN_NO_IR;
361
362 if (nvm_flags & NVM_CHANNEL_RADAR)
363 flags |= IEEE80211_CHAN_RADAR;
364
365 if (nvm_flags & NVM_CHANNEL_INDOOR_ONLY)
366 flags |= IEEE80211_CHAN_INDOOR_ONLY;
367
368 /* Set the GO concurrent flag only in case that NO_IR is set.
369 * Otherwise it is meaningless
370 */
371 if ((nvm_flags & NVM_CHANNEL_GO_CONCURRENT) &&
372 (flags & IEEE80211_CHAN_NO_IR))
373 flags |= IEEE80211_CHAN_IR_CONCURRENT;
374
375 /* Set the AP type for the UHB case. */
376 if (!(nvm_flags & NVM_CHANNEL_VLP))
> 377 flags |= IEEE80211_CHAN_NO_6GHZ_VLP_CLIENT;
378 if (!(nvm_flags & NVM_CHANNEL_AFC))
> 379 flags |= IEEE80211_CHAN_NO_6GHZ_AFC_CLIENT;
380
381 return flags;
382 }
383
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-02-10 13:44 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-08 16:58 [PATCH 00/13] wifi: iwlwifi: updates - 2024-02-08 Miri Korenblit
2024-02-08 16:58 ` [PATCH 01/13] wifi: iwlwifi: nvm: parse the VLP/AFC bit from regulatory Miri Korenblit
2024-02-09 3:40 ` kernel test robot
2024-02-10 13:44 ` kernel test robot [this message]
2024-02-08 16:58 ` [PATCH 02/13] wifi: iwlwifi: mvm: work around A-MSDU size problem Miri Korenblit
2024-02-08 16:58 ` [PATCH 03/13] wifi: iwlwifi: mvm: Extend support for P2P service discovery Miri Korenblit
2024-02-08 16:58 ` [PATCH 04/13] wifi: iwlwifi: mvm: Fix the listener MAC filter flags Miri Korenblit
2024-02-08 16:58 ` [PATCH 05/13] wifi: iwlwifi: api: fix constant version to match FW Miri Korenblit
2024-02-08 16:58 ` [PATCH 06/13] wifi: iwlwifi: don't use TRUE/FALSE with bool Miri Korenblit
2024-02-08 16:58 ` [PATCH 07/13] wifi: iwlwifi: mvm: fix thermal kernel-doc Miri Korenblit
2024-02-08 16:58 ` [PATCH 08/13] wifi: iwlwifi: error-dump: fix kernel-doc issues Miri Korenblit
2024-02-08 16:58 ` [PATCH 09/13] wifi: iwlwifi: api: dbg-tlv: fix up kernel-doc Miri Korenblit
2024-02-08 16:58 ` [PATCH 10/13] wifi: iwlwifi: fw: file: clean " Miri Korenblit
2024-02-08 16:58 ` [PATCH 11/13] wifi: iwlwifi: iwl-trans.h: " Miri Korenblit
2024-02-08 16:58 ` [PATCH 12/13] wifi: iwlwifi: bump FW API to 89 for AX/BZ/SC devices Miri Korenblit
2024-02-08 16:58 ` [PATCH 13/13] wifi: iwlwifi: mvm: check own capabilities for EMLSR Miri Korenblit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202402102159.h0x3mL2v-lkp@intel.com \
--to=lkp@intel.com \
--cc=gregory.greenman@intel.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=miriam.rachel.korenblit@intel.com \
--cc=mukesh.sisodiya@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.