MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / writePacketDownlinkAssignment

Method writePacketDownlinkAssignment

GSM/GSML3GPRSElements.cpp:263–286  ·  view source on GitHub ↗

(pat) The downlink assignment may be (normally is) initiated by the network, in which case the "request reference" in the Immediate Assignment message is set to an impossible value, and the MS is identified by the TLLI.

Source from the content-addressed store, hash-verified

261// in which case the "request reference" in the Immediate Assignment message
262// is set to an impossible value, and the MS is identified by the TLLI.
263void L3IAPacketAssignment::writePacketDownlinkAssignment(MsgCommon &dest) const
264{
265 // The IA Rest Octets start with some bits to indicate a Packet Downlink Assignment:
266 // GSM04.08 sec 10.5.2.16
267 dest.writeH();
268 dest.writeH();
269 dest.write0();
270 dest.write1();
271 dest.writeField(mTLLI,32,"TLLI",tohex);
272 if (dest.write01(mTFIPresent)) {
273 dest.WRITE_FIELD(mTFIAssignment,5);
274 dest.WRITE_FIELD(mRLCMode,1);
275 dest.WRITE_OPT_FIELD01(mAlpha,4,mAlphaPresent);
276 dest.WRITE_FIELD(mGamma,5);
277 dest.WRITE_FIELD(mPolling, 1);
278 dest.WRITE_FIELD(mTAValid, 1);
279 }
280 dest.WRITE_OPT_FIELD01(mTimingAdvanceIndex,4,mTimingAdvanceIndexPresent);
281 if (dest.write01(mTBFStartingTimePresent)) {
282 writeStartTime(dest,mTBFStartingTime);
283 }
284 dest.write0(); // No downlink power parameters present.
285 dest.writeL(); // No Egprs.
286}
287
288void L3IAPacketAssignment::writeIAPacketAssignment(MsgCommon &dest) const
289{

Callers

nothing calls this directly

Calls 7

writeStartTimeFunction · 0.85
writeHMethod · 0.45
write0Method · 0.45
write1Method · 0.45
writeFieldMethod · 0.45
write01Method · 0.45
writeLMethod · 0.45

Tested by

no test coverage detected