The Meshtastic firmware does not support the 1W transceiver with the RAK3312.
The RAK3312 has already an internal LoRa transceiver and Meshtastic does only support this internal LoRa transceiver, not the external 1W transceiver.
So replacing the RAK3401 with a RAK3312 does not work.