added the functionality to fetch subsequently the next AP with the highest rssi