Patent ID: 8695057

Claim:
A communication apparatus which sets communication parameters, comprising: a CPU programmed to perform the functions of a selection unit configured to select either a first operation mode for sharing communication parameters, which are for forming a wireless network, between the communication apparatus and another communication apparatus or a second operation mode for sharing communication parameters, which are for forming a wireless network, among the communication apparatus and a plurality of other communication apparatuses; and a control unit configured to control the communication parameters set in the communication apparatus by a different management method in accordance with the operation mode selected by said selection unit, wherein, in a case that the communication apparatus is instructed to operate in the second operation mode after the communication apparatus set first communication parameters shared in the first operation mode, a wireless network is formed using the second communication parameter shared in the second operation mode and the setting of the first communication parameter is temporarily released, and then, in a case that a communication over the wireless network formed using the second communication parameter is completed, the communication apparatus sets the first communication parameters again.