A communication apparatus, comprising: providing means for performing a provision process for providing a communication parameter via wireless communication; receiving means for performing a reception process for receiving the communication parameter via wireless communication; and selection means for selecting whether to perform the provision process by the providing means or the reception process by the receiving means based on information of a first other communication apparatus (S312-S315); characterized by further comprising: switching means for switching, based on a state of the communication apparatus, between performance of selection by the selection means for providing or receiving the communication parameter and performance of providing or receiving the communication parameter without the selection by the selection means; and transmission means for transmitting a signal for suppressing that a second other communication apparatus requests the communication parameter from the communication apparatus while the provision process for providing the first other communication apparatus with the communication parameter is performed by the providing means, wherein the second other communication apparatus is different from the first other communication apparatus. providing means for performing a provision process for providing a communication parameter via wireless communication; receiving means for performing a reception process for receiving the communication parameter via wireless communication; and selection means for selecting whether to perform the provision process by the providing means or the reception process by the receiving means based on information of a first other communication apparatus (S312-S315); characterized by further comprising: switching means for switching, based on a state of the communication apparatus, between performance of selection by the selection means for providing or receiving the communication parameter and performance of providing or receiving the communication parameter without the selection by the selection means; and transmission means for transmitting a signal for suppressing that a second other communication apparatus requests the communication parameter from the communication apparatus while the provision process for providing the first other communication apparatus with the communication parameter is performed by the providing means, wherein the second other communication apparatus is different from the first other communication apparatus. switching means for switching, based on a state of the communication apparatus, between performance of selection by the selection means for providing or receiving the communication parameter and performance of providing or receiving the communication parameter without the selection by the selection means; and transmission means for transmitting a signal for suppressing that a second other communication apparatus requests the communication parameter from the communication apparatus while the provision process for providing the first other communication apparatus with the communication parameter is performed by the providing means, wherein the second other communication apparatus is different from the first other communication apparatus.