[PATCH v2] wifi: mt76: mt792x: tell mac80211 when a disconnect cancels its ROC
kernel test robot
lkp at intel.com
Tue Nov 10 03:54:37 PST 2026
Hi Devin,
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 v7.4-rc2 next-20261109]
[cannot apply to linux-review/Devin-Wittmayer/wifi-mt76-mt792x-tell-mac80211-when-a-disconnect-cancels-its-ROC/20261022-184827]
[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/Devin-Wittmayer/wifi-mt76-mt792x-tell-mac80211-when-a-disconnect-cancels-its-ROC/20261109-175846
base: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
patch link: https://lore.kernel.org/r/20261110005846.38432-1-lucid_duck%40justthetip.ca
patch subject: [PATCH v2] wifi: mt76: mt792x: tell mac80211 when a disconnect cancels its ROC
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20261110/202611101937.hzmTxgbR-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project b3e2466a7ef2bbc97d31230c3bf39a6fa50a608a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261110/202611101937.hzmTxgbR-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/202611101937.hzmTxgbR-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/wireless/mediatek/mt76/mt7921/main.c:385:11: error: no member named 'roc_notify' in 'struct mt792x_phy'
385 | if (phy->roc_notify)
| ~~~ ^
drivers/net/wireless/mediatek/mt76/mt7921/main.c:423:22: error: no member named 'roc_notify' in 'struct mt792x_phy'
423 | if (aborted && phy->roc_notify)
| ~~~ ^
drivers/net/wireless/mediatek/mt76/mt7921/main.c:441:7: error: no member named 'roc_notify' in 'struct mt792x_phy'
441 | phy->roc_notify = type == MT7921_ROC_REQ_ROC;
| ~~~ ^
drivers/net/wireless/mediatek/mt76/mt7921/main.c:484:7: error: no member named 'roc_notify' in 'struct mt792x_phy'
484 | phy->roc_notify = false;
| ~~~ ^
4 errors generated.
--
>> drivers/net/wireless/mediatek/mt76/mt7925/main.c:531:11: error: no member named 'roc_notify' in 'struct mt792x_phy'
531 | if (phy->roc_notify)
| ~~~ ^
drivers/net/wireless/mediatek/mt76/mt7925/main.c:569:22: error: no member named 'roc_notify' in 'struct mt792x_phy'
569 | if (aborted && phy->roc_notify)
| ~~~ ^
drivers/net/wireless/mediatek/mt76/mt7925/main.c:657:7: error: no member named 'roc_notify' in 'struct mt792x_phy'
657 | phy->roc_notify = false;
| ~~~ ^
3 errors generated.
vim +385 drivers/net/wireless/mediatek/mt76/mt7921/main.c
370
371 void mt7921_roc_abort_sync(struct mt792x_dev *dev)
372 {
373 struct mt792x_phy *phy = &dev->phy;
374
375 if (!test_and_clear_bit(MT76_STATE_ROC, &phy->mt76->state))
376 return;
377
378 timer_delete_sync(&phy->roc_timer);
379 cancel_work(&phy->roc_work);
380
381 ieee80211_iterate_interfaces(mt76_hw(dev),
382 IEEE80211_IFACE_ITER_RESUME_ALL,
383 mt7921_roc_iter, (void *)phy);
384
> 385 if (phy->roc_notify)
386 ieee80211_remain_on_channel_expired(mt76_hw(dev));
387 }
388 EXPORT_SYMBOL_GPL(mt7921_roc_abort_sync);
389
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the Linux-mediatek
mailing list