How to offload lan-wlan

I want to offload flow of lan<-->wlan.
But I don't know how to config the nftables rule.

Anyone can help me?

Thanks.

Is WLAN = VLAN ?

No, it's wlan<-->lan1-lan4. I need to maximum wlan's throughput.

I run the following command, but get "Error: syntax error, unexpected type"

nft add rule inet fw4 ingress { type filter hook ingress priorit
y filter\}