[PATCH] wifi: mt76: connac3: implement 6GHz power type detection and dynamic CLC filtering
kernel test robot
lkp at intel.com
Mon Aug 3 10:13:44 PDT 2026
Hi JB,
kernel test robot noticed the following build errors:
[auto build test ERROR on wireless-next/main]
[cannot apply to wireless/main linus/master v7.2-rc6 next-20260731]
[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/JB-Tsai/wifi-mt76-connac3-implement-6GHz-power-type-detection-and-dynamic-CLC-filtering/20260803-215116
base: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
patch link: https://lore.kernel.org/r/20260724085103.3155942-1-jb.tsai%40mediatek.com
patch subject: [PATCH] wifi: mt76: connac3: implement 6GHz power type detection and dynamic CLC filtering
config: alpha-allmodconfig (https://download.01.org/0day-ci/archive/20260804/202608040156.lx0926Ek-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260804/202608040156.lx0926Ek-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608040156.lx0926Ek-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/net/wireless/mediatek/mt76/mt7925/main.c: In function 'mt7925_set_sar_specs':
>> drivers/net/wireless/mediatek/mt76/mt7925/main.c:1986:15: error: too few arguments to function 'mt7925_mcu_set_clc'; expected 4, have 3
1986 | err = mt7925_mcu_set_clc(dev, dev->mt76.alpha2,
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/net/wireless/mediatek/mt76/mt7925/main.c:10:
drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h:387:5: note: declared here
387 | int mt7925_mcu_set_clc(struct mt792x_dev *dev, u8 *alpha2,
| ^~~~~~~~~~~~~~~~~~
vim +/mt7925_mcu_set_clc +1986 drivers/net/wireless/mediatek/mt76/mt7925/main.c
c948b5da6bbec7 Deren Wu 2023-09-18 1978
c948b5da6bbec7 Deren Wu 2023-09-18 1979 static int mt7925_set_sar_specs(struct ieee80211_hw *hw,
c948b5da6bbec7 Deren Wu 2023-09-18 1980 const struct cfg80211_sar_specs *sar)
c948b5da6bbec7 Deren Wu 2023-09-18 1981 {
c948b5da6bbec7 Deren Wu 2023-09-18 1982 struct mt792x_dev *dev = mt792x_hw_dev(hw);
c948b5da6bbec7 Deren Wu 2023-09-18 1983 int err;
c948b5da6bbec7 Deren Wu 2023-09-18 1984
c948b5da6bbec7 Deren Wu 2023-09-18 1985 mt792x_mutex_acquire(dev);
8a27c5c764040f Jared.Huang 2026-06-17 @1986 err = mt7925_mcu_set_clc(dev, dev->mt76.alpha2,
8a27c5c764040f Jared.Huang 2026-06-17 1987 dev->country_ie_env);
8a27c5c764040f Jared.Huang 2026-06-17 1988 if (err < 0)
8a27c5c764040f Jared.Huang 2026-06-17 1989 goto out;
8a27c5c764040f Jared.Huang 2026-06-17 1990
c948b5da6bbec7 Deren Wu 2023-09-18 1991 err = mt7925_set_tx_sar_pwr(hw, sar);
c948b5da6bbec7 Deren Wu 2023-09-18 1992
8a27c5c764040f Jared.Huang 2026-06-17 1993 out:
8a27c5c764040f Jared.Huang 2026-06-17 1994 mt792x_mutex_release(dev);
c948b5da6bbec7 Deren Wu 2023-09-18 1995 return err;
c948b5da6bbec7 Deren Wu 2023-09-18 1996 }
c948b5da6bbec7 Deren Wu 2023-09-18 1997
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the Linux-mediatek
mailing list