Electronic device capable of controlling frequency bands for wireless communication and operation method thereof
A electronic device includes a memory, a communication circuit that supports plural frequency bands for wireless local area network (WLAN) communication, and a processor operably connected to the memory and the communication circuit. The processor establishes WLAN communication with an access point (AP) over a first frequency band among the frequency bands, compares, based on a signal of a second frequency band different from the first frequency band being detected, the first frequency band with the second frequency band, determines, based on the second frequency band being higher than the first frequency band, a change in a strength of a signal received over the first frequency band, estimates, when the change indicates an increase in the strength, a link quality for the AP over the second frequency band, and switches the first frequency band for WLAN communication with the AP to the second frequency band based on the link quality.
1 . An electronic device comprising:
memory storing instructions;
communication circuitry configured to support a plurality of frequency bands for wireless local area network (WLAN) communication; and
a processor operably connected to the memory and the communication circuitry,
wherein the instructions, when executed by the processor, cause the electronic device to:
establish, via the communication circuitry, WLAN communication with an access point (AP) over a first frequency band among the plurality of frequency bands;
determine, based on detecting a signal of a second frequency band supported by the AP through a scan, whether the second frequency band is higher than the first frequency band;
based on determining that the second frequency band is higher than the first frequency band, identify whether a strength of a signal received over the first frequency band from the AP changes;
estimate, when the strength of the signal received over the first frequency band increases, a link quality for the AP over the second frequency band based on the strength of the signal received over the first frequency band from the AP; and
switch the first frequency band for WLAN communication with the AP to the second frequency band based on the link quality.
2 . The electronic device of claim 1 , wherein the instructions, when executed by the processor, cause the electronic device to determine whether the AP supports at least one different frequency band other than the first frequency band based on reduced neighbor report (RNR) information obtained over the first frequency band from the AP.
3 . The electronic device of claim 2 , wherein the RNR information is included in a beacon signal, a file discovery signal, or a probe response signal.
4 . The electronic device of claim 2 , wherein when the AP supports the at least one different frequency band, the instructions, when executed by the processor, cause the electronic device to identify the at least one different frequency band based on the RNR information, and search for the at least one different frequency band through a scan.
5 . The electronic device of claim 1 , wherein when the second frequency band is higher than the first frequency band, the instructions, when executed by the processor, cause the electronic device to store, in the memory, information about at least one of a difference between the strength of the signal received from the AP over the first frequency band obtained through a scan and a strength of the signal received from the AP over the second frequency band, an airtime fraction of the second frequency band, or the strength of the signal received from the AP over the first frequency band.
6 . The electronic device of claim 5 , wherein when the second frequency band is higher than the first frequency band, the instructions, when executed by the processor, cause the electronic device to further store, in the memory, information about at least one of robust security network (RSN), high efficiency (HE), high throughput (HT), or very high throughput (VHT) obtained through the scan in relation to the second frequency band.
7 . The electronic device of claim 5 ,
wherein the instructions, when executed by the processor, cause the electronic device to:
estimate the strength of the signal received from the AP over the second frequency band, based on the strength of the signal received from the AP over the first frequency band and the difference, stored in the memory, between the strength of the signal received from the AP over the first frequency band and the strength of the signal received from the AP over the second frequency band; and
estimate the link quality of the AP over the second frequency band based on the strength that is estimated and the airtime fraction of the second frequency band.
8 . The electronic device of claim 1 , wherein the instructions, when executed by the processor, cause the electronic device to:
determine that the electronic device is moved in a direction in which the AP is located when the strength of the signal received from the AP over the first frequency band increases; and
estimate, when the electronic device is moved in the direction in which the AP is located, the link quality for the AP over the second frequency band based on the strength of the signal received from the AP over the first frequency band.
9 . The electronic device of claim 1 , wherein when the link quality satisfies a frequency switching condition, the instructions, when executed by the processor, cause the electronic device to switch the first frequency band to the second frequency band.
10 . The electronic device of claim 1 , wherein the instructions, when executed by the processor, cause the electronic device to:
perform a scan related to the second frequency band when the link quality satisfies a frequency switching condition; and
switch the first frequency band to the second frequency band based on a scan result of the scan.
11 . An operation method of an electronic device, the method comprising:
performing wireless local area network (WLAN) communication with an access point (AP) over a first frequency band among a plurality of frequency bands supported by the electronic device for WLAN communication;
determining, based on detecting a signal of a second frequency band supported by the AP through a scan, whether the second frequency band is higher than the first frequency band;
based on determining that the second frequency band is higher than the first frequency band, identifying whether a strength of a signal received over the first frequency band from the AP changes;
estimating, when the strength of the signal received over the first frequency band increases, a link quality for the AP over the second frequency band based on the strength of the signal received over the first frequency band from the AP; and
switching the first frequency band for WLAN communication with the AP to the second frequency band based on the link quality.
12 . The operation method of claim 11 , further comprising determining whether the AP supports at least one different frequency band other than the first frequency band based on reduced neighbor report (RNR) information obtained from the AP over the first frequency band.
13 . The operation method of claim 12 , wherein the RNR information is included in a beacon signal, a file discovery signal, or a probe response signal.
14 . The operation method of claim 12 , further comprising based on the AP supporting the at least one different frequency band:
identifying the at least one different frequency band based on the RNR information; and
searching for the at least one different frequency band through a scan.
15 . The operation method of claim 11 , further comprising, when the second frequency based is higher than the first frequency band, storing, in a memory of the electronic device, information about at least one of a difference between the strength of the signal received from the AP over the first frequency band and a strength of the signal received from the AP over the second frequency band, an airtime fraction of the second frequency band, or the strength of the signal received from the AP over the first frequency band.
16 . The operation method of claim 15 , wherein storing information in the memory comprises further storing, in the memory, information about at least one of robust security network (RSN), high efficiency (HE), high throughput (HT), or very high throughput (VHT) obtained through a scan in relation to the second frequency band.
17 . The operation method of claim 15 ,
wherein the estimating comprises:
estimating the strength of the signal received from the AP over the second frequency band based on the strength of the signal received from the AP over the first frequency band and the difference, stored in the memory, between the strength of the signal received from the AP over the first frequency band and the strength of the signal received from the AP over the second frequency band; and
estimating the link quality for the AP over the second frequency band based on the strength that is estimated and the airtime fraction of the second frequency band.
18 . The operation method of claim 11 , wherein the estimating comprises:
determining that the electronic device is moved in a direction in which the AP is located when the strength of the signal received from the AP through the first frequency band increases; and
estimating, when the electronic device is moved in the direction in which the AP is located, the link quality for the AP over the second frequency band based on the strength of the signal received from the AP over the first frequency band.
19 . The operation method of claim 11 , wherein the first frequency band for WLAN communication with the AP is switched to the second frequency band when the link quality satisfies a frequency switching condition.
20 . The operation method of claim 11 , wherein the switching comprises:
performing a scan related to the second frequency band when the link quality satisfies a frequency switching condition; and
switching the first frequency band to the second frequency band based on a scan result of the scan.