In previous Wi-Fi generations, a device can only connect to one Wi-Fi band such as 2.4 GHz (gigahertz) band, 5 GHz band or 6 GHz band. In a Wi-Fi 7 generation, a multi-link operation (MLO) is provided to establish multiple links between devices, and the MLO enables devices to simultaneously send and receive data across different frequency bands and channels. That is, two or more channels in the 2.4 GHz band, 5 GHz band or 6 GHz band can be used simultaneously, to increase the throughput of the devices.
However, the throughput, latency or robust of the MLO may be degraded if a packet error rate of one link becomes higher. Therefore, how to control the links of the MLO to keep high performance is an important topic.
It is therefore an objective of the present invention to provide a wireless communication method, which can adjust a link plan and/or special stream setting to optimize the performance of the electronic device, to solve the above-mentioned problems.
According to one embodiment of the present invention, a wireless communication method of an electronic device comprises the steps of: determining one link plan from a plurality link plans; using the determined link plan as a current link plan to configure a first link and a second link of the electronic device to communicate with another electronic device; determining whether the current link plan satisfies a first condition; in response to the current link plan satisfying the first condition, determining whether performance of another link plan is better than performance of the current link plan; and in response to the performance of another link plan being better than the performance of the current link plan, determining the another as the current link plan to configure the first link and the second link of the electronic device to communicate with the another electronic device.
According to one embodiment of the present invention, a wireless communication method of an electronic device comprises the steps of: using a current number of spatial stream (NSS) setting to configure a first link and a second link of the electronic device, wherein the first link corresponds to a first NSS, and the second link corresponds to a second NSS; determining whether the first link satisfies a condition; and in response to the first link satisfying the second condition, if the first NSS is greater than one, decreasing the first NSS of the first link and increasing the second NSS of the second link.
According to one embodiment of the present invention, a circuitry of an electronic device configured to perform the steps of: determining one link plan from a plurality link plans; using the determined link plan as a current link plan to configure a first link and a second link of the electronic device to communicate with another electronic device; determining whether the current link plan satisfies a first condition; in response to the current link plan satisfying the first condition, determining whether performance of another link plan is better than performance of the current link plan; and in response to the performance of another link plan being better than the performance of the current link plan, determining the another as the current link plan to configure the first link and the second link of the electronic device to communicate with the another electronic device.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Certain terms are used throughout the following description and claims to refer to particular system components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following discussion and in the claims, the terms “including” and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to . . . ”. The terms “couple” and “couples” are intended to mean either an indirect or a direct electrical connection. Thus, if a first device couples to a second device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
In this embodiment, the electronic device 100 supports the MLO of Wi-Fi 7 generation, that is, the electronic device 100 can establish two or more links with the electronic device 102, and simultaneously send and receive packets via these two or more links.
In addition, the switching circuit 160 is configured to couple the physical layer 150_1 to a portion of the plurality of antennas 170_1-170_N, and couple the physical layer 150_2 to the other portion of the plurality of antennas 170_1-170_N, to determine a number of spatial stream (NSS) of the Link-0 and an NSS of the Link-1. For example, if the electronic device 100 has four antennas 170_1-170_4, the switching circuit 160 may couple the physical layer 150_1 to the antennas 170_1-170_2, and couple the physical layer 150_2 to the antennas 170_3-170_4, so that the Link-0 has two spatial streams (NSS=2), and the Link-1 has two spatial streams (NSS=2). In addition, the switching circuit 160 may couple the physical layer 150_1 to the antennas 170_1-170_3, and couple the physical layer 150_2 to the antenna 170_4, so that the Link-0 has three spatial streams (NSS=3), and the Link-1 has only one spatial stream (NSS=1).
In Step 204, the control circuit within the MAC layer 140 selects a link plan from the link plan candidates according to performance of the link plan candidates. Specifically, the circuit within the MAC layer 140 may periodically detect the performance of the link plan candidates, or the MAC layer 140 uses the recorded performance of the previous connections, for the selection of the link plan. Taking
In Step 206, the MAC layer 140 and the physical layers 150_1 and 150_2 use the second link plan for the wireless communication with the electronic device 102, that is, the Link-0 uses the channel of the 2.4G band, and the Link-1 uses the channel of the 6G band.
In Step 208, the MAC layer 140 determines if the current link plan satisfies at last one condition, if yes, the flow enters Step 210; and if not, the flow goes back to Step 206. In this embodiment, the at least one condition may indicate that the performance of the current link plan is lower than a threshold. For example, the MAC layer 140 may determine if a packet error rate (PER) of the Link-0 and the Link-1 is greater than a threshold value such as 50%, wherein the current link plan satisfies the condition if the PER of the current link Link-0 and the Link-1 is greater than the threshold value; or the MAC layer 140 may determine if the goodput of the current link plan is lower than a threshold value, wherein the current link plan satisfies the condition when the goodput of the current link plan is lower than the threshold value.
In Step 210, the MAC layer 140 determines if another link plan is better than the current link plan, if yes, the flow enters Step 212; and if not, the flow goes back to Step 206. In Step 212, the MAC layer 140 and the physical layers 150_1 and 150_2 switch to the other link plan from the current link plan. Taking
In light of above, by using the embodiment shown in
In addition, after the link plan is determined and used, the MAC layer 140 and the physical layers 150_1 and 150_2 can further determine the NSS of each link dynamically, to optimize the goodput/throughput of the two links.
In Step 504, the MAC layer 140 and the physical layers 150_1 and 150_2 use the NSS setting determined in Step 502 to communicate with the electronic device 102.
In Step 506, the MAC layer 140 or the physical layers 150_1 and 150_2 determine if one of the links satisfies at last one condition, if yes, the flow enters Step 508; and if not, the flow goes back to Step 504. In this embodiment, the at least one condition may indicate that the performance of two links are unbalanced. In one embodiment, the MAC layer 140 or the physical layers 150_1 and 150_2 may determine if a difference between the goodput of the Link-0 per NSS and the goodput of the Link-1 per NSS is greater than a threshold, and if the difference is greater than the threshold, the link with lower throughput satisfies at last one condition. For example, the MAC layer 140 or the physical layers 150_1 and 150_2 may determine if the goodput of one link is lower than the goodput of the other link multiplied by a ratio, wherein the ratio is between zero and one, such as value ranging from 0.5 to 0.8. Referring to
In Step 508, the MAC layer 140 or the physical layers 150_1 and 150_2 determines if the one of the links has only one spatial stream (NSS=1), if yes, the flow goes back to Step 504; and if not, the flow enters Step 510.
In Step 510, the MAC layer 140 and the or the physical layers 150_1 and 150_2 reconfigure the NSS setting to lower the NSS of the one link, and increase the NSS of the other link, that is one antenna of the one link is switched to the other link. Taking
In addition, the Step 508 is performed to avoid traffic loss when the NSS setting is changed. That is, even if the goodput of the Link-1 is much better than the goodput of the Link-0, the Link-0 must have at least one spatial stream.
Briefly summarized, in the wireless communication method of the present invention, by monitoring the goodputs/throughputs of two or more links, the electronic device can know which link's goodput/throughput has dropped, so that the electronic device can adjust the link plan and/or the NSS setting to improve the performance.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims
This application claims the benefit of U.S. Provisional Application No. 63/347,594, filed on Jun. 1, 2022. The content of the application is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
63347594 | Jun 2022 | US |