mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 15:05:42 -05:00
vault backup: 2022-10-20 10:17:03
This commit is contained in:
parent
4b1d4b7f07
commit
47ab100f89
@ -57,9 +57,46 @@ Standards created and maintaned by IEEE
|
|||||||
- all use CSMA/CA for multiple access, and have base station and ad-hoc versions
|
- all use CSMA/CA for multiple access, and have base station and ad-hoc versions
|
||||||
|
|
||||||
WLAN architecture
|
WLAN architecture
|
||||||
- wireless hosts communicates with base station (A)
|
- wireless hosts communicates with base station (Access point AP)
|
||||||
|
- Basic service set (BSS): set of devices that share the same service identifier
|
||||||
|
- wireless hosts
|
||||||
|
- AP
|
||||||
|
- in ad hoc mode: hosts only, no AP
|
||||||
|
|
||||||
|
channels and association
|
||||||
|
- spectrum divided into channels at different frequencies
|
||||||
|
- admin chooses frequency for AP
|
||||||
|
- interference possible: channel can be the same as a neighboring AP
|
||||||
|
- a new host must assiciate with the AP (connect)
|
||||||
|
- listens for *beacon frames*
|
||||||
|
- contain AP name (SSID) and MAC
|
||||||
|
- may perform authentication
|
||||||
|
- run DHCP to get IP in AP's subnet
|
||||||
|
|
||||||
# CSMA/CA
|
# CSMA/CA
|
||||||
|
- avoid collisions
|
||||||
|
- CSMA sense before transmitting
|
||||||
|
- wifi: no collision detection
|
||||||
|
- hard due to: hidden terminal, fading,
|
||||||
|
- instead: CA collision avoidance
|
||||||
|
|
||||||
|
DCF (distributed coordination function)
|
||||||
|
- CSMA/CA with binary exponential backoff algorithm
|
||||||
|
|
||||||
|
sender
|
||||||
|
- if sense channel idle for DIFS (DCF interframe space) then send data (no CD)
|
||||||
|
- if sense channel busy:
|
||||||
|
- start random backoff time
|
||||||
|
- timer counts down while channel idle
|
||||||
|
- transmit when timer expires
|
||||||
|
- if no ACK, increase random back of interval, repeat 2
|
||||||
|
|
||||||
|
reciever
|
||||||
|
- if frame recieved ok
|
||||||
|
- return ACK after SIFS (short interframe space)
|
||||||
|
- ACK needed due to hidden terminal problems
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Hidden terminal problem
|
# Hidden terminal problem
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user