Académique Documents
Professionnel Documents
Culture Documents
110011101001110010
+1
Receiver
also has c(t) time
-1
1 0 0 1 1 0
+1
d(t)*c(t)*c(t)
= Data d(t), since time
c(t)*c(t) = 1! -1 Prof. Rick Han, University of Colorado at Boulder
Direct Sequence Spreads the
Spectrum
• Benefit of modulating data d(t) by chipping sequence:
spreading the spectrum to improve immunity to noise
and fading Spectrum of data d(t)
frequency
Spectrum of chipping sequence c(t)
frequency
Spectrum of d(t)*c(t)
frequency
Prof. Rick Han, University of Colorado at Boulder
CDMA via
Direct Sequence
• Each DSSS chipping sequence c(t) can be used
as a code
• In CDMA, assign different DSSS codes to
different hosts:
• Assign code c1(t) between a base station and user 1,
assign code c2(t) between base station and user 2, …
• Base station transmits summed signal:
• d1(t)*c1(t) + d2(t)*c2(t) + …
• Ideally, choose c1(t) to be orthogonal to c2(t)
∫ c1(t)*c2(t) =0 (reality: only ~orthogonal)
In general, ∫ cj(t)*ck(t) =0 for j≠ k
Prof. Rick Han, University of Colorado at Boulder
CDMA via
Direct Sequence (2)
• At receiver 1, received signal is multiplied by c1(t)
and integrated:
• ∫ {c1(t)*[d1(t)*c1(t) + d2(t)*c2(t) + …]} = ∫ d1(t)
• Can extract data bit sequence d1(t) from ∫ d1(t)
using a threshold detector, and then you’re done!
Internet
Access Point/
Base station
Prof. Rick Han, University of Colorado at Boulder
802.11 Modes of Operation
• Ad hoc mode
• Group of laptops form isolated wireless LAN – no AP
• Ad hoc meeting in conference room
• One-hop wireless communication
• Not multi-hop
Token
Ring
Ethernet
Prof. Rick Han, University of Colorado at Boulder
Token Ring (2)
• Links are unidirectional
• Each node has a downstream neighbor and an
upstream neighbor
• Topology resembles N
point-to-point links
forming a ring rather than
continuous wire loop
Token
• but access to ring is
Ring
shared via tokens
• A “token” is a special flag
that circulates around the 010010
ring “Token”
Prof. Rick Han, University of Colorado at Boulder
Token Ring (3)
• Each node receives token, then transmits it to
its downstream neighbor
• Round-robin ensures fairness, as every node
eventually can transmit when it receives token
• Suppose token was
passed from source
to destination rather
than around the ring
as in Token Ring
Token
• some hosts could 010010
Ring
be passed over “Token”
indefinitely –
unfair!
Prof. Rick Han, University of Colorado at Boulder
Token Ring (4)
• When a node has a frame to send, it takes
token, and transmits frame downstream
• Each node receives a
frame and forwards it
downstream
• Destination host saves 1110011010
copy of frame, but keeps Data Frame
forwarding frame.
• Inefficient Token 010010
• Forwarding stops when Ring
frame reaches original “Token”
source