1 / 28

IEEE 802.11 MAC Functionality

IEEE 802.11 MAC Functionality. 4-22 MHz. HERMES Chip. RADIO MODEM. MDI. P. H. O. S. T. M. A. C. C. B. u. f. f. e. r. &. THESEUS. MMI. M. I. /. F. C. o. n. t. r. o. l. F. r. a. g. m. e. n. t. D. I. S. C. C. F. u. n. c. t. i. o. n. M. a. n. a.

Download Presentation

IEEE 802.11 MAC Functionality

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. IEEE 802.11 MAC Functionality

  2. 4-22 MHz HERMES Chip RADIO MODEM MDI P H O S T M A C C B u f f e r & THESEUS MMI M I / F C o n t r o l F r a g m e n t D I S C C F u n c t i o n M a n a g e m e n t RADIO I H W GPSIO A F l a s h E P R O M S e r i a l E E P r o m S R A M BootFlash 128K*8 m i n 3 2 K B , m a x 2 M B ORiNOCO implementation of IEEE 802.11 • Digital Signal Processor (Theseus) • IEEE 802.11 MAC chip (Hermes)

  3. 4-22 MHz HERMES Chip RADIO MODEM MDI P H O S T M A C C B u f f e r & THESEUS MMI M I / F C o n t r o l F r a g m e n t D I S C C F u n c t i o n M a n a g e m e n t RADIO I H W GPSIO A F l a s h E P R O M S e r i a l E E P r o m S R A M BootFlash 128K*8 m i n 3 2 K B , m a x 2 M B ORiNOCO implementation of IEEE 802.11 • Digital Signal Processor (Theseus) • IEEE 802.11 MAC chip (Hermes)

  4. 4-22 MHz HERMES Chip RADIO MODEM MDI P H O S T M A C C B u f f e r & THESEUS MMI M I / F C o n t r o l F r a g m e n t D I S C C F u n c t i o n M a n a g e m e n t RADIO I H W GPSIO A F l a s h E P R O M S e r i a l E E P r o m S R A M BootFlash 128K*8 m i n 3 2 K B , m a x 2 M B ORiNOCO implementation of IEEE 802.11 • Protocol functions programmed in FW, so flexible. • For use in station and access points (additional FW loaded when operating as access point) • Functions can be added over time, via upgrade utilities

  5. IEEE 802.11 features • Sharing Medium • ACK protocol • Medium reservation (RTS/CTS) • Fragmentation • Multi-channel roaming • Automatic data-rate fall-back • Cell size / Multi-rate applications • In-cell relay • Power Management • Wired Equivalent Privacy (WEP) • Wireless Distribution System (WDS)

  6. CRS defer CRS defer CRS CRS collision Sharing the mediumThe way Ethernet works CSMA/CD • Adapters that can detect collisions (e.g. Ethernet adapters) • Carrier Sensing: listen to the media to determine if it is free • Initiate transmission as soon as carrier drops • When collision is detected station defers • When defer timer expires: repeat carrier sensing and start transmission station A station B station C

  7. backoff backoff CRS CRS backoff (rest) defer CRS CRS Sharing the mediumCoordinating access using CSMA/CA • Wireless LAN adapters cannot detect collisions, so different coordination schemes have to be devised • DCF (Distributed Coordination Function) • Implemented as CSMA/CA (Carrier Sensing Multiple Access with Collision Avoidance) • Contention based (using “random” back-off timers to resolve contention) • ORiNOCO systems implement DCF station A station B station C

  8. Sharing the mediumCoordinating access using PCF Contention Free Repetition Interval Contention Free Period • PCF (Point Coordination Function) • Optional additional medium access control method • Contention free operation with single Point Coordinator in a cell (typically residing the AP) • Point Coordinator controls the medium by polling stations in the BSS • ORiNOCO systems do not implement PCF but are sensitive for PCF presence SIFS SIFS SIFS PIFS SIFS Contention Period PC beacon D1+poll D2+Ack+ Poll D3+Ack +Poll D4 +poll STA U1 + Ack U2+ Ack U4+ Ack No response to CD-Poll CF End PIFS SIFS SIFS SIFS Reset NAV NAV CF_Max_Duration

  9. Free access when medium DIFS is free longer than DIFS Contention Window PIFS DIFS SIFS Backoff-Window Next Frame Busy Medium Slot time Select Slot and Decrement Backoff as long as medium is idle. Defer Access Sharing the mediumInter-Frame Spacing • Inter frame spacing required for MAC protocol traffic • SIFS = Short interframe space • PIFS = PCF interframe space • DIFS = DCF interframe space • Back-off timer operates in the contention window • Back-off time is expressed in terms of number of time slots

  10. DIFS Src Data SIFS Dest Ack DIFS Contention Window Other Next MPDU Backoff after Defer Defer Access Sharing the mediumCSMA/CA with low-level Acknowledgment • Collisions still can occur (interference; incapability of sensing other’s carrier) • IEEE 802.11 defines “low-level” ACK protocol • Provides faster error recovery • Makes presence of high level error recovery less critical • Acknowledgment are to arrive at within the SIFS • The DCF interframe space is observed before medium is considered free for use

  11. A B C A sends to B C doesn’t detect that, so C might also start sending to B Collision of messages at B: both messages lost “Hidden stations” the problem • Situation that occurs in larger cells (typical outdoor) • Loss of performance • Error recovery required

  12. “Hidden stations” the solution A B C • IEEE 802.11 defines: • MAC level RTS/CTS protocol (Request to Send / Clear to Send) • Can be switched off to reduce overhead (when no hidden nodes exist) • More robustness, and increased reliability • No interruptions when large files are transmitted RTS: I want to send to B 500 bytes CTS: OK A, go ahead, so everybody quiet Data: the 500 bytes of data from A to B ACK: B received the data OK, so an ACK

  13. Hit A hit in a large frame requires re-transmission of a large frame Fragmenting reduces the frame size and the required time to re-transmit Message fragmentation • IEEE 802.11 defines: • MAC level function to transmit large messages as smaller frames (user definable) • Improves performance in RF polluted environments • Can be switched off to avoid the overhead in RF clean environments

  14. Multi-channel roaming • ORiNOCO IEEE 802.11 systems, support multi-channel roaming • Access points are set to a fixed frequency • Stations do not need to be configured for a fixed frequency • Stations switch frequency when roaming between access points • Stations “associate” dynamically to the access point with best signal, on power on • This implies • Easier configuration • Faster installation

  15. Channel 11 Channel 1 Channel 6 Channel 1 Multi-channel roaming

  16. Automatic rate select • ORiNOCO PC Card, dynamically switches data-rate • Fall back to lower data-rate when communications quality decreases • out of range situations • Interference • Fall-back scheme: • 11 Mbps, 5.5 Mbps, 2 Mbps, 1 Mbps • This implies • Operating at larger distances • Robustness in RF polluted areas

  17. Automatic rate select • ORiNOCO PC Card in AP-500, AP-1000 and AP-2000 is capable of supporting different data-rates “simultaneously”: • e.g. operates at “High” speed in communication to nearby station and at “Low” speed to station that is further away. • Data rate capability is maintained in “station association table” • Speed of IEEE Management - and Control frames use fixed speed determined as “IEEE Basic Rates”, and controlled by “Multi-cast Rate parameter”.

  18. Cell size / Multi Rate applications • Cell-size can be influenced by “Distance between APs” parameter: • Distance between APs = Large -> large cell • Distance between APs = Medium -> medium size cell • Distance between APs = Small -> small cell • Cell-size influences capacity per station in the cell • small cell physically accommodates smaller number of stations than large cell • bandwidth per station in small cell greater than in large cell • Cell size influences data-rate • larger distance between station and access-point may lead to lower data-rate

  19. Cell size / Multi Rate applications • Mixture of cell-sizes accommodate mixed applications: • Office workers: • High physical station density • High bandwidth requirement • Small cell operating at high data rate • Distance between APs is small • Warehouse operations (such as forklift truck) • Low physical station density • Low bandwidth requirement (transaction processing) • Large cell operating at low data rate • Distance between APs is large

  20. 11 Mbits/sec 1 Mbits/sec Multi Rate applications

  21. In-cell Relay • IEEE 802.11, in-cell relay: • Single radio module when used in the AP-500, AP-1000 or AP-2000 acts as repeater between two stations • Provides cells that are app. twice as large as cells without an access-point • Communication flows via access-point so overall transmission time increases relative to pre-IEEE 802.11(or direct station to station communication) • This implies: • Larger cell size and consequently less need for access points and interconnecting infrastructure • Reduced performance in peer to peer communication within one cell compared to AP-less cells

  22. d a a In-cell Relay In-cell relay: Larger cell (diameter = d >a) Lower throughput (data travels through air twice) No in-cell relay: Smaller cell (diameter = a<d ) Higher throughput (data travels through air once)

  23. Power Management • IEEE 802.11, supports power management: • nothing to send: station in sleep mode • out-bound traffic stored in Access Point (out-bound = from AP to STA) • station wake up only for Traffic Information Map (TIM) • if messages: stay awake to receive them • This implies: • Prolonged battery life • Increase usability in hand-held equipment • Works best in application that have limited bandwidth requirements (transaction processing)

  24. Wired Equivalent Privacy • Optional security functionality (factory “installed”) • Encryption based on RC4 (1988 RSA algorithm) • Stream cipher 64 or 128 bits key • User defined keys can be 40 or 104 bits long • 24 bits varying for each packet called the IV (Initialization vector) • Used for data encryption • Used for shared key station authentication • ORiNOCO’s FW inside the PC Card (implementing WEP) contains unique protection against so-called “Weak Key” attacks • Sniffing (key capturing) programs such as AirSnort will are ineffective in “stealing” encryption keys

  25. Wireless Distribution System • IEEE 802.11, WDS means • Multiple (7) wireless “ports” inside the access-point for wireless operations • 1 port can be assigned to connect Wireless Stations • Up to 6 ports can be used to connect wirelessly to other Access Points • All done by one ORiNOCO PC Card in the Access Point • All wireless links operate on the same channel • WDS allows: • Extending the existing infrastructure with wireless backbone links • Totally wireless system without any wired backbones, needed in locations where large areas are to be covered and wiring is not possible

  26. Channel 11 Channel 1 Channel 6 Wireless Distribution System

  27. IEEE 802.11 featuresModule summary • ACK protocol • Medium reservation (RTS/CTS) • Fragmentation • Multi-channel roaming • Automatic data-rate fall-back • Cell size / Multi-rate applications • In-cell relay • Power Management • Wired Equivalent Privacy (WEP) • Wireless Distribution System (WDS)

  28. Your Mobile Broadband Connection

More Related