node15.html

来自「用C++编写的GPRS协议栈源代码」· HTML 代码 · 共 39 行

HTML
39
字号
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><!--Converted with LaTeX2HTML 96.1 (Feb 5, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds --><HTML><HEAD><TITLE>Dealing with Collisions</TITLE><META NAME="description" CONTENT="Dealing with Collisions"><META NAME="keywords" CONTENT="gprs"><META NAME="resource-type" CONTENT="document"><META NAME="distribution" CONTENT="global"><LINK REL=STYLESHEET HREF="gprs.css"></HEAD><BODY LANG="EN"> <A NAME="tex2html266" HREF="node16.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="http://cbl.leeds.ac.uk/nikos/figs/next_motif.gif"></A> <A NAME="tex2html264" HREF="node3.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="http://cbl.leeds.ac.uk/nikos/figs/up_motif.gif"></A> <A NAME="tex2html258" HREF="node14.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="http://cbl.leeds.ac.uk/nikos/figs/previous_motif.gif"></A>   <BR><B> Next:</B> <A NAME="tex2html267" HREF="node16.html">Error model</A><B>Up:</B> <A NAME="tex2html265" HREF="node3.html">MAC Implementation Details</A><B> Previous:</B> <A NAME="tex2html259" HREF="node14.html">Release</A><BR> <P><H2><A NAME="SECTION00126000000000000000">Dealing with Collisions</A></H2><P>Since this is a reservation based slotted Aloha system, the only placecollisions can occur is during contention on the Packet Random AccessCHannel (ie slot 0 on uplink frequency 0) when more than one MS send a<EM>resource_request</EM> at the same time. We use <EM>chan0_0</EM> tomaintain the state information about the PRACH. In case of collision, thecolliding <EM>resource_request</EM> packets are dropped by <EM>rx_from_phy()</EM> at the BS. The MS wait one TDMA frame for a reply. Sinceno reply is received, the MS set the <EM>Backoff Timer</EM> for a randominterval (generated using <EM>Random::integer(k)</EM>). On expiry this callsthe <EM>backoffHandler()</EM>, which then schedules another <EM>resource_request</EM>.<P><BR> <HR><P><ADDRESS><I>Richa Jain (96D07007) <BR>Tue Jul 24 22:29:53 IST 2001</I></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?