ArticleslgStudy

computer science

Complementary code keying

Complementary code keying is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Complementary code keying rather than just read about it. In short: Complementary code keying (CCK) is a modulation scheme used with wireless networks (WLANs) that employ the IEEE 802.11b specification. In 1999, CCK was adopted to supplement the Barker code in wireless digital networks to achieve data rate higher than 2 Mbit/s at the expense of shorter distance.

Key takeaways

  • Complementary code keying belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Complementary code keying to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Complementary code keying from memory before moving on to harder problems.

Reference excerpt

Complementary code keying (CCK) is a modulation scheme used with wireless networks (WLANs) that employ the IEEE 802.11b specification. In 1999, CCK was adopted to supplement the Barker code in wireless digital networks to achieve data rate higher than 2 Mbit/s at the expense of shorter distance. This is due to the shorter chipping sequence in CCK (8 bits versus 11 bits in Barker code) that means less spreading to obtain higher data rate but more susceptible to narrowband interference resulting in shorter radio transmission range. Beside shorter chipping sequence, CCK also has more chipping sequences to encode more bits (4 chipping sequences at 5.5 Mbit/s and 8 chipping sequences at 11 Mbit/s) increasing the data rate even further. The Barker code, however, only has a single chipping sequence. The complementary codes first discussed by Golay were pairs of binary complementary codes and he noted that when the elements of a code of length N were either [−1 or 1] it followed immediately from their definition that the sum of their respective autocorrelation sequences was zero at all points except for the zero shift where it is equal to K×N. (K being the number of code words in the set). CCK is a variation and improvement on M-ary Orthogonal Keying and uses 'polyphase complementary codes'. They were developed by Lucent Technologies and Harris Semiconductor and were adopted by the 802.11 working group in 1998. CCK is the form of modulation used when 802.11b operates at either 5.5 or 11 Mbit/s. CCK was selected over competing modulation techniques as it used approximately the same bandwidth and could use the same preamble and header as pre-existing 1 and 2 Mbit/s wireless networks and thus facilitated interoperability. Polyphase complementary codes, first proposed by Sivaswamy, 1978, are codes where each element is a complex number of unit magnitude and arbitrary phase, or more specifically for 802.11b is one of [1, −1, j, −j]. Networks using the 802.11g specification employ CCK when operating at 802.11b speeds.

Mathematical description The CCK modulation used by 802.11b transmits data in symbols of eight chips, where each chip is a complex QPSK bit-pair at a chip rate of 11Mchip/s. In 5.5 Mbit/s and 11 Mbit/s modes respectively 4 and 8 bits are modulated onto the eight chips of the symbol c0,...,c7, where

𝐜=(c0,…,c7)=(ej(ϕ1+ϕ2+ϕ3+ϕ4),ej(ϕ1+ϕ3+ϕ4),ej(ϕ1+ϕ2+ϕ4),−ej(ϕ1+ϕ4),ej(ϕ1+ϕ2+ϕ3),ej(ϕ1+ϕ3),−ej(ϕ1+ϕ2),ejϕ1) and ϕ1,…,ϕ4 are determined by the bits being modulated. In other words, the phase change ϕ1 is applied to every chip, ϕ2 is applied to all even code chips (starting with c0), ϕ3 is applied to the first two of every four chips, and ϕ4 is applied to the first four of the eight chips. Therefore, it can also be viewed as a form of generalized Hadamard transform encoding.

References IEEE Std 802.11b-1999, §18.4.6.5 Van Nee, Richard; Awater, Geert; Morikura, Masahiro; Takanashi, Hitoshi; Webster, Mark; Halford, Karen (December 1999). "New High Rate Wireless LAN Standards". IEEE Communications Magazine.

Worked examples

Example 1 — a first encounter with Complementary code keying

Start with the simplest possible case. Write down what Complementary code keying claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Complementary code keying before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Complementary code keying ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Complementary code keying

In research
Complementary code keying appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Complementary code keying in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Complementary code keying is common in secondary-school and first-year university syllabi. It links to neighbouring topics IEEE 802.11, Quantized radio modulation modes, Wireless networking, so understanding it makes those chapters shorter.
In everyday life
Look for Complementary code keying outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Complementary code keying” →

How to study Complementary code keying in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Complementary code keying means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Complementary code keying out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Complementary code keying in simple terms?

Complementary code keying (CCK) is a modulation scheme used with wireless networks (WLANs) that employ the IEEE 802.11b specification. In 1999, CCK was adopted to supplement the Barker code in wireless digital networks to achieve data rate higher than 2 Mbit/s at the expense of shorter distance.

Why does Complementary code keying matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Complementary code keying?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Complementary code keying.

Tags

  • IEEE 802.11
  • Quantized radio modulation modes
  • Wireless networking

Keep exploring