Text this: A joint optimization algorithm based on energy efficiency maximization for massive MIMO systems