The present invention relates to rate adaptation for wireless communications, and more particularly, to rate adaptation methods for a wireless communication apparatus, and to a wireless communication apparatus for performing wireless communication with rate adaptation.
Please refer to
According to the related art, when it is detected that the secondary channel is idle, the conventional WLAN device uses the 40 MHz mode as shown in
In some occasions, however, when using the 40 MHz mode as determined according to the rate selection method shown in
It is therefore an objective of the claimed invention to provide rate adaptation methods for a wireless communication apparatus, and to provide a wireless communication apparatus for performing wireless communication with rate adaptation, in order to solve the aforementioned problems.
It is another objective of the claimed invention to provide rate adaptation methods for a wireless communication apparatus, and to provide a related apparatus, in order to enhance the overall performance of the wireless communication apparatus.
An exemplary embodiment of a rate adaptation method for a wireless communication apparatus comprises: determining at least one estimation value regarding communication quality of the wireless communication apparatus; and determining whether to use a first mode or a second mode according to the estimation value, where the first mode and the second mode correspond to different values of an overall data rate of the wireless communication apparatus.
An exemplary embodiment of a rate adaptation method for a wireless communication apparatus which is within a wireless communication system utilizing a primary channel and a secondary channel comprises: detecting whether the secondary channel is idle; and determining whether to use a first bandwidth mode or a second bandwidth mode according to whether the secondary channel is idle and according to at least one estimation value corresponding to communication quality of the primary channel and/or the secondary channel, wherein the first bandwidth mode and the second bandwidth mode correspond to different values of an overall data rate of the wireless communication apparatus.
An exemplary embodiment of a rate adaptation method for a wireless communication apparatus comprises: determining at least one estimation value regarding communication quality of the wireless communication apparatus; and determining whether to use a first guard interval (GI) mode or a second GI mode according to the estimation value, wherein the first GI mode and the second GI mode correspond to different values of an overall data rate of the wireless communication apparatus.
An exemplary embodiment of a wireless communication apparatus for performing wireless communication with rate adaptation comprises: a processing circuit; and a wireless receiver and a wireless transmitter, both coupled to the processing circuit. The processing circuit determines at least one estimation value regarding communication quality of the wireless communication apparatus, and further determines whether to use a first mode or a second mode according to the estimation value, where the first mode and the second mode correspond to different values of an overall data rate of the wireless communication apparatus. In addition, the wireless receiver receives data wirelessly according to the control of the processing circuit. Additionally, the wireless transmitter transmits data wirelessly according to the control of the processing circuit.
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, which refer to particular components. As one skilled in the art will appreciate, electronic equipment manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not in function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
Please refer to
As shown in
According to this embodiment, the processing circuit 110 determines at least one estimation value regarding communication quality of the wireless communication apparatus 100, and further determines whether to use a first mode or a second mode according to the estimation value. Here, the first mode and the second mode correspond to different values of an overall data rate of the wireless communication apparatus 100. In this embodiment, the first mode represents a first bandwidth mode, and the second mode represents a second bandwidth mode. More particularly, in this embodiment, the first bandwidth mode corresponds to a greater value of the overall data rate than that of the second bandwidth mode. In addition, the wireless communication apparatus 100 of this embodiment is within a wireless communication system utilizing a primary channel and a secondary channel, where the estimation value of this embodiment corresponds to communication quality of the primary channel and/or the secondary channel for being utilized by the wireless communication apparatus 100.
In practice, the wireless communication apparatus 100 operates by utilizing Orthogonal Frequency Division Multiplexing (OFDM) modulation, where the data rate of wireless communication apparatus 100 can be changed adaptively in accordance with a transmission bandwidth. For example, the transmission bandwidth can be 20 MHz or 40 MHz as defined in 802.11n specifications, so the corresponding bandwidth modes such as a 20 MHz mode or a 40 MHz mode can be adaptively selected.
For better comprehension, the 40 MHz bandwidth is exemplarily divided into an upper 20 MHz (U20) bandwidth and a lower 20 MHz (L20) bandwidth as mentioned above. In addition, the primary channel and the secondary channel of this embodiment respectively have 20 MHz bandwidths within the 40 MHz bandwidth (e.g. the U20 bandwidth and the L20 bandwidth), where the primary channel and the secondary channel are available when the 40 MHz bandwidth is supported. Thus, in this embodiment, the primary channel and the secondary channel both represent frequency bands.
According to this embodiment, the processing circuit 110 determines whether to use the first bandwidth mode (e.g. the 40 MHz mode) or the second bandwidth mode (e.g. the 20 MHz mode) according to whether the secondary channel is idle and according to the estimation value mentioned above. In addition, the estimation value of this embodiment represents an abnormal clear channel assessment (CCA) occurrence rate regarding the primary channel and/or the secondary channel. More specifically, the abnormal CCA occurrence rate of this embodiment represents the occurrence rate of an event that the primary channel is idle but the secondary channel is not idle.
Regarding this, according to the flowchart shown in
In Step 912, the processing circuit 110 determines whether the secondary channel is idle, where the processing circuit 110 of this embodiment determines whether the secondary channel is idle by detecting whether the secondary channel has been idle for a specific duration. According to this embodiment, the criterion for determining whether the secondary channel is idle in this embodiment can be the same as that in 9.20.2 of IEEE 802.11n specifications. For example, when the secondary channel has been idle for the specific duration such as a duration of at least PIFS immediately preceding the expiration of the backoff counter, the secondary channel is considered idle.
As shown in
In Step 914, the processing circuit 110 determines whether to use the first bandwidth mode (e.g. the 40 MHz mode) or the second bandwidth mode (e.g. the 20 MHz mode) according to the abnormal CCA occurrence rate. As shown in
As a result, when the secondary channel is idle and the abnormal CCA occurrence rate does not reach the threshold, the processing circuit 110 determines to use the first bandwidth mode; otherwise, the processing circuit 110 determines to use the second bandwidth mode.
In this embodiment, the event that the primary channel is idle but the secondary channel is not idle can be referred to as the “abnormal CCA events” since these kind of events are not allowed according to 11n standard but may occur due to co-channel interference. By applying the method 910 shown in
According to a variation of this embodiment, the criterion for determining whether the secondary channel is idle can be different from that in 9.20.2 of IEEE 802.11n specifications. For example, when the secondary channel has been idle for a specific duration determined according to some other specifications, the secondary channel is considered idle.
According to another variation of this embodiment, the idle detection operation of Step 912 and the abnormal CCA occurrence detection operation of Step 914 can be performed at the same time, where the criteria for determining whether to enter Step 916 or Step 918 can be implemented with a predetermined table to achieve the same results as those of the method 910 shown in
According to another variation of this embodiment, Step 912 and Step 914 can be executed in a reversed order, where the criteria for determining whether to enter Step 916 or Step 918 can be implemented with a predetermined table to achieve the same results as those of the method 910 shown in
According to another variation of this embodiment, the whole operation shown in
According to another variation of this embodiment, a pseudo code specifies practical steps for implementing similar operations as mentioned above. First, some basic definitions are listed below:
Since the resolution is Lr μsec, there are Q/Lr time slots for Q μsec. The pseudo code can be described as follows.
In Line S1-4 of the pseudo code listed above, when the ratio Cnt_Abnormal_CCA/(Q/Lr) is greater than the threshold P, the flag X_CCA_FLAG is raised to indicate that the abnormal CCA occurrence rate reaches the threshold P; otherwise, the flag X_CCA_FLAG is set as zero. Then, Line S1-1 is re-entered to repeat the whole pseudo code.
According to this embodiment, the processing circuit 110 determines a plurality of estimation values corresponding to fading degrees of the primary channel and the secondary channel, respectively. In Step 934, the processing circuit 110 determines whether to use the first bandwidth mode (e.g. the 40 MHz mode) or the second bandwidth mode (e.g. the 20 MHz mode) according to whether the secondary channel has more serious fading than the primary channel. As shown in
As a result, when the secondary channel is idle and the secondary channel does not have more serious fading than the primary channel, the processing circuit 110 determines to use the first bandwidth mode; otherwise, the processing circuit 110 determines to use the second bandwidth mode.
According to a variation of this embodiment, a pseudo code regarding judgment via constellation errors specifies practical steps for implementing similar operations as mentioned above. In this variation, the estimation values represent constellation errors of the primary channel and the secondary channel, respectively. In addition, the processing circuit 110 measures the constellation errors of the primary channel and the secondary channel, respectively. The pseudo code can be described as follows.
It is noted that Line S2-3 of the pseudo code listed above can also be replaced as follows.
In Line S2-3′, Cnt_Tone_Err—1 and Cnt_Tone_Err—2 represent Cnt_Tone_Err for the primary channel and the secondary channel, respectively.
According to another variation of this embodiment, the judgment is based on tone energy instead of the constellation errors mentioned above. In this variation, the estimation values represent tone energy of the primary channel and the secondary channel, respectively. In addition, the processing circuit 110 measures the tone energy of the primary channel and the secondary channel, respectively.
In order to measure the tone energy, for example, the processing circuit 110 of this variation measures the average channel (band) power for the primary channel and the secondary channel, respectively. If the average channel power of the primary channel is greater than that of the secondary channel, and if a difference between the average channel power of the primary channel and the average channel power of the secondary channel reaches a threshold, the processing circuit 110 determines that the secondary channel is not suitable for transmission and determines to use the second bandwidth mode (e.g. the 20 MHz mode); otherwise, the processing circuit 110 determines that the secondary channel is suitable for transmission and determines to use the first bandwidth mode (e.g. the 40 MHz mode).
It is noted that, according to a variation of the embodiment shown in
Regarding IEEE 802.11n applications, a conventional wireless device such as the conventional WLAN device utilizing the rate selection method shown in
According to a second embodiment, which is a variation of the first embodiment, the first mode represents a first guard interval (GI) mode, and the second mode represents a second GI mode, and the processing circuit 110 of this embodiment determines whether to use the first GI mode or the second GI mode by comparing the estimation value with a threshold.
More particularly, in this embodiment, the first GI mode represents a short GI mode, and the second GI mode represents a normal GI mode. According to the control of the processing circuit 110, the symbol duration can be changed by switching between the normal GI mode and the short GI mode, so that the data rate of the wireless communication apparatus 100 of this embodiment can be adaptively changed.
In this embodiment, when the estimation value reaches the threshold, the processing circuit 110 determines to use the short GI mode; otherwise, the processing circuit 110 determines to use the normal GI mode. In practice, the estimation value represents a received signal strength. For example, the processing circuit 110 measures the received signal strength. When the received signal strength reaches the threshold such as a threshold THRS_RSS, the processing circuit 110 determines to use the short GI mode; otherwise, the processing circuit 110 determines to use the normal GI mode.
The short GI mode is introduced in order to reduce transmission redundancy. The duration for a short GI is 400 ns, which is half of a normal GI. Thus, the short GI can be used in the channel environment whose delay spread is less than 400 ns. It is intuitive that a time domain impulse response of a channel can be utilized for judging whether it is appropriate to use the short GI. Unfortunately, to obtain the time domain impulse response of the channel, an FFT is required for converting an estimated frequency channel response to the time domain impulse response. In general, such extra complexity and corresponding high cost are not affordable in WLAN applications. According to the second embodiment, a rough estimation of channel condition(s) can be derived, in order to determine when to use short GIs. Therefore, the extra complexity and the corresponding high cost mentioned above are no longer required according to the present invention.
According to a variation of the second embodiment, the estimation value represents a transmission data rate instead of the received signal strength. For example, the processing circuit 110 monitors the transmission data rate. When the transmission data rate reaches the threshold such as a threshold THRS_RATE, the processing circuit 110 determines to use the short GI mode; otherwise, the processing circuit 110 determines to use the normal GI mode.
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.