Patent attributes
An electronic device according to an embodiment of the present invention may include a housing and an antenna module disposed on one surface of the housing, wherein the antenna module may include a printed circuit board including a first layer facing the one surface of the housing, a second layer facing the first layer, and at least one ground layer disposed between the first layer and the second layer, a first antenna array disposed on the first layer, a second antenna array disposed on the second layer and at least partially overlapping the first antenna array when viewed from the one surface of the housing, and a communication circuit (radio frequency integrated circuit (RFIC)) electrically connected to the first antenna array and the second antenna array and feeding the first antenna array and the second antenna array, wherein the communication circuit may be configured to receive a first signal from an external device via at least one of the first antenna array or the second antenna array, change a phase of at least a portion of the first antenna array and the second antenna array based on the first signal, and transmit/receive a second signal in a direction of a beam formed by the changed phase. Other various embodiments could be derived from the description.