Changes between Version 36 and Version 37 of WANMAC
- Timestamp:
- Jul 21, 2006, 3:27:37 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WANMAC
v36 v37 141 141 The pduQueueStruct is a structure containing an array of frameStructs and a few control bytes to keep track of indices, flags and the length of the queue. This queue can serve two purposes. The first use is during the receive phase of the MAC. When the MAC receives a packet from another node, it needs to put the payload somewhere. Because the specification of the connection between our MAC and higher networking layers is still in the process of being defined, we need a method of abstracting our layer away from this future glue layer. An acceptable solution is to simply copy packets from the PHY's memory space into a queue. It is assumed that another in the xilkernel will be taking these packets and giving them to higher layers. The other use of this queue is on the transmit side of the MAC. Again, the connection to the higher layer is still being defined, so we need a way of getting packets to send in the meantime. You can think of the transmit queue as analogous to the receive queue, in that some process somewhere gives us packets to send. This could be the [wiki:"Video Board" Video Board], or eventually the ethernet controller. 142 142 143 '''Base Station'''144 145 [source:/ResearchApps/MAC/WANMAC/Basestation/basestation.h@91#L68 BSQueueStruct]146 This is the Base Station data structure, for keeping record of the number of subscribers and for their Receive and Transmit Queues.147 148 143 149 144 [source:/ResearchApps/MAC/WANMAC/Basestation/basestation.h@91#L74 MAPEntryStruct] … … 166 161 as for newly added subscriber ids. So far we are not using this, as this is used for Network Entry Protocol. 167 162 163 164 '''Base Station''' 165 166 [source:/ResearchApps/MAC/WANMAC/Basestation/basestation.h@91#L68 BSQueueStruct] 167 This is the Base Station data structure, for keeping record of the number of subscribers and for their Receive and Transmit Queues. 168 169 168 170 '''Subscriber Station''' 171 172 [source:/ResearchApps/MAC/WANMAC/Basestation/basestation.h@91#L68 BSQueueStruct] 173 This is the Subscriber Station data structure, for keeping record of its Receive and Transmit Queues. 169 174 170 175