This question already has an answer here:
I have a MacBook Pro with retina display model A1502. I updated it to MacOS X El Capitan. The Wi-Fi connection is still not working. It works for sleep mode.
I followed this answer Wifi Keeps Dropping Macbook Pro 13in Retina Early 2015 but it is not working for me.