Now that i remember, a decade ago something like that happened on my iphone 4. It could not find any wifi. If i went to the iOS setting, the wifi MAC address was "not available". I just checked on my android phone, and the wifi MAC address is what's supposed to be
But ’#06’ shows correctly the IMEI and the other serials
Also, WiFi stopped working when the phone was in stock ROM with locked bootloader (wiping and changing roms was to try to see if it was hw or sw problem)