I had this exact problem, but with bluetooth not wifi. It would connect/disconnect/reconnect etc. This happened with the Chevy ULV and LV Kernels. Everything else on the phone (including wifi) worked perfectly. I switched to a MV kernel and the problem was solved. I think that the chip just needs a higher voltage than these LV and ULV kernels provide in order to drive all of the ancillary functions like bluetooth and wifi plus keeping the core processor functions running. So try a MV kernel and see if that cures it for you.