Most Linux distributions don’t ship with the wireless drivers for the MacBook Pro 2012.
This method should work on any Linux distribution that supports this firmware.
This is an offline method; you will need a second computer to copy the zip archive specified and moved to the MacBook Pro 2012 or use Ethernet (with adapter) to download this archive.