Hostapd and 802.1q vlan tagging with DSA devices

This config works fine with my netgear wax 206 (mt7622). Now I'm struggling to get it working in xiaomi ax9000 (IPQ8074) Exactly same config seems to work with the QCA9887 radio in same router.

Mon Oct 30 11:53:20 2023 daemon.notice netifd: radio2 (8233): WARNING: Variable 'data' does not exist or is not an array/object

Mon Oct 30 11:53:20 2023 daemon.err hostapd: Failed to create interface phy2-ap0-vlan3: -95 (Not supported)
Mon Oct 30 11:53:20 2023 daemon.err hostapd: VLAN: Could not add VLAN phy2-ap0-vlan3: No such device
Mon Oct 30 11:53:20 2023 daemon.err hostapd: VLAN initialization failed.


Any Ideas ?