Programmable radio access network architecture for next-generation mobile networks