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

Felix Fietkau nbd at nbd.name
Mon Mar 10 03:41:06 PDT 2025


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



More information about the linux-arm-kernel mailing list