| CPC H04B 7/0834 (2013.01) [H04L 1/0061 (2013.01); H04W 4/023 (2013.01)] | 12 Claims |

|
1. An electronic device for finding a direction of a neighboring device in a wireless communication system, the electronic device comprising:
an antenna array including a first antenna and a second antenna for receiving a radio frequency (RF) signal;
an antenna switch configured to switch from the first antenna to the second antenna; and
a controller configured to:
control the antenna switch to receive the RF signal from the neighboring device through the first antenna;
control the antenna switch to switch from the first antenna to the second antenna to receive the RF signal during a time interval in which an error detection code is detected; and
detect the direction in which the neighboring device is located based on a result of decoding the error detection code.
|