In an electronic device and an operating method thereof according to an embodiment, the electronic device may include a communication circuitry supporting short-range
wireless communication and neighbor awareness network (NAN) communication; a memory storing at least one
computer program; and at least one processor. The at least one
computer program may include instructions that cause, when executed by the at least one processor individually or collectively, the electronic device to connect to a first access point (AP) through a non-dynamic
frequency selection (non-DFS) channel, transmit, to an external electronic device, a first
service discovery frame including information related to a DFS channel and information indicating a maximum bandwidth supportable by the electronic device, in a process of discovering the external electronic device to be connected via an NAN
data path (NDP), connect to a second AP supporting the DFS through the DFS channel while maintaining a connection between the first AP and the electronic device, upon identifying, based on a second
service discovery frame received from the external electronic device, that the external electronic device supports the DFS and a maximum bandwidth supportable by the external electronic device is greater than a bandwidth of the non-DFS channel, establish the NDP with the external electronic device, based on the first
service discovery frame and / or the second service discovery frame, and perform NAN communication with the external electronic device, based on first schedule information related to performing the NAN communication through a
frequency band of the non-DFS channel and a
frequency band of the DFS channel. The first schedule information may enable the external electronic device and the electronic device to perform the NAN communication through the
frequency band of the non-DFS channel and the frequency band of the DFS channel during a first period between discovery windows.