Re: [PATCH v9 RESEND] wifi: mt76: mt7915: add wds support when wed is enabled

From: Felix Fietkau
Date: Mon Mar 10 2025 - 06:57:36 EST


On 10.03.25 11:33, Shengyu Qu wrote:
if (IS_ENABLED(CONFIG_NET_MEDIATEK_SOC_WED) ... ?
I did a search in code about this, seems current MT76 code is using a
mix of IS_ENABLED and ifdef. And this file already have a ifdef
implementation. I prefer keep it as is and use another patch to convert
the whole mt76 driver.

The driver uses #ifdef where it relies on struct members that are also #ifdef'd out, and using IS_ENABLED would lead do build failures.

- Felix