the LAN LEDs are controlled directly by the switch, and
in the official 17.01.4 the wifi LEDs do not work. If you are using later wifi drivers (like drivers compiled by eduperez for the stable branch) that are in line with kaloz/mwlwifi, the LEDs are directly controlled by the firmware/driver, and no config option is presented in Openwrt/LEDE.
So, it might be that you can't disable those LEDs.
OEM firmware is often built with Qualcomm proprietary drivers and tool chains. What the drivers supply often can’t replicate what Qualcomm’s can, especially as their data sheets are both not public and incomplete.