# Patent

## Title
Complementary code keying (CCK) sequentially decoding apparatus and process thereof

## Abstract

An apparatus of sequentially decoding CCK codes includes a series of received signal registers used to respectively temporarily save the received signals, a phase selector used to select one numeral from 1, −1, j or −j respectively for CCK code of each chip to multiple with the signal register, a series of adders used to sequentially complete adding operation, a series of sequential operation registers used to save values obtained from the sequential selecting operation of the phase selectors and the sequential adding operation of the adders, and a comparing device used to select a maximal value from those saved in the operation registers. The comparing device includes a comparator and a maximum register. According to the invention, the data processing speeds up while the hardware complexity is reduced.

## Background
BACKGROUND OF THE INVENTION
1. Field of Invention
The present invention relates to a complementary code keying (CCK) sequentially decoding apparatus and a process of sequentially decoding CCK codes.
2. Related Art
802.11b greatly contributes to increase in two speeds of 5.5 Mbps and 11 Mbps in PHY of 802.11 protocol. In order to realize this object, a direct sequence spread spectrum (DSSS) is used as the only PHY transmission standard through which the 802.11b system can be compatible with the 802.11bps DSSS system of 1 Mbps and 2M.
At the beginning, the DSSS system of 802.11b uses a 11-digit chipping-barker sequence for data encoding and transmitting. Each 11-digital chipping represents a 1-bit digit signal: 1 or 0. This sequence is transformed into a symbol and then transmitted in the air at 1 Mbps (1M symbols per second) by a binary phase shifting keying (BPSK) mechanism. The mechanism of 2 Mbps transmission is more complex than the above and is called a ‘quadrature phase shifting keying (QPSK)’. The data transmission rate of the QPSK is twice that of a BPSK and thus the bandwidth for the wireless transmission is increased.
In 802.11b standard, an advanced encoding technology is based on the complementary code keying instead of the 11-digit Baker sequence. Its core encoding includes 64 8-digit codes that can be correctly discriminated due to its special characteristics, even after interference or suffering multi-acceptation problems caused by reflection. 5.5 Mbps uses CCK series to transport the 4-bit digital data, and 11 Mbps uses CCK series to load 8-bit digital data.
FIG. 1 is a block diagram of the operation of a CCK tuner. An 8-bit series data is input and then divided into 8 groups by a series/parallel transformer 10. D0 ̃D5 are used to select CCK codes by a CCK code selector 20. That is, one orthogonal complement is selected from 64 ones according a certain rule, to obtain an 8-chip CCK code. Therefore, 6-bit data is tuned on the 8-chip CCK code. The CCK code includes a real part and an abstract part, that respectively correspond to I and Q paths to input to a differential circuit 30. In the differential circuit 30, D6 ̃D7 rotate the CCK codes with one phase selected from 0°, 90°, 180°, 270°. Since the signals of I and Q paths rotate together, those signals still are orthogonal, reducing the influence of channel distortion.
One of the CCK characteristics is the sum of vectors except where the sum of shift index is zero. This characteristic highly increases the channel discrimination under the interference of multiple paths.
The CCK code sequence consists of 8 digits on a complex plane. This combination of CCK and QPSK is capable of encoding the 8 bits of each symbol so that 802.11b standard can transmit a signal with a data rate of 11 Mbps. A symbol rate increases from 1 Msym/sec to 1.375 Msym/sec. Encoding 4 bits of each symbol by an 802.11b system reduces the data rate to 5.5 Mbps, if the RF condition is not good as the best one.
The implement of the 802.11b standard further includes keeping the basic 802.11 backward compatibility with 1 Mpbs and 2 Mbps. In addition to the fact that the data rate in this mechanism is 5.5 times DSSS, it is also important for companies to provide excellent discrimination in a multiplex environment.
At IEEE802.11b/g standard, CCK can be transmitted at two packet rates, 5.5M and 11M. At the packet rate of 5.5M, the initial data is transmitted with 4 bits as a unit by selecting one from 16 groups of CCK codes. At the packet rate of 11M, the initial signal is transmitted with 8 bits as a unit by selecting one from 256 groups of CCK codes. Each group of CCK codes includes 8 chips. A receiver must judge what the received CCK is and then decode the initial information. Usually, a correlation between the received signals and each group of CCK codes is calculated. The decoded initial data bits are respectively bits corresponding to maximal CCK correlation values.
FIG. 2 illustrates the operation of a CCK code decoder. Each correlation calculator is used to calculate the correlation between the received signals and the corresponding CCK codes. For example, the No. 45 correlation calculator performs the following operation:

r0*C*0—45+r1*C*1—45+ . . . +r7*C*7—45

wherein r0 . . . r7 is the received signals, C0—45 . . . C7—45 is No. 45 CCK code, * means conjugate. Although this operation is simple and direct, it needs an enormous amount of calculators and maximum search engines, which is very costly to implement in integrated circuits. The characteristic of CCK codes allows reducing the wiring complexity of CCK code correlation calculators via different mechanisms.

FIG. 3 is a schematic view of a conventional Fast Walsh Transform (FWT) device. FIG. 4 is a schematic view of a FWT applied in a system of calculating the correlation between IEEE802.11b/g-standard 11M CCK codes.
FIG. 4 is a schematic view of a FWT applied in a system calculating the correlation between IEEE802.11b/g-standard 11M CCK codes.

C={exp j(Φ1+Φ2+Φ3+Φ4), exp j(Φ1+Φ3+Φ4), exp j(Φ1+Φ2+Φ4), −exp j(Φ1+Φ4), exp j(Φ1+Φ2+Φ3), exp j(Φ1+Φ3), −exp j(Φ1+Φ2), exp j(Φ1)}

Wherein C is a code word, exp j(Φ1+Φ2+Φ3+Φ4), exp j(Φ1+Φ3+Φ4), exp j( 1+Φ2+Φ4), −exp j(Φ1+Φ4), exp j(Φ1+Φ2+Φ3), exp j(Φ1+Φ3), −exp j(Φ1+Φ2), exp j(Φ1) are respectively 8 chips. Φ1Φ2Φ3Φ4 are decided according to the digits to be transmitted. Each of Φ1Φ2Φ3Φ4 can be one of 0π/2π3π/2, therefore there are totally 44=256 code words.
In FIG. 3, signals X0X1X2X3X4X5X6X7are input and processed by a first layer (4 adders), a second layer (8 adders) and a third layer (16 adders) of FWT device to obtain 16 possible correlation results for X0X1X2X3X4X5X6X7.
In FIG. 4, 4 FWT devices are included; each has different Φ2 for output 64 correlation results for X0X1X2−X3X4X5−X6X7. A plurality of comparators arranged in a triangular array (not shown) compares the results to find the maximal one.
However, hardware sharing should be taken into consideration for both real-time data processing and reduction in the hardware complexity. If the real-time data processing can be achieved without hardware sharing, the required hardware is bulky. On the other hand, if the hardware sharing is well done, the data processing still takes time while the hardware complexity is uncertainly reduced. Therefore, there are two points needed to consider for the implementation of the FWT. First, 16 correlation values are not calculated until an eighth received signal is received. If the hardware sharing is not done, more adders are needed for speeding up the calculating speed. If the hardware sharing is done, the amount of adders can be reduced but more multiplexers are needed. Second, the comparison operation is not executed until all the 16 correlation values are obtained. The amount and complexity of comparators, and the real-time data processing are determined by the hardware sharing. If no hardware is shared, then 15 2-to-1 comparators are required, increasing the complexity of the system. If the hardware is heavily shared and a 2-to-1 comparator is used to compare the 16 correlation values, then 16 clocks are needed (it is assumed that 2-to-1 comparison can be finished in a clock). In this way, the comparison starts when all the 16 correlation values are obtained, which means the total processing time exceeds 16 clocks. Meanwhile, the amount of multiplexer increases and thus the complexity of the system cannot be reduced. Therefore, there is a need of a fast and less complex mechanism for calculating the correlation values.
U.S. patent application Ser. No. 09/753,047, titled “Fast Transform System for An Extended Data Rate WLAN System”, discloses a fast transform device which adds a set of Twiddle Factors respectively corresponding to Φ2Φ3Φ4 to modify existing rotation factors (1,j,−1,−j) by means of multiplication operation and thus reduces the operation times. However, this system still relies on the layered operation mechanism of the conventional FWT device.
SUMMARY OF THE INVENTION
It is therefore an object of the invention to provide a basic sequential complementary code keying (CCK) decoder and a process of sequentially decoding CCK codes that provide fast transformation with reduced hardware complexity.
In order to achieve the above and other objectives, the process of sequentially decoding CCK codes can be applied to a CCK code correlation calculation in a wireless network. The process receives a first received signal saved in a first signal register (X0), multiplies the signal with 1, −1, j or −j according to a first set of CCK codes of No. 0 chip (C0—1), this product is saved in a first operation register (R0). A second input signal is received and saved in a second signal register(X1), and multiplies with 1, −1, j or −j according to a first set of CCK codes of a No. 1 chip (C1—1), this product and the value of the first operation register (R0) adding up to be saved in a second operation register (R1). A third input signal is received and saved in a third signal register (X2), and multiplies with 1, −1, j or −j according to a first set of CCK codes of a No. 2 chip (C2—1), this product and the value of the second operation register (R1) add up to be saved in a third operation register (R2). A fourth input signal is received and saved in a fourth signal register (X3), and multiplies with 1, −1, j or −j according to a first set of CCK codes of a No. 3 chip (C3—1), this product and the value of the third operation register (R2) add up to be saved in a fourth operation register (R3). A fifth input signal is received and saved in a fifth signal register (X4), and multiplies with 1, −1, j or −j according to a first set of CCK codes of a No. 4 chip (C4—1), this product and the value of the fourth operation register (R3) add up to be saved in a fifth operation register (R4). A sixth input signal is received and saved in a sixth signal register (X5), and multiplies with 1, −1, j or −j according to a first set of CCK codes of a No. 5 chip (C5—1), this product and the value of the fifth operation register (R4) add up to be saved in a sixth operation register (R5). A seventh input signal is received and saved in a seventh signal register (X6), and multiplies with 1, −1, j or −j according to a first set of CCK codes of a No. 6 chip (C6—1), this product and the value of the sixth operation register (R5), and then is saved in a seventh operation register (R6). An eighth input signal is received and saved in an eighth signal register (X7), and multiples with 1, −1, j or −j according to a first set of CCK codes of a No. 7 chip (C7—1), this product and the value of the seventh operation register (R6) add up to be saved in an eighth operation register (R7).
The invention further provides an apparatus of sequentially decoding CCK codes that is applied to calculate CCK correlation in wireless network. The apparatus includes a series of received signal registers(X0X1X2X3X4X5X6X7) used to respectively temporarily save the received signals. A phase selector is used to select one numeral from 1−1,j or −j respectively for CCK code of each chip to multiply with the signal register. A series of adders (Adder1, Adder2, Adder3, Adder4, Adder5, Adder6 and Adder7) is used to sequentially complete adding operation. A series of sequential operation registers (R0R1R2R3R4R5R6R7) is used to save values obtained from the sequential selecting operation of the phase selectors and the sequential adding operation of the adders, and a comparing device is used to select a maximal value from those saved in the operation registers. The comparing device includes a comparator and a maximum register (R8).
The invention further has a system of sequentially decoding CCK codes, which is applied to calculate a CCK code correlation in a wireless network. The system includes a series of received signal registers (X0, X1, X2, X3, X4, X5, X6, X7) to temporarily save received signals, a first sequentially decoding module for sequentially decoding CCK codes according to the received signals, a second sequentially decoding module used to sequentially decode CCK codes according to the received signals, a third sequentially decoding module used to sequentially decode CCK codes according to the received signals, a fourth sequentially decoding module used to sequentially decode CCK codes according to the received signals, a fifth sequentially decoding module used to sequentially decode CCK codes according to the received signals, a sixth sequentially decoding module used to sequentially decode CCK codes according to the received signals, a seventh sequentially decoding module used to sequentially decode CCK codes according to the received signals; and an eighth sequentially decoding module used to sequentially decode CCK codes according to the received signals. Each sequentially decoding module includes a phase selector, a series of adders, a series of sequential operation registers, and a comparing device. The phase selector selects one of 1, −1, j or −j according to the CCK code of each chip to multiply with the corresponding value of the register. The series of adders (Adder1Adder2Adder3Adder4Adder5Adder6 and Adder7) is used to complete the adding operation in sequence. The series of sequential operation registers (R0, R1, R2, R3, R4, R5, R6, and R7) is used to save values obtained from the sequential selecting operation of the phase selectors and the sequential adding operation of the adders. The comparing device is used to select a maximal value among those saved in the operation registers. The comparing device includes a comparator and a maximum register (R8).
According to the invention, only 7 adders, 9 registers and one 2-to-1 comparator are needed, with a reduced amount of multiplexers. The amount of above components needed for decoding 64 sets of CCK codes in the prior art is eight times the present invention. Furthermore, compared to the prior FWT mechanism, only 15 clocks are needed for real-time data processing, which significantly speeds up the data processing with simplified hardware assembly.
Further scope of applicability of the present invention will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description.



BRIEF DESCRIPTION OF THE DRAWINGS
The present invention will become more fully understood from the detailed description given herein below illustration only, and thus is not limitative of the present invention, wherein:
FIG. 1 is a block diagram of the operation of a CCK tuner.
FIG. 2 is a schematic view of the operation of a CCK code decoder.
FIG. 3 is a schematic view of a conventional fast Walsh transformer (FWT).
FIG. 4 is a schematic view of a FWT applied in a system calculating the correlation between IEEE802.11b/g-standard 11M CCK codes.
FIGS. 5-1 and 5-2 are a flowcharts of a method sequentially decoding CCK codes according one embodiment of the invention.
FIG. 6 is a schematic view of an apparatus sequentially decoding CCK codes according one embodiment of the invention.
FIG. 7 is a CCK decoding apparatus according to one embodiment of the invention.
FIG. 8 is a flowchart of value operation according to one embodiment of the invention.
FIG. 9 is a schematic view of a 64-set basic sequential decoding system according to one embodiment of the invention.



DETAILED DESCRIPTION OF THE INVENTION
FIG. 6 is a schematic view of an apparatus of sequentially decoding CCK codes according one embodiment of the invention. The apparatus of the invention is applied to calculate the CCK code correlation in a wireless network. The apparatus includes a series of received signal registers 601, a phase selector 602, a series of adders 603, a sequential operation register 604 and a comparing device 605.
The received signal registers 601 (X0, X1, X2, X3X4, X5, X6, X7) are used to respectively temporarily save the received signals.
The phase selector 602 is used to select one numeral from 1−1,j or −j respectively for CCK code of each chip to multiply with the signal register.
The series of adders 603 (Adder1, Adder2, Adder3, Adder4, Adder5, Adder6 and Adder7) is used to sequentially complete the adding operation.
The series of sequential operation registers 604 (R0, R1, R2, R3, R4, R5, R6, and R7) is used to save values obtained from the sequential selecting operation of the phase selectors and the sequential adding operation of the adders, and a comparing device is used to select a maximal value from those saved in the operation registers.
The comparing device 605 includes a comparator 6051 and a maximum register (R8).
The comparator 6051 can be a 2-to-1 comparator.
The received signal registers 601 include a first signal register X0, a second signal register X1, a third signal register X2, a fourth signal register X3, a fifth signal register X4, a sixth signal register X5, a seventh signal register X6 and an eighth signal register X7.
The sequential operation registers 604 include a first operation register R0, a second operation register R1, a third operation register R2, a fourth operation register R3, a fifth operation register R4, a sixth operation register R5, a seventh operation register R6 and an eighth operation register R7.
The adders 603 include a first adder Adder1, a second Adder2, a third adder Adder3, a fourth Adder4, a fifth Adder5, a sixth Adder6 and a seventh Adder7.
X0 is subjected to the phase selection and multiplication and then saved in R0. Adder1 adds up R0 and the product of X1 multiplies with a selected phase (1, −1, j, −j) and saves the obtained sum in R1. Adder2 adds up R1 and the product of X2 multiplies with a selected phase (1, −1, j, −j), and saves the obtained sum in R2. Adder3 adds up R2 and the product of X3 multiplies with a selected phase (1, −1, j, −j), and saves the obtained sum in R3. Adder4 adds up R3 and the product of X4 multiplies with a selected phase (1, −1, j, −j), and saves the obtained sum in R4. Adder5 adds up R4 and the product of X5 multiplies with a selected phase (1, −1, j, −j), and saves the obtained sum in R5. Adder6 adds up R5 and the product of X6 multiplies with a selected phase (1, −1, j, −j), and saves the obtained sum in R6. Adder7 adds up R6 and the product of X7 multiplies with a selected phase (1, −1, j, −j), and saves the obtained sum saved in R7.
When a first received signal is received and saved in the first signal register (X0), the phase selector selects one phase from 1, −1, j or −j according to a first set of CCK codes of a No. 0 chip ( C0—1). This product is saved in the first operation register (R0). When a second input signal is received and saved in a second signal register (X1), the phase selector selects one phase from 1, −1, j or −j according to a first set of CCK codes of a No. 1 chip (C1—1). This product and the value of the first operation register (R0) add up to be saved in the second operation register (R1). Meanwhile, the phase selector selects a phase from 1, −1, j, −j according to a second set of CCK codes of a No. 0 chip (C0—2) to multiply with X0. Similarly, when an eighth input signal is received and saved in the eighth signal register (X7), the value generated by Adder7 and saved in R7 indicates the correlation between the corresponding received signal and the first CCK codes. At the next clock, the corresponding register stops inputting signals and starts repeating the above operations. The obtained values generated by Adder 7 and saved in R7 respectively indicate the correlation between the corresponding received signals and the second, third, fourth etc sets of CCK codes. Those obtained values are respectively compared with the currently saved maximal value in the maximum register (R8) and replace the currently saved maximal value if the obtained value is bigger than the currently saved maximal value.
FIG. 7 illustrates a CCK decoding apparatus according to one embodiment of the invention. FIG. 8 is a flowchart of a value operation according to one embodiment of the invention.
In the first clock, the mean value of R0 is X0C*0—1.
In the second clock, the mean value of R1 is R0+X1C*1—1, i.e., X0C*0—1+X1C*1—1 and R0 changes into X0C*0—2.
In the third clock, the mean value of R2 is R1+X2C*2—1, i.e., X0C*0—1+X1C*1—1+X2C*2—1. At this time, R1 changes into R0+X1C*1—2, i.e., X0C*0—2+X1C*1—2, and R0 changes into X0C*0—3.
In the fourth clock, the mean value of R3 is X0C*0—1+X1C*1—1+X2C*2—1+X3C*3—1 and R2 is X0C*0—2+X1C*1—2+X2C*2—2, R1 is X0C*0—3+X1C*1—3 and R0 is into X0C*0—4.
Similarly, at the seventh clock, R7 indicates the correlation of the first set of CCK codes. At eighth clock, R7 indicates the correlation of the second set of CCK codes. At fifteenth the clock, R7 indicates the correlation of the eighth set of CCK codes.
FIG. 5 illustrates a process of sequentially decoding CCK codes according to one embodiment of the invention. A first input signal is received and saved in the first signal register (X0) and the phase selector selects one phase from 1, −1, j or −j according to the first set of CCK codes of a No. 0 chip (C0—1), this product is saved in the first operation register (R0) (step 501). A second input signal is received and saved in the second signal register (X1), and multiplies with 1, −1,j or −j according to a first set of CCK codes of a No. 1 chip (C1—1). This product and the value of the first operation register (R0) add up to be saved in the second operation register (R1) (step 502). A third input signal is received and saved in the third signal register (X2), and multiplies with 1, −1, j or −j according to a first set of CCK codes of a No. 2 chip(C2—1). This product and the value of the second operation register (R1)add up to be saved in the third operation register(R2) (step 503). A fourth input signal is received and saved in the fourth signal register (X3), and multiplies with 1, −1, j or −j according to a first set of CCK codes of a No. 3 chip (C3—1). This product and the value of the third operation register (R2) add up to be saved in the fourth operation register (R3) (step 504). A fifth input signal is received and saved in the fifth signal register(X4), and multiplies with 1, −1, j or −j according to a first set of CCK codes of a No. 4 chip (C4—1). This product and the value of the fourth operation register (R3) add up to be saved in the fifth operation register (R4) (step 505). A sixth input signal is received and saved in the sixth signal register (X5), and multiplies with 1, −1, j or −j according to a first set of CCK codes of a No. 5 chip (C5—1). This product and the value of the fifth operation register (R4) add up to be saved in the sixth operation register (R5) (step 506). A seventh input signal is received and saved in the seventh signal register (X6), and multiplies with 1, −1,j or −j according to a first set of CCK codes of a No. 6 chip (C6—1). This product and the value of the sixth operation register (R5) add up to be saved in the seventh operation register (R6) (step 507). An eighth input signal is received and saved in the eighth signal register(X7), and multiplies with 1, −1,j or −j according to a first set of CCK codes of a No. 7 chip (C7—1), this product and the value of the seventh operation register (R6) add up to be saved in the eighth operation register (R7) (step 508). R7 indicates the correlation between the corresponding values and the first sets of CCK codes.
After the second signal is received (step 502), one of 1, −1, j, or −j is selected according to a second set of CCK codes of a No. 0 chip(C0—2) to multiply with the first signal register (X0), the product is saved in the first operation register (R0).
After the third signal is received (step 503), one of 1, −1, j, or −j is selected according to a second set of CCK codes of a No. 1 chip (C1—2) to multiply with the value of the second signal register (X1). The product and the first operation register (R0) add up to be saved in the second operation register (R1).
After the fourth signal is received (step 504), one of 1, −1,j, or −j is selected according to a second set of CCK codes of a No. 2 chip (C2—2) to multiple with the value of the third signal register (X2). The product and the second operation register (R1) add up to save in the third operation register (R2).
After the fifth signal is received (step 505), one of 1, −1, j, or −j is selected according to a second set of CCK codes of No. 3 chip (C3—2) to multiply with the value of the fourth signal register (X3). The product and the third operation register (R2) add up to be saved in the fourth operation register (R3).
After the sixth signal is received (step 506), one of 1, −1, j, or −j is selected according to a second set of CCK codes of a No. 4 chip (C4—2) to multiply with the value of the fifth signal register (X4). The product and the fourth operation register (R3) add up to be saved in the fifth operation register (R4).
After the seventh signal is received (step 507), one of 1, −1, j, or −j is selected according to a second set of CCK codes of No. 5 chip (C5—2) to multiply with the value of the sixth signal register (X5). The product and the fifth operation register (R4) add up to be saved in the sixth operation register (R5).
After the seventh signal is received (step 508)), one of 1, −1, j, or −j is selected according to a second set of CCK codes of No. 6 chip (C6—2) to multiply with the value of the seventh signal register (X6). The product and the sixth operation register (R5) add up to be saved in the seventh operation register (R6).
One of 1, −1, j, or −j is selected according to a second set of CCK codes of a No. 7 chip (C7—2) to multiply with the value of the eighth signal register (X7). The product and the sixth operation register (R6) add up to be saved in the eighth operation register (R7). At this time, the value saved in R7 indicates the correlation between the received signals and the second sets of CCK codes.
Meanwhile, after the third signal is received (step 503), one of 1, −1, j, or −j is selected according to a third set of CCK codes of a No. 0 chip (C0—3) to multiply with the value of the first signal register (X0). The product is saved in the first operation register (R0).
After the fourth signal is received (step 504), one of 1, −1,j, or −j is selected according to a third set of CCK codes of a No. 1 chip(C1—3) to multiply with the value of the second signal register (X1). The product and the first operation register (R0) add up to be saved in the second operation register (R1).
After the fifth signal is received (step 505), one of 1, −1,j, or −j is selected according to a third set of CCK codes of a No. 2 chip (C2—3) to multiply with the value of the third signal register (X2). The product and the second operation register (R1) add up to be saved in the third operation register (R2).
After the sixth signal is received (step 506), one of 1, −1, j, or −j is selected according to a third set of CCK codes of a No. 3 chip (C3—3) to multiply with the value of the fourth signal register (X3). The product and the value of the third operation register (R2) add up to be saved in the fourth operation register (R3).
After the seventh signal is received (step 507), one of 1, −1, j, or −j is selected according to a third set of CCK codes of a No. 4 chip (C4—3) to multiply with the value of the fifth signal register (X4). The product and the value of the fourth operation register (R3) add up to be saved in the fifth operation register (R4).
After the eighth signal is received (step 508)), one of 1, −1, j, or −j is selected according to a third set of CCK codes of a No. 5 chip (C5—3) to multiply with the value of the sixth signal register (X5). The product and the value of the fifth operation register (R4) add up to be saved in the sixth operation register (R5).
One of 1, −1, j, or −j is selected according to a third set of CCK codes of a No. 6 chip (C6—3) to multiply with the value of the seventh signal register (X6). The product and the value of the sixth operation register (R5) add up to be saved in the seventh operation register (R6).
One of 1, −1, j, or −j is selected according to a third set of CCK codes of a No. 7 chip (C7—3) to multiply with the eighth signal register (X7). The product and the value of the seventh operation register (R6) add up to be saved in the eighth operation register (R7). At this time, the value saved in R7 indicates the correlation between the received signals and the third sets of CCK codes.
Meanwhile, after the fourth signal is received (step 504), one of 1, −1,j, or −j is selected according to a fourth set of CCK codes of a No. 0 chip (C0—4) to multiply with the value of a first signal register (X0). The product is saved in the first operation register (R0).
After the fifth signal is received (step 505), one of 1, −1, j, or −j is selected according to a fourth set of CCK codes of a No. 1 chip (C1—4) to multiply with the second signal register (X1). The product and the value of the first operation register (R0) add up to be saved in the second operation register (R1).
After the sixth signal is received (step 506), one of 1, −1, j, or −j is selected according to a fourth set of CCK codes of a No. 2 chip (C2—4) to multiply with the third signal register (X2). The product and the second operation register (R1) add up to be saved in the third operation register (R2).
After the seventh signal is received (step 507), one of 1, −1, j, or −j is selected according to a fourth set of CCK codes of a No. 3 chip (C3—4) to multiply with the fourth signal register (X3). The product and the third operation register (R2) add up to be saved in the fourth operation register (R3).
After the eighth signal is received (step 508), one of 1, −1, j, or −j is selected according to a fourth set of CCK codes of a No. 4 chip (C4—4) to multiply with the fifth signal register (X4). The product and the fourth operation register (R3) add up to be saved in the fifth operation register (R4).
One of 1, −1, j, or −j is selected according to a fourth set of CCK codes of a No. 5 chip (C5—4) to multiply with the sixth signal register (X5). The product and the fifth operation register (R4) add up to be saved in the sixth operation register (R5).
One of 1, −1, j, or −j is selected according to a fourth set of CCK codes of a No. 6 chip (C6—4)to multiply with the seventh signal register(X6). The product and the sixth operation register (R5) add up to be saved in the seventh operation register (R6).
One of 1, −1, j, or −j is selected according to a fourth set of CCK codes of a No. 7 chip (C7—4) to multiply with the eighth signal register (X7). The product and the seventh operation register (R6) add up to be saved in the eighth operation register (R7). At this time, the value saved in R7 indicates the correlation between the received signals and the fourth sets of CCK codes.
Meanwhile, after the fifth signal is received (step 505), one of 1, −1, j, or −j is selected according to a fifth set of CCK codes of a No. 0 chip (C0—5) to multiply with the first signal register (X0). The product is saved in the first operation register (R0).
After the sixth signal is received (step 506), one of 1, −1, j, or −j is selected according to a fifth set of CCK codes of a No. 1 chip (C1—5) to multiply with the second signal register (X1). The product and the first operation register (R0) add up to be saved in the second operation register (R1).
After the seventh signal is received (step 507), one of 1, −1, j, or −j is selected according to a fifth set of CCK codes of a No. 2 chip (C2—5) to multiply with the third signal register (X2). The product and the second operation register (R1) add up to be saved in the third operation register (R2).
After the eighth signal is received (step 508), one of 1, −1, j, or −j is selected according to a fifth set of CCK codes of a No. 3 chip (C3—5) to multiply with the fourth signal register (X3). The product and the third operation register (R2) add up to be saved in the fourth operation register (R3).
One of 1, −1, j, or −j is selected according to a fifth set of CCK codes of a No. 4 chip (C4—5) to multiply with the fifth signal register (X4). The product and the fourth operation register (R3) add up to be saved in the fifth operation register (R4).
One of 1, −1, j, or −j is selected according to a fifth set of CCK codes of a No. 5 chip (C5—5) to multiply with the sixth signal register (X5). The product and the fifth operation register (R4) add up to be saved in the sixth operation register (R5).
One of 1, −1, j, or −j is selected according to a fifth set of CCK codes of a No. 6 chip (C6—5)to multiply with the seventh signal register(X6). The product and the sixth operation register (R5) add up to be saved in the seventh operation register (R6).
One of 1, −1, j, or −j is selected according to a fifth set of CCK codes of a No. 7 chip (C7—5) to multiply with the eighth signal register (X7). The product and the seventh operation register (R6) add up to be saved in the eighth operation register (R7). At this time, the value saved in R7 indicates the correlation between the received signals and the fifth sets of CCK codes.
Meanwhile, after the sixth signal is received (step 506), one of 1, −1, j, or −j is selected according to a sixth set of CCK codes of a No. 0 chip (C0—6) to multiply with the first signal register (X0). The product is saved in the first operation register (R0).
After the seventh signal is received (step 507), one of 1, −1, j, or −j is selected according to a sixth set of CCK codes of a No. 1 chip (C1—6) to multiply with the second signal register (X1). The product and the first operation register (R0) add up to be saved in the second operation register (R1).
After the eighth signal is received (step 508), one of 1, −1,j, or −j is selected according to a sixth set of CCK codes of a No. 2 chip(C2—6)to multiply with the third signal register(X2). The product and the second operation register (R1) add up to be saved in the third operation register (R2).
One of 1, −1, j, or −j is selected according to a sixth set of CCK codes of a No. 3 chip (C3—6) to multiply with the fourth signal register (X3). The product and the third operation register (R2) add up to be saved in the fourth operation register (R3).
One of 1, −1, j, or −j is selected according to a sixth set of CCK codes of a No. 4 chip (C4—6) to multiply with the fifth signal register (X4). The product and the fourth operation register (R3) add up to be saved in the fifth operation register (R4).
One of 1, −1, j, or −j is selected according to a sixth set of CCK codes of a No. 5 chip (C5—6) to multiply with the sixth signal register (X5). The product and the fifth operation register (R4) add up to be saved in the sixth operation register (R5).
One of 1, −1, j, or −j is selected according to a sixth set of CCK codes of a No. 6 chip (C6—6)to multiply with the seventh signal register(X6). The product and the sixth operation register (R5) add up to be saved in the seventh operation register (R6).
One of 1, −1, j, or −j is selected according to a sixth set of CCK codes of a No. 7 chip (C7—6) to multiply with the eighth signal register (X7). The product and the seventh operation register (R6) add up to be saved in the eighth operation register (R7). At this time, the value saved in R7 indicates the correlation between the received signals and the sixth sets of CCK codes.
Meanwhile, after the seventh signal is received (step 507), one of 1, −1, j, or −j is selected according to a seventh set of CCK codes of a No. 0 chip (C0—7) to multiply with the first signal register (X0). The product is saved in the first operation register (R0).
After the eighth signal is received (step 508), one of 1, −1, j, or −j is selected according to a seventh set of CCK codes of a No. 1 chip (C1—7) to multiply with the second signal register (X1). The product and the first operation register (R0) add up to be saved in the second operation register (R1).
One of 1, −1, j, or −j is selected according to a seventh set of CCK codes of a No. 2 chip (C2—7) to multiply with the third signal register (X2). The product and the second operation register (R1) add up to be saved in the third operation register (R2).
One of 1, −1, j, or −j is selected according to a seventh set of CCK codes of a No. 3 chip (C3—7) to multiply with the fourth signal register (X3). The product and the third operation register (R2) add up to be saved in the fourth operation register (R3).
One of 1, −1, j, or −j is selected according to a seventh set of CCK codes of a No. 4 chip (C4—7) to multiply with the fifth signal register (X4). The product and the fourth operation register (R3) add up to be saved in the fifth operation register (R4).
One of 1, −1, j, or −j is selected according to a seventh set of CCK codes of a No. 5 chip (C5—7) to multiply with the sixth signal register (X5). The product and the fifth operation register (R4) add up to be saved in the sixth operation register (R5).
One of 1, −1, j, or −j is selected according to a seventh set of CCK codes of a No. 6 chip (C6—7)to multiply with the seventh signal register(X6). The product and the sixth operation register (R5) add up to be saved in the seventh operation register (R6).
One of 1, −1, j, or −j is selected according to a seventh set of CCK codes of a No. 7 chip (C7—7) to multiply with the eighth signal register (X7). The product and the seventh operation register (R6) add up to be saved in the eighth operation register (R7). At this time, the value saved in R7 indicates the correlation between the received signals and the seventh sets of CCK codes.
Meanwhile, after the eighth signal is received (step 508), one of 1, −1, j, or −j is selected according to an eighth seventh set of CCK codes of a No. 0 chip (C0—8) to multiply with the first signal register (X0). The product is saved in the first operation register (R0).
One of 1, −1, j, or −j is selected according to an eighth set of CCK codes of a No. 1 chip (C1—8) to multiply with the second signal register (X1). The product and the first operation register (R0) add up to be saved in the second operation register (R1).
One of 1, −1, j, or −j is selected according to an eighth set of CCK codes of a No. 2 chip (C2—8) to multiply with the third signal register (X2). The product and the second operation register (R1) add up to be saved in the third operation register (R2).
One of 1, −1, j, or −j is selected according to an eighth set of CCK codes of a No. 3 chip (C3—8) to multiply with the fourth signal register (X3). The product and the third operation register (R2) add up to be saved in the fourth operation register (R3).
One of 1, −1, j, or −j is selected according to an eighth set of CCK codes of a No. 4 chip (C4—8) to multiply with the fifth signal register (X4). The product and the fourth operation register (R3) add up to be saved in the fifth operation register (R4).
One of 1, −1, j, or −j is selected according to an eighth set of CCK codes of a No. 5 chip (C5—8) to multiply with the sixth signal register (X5). The product and the fifth operation register (R4) add up to be saved in the sixth operation register (R5).
One of 1, −1, j, or −j is selected according to an eighth set of CCK codes of a No. 6 chip (C6—8)to multiply with the seventh signal register(X6). The product and the sixth operation register (R5) add up to be saved in the seventh operation register (R6).
One of 1, −1, j, or −j is selected according to an eighth set of CCK codes of a No. 7 chip (C7—8) to multiply with the eighth signal register (X7). The product and the seventh operation register (R6) add up to be saved in the eighth operation register (R7). At this time, the value saved in R7 indicates the correlation between the received signals and the eighth sets of CCK codes.
The maximal one is chosen among the values respectively indicating the received signals and the corresponding sets of CCK codes and then saved in the maximum register (R8).
For example, before a first correlation value is obtained at step 508, there is no value saved in the maximum register R8. Therefore, the first correlation value is the maximal one and should be saved in the maximum register R8. A second correlation value is obtained at the next clock R7. Then the second correlation value is compared with the currently maximal value saved in R8, and the bigger one is saved in R8. Repeat this operation until the comparison for all the correlation values have done.
FIG. 9 is a schematic view of a 64-set basic sequential decoding system applied in the correlation calculation of CCK codes in wireless network to decode IEEE802.11b/g-standard 11M CCK codes according to one embodiment of the invention. It is noted that the system of the invention can be also applied in decoding IEEE802.11b/g-standard 5.5M CCK codes to reduce the hardware complexity. The system includes a series of received signal registers 901, and a first to eighth basic sequential decoding modules 902, 903, 904 . . . 909.
The series of received signal registers 901 (X0, X1, X2, X3, X4, X5, X6, X7) are used to respectively temporarily save the received signals.
The first to eighth basic sequentially decoding modules 902, 903 . . . 909 are used to sequentially decode CCK codes according to the received signals.
Each basic sequentially decoding module includes:

    
    
        a phase selector, used to select one phase from 1, −1, j, −j for each chip to sequentially multiply with the series of registers;
        a series of adders (Adder1, Adder2, Adder3, Adder4, Adder5, Adder6 and Adder7) used to sequentially complete the addition operation;
        a series of sequential operation registers (R0, R1, R2, R3, R4, R5, R6, R7) used to save values obtained from the sequential selecting operation of the phase selectors and the sequential adding operation of the adders; and
        a comparing device used to select a maximal value from those saved in the operation registers. The comparing device includes a comparator and a maximum register (R8). The comparator can be a 2-to-1 comparator.
    
    


The received signal registers include a first signal register X0, a second signal register X1, a third signal register X2, a fourth signal register X3, a fifth signal register X4, a sixth signal register X5, a seventh signal register X6 and a eighth signal register X7.
The sequential operation registers include a first operation register R0, a second operation register R1, a third operation register R2, a fourth operation register R3, a fifth operation register R4, a sixth operation register R5, a seventh operation register R6 and a eighth operation register R7.
The adders include a first adder Adder1, a second Adder2, a third adder Adder3, a fourth Adder4, a fifth Adder5, a sixth Adder6 and a seventh Adder7.
X0 is subjected to the phase selection and multiplication and then the result is saved in R0. Adder1 adds up R0 and the product of X1 multiplies with a selected phase (1, −1, j, −j) and saves the obtained sum in R1. Adder2 adds up R1 and the product of X2 multiplies with a selected phase (1, −1, j, −j), and saves the obtained sum in R2. Adder3 adds up R2 and the product of X3 multiplies with a selected phase (1, −1, j, −j), and saves the obtained sum in R3. Adder4 adds up R3 and the product of X4 multiplies with a selected phase (1, −1, j, −j), and saves the obtained sum in R4. Adder5 adds up R4 and the product of X5 multiplies with a selected phase (1, −1, j, −j), and saves the obtained sum in R5. Adder6 adds up R5 and the product of X6 multiplies with a selected phase (1, −1, j, −j), and saves the obtained sum in R6. Adder7 adds up R6 and the product of X7 multiplies with a selected phase (1, −1, j, −j), and saves the obtained sum saved in R7.
Knowing the invention being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications as would be obvious to one skilled in the art are intended to be included within the scope of the following claims.

## Claims

1. A process of sequentially decoding complementary code keying (CCK) codes, applicable in CCK code correlation in a wireless network, the process comprising:
receiving and saving a first input signal in a first signal register (Xo) and then the first signal multiplying with one selected from 1, −1, j or −j according to the first set of CCK codes of No. 0 chip (C0—1), this product being saved in the first operation register (R0);
receiving and saving a second input signal in a second signal register (X1) and then the second signal multiplying with one selected from 1, −1, j or −j according to a first set of CCK codes of No. 1 chip (C1—1), this product and the value of the first operation register (R0) adding up to save in a second operation register (R1);
receiving and saving a third input signal in a third signal register (X2), and then the third signal multiplying with 1, −1, j or j according to a first set of CCK codes of No. 2 chip (C2—1), this product and the value of the second operation register (R1) adding up to save in a third operation register (R2);
receiving and saving a fourth input signal in a fourth signal register (X3), and then the fourth signal multiplying with 1, −1, j or −j according to a first set of CCK codes of No. 3 chip (C3—1), this product and the value of the third operation register (R2) adding up to save in a fourth operation register (R3);
receiving and saving a fifth input signal in a fifth signal register (X4), and then the fifth input signal multiplying with 1, −1, j or −j according to a first set of CCK codes of No. 4 chip (C4—1), this product and the value of the fourth operation register (R3) adding up to save in a fifth operation register (R4)
receiving and saving a sixth input signal in a sixth signal register (X5), and then the sixth input signal multiplying with 1, −1, j or j according to a first set of CCK codes of No. 5 chip (C5—1), this product and the value of the fifth operation register (R4) adding up to save in a sixth operation register (R5);
receiving and saving a seventh input signal in a seventh signal register (X6), and then the seventh input signal multiplying with 1, −1, j or −j according to a first set of CCK codes of No. 6 chip (C6—1), this product and the value of the sixth operation register (R5) adding up to save in a seventh operation register (R6); and
receiving and saving an eighth input signal in an eighth signal register(X7), and then the eighth input signal multiplying with 1, −1, j or −j according to a first set of CCK codes of No. 7 chip(C7—1), this product and the value saved in the seventh operation register(R6) adding up to save in an eighth operation register (R7).

2. The process of claim 1, further comprising:
after the second signal has been received, selecting one of 1, −1, j, or −j according to a second set of CCK codes of No. 0 chip (C0—2) to multiple with the first signal register (X0), the product being saved in the first operation register (R0);
after the third signal has been received, selecting one of 1, −1, j, or −j according to a second set of CCK codes of No. 1 chip (C1—2) to multiple with the value of the second signal register(X1), the product and the first operation register(R0) adding up to save in the second operation register (R1);
after the fourth signal has been received, selecting one of 1, −1, j, or −j according to a second set of CCK codes of No. 2 chip (C2—2) to multiple with the value of the third signal register (X2), the product and the second operation register (R1) adding up to save in the third operation register (R2);
after the fifth signal has been received, selecting one of 1, −1, j, or −j according to a second set of CCK codes of No. 3 chip (C3—2) to multiple with the value of the fourth signal register(X3), the product and the third operation register(R2) adding up to save in the fourth operation register (R3);
after the sixth signal has been received, selecting one of 1, −1, j, or −j according to a second set of CCK codes of No. 4 chip (C4—2) to multiple with the value of the fifth signal register (X4), the product and the fourth operation register (R3) adding up to save in the fifth operation register (R4);
after the seventh signal has been received, selecting one of 1, −1, j, or −j according to a second set of CCK codes of No. 5 chip (C5—2) to multiple with the value of the sixth signal register (X5), the product and the fifth operation register (R4) adding up to save in the sixth operation register (R5);
after the eighth signal has received, selecting one of 1, −1, j, or −j according to a second set of CCK codes of No. 6 chip (C6—2) to multiple with the value of the seventh signal register (X6), the product and the sixth operation register (R5) adding up to save in the seventh operation register (R6); and
selecting one of 1, −1, j, or −j is selected according to a second set of CCK codes of No. 7 chip (C7—2) to multiple with the value of the eighth signal register (X7), the product and the sixth operation register (R6) adding up to save in the eighth operation register (R7).

3. The process of claim 1, further comprising:
after the third signal has been received, selecting one of 1, −1, j, or −j according to a third set of CCK codes of No. 0 chip (C0—3) to multiple with the value of the first signal register (X0), the product being saved in the first operation register (R0);
after the fourth signal has been received, selecting one of 1, −1, j, or −j according to a third set of CCK codes of No. 1 chip (C1—3) to multiple with the value of the second signal register(X1), the product and the first operation register(R0) adding up to save in the second operation register (R1);
after the fifth signal has been received, selecting one of 1, −1, j, or −j according to a third set of CCK codes of No. 2 chip (C2—3) to multiple with the value of the third signal register (X2), the product and the second operation register (R1) adding up to save in the third operation register (R2);
after the sixth signal has been received, selecting one of 1, −1, j, or −j according to a third set of CCK codes of No. 3 chip (C3—3) to multiple with the value of the fourth signal register (X3), the product and the value of third operation register (R2) adding up to save in the fourth operation register (R3);
after the seventh signal has been received, selecting one of 1, −1, j, or −j according to a third set of CCK codes of No. 4 chip (C4—3) to multiple with the value of the fifth signal register (X4), the product and the value of the fourth operation register (R3) adding up to save in the fifth operation register (R4);
after the eighth signal has been received, selecting one of 1, −1, j, or −j according to a third set of CCK codes of No. 5 chip (C5—3) to multiple with the value of the sixth signal register (X5), the product and the value of the fifth operation register (R4) adding up to save in the sixth operation register (R5);
selecting one of 1, −1, j, or −j according to a third set of CCK codes of No. 6 chip (C6—3) to multiple with the value of the seventh signal register (X6), the product and the value of the sixth operation register (R5) adding up to save in the seventh operation register (R6); and
selecting one of 1, −1, j, or −j according to a third set of CCK codes of No. 7 chip (C7—3) to multiple with the eighth signal register (X7), the product and the value of the seventh operation register (R6) adding up to save in the eighth operation register (R7).

4. The process of claim 1, further comprising:
after the fourth signal has been received, selecting one of 1, −1, j, or −j according to a fourth set of CCK codes of No. 0 chip (C0—4) to multiple with the value of first signal register (X0), the product being saved in the first operation register (R0);
after the fifth signal has been received, selecting one of 1, −1, j, or −j according to a fourth set of CCK codes of No. 1 chip(C1—4) to multiple with the second signal register(X1), the product and the value of first operation register (R0) adding up to save in the second operation register (R1);
after the sixth signal has been received, selecting one of 1, −1, j, or −j according to a fourth set of CCK codes of No. 2 chip (C2—4) to multiple with the third signal register (X2), the product and the second operation register (R1) adding up to save in the third operation register (R2);
after the seventh signal has been received, selecting one of 1, −1, j, or −j according to a fourth set of CCK codes of No. 3 chip (C3—4) to multiple with the fourth signal register (X3), the product and the third operation register (R2) adding up to save in the fourth operation register (R3);
after the eighth signal has been received, selecting one of 1, −1, j, or −j according to a fourth set of CCK codes of No. 4 chip (C4—4) to multiple with the fifth signal register (X4), the product and the fourth operation register (R3) adding up to save in the fifth operation register (R4);
selecting one of 1, −1, j, or −j according to a fourth set of CCK codes of No. 5 chip (C5—4) to multiple with the sixth signal register (X5), the product and the fifth operation register (R4) adding up to save in the sixth operation register (R5);
selecting one of 1, −1,j, or −j according to a fourth set of CCK codes of No. 6 chip(C6—4) to multiple with the seventh signal register (X6), the product and the sixth operation register (R5) adding up to save in the seventh operation register (R6); and
selecting one of 1, −1,j, or −j according to a fourth set of CCK codes of No. 7 chip (C7—4) to multiple with the eighth signal register (X7), the product adding up the seventh operation register (R6) and the obtained sum is saved in the eighth operation register (R7).

5. The process of claim 1, further comprising:
after the fifth signal has been received, selecting one of 1, −1, j, or −j according to a fifth set of CCK codes of No. 0 chip (C0—5) to multiple with the first signal register (X0), the product being is saved in the first operation register (R0);
after the sixth signal has been received, selecting one of 1, −1, j, or −j according to a fifth set of CCK codes of No. 1 chip (C1—5) to multiple with the second signal register (X1), the product and the first operation register(R0) adding up to save in the second operation register (R1);
after the seventh signal has been received, selecting one of 1, −1, j, or −j according to a fifth set of CCK codes of No. 2 chip (C2—5) to multiple with the third signal register (X2), the product and the second operation register (R1) adding up to save in the third operation register (R2);
after the eighth signal has been received, selecting one of 1, −1, j, or −j according to a fifth set of CCK codes of No. 3 chip (C3—5) to multiple with the fourth signal register (X3), the product and the third operation register (R2) adding up to save in the fourth operation register (R3);
selecting one of 1, −1, j, −j according to a fifth set of CCK codes of No. 4 chip (C4—5) to multiple with the fifth signal register (X4), the product and the fourth operation register (R3) adding up to save in the fifth operation register (R4),
selecting one of 1, −1, j, or −j according to a fifth set of CCK codes of No. 5 chip (C5—5) to multiple with the sixth signal register (X5), the product and the fifth operation register (R4) adding up to save in the sixth operation register (R5);
selecting one of 1, −1, j, or −j according to a fifth set of CCK codes of No. 6 chip (C6—5) to multiple with the seventh signal register (X6), the product and the sixth operation register (R5) adding up to save in the seventh operation register (R6);
selecting one of 1, −1, j, or −j according to a fifth set of CCK codes of No. 7 chip (C7—5) to multiple with the eighth signal register (X7), the product and the seventh operation register (R6) adding up to save in the eighth operation register (R7).

6. The process of claim 1, further comprising:
after the sixth signal has been received, selecting one of 1, −1, j, or −j according to a sixth set of CCK codes of No. 0 chip (C0—6) to multiple with the first signal register (X0), the product being saved in the first operation register (R0);
after the seventh signal has been received, selecting one of 1, −1, j, or −j according to a sixth set of CCK codes of No. 1 chip (C1—6) to multiple with the second signal register (X1), the product and the first operation register (R0) adding up to save in the second operation register (R1);
after the eighth signal has been received, selecting one of 1, −1, j, or −j according to a sixth set of CCK codes of No. 2 chip (C2—6) to multiple with the third signal register (X2), the product and the second operation register (R1) adding up to save in the third operation register (R2);
selecting one of 1, −1, j, or −j according to a sixth set of CCK codes of No. 3 chip (C3—6) to multiple with the fourth signal register (X3), the product and the third operation register (R2) adding up to save in the fourth operation register (R3);
selecting one of 1, −1, j, or −j according to a sixth set of CCK codes of No. 4 chip (C4—6) to multiple with the fifth signal register (X4), the product and the fourth operation register (R3) adding up to save in the fifth operation register (R4);
selecting one of 1, −1,j, or −j according to a sixth set of CCK codes of No. 5 chip (C6—6) to multiple with the sixth signal register (X5), the product and the fifth operation register (R4) adding up to save in the sixth operation register (R5);
selecting one of 1, −1, j, or −j according to a sixth set of CCK codes of No. 6 chip (C6—6) to multiple with the seventh signal register (X6), the product and the sixth operation register (R5) adding up to save in the seventh operation register (R6); and
selecting one of 1, −1, j, or −j is selected according to a sixth set of CCK codes of No. 7 chip (C2—6) to multiple with the eighth signal register (X7), the product and the seventh operation register (R6) adding up to save in the eighth operation register (R7).

7. The process of claim 1, further comprising:
after the seventh signal has been received, selecting one of 1, −1, j, or −j according to a seventh set of CCK codes of No. 0 chip (C0—7) to multiple with the first signal register (X0), the product being saved in the first operation register (R0);
after the eighth signal has been received, selecting one of 1, −1, j, or −j according to a seventh set of CCK codes of No. 1 chip (C1—7) to multiple with the second signal register (X1), the product and the first operation register (R0) adding up to save in the second operation register (R1);
selecting one of 1, −1, j, or −j according to a seventh set of CCK codes of No. 2 chip (C2—7) to multiple with the third signal register(X2 ), the product and the second operation register(R1) adding up to save in the third operation register (R2)
selecting one of 1, −1, j, or −j according to a seventh set of CCK codes of No. 3 chip (C3—7) to multiple with the fourth signal register (X3), the product and the third operation register (R2) adding up to save in the fourth operation register (R3);
selecting one of 1, −1, j, or −j according to a seventh set of CCK codes of No. 4 chip (C4—7) to multiple with the fifth signal register (X4), the product and the fourth operation register (R3) adding up to save in the fifth operation register (R4);
selecting one of 1, −1, j, or −j according to a seventh set of CCK codes of No. S chip (C5—7) to multiple with the sixth signal register (X5), the product and the fifth operation register (R4) adding up to save in the sixth operation register (R5);
selecting one of 1, −1, j, or −j is selected according to a seventh set of CCK codes of No. 6 chip (C6—7) to multiple with the seventh signal register (X6), the product and the sixth operation register (R5) adding up to save in the seventh operation register (R6);
selecting one of 1, −1, j, or −j according to a seventh set of CCK codes of No. 7 chip (C7—7)to multiple with the eighth signal register (X7), the product and the seventh operation register (R6) adding up to save in the eighth operation register (R7).

8. The process of claim 1, further comprising:
after the eighth signal has been received, one of 1, −1, j, or −j is selected according to an eighth seventh set of CCK codes of No. 0 chip (Cog) to multiple with the first signal register (X3), the product being saved in the first operation register (R0);
selecting one of 1, −1, j, or −j according to an eighth set of CCK codes of No. 1 chip (C1—8) to multiple with the second signal register (X1), the product and the first operation register (R0) adding up to save in the second operation register (R1);
selecting one of 1, −1, j, or −j according to an eighth set of CCK codes of No. 2 chip (C2—3) to multiple with the third signal register (X2), the product and the second operation register (R1) adding up to save in the third operation register (R2)
selecting one of 1, −1, j, or −j according to an eighth set of CCK codes of No. 3 chip (C3—8) to multiple with the fourth signal register (X3), the product and the third operation register (R2) adding up to save in the fourth operation register (R3);
selecting one of 1, −1, j, or −j according to an eighth set of CCK codes of No. 4 chip (C4—8) to multiple with the fifth signal register (X4), the product and the fourth operation register (R3) adding up to save in the fifth operation register (R4);
selecting one of 1, −1, j, or −j according to an eighth set of CCK codes of No. 5 chip (C5—8) to multiple with the sixth signal register (X5), the product and the fifth operation register (R4) adding up to save in the sixth operation register (R5);
selecting one of 1, −1, j, or −j according to an eighth set of CCK codes of No. 6 chip (C6—8) to multiple with the seventh signal register (X6), the product and the sixth operation register (R5) adding up to save in the seventh operation register (R6);
selecting one of 1, −1, j, or −j according to an eighth set of CCK codes of No. 7 chip (C7—8)to multiple with the eighth signal register(X7), the product and the seventh operation register (R6) adding up to save in the eighth operation register (R7).

9. The process of claim 1, further comprising:
sequentially the values saved in the eighth operation registers (R7) to retrieve the maximal one; and
saving the maximal value in the maximal register (R8).

10. An apparatus of sequentially decoding CCK codes, applicable in calculating the correlation between CCK codes, the apparatus comprising:
a series of received signal registers(X0′ X1′ X2′ X3′ X4′ X5′ X6′ X7) used to respectively temporarily save the received signals, wherein the received signal registers include a first signal register X0, a second signal register X1, a third signal register X2, a fourth signal register X3, a fifth signal register X4, a sixth signal register X5, a seventh signal register X6 and a eight signal register X7;
a phase selector used to select one numeral from 1, −1,j or −j respectively for CCK code of each chip to multiple with the signal register;
a series of adders (Adder1, Adder2, Adder3, Adder4, Adder5, Adder6 and Adder7) used to sequentially complete adding operation;
a series of sequential operation registers (R0, R1, R2, R3, R4, R5, R6, R7) used to save values obtained from the sequential selecting operation of the phase selectors and the sequential adding operation of the adders; and
a comparing device used to select a maximal value from those saved in the operation registers, wherein the comparing device includes a comparator and a maximum register (R8).
wherein the received signal registers include a first signal register X0, a second signal register X1, a third signal register X2, a fourth signal register X3, a fifth signal register X4, a sixth signal register X5, a seventh signal register X6 and a eighth signal register X7;
wherein the sequential operation registers include a first operation register R0, a second operation register R1, a third operation register R2, a fourth operation register R3, a fifth operation register R4, a sixth operation register R5, a seventh operation register R6 and a eighth operation register R7;
wherein the adders include a first adder Adder1, a second Adder2, a third adder Adder3, a fourth Adder4, a fifth Adder5, a sixth Adder6, and a seventh Adder7; and
wherein X0 is subjected to the phase selection and multiplication and then the result is saved in R0; Adder1 adds up R0 and the product of X1 multiplying with a selected phase (1, −1, j, −j) and saves the obtained sum in R1; Adder adds up R1 and the product of X2 multiplying with a selected phase (1, −1, j, −j), and saves the obtained sum in R2; Adder3 adds up R7 and the product of X3 multiplying with a selected phase (1, −1, j, −j) and saves the obtained sum in R3; Adder4 adds up R and the product of X4 multiplying with a selected phase (1, −1, j, −j), and saves the obtained sum in R4, Adder5 adds up R4 and the product of X5 multiplying with a selected phase (1, −1, j, −j), and saves the obtained sum in R5; Adder6 adds up R5 and the product of X6 multiplying with a selected phase (1, −1, j, −j), and saves the obtained sum in R6; Adder7 adds up R6 and the product of X7 multiplying with a selected phase (1, −1−j,−j), and saves the obtained sum is saved in R7.

11. The apparatus of claim 10, wherein the comparator is a 2-to-1 comparator.

12. A system of sequentially decoding CCK codes, which is applied to calculate CCK code correlation in a wireless network, the system comprising:
a series of received signal registers (X0, X1, X2, X3, X4, X5, X6, X7) to temporarily save received signals;
a first sequentially decoding module for sequentially decoding CCK codes according to the received signals;
a second sequentially decoding module used to for sequentially decoding CCK codes according to the received signals;
a third sequentially decoding module used to for sequentially decoding CCK codes according to the received signals;
a fourth sequentially decoding module used to for sequentially decoding CCK codes according to the received signals;
a fifth sequentially decoding module used to for sequentially decoding CCK codes according to the received signals;
a sixth sequentially decoding module used to for sequentially decoding CCK codes according to the received signals;
a seventh sequentially decoding module used to for sequentially decoding CCK codes according to the received signals; and
an eighth sequentially decoding module used to for sequentially decoding CCK codes according to the received signals
wherein each sequentially decoding module comprises:
a phase selector used to select one of 1, −1, j or −j according to CCK code of each chip to multiple with the corresponding value of the register;
a series of adders (Adder1, Adder2, Adder3, Adder4, Adder5, Adder6 and Adder7) used to complete the adding operation in sequence;
a series of sequential operation registers (R0, R1, R2, R3, R4, R5, R6, and R7) is used to save values obtained from the sequential selecting operation of the phase selectors and the sequential adding operation of the adders;
a comparing device used to select a maximal value among those saved in the operation registers, the comparing device including a comparator and a maximum register (R8);

wherein the received signal registers include a first signal register X0, a second signal register X1, a third signal register X2, a fourth signal register X3, a fifth signal register X4, a sixth signal register X4, a seventh signal register X6 and a eighth signal register X7,
wherein the sequential operation registers include a first operation register R, a second operation register R1, a third operation register R2, a fourt operation register R3, a fifth operation register R4, a sixth operation register R5, a seventh operation register R6 and a eighth operation register R7;
wherein the adders include a first adder Adder1, a second Adder2, a third adder Adder3, a fourth Adder4, a fifth Adder5, a sixth Adder6 and a seventh Adder7;
wherein X0 is subjected to the phase selection and multiplication and then the result is saved in R0; Adder1 adds up R0 and the product of X1 multiplying with a selected phase (1, −1, j, −j) and saves the obtained sum in R1; Adder2 adds up R1 and the product of X2 multiplying with a selected phase (1, −1, j, −j), and saves the obtained sum in R2; Adder3 adds up R2 and the product of X3 multiplying with a selected phase (1, −1, j, −j), and saves the obtained sum in R3; Adder4 adds up R3 and the product of X4 multiplying with a selected phase (1, −1, j, −j), and saves the obtained sum in R4; Adder5 adds up R4 and the product of X5 multiplying with a selected phase (1, −1, j, −j), and saves the obtained sum in R5; Adder6 adds up R5 and the product of X6 multiplying with a selected phase (1, −1, j −j), and saves the obtained sum in R6; Adder7 adds up R6 and the product of X7 multiplying with a selected phase (1, −1, j, −j), and saves the obtained sum is saved R7.

13. The apparatus of claim 12, wherein the comparator is a 2-to-1 comparator.