Towards the opportunistic combination of mobile ad-hoc networks with infrastructure access