A communication device, comprising: a network interface; a memory; a processor interconnected with the network interface and the memory, the processor configured to: receive a command to initiate a wireless peer-to-peer connection with a second communication device; set an intent parameter corresponding to the communication device to a default value, and store the intent parameter in the memory; determine whether a link has been established between the network interface and a wireless base station; when a link has been established, adjust the intent parameter based on a channel type of the link, including selecting the same channel for use in the peer-to-peer connection as is already in use over the link; receive a second intent parameter corresponding to the second communication device via the network interface; determine whether the intent parameter is greater than the second intent parameter; when the determination is affirmative, configure the communication device as an access point for the peer-to-peer connection; and when the determination is negative, configure the communication device as a client for the peer-to-peer connection. a network interface; a memory; a processor interconnected with the network interface and the memory, the processor configured to: receive a command to initiate a wireless peer-to-peer connection with a second communication device; set an intent parameter corresponding to the communication device to a default value, and store the intent parameter in the memory; determine whether a link has been established between the network interface and a wireless base station; when a link has been established, adjust the intent parameter based on a channel type of the link, including selecting the same channel for use in the peer-to-peer connection as is already in use over the link; receive a second intent parameter corresponding to the second communication device via the network interface; determine whether the intent parameter is greater than the second intent parameter; when the determination is affirmative, configure the communication device as an access point for the peer-to-peer connection; and when the determination is negative, configure the communication device as a client for the peer-to-peer connection. receive a command to initiate a wireless peer-to-peer connection with a second communication device; set an intent parameter corresponding to the communication device to a default value, and store the intent parameter in the memory; determine whether a link has been established between the network interface and a wireless base station; when a link has been established, adjust the intent parameter based on a channel type of the link, including selecting the same channel for use in the peer-to-peer connection as is already in use over the link; receive a second intent parameter corresponding to the second communication device via the network interface; determine whether the intent parameter is greater than the second intent parameter; when the determination is affirmative, configure the communication device as an access point for the peer-to-peer connection; and when the determination is negative, configure the communication device as a client for the peer-to-peer connection.