Optimal CSMA scheduling with dual access probability for wireless networks