Disable Raspberry Pi WiFi
To completely disable the onboard WiFi from the firmware on the Pi3 / Pi4, add
dtoverlay=disable-wifiin /boot/config.txt.1
To completely disable the onboard WiFi from the firmware on the Pi3 / Pi4, add
dtoverlay=disable-wifiin /boot/config.txt.1