All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH RFC wireless-next 4/4] wifi: b43: A-MPDU for the AC microcode
@ 2026-11-21 18:17 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2026-11-21 18:17 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "same reports for this branch"
:::::: Manual check reason: "linux-review patch is more than 7 days old, verify it wasn't already superseded"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261112175640.40603-5-gonsolo@gmail.com>
References: <20261112175640.40603-5-gonsolo@gmail.com>
TO: Andreas Wendleder <gonsolo@gmail.com>

Hi Andreas,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on wireless-next/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Andreas-Wendleder/wifi-b43-11ac-chanspec-for-the-AC-microcode/20261112-185637
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
patch link:    https://lore.kernel.org/r/20261112175640.40603-5-gonsolo%40gmail.com
patch subject: [PATCH RFC wireless-next 4/4] wifi: b43: A-MPDU for the AC microcode
:::::: branch date: 8 days ago
:::::: commit date: 8 days ago
config: parisc-allyesconfig (https://download.01.org/0day-ci/archive/20261122/202611220239.VV63dQYO-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261122/202611220239.VV63dQYO-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/r/202611220239.VV63dQYO-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/net/wireless/broadcom/b43/main.c:44:
   drivers/net/wireless/broadcom/b43/xmit.h: In function 'b43_txhdr_size':
   drivers/net/wireless/broadcom/b43/xmit.h:202:13: error: implicit declaration of function 'b43_ucode_is_ac' [-Wimplicit-function-declaration]
     202 |         if (b43_ucode_is_ac(dev))
         |             ^~~~~~~~~~~~~~~
   drivers/net/wireless/broadcom/b43/main.c: In function 'b43_setup_bands':
>> drivers/net/wireless/broadcom/b43/main.c:5409:13: error: implicit declaration of function 'b43_is_ac_core'; did you mean 'b43_is_cck_rate'? [-Wimplicit-function-declaration]
    5409 |         if (b43_is_ac_core(dev))
         |             ^~~~~~~~~~~~~~
         |             b43_is_cck_rate


vim +5409 drivers/net/wireless/broadcom/b43/main.c

e4d6b7951812d9 drivers/net/wireless/b43/main.c          Michael Buesch    2007-09-18  5381  
bb1eeff12d4cd6 drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5382  static int b43_setup_bands(struct b43_wldev *dev,
96c755a3923748 drivers/net/wireless/b43/main.c          Michael Buesch    2008-01-06  5383  			   bool have_2ghz_phy, bool have_5ghz_phy)
e4d6b7951812d9 drivers/net/wireless/b43/main.c          Michael Buesch    2007-09-18  5384  {
e4d6b7951812d9 drivers/net/wireless/b43/main.c          Michael Buesch    2007-09-18  5385  	struct ieee80211_hw *hw = dev->wl->hw;
3695b9324ee9bb drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-08  5386  	struct b43_phy *phy = &dev->phy;
3695b9324ee9bb drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-08  5387  	bool limited_2g;
b453fda6bad14d drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-23  5388  	bool limited_5g;
3695b9324ee9bb drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-08  5389  
3695b9324ee9bb drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-08  5390  	/* We don't support all 2 GHz channels on some devices */
c11082f0c00acd drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-19  5391  	limited_2g = phy->radio_ver == 0x2057 &&
c11082f0c00acd drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-19  5392  		     (phy->radio_rev == 9 || phy->radio_rev == 14);
b453fda6bad14d drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-23  5393  	limited_5g = phy->radio_ver == 0x2057 &&
b453fda6bad14d drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-23  5394  		     phy->radio_rev == 9;
e4d6b7951812d9 drivers/net/wireless/b43/main.c          Michael Buesch    2007-09-18  5395  
bb1eeff12d4cd6 drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5396  	if (have_2ghz_phy)
57fbcce37be7c1 drivers/net/wireless/broadcom/b43/main.c Johannes Berg     2016-04-12  5397  		hw->wiphy->bands[NL80211_BAND_2GHZ] = limited_2g ?
3695b9324ee9bb drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-08  5398  			&b43_band_2ghz_limited : &b43_band_2GHz;
bb1eeff12d4cd6 drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5399  	if (dev->phy.type == B43_PHYTYPE_N) {
bb1eeff12d4cd6 drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5400  		if (have_5ghz_phy)
57fbcce37be7c1 drivers/net/wireless/broadcom/b43/main.c Johannes Berg     2016-04-12  5401  			hw->wiphy->bands[NL80211_BAND_5GHZ] = limited_5g ?
b453fda6bad14d drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-23  5402  				&b43_band_5GHz_nphy_limited :
b453fda6bad14d drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-23  5403  				&b43_band_5GHz_nphy;
bb1eeff12d4cd6 drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5404  	} else {
bb1eeff12d4cd6 drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5405  		if (have_5ghz_phy)
57fbcce37be7c1 drivers/net/wireless/broadcom/b43/main.c Johannes Berg     2016-04-12  5406  			hw->wiphy->bands[NL80211_BAND_5GHZ] = &b43_band_5GHz_aphy;
bb1eeff12d4cd6 drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5407  	}
bb1eeff12d4cd6 drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5408  
2decf2ceb04dae drivers/net/wireless/broadcom/b43/main.c Andreas Wendleder 2026-11-12 @5409  	if (b43_is_ac_core(dev))
2decf2ceb04dae drivers/net/wireless/broadcom/b43/main.c Andreas Wendleder 2026-11-12  5410  		ieee80211_hw_set(hw, AMPDU_AGGREGATION);
2decf2ceb04dae drivers/net/wireless/broadcom/b43/main.c Andreas Wendleder 2026-11-12  5411  
bb1eeff12d4cd6 drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5412  	dev->phy.supports_2ghz = have_2ghz_phy;
bb1eeff12d4cd6 drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5413  	dev->phy.supports_5ghz = have_5ghz_phy;
e4d6b7951812d9 drivers/net/wireless/b43/main.c          Michael Buesch    2007-09-18  5414  
e4d6b7951812d9 drivers/net/wireless/b43/main.c          Michael Buesch    2007-09-18  5415  	return 0;
e4d6b7951812d9 drivers/net/wireless/b43/main.c          Michael Buesch    2007-09-18  5416  }
e4d6b7951812d9 drivers/net/wireless/b43/main.c          Michael Buesch    2007-09-18  5417  

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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [PATCH RFC wireless-next 4/4] wifi: b43: A-MPDU for the AC microcode
@ 2026-11-22  4:49 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2026-11-22  4:49 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "same reports for this branch"
:::::: Manual check reason: "linux-review patch is more than 7 days old, verify it wasn't already superseded"
:::::: 

BCC: lkp@intel.com
CC: llvm@lists.linux.dev
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261112175640.40603-5-gonsolo@gmail.com>
References: <20261112175640.40603-5-gonsolo@gmail.com>
TO: Andreas Wendleder <gonsolo@gmail.com>

Hi Andreas,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on wireless-next/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Andreas-Wendleder/wifi-b43-11ac-chanspec-for-the-AC-microcode/20261112-185637
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
patch link:    https://lore.kernel.org/r/20261112175640.40603-5-gonsolo%40gmail.com
patch subject: [PATCH RFC wireless-next 4/4] wifi: b43: A-MPDU for the AC microcode
:::::: branch date: 8 days ago
:::::: commit date: 8 days ago
config: um-allmodconfig (https://download.01.org/0day-ci/archive/20261122/202611221214.jUrqBylV-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261122/202611221214.jUrqBylV-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/r/202611221214.jUrqBylV-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/net/wireless/broadcom/b43/main.c:25:
   In file included from include/linux/if_arp.h:22:
   In file included from include/linux/skbuff.h:17:
   In file included from include/linux/bvec.h:10:
   In file included from include/linux/highmem.h:12:
   In file included from include/linux/hardirq.h:11:
   In file included from arch/um/include/asm/hardirq.h:24:
   In file included from include/linux/irq.h:20:
   In file included from include/linux/io.h:12:
   In file included from arch/um/include/asm/io.h:24:
   include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
    1209 |         return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port;
         |                                                   ~~~~~~~~~~ ^
   In file included from drivers/net/wireless/broadcom/b43/main.c:44:
   drivers/net/wireless/broadcom/b43/xmit.h:202:6: error: call to undeclared function 'b43_ucode_is_ac'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     202 |         if (b43_ucode_is_ac(dev))
         |             ^
   drivers/net/wireless/broadcom/b43/main.c:1346:7: error: call to undeclared function 'b43_ucode_is_ac'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1346 |                 if (b43_ucode_is_ac(dev)) {
         |                     ^
   drivers/net/wireless/broadcom/b43/main.c:1444:7: error: call to undeclared function 'b43_ucode_is_ac'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1444 |                 if (b43_ucode_is_ac(dev)) {
         |                     ^
   drivers/net/wireless/broadcom/b43/main.c:5271:27: error: call to undeclared function 'b43_ucode_is_ac'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    5271 |         if (!wl->current_dev || !b43_ucode_is_ac(wl->current_dev))
         |                                  ^
>> drivers/net/wireless/broadcom/b43/main.c:5409:6: error: call to undeclared function 'b43_is_ac_core'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    5409 |         if (b43_is_ac_core(dev))
         |             ^
   1 warning and 5 errors generated.


vim +/b43_is_ac_core +5409 drivers/net/wireless/broadcom/b43/main.c

e4d6b7951812d98 drivers/net/wireless/b43/main.c          Michael Buesch    2007-09-18  5381  
bb1eeff12d4cd6c drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5382  static int b43_setup_bands(struct b43_wldev *dev,
96c755a39237483 drivers/net/wireless/b43/main.c          Michael Buesch    2008-01-06  5383  			   bool have_2ghz_phy, bool have_5ghz_phy)
e4d6b7951812d98 drivers/net/wireless/b43/main.c          Michael Buesch    2007-09-18  5384  {
e4d6b7951812d98 drivers/net/wireless/b43/main.c          Michael Buesch    2007-09-18  5385  	struct ieee80211_hw *hw = dev->wl->hw;
3695b9324ee9bb8 drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-08  5386  	struct b43_phy *phy = &dev->phy;
3695b9324ee9bb8 drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-08  5387  	bool limited_2g;
b453fda6bad14d1 drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-23  5388  	bool limited_5g;
3695b9324ee9bb8 drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-08  5389  
3695b9324ee9bb8 drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-08  5390  	/* We don't support all 2 GHz channels on some devices */
c11082f0c00acde drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-19  5391  	limited_2g = phy->radio_ver == 0x2057 &&
c11082f0c00acde drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-19  5392  		     (phy->radio_rev == 9 || phy->radio_rev == 14);
b453fda6bad14d1 drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-23  5393  	limited_5g = phy->radio_ver == 0x2057 &&
b453fda6bad14d1 drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-23  5394  		     phy->radio_rev == 9;
e4d6b7951812d98 drivers/net/wireless/b43/main.c          Michael Buesch    2007-09-18  5395  
bb1eeff12d4cd6c drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5396  	if (have_2ghz_phy)
57fbcce37be7c1d drivers/net/wireless/broadcom/b43/main.c Johannes Berg     2016-04-12  5397  		hw->wiphy->bands[NL80211_BAND_2GHZ] = limited_2g ?
3695b9324ee9bb8 drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-08  5398  			&b43_band_2ghz_limited : &b43_band_2GHz;
bb1eeff12d4cd6c drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5399  	if (dev->phy.type == B43_PHYTYPE_N) {
bb1eeff12d4cd6c drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5400  		if (have_5ghz_phy)
57fbcce37be7c1d drivers/net/wireless/broadcom/b43/main.c Johannes Berg     2016-04-12  5401  			hw->wiphy->bands[NL80211_BAND_5GHZ] = limited_5g ?
b453fda6bad14d1 drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-23  5402  				&b43_band_5GHz_nphy_limited :
b453fda6bad14d1 drivers/net/wireless/b43/main.c          Rafał Miłecki     2014-07-23  5403  				&b43_band_5GHz_nphy;
bb1eeff12d4cd6c drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5404  	} else {
bb1eeff12d4cd6c drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5405  		if (have_5ghz_phy)
57fbcce37be7c1d drivers/net/wireless/broadcom/b43/main.c Johannes Berg     2016-04-12  5406  			hw->wiphy->bands[NL80211_BAND_5GHZ] = &b43_band_5GHz_aphy;
bb1eeff12d4cd6c drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5407  	}
bb1eeff12d4cd6c drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5408  
2decf2ceb04dae6 drivers/net/wireless/broadcom/b43/main.c Andreas Wendleder 2026-11-12 @5409  	if (b43_is_ac_core(dev))
2decf2ceb04dae6 drivers/net/wireless/broadcom/b43/main.c Andreas Wendleder 2026-11-12  5410  		ieee80211_hw_set(hw, AMPDU_AGGREGATION);
2decf2ceb04dae6 drivers/net/wireless/broadcom/b43/main.c Andreas Wendleder 2026-11-12  5411  
bb1eeff12d4cd6c drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5412  	dev->phy.supports_2ghz = have_2ghz_phy;
bb1eeff12d4cd6c drivers/net/wireless/b43/main.c          Michael Buesch    2008-02-09  5413  	dev->phy.supports_5ghz = have_5ghz_phy;
e4d6b7951812d98 drivers/net/wireless/b43/main.c          Michael Buesch    2007-09-18  5414  
e4d6b7951812d98 drivers/net/wireless/b43/main.c          Michael Buesch    2007-09-18  5415  	return 0;
e4d6b7951812d98 drivers/net/wireless/b43/main.c          Michael Buesch    2007-09-18  5416  }
e4d6b7951812d98 drivers/net/wireless/b43/main.c          Michael Buesch    2007-09-18  5417  

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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [PATCH RFC wireless-next 0/4] wifi: b43: AC microcode TX and RX formats (series 3/4)
@ 2026-11-12 17:56 Andreas Wendleder
  2026-11-12 17:56   ` Andreas Wendleder
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Wendleder @ 2026-11-12 17:56 UTC (permalink / raw)
  To: linux-wireless
  Cc: Johannes Berg, b43-dev, Michael Buesch, Alessio Ferri, kvalo,
	julian.calaby, jpeisach, rosenp, linux-kernel

The TX descriptor, TX status, RX header and A-MPDU handling of the AC
microcode, gated on the microcode revision. Only revision 832 has been
tested; the layouts of 784 and 928 are expected to match but are not
verified. Based on series 2/4.

Where the values come from: the register sequences and table contents were
taken from Broadcom's wl driver running on this MacBook, by tracing its
register accesses (bpftrace on wl's MMIO accessors), and reduced to what
the hardware needs. Parts come from Alessio Ferri's AC-PHY work (the PHY
init sequence, the 40 and 80 MHz coefficient tables, a TX gain table, the
Farrow resampler formula, the VHT fields of the TX descriptor, register
and table names), and some formats follow brcmsmac.
The result was tested on the hardware as described below.

Each patch compiles on its own (kernel 7.2.10 headers). The four series
together were run on a MacBookAir6,1 (14e4:43a0, BCM4360, core revision 42,
microcode 832.127, 2 of 3 chains wired) on top of v7.3-rc5's b43. The AC PHY
only comes with series 4, so the earlier series cannot be exercised on this
hardware alone.

Andreas Wendleder (4):
  wifi: b43: 11ac chanspec for the AC microcode
  wifi: b43: TX descriptor and TX status for the AC microcode
  wifi: b43: RX header handling for the AC microcode
  wifi: b43: A-MPDU for the AC microcode

 drivers/net/wireless/broadcom/b43/dma.c       |  61 ++++
 drivers/net/wireless/broadcom/b43/dma.h       |   1 +
 drivers/net/wireless/broadcom/b43/main.c      | 113 ++++++
 .../net/wireless/broadcom/b43/phy_common.c    |  13 +
 .../net/wireless/broadcom/b43/phy_common.h    |   7 +
 drivers/net/wireless/broadcom/b43/xmit.c      | 327 +++++++++++++++++-
 drivers/net/wireless/broadcom/b43/xmit.h      |  13 +
 7 files changed, 528 insertions(+), 7 deletions(-)


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

end of thread, other threads:[~2026-11-22  4:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-21 18:17 [PATCH RFC wireless-next 4/4] wifi: b43: A-MPDU for the AC microcode kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-11-22  4:49 kernel test robot
2026-11-12 17:56 [PATCH RFC wireless-next 0/4] wifi: b43: AC microcode TX and RX formats (series 3/4) Andreas Wendleder
2026-11-12 17:56 ` [PATCH RFC wireless-next 4/4] wifi: b43: A-MPDU for the AC microcode Andreas Wendleder
2026-11-12 17:56   ` Andreas Wendleder

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.