- 1、本文档共58页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
WirelessMAC
* Simplest CSMA Scheme Send a packet as soon as medium becomes idle On sensing busy Wait for idle → persistent Set a timer and try later → non-persistent Problem with persistent: two stations waiting to speak will collide * Applies to slotted channels A waiting station does not launch a packet immediately when the channel becomes idle p: probability of sending a packet when the medium becomes idle First toss a coin, and send a packet only if the coin comes up heads If the coin comes up tails, the station waits for some time (defers until the next slot), then repeats the process Hard to choose p if p small, then waste time if p large, more collisions Best p depends on the number of contending nodes Reducing Collision Probability: p-Persistent CSMA * Handling the Collision Problem: Exponential Backoff Each station, after transmitting a packet, checks whether the packet transmission is successful On collision, choose timeout randomly from doubled range Backoff range adapts to number of contending stations No need to choose p Need to detect collisions: collision detect circuit → CSMA/CD (collision detection) * Difference Between Wired and Wireless If both A and C sense the channel to be idle at the same time, they send at the same time Collision can be detected at the sender in Ethernet Half-duplex radios cannot detect collision at the sender A B C A B C Ethernet LAN Wireless LAN * Used in wireless LANs Cannot detect collision because transmitter overwhelms colocated receiver Need explicit acks (acknowledgments) This makes collisions more expensive Should reduce the number of collisions CSMA/CA (Collision Avoidance) * CSMA/CA Algorithm First check if the medium is busy If so, wait for the medium to become idle Wait for interframe spacing Set a contention timer to an interval randomly chosen in the range [1, CW] On timeout, send packet and wait for ack If no ack, assume packet loss Double CW, then repeat the above steps to retransmit If another station transmits while c
您可能关注的文档
最近下载
- 施工现场临时用电安全监理实施细则(参考).doc VIP
- 企业集团财务共享中心构建探讨.doc VIP
- (正式版)D-L∕T 1380-2014 电网运行模型数据交换规范.docx VIP
- flac3d60应用案例说明书使用.pdf
- 有限空间作业有害气体检测记录表(通用表格).xls VIP
- 2024-2025学年小学科学五年级下册青岛版(五四制2017秋)教学设计合集.docx
- Colorlight卡莱特专业视频处理器X7 X6 使用说明书V1.3用户手册.pdf
- 2025年党员的个人自查报告及整改措施(精选10篇) .pdf VIP
- 新技术和新项目准入制度.pptx
- 用线画画ppt课件小学美术辽海版二年级下册.ppt
文档评论(0)