UPDATE:
I was doing some research and blackberry says they connect UMA on TCP ports 4500 and 500..... so i opened those ports on my router for my 9700 and wifi hasn't cut out in over 12 hours i would say the problem has been fixed.......... if it gives any trouble i'll let you guys know.
BlackBerry - Wi-Fi - BlackBerry Smartphones with Wi-Fi