All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 02/15] wifi: mac80211: clean up connection process
@ 2024-01-31 18:56 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-01-31 18:56 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Julia Lawall

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20240129194108.9451722c0110.I3e61f4cfe9da89008e1854160093c76a1e69dc2a@changeid>
References: <20240129194108.9451722c0110.I3e61f4cfe9da89008e1854160093c76a1e69dc2a@changeid>
TO: Johannes Berg <johannes@sipsolutions.net>
TO: linux-wireless@vger.kernel.org
CC: Johannes Berg <johannes.berg@intel.com>
CC: Ilan Peer <ilan.peer@intel.com>
CC: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>

Hi Johannes,

kernel test robot noticed the following build warnings:

[auto build test WARNING on wireless-next/main]
[cannot apply to wireless/main staging/staging-testing staging/staging-next staging/staging-linus linus/master v6.8-rc2 next-20240131]
[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/Johannes-Berg/wifi-mac80211-clean-up-band-switch-in-duration/20240130-025313
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
patch link:    https://lore.kernel.org/r/20240129194108.9451722c0110.I3e61f4cfe9da89008e1854160093c76a1e69dc2a%40changeid
patch subject: [PATCH 02/15] wifi: mac80211: clean up connection process
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: x86_64-randconfig-101-20240131 (https://download.01.org/0day-ci/archive/20240201/202402010203.oFGFYBYQ-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)

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>
| Reported-by: Julia Lawall <julia.lawall@inria.fr>
| Closes: https://lore.kernel.org/r/202402010203.oFGFYBYQ-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> net/mac80211/mlme.c:5106:19-20: WARNING opportunity for max()

vim +5106 net/mac80211/mlme.c

bee7f58699a406 net/mac80211/mlme.c          Johannes Berg 2013-02-07  5097  
398baf0587bf42 net/mac80211/mlme.c          Johannes Berg 2024-01-29  5098  static void
398baf0587bf42 net/mac80211/mlme.c          Johannes Berg 2024-01-29  5099  ieee80211_determine_our_sta_mode_auth(struct ieee80211_sub_if_data *sdata,
398baf0587bf42 net/mac80211/mlme.c          Johannes Berg 2024-01-29  5100  				      struct ieee80211_supported_band *sband,
398baf0587bf42 net/mac80211/mlme.c          Johannes Berg 2024-01-29  5101  				      struct cfg80211_auth_request *req,
398baf0587bf42 net/mac80211/mlme.c          Johannes Berg 2024-01-29  5102  				      bool wmm_used,
398baf0587bf42 net/mac80211/mlme.c          Johannes Berg 2024-01-29  5103  				      struct ieee80211_conn_settings *conn)
398baf0587bf42 net/mac80211/mlme.c          Johannes Berg 2024-01-29  5104  {
398baf0587bf42 net/mac80211/mlme.c          Johannes Berg 2024-01-29  5105  	ieee80211_determine_our_sta_mode(sdata, sband, NULL, wmm_used,
398baf0587bf42 net/mac80211/mlme.c          Johannes Berg 2024-01-29 @5106  					 req->link_id > 0 ? req->link_id : 0,
398baf0587bf42 net/mac80211/mlme.c          Johannes Berg 2024-01-29  5107  					 conn);
398baf0587bf42 net/mac80211/mlme.c          Johannes Berg 2024-01-29  5108  }
f0706e828e96d0 net/mac80211/ieee80211_sta.c Jiri Benc     2007-05-05  5109  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [PATCH 00/15] wifi: support wider-BW OFDMA and fix puncturing
@ 2024-01-29 18:34 Johannes Berg
  2024-01-29 18:34 ` [PATCH 02/15] wifi: mac80211: clean up connection process Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2024-01-29 18:34 UTC (permalink / raw)
  To: linux-wireless

EHT/802.11be introduced both wider-bandwidth OFDMA and puncturing,
and we forgot completely about the former, and misimplemented the
latter due to my wrong arguments.

As mentioned earlier, puncturing really should have been in the
chandef, which this moves it to.

Earlier, the series implements wider bandwidth OFDMA support in
mac80211, which requires tracking the AP channel as part of the
channel context, and then declaring them to be incompatible if
EHT is used on two interfaces (and thus there might be OFDMA) if
the AP bandwidth differs.

As part of the refactoring to more clearly determine both local
and AP mode (HT/VHT/HE/EHT) and channel configuration, this makes
mac80211 a bit more strict:
 - no longer accept channel switch when the mode changes
 - no longer use e.g. VHT if the HT channel inside of it
   occupies the wrong spot (e.g. center 40 MHz inside 80 MHz)
 - don't use EHT with bad puncturing (punctured subchannels
   cover subchannels that are used by HE)

Hopefully these things won't really break anything outside of
a handful of hostapd tests seem misconfigured (e.g

johannes


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-31 18:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-31 18:56 [PATCH 02/15] wifi: mac80211: clean up connection process kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2024-01-29 18:34 [PATCH 00/15] wifi: support wider-BW OFDMA and fix puncturing Johannes Berg
2024-01-29 18:34 ` [PATCH 02/15] wifi: mac80211: clean up connection process Johannes Berg

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.