FreeCalypso > hg > tcs211-l1-reconst
comparison chipsetsw/layer1/p_cfile/l1p_asyn.c @ 293:c98b6ae0f7f1
l1p_asyn.c: l1pa_transfer_process() reconstructed
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 02 Oct 2017 05:29:02 +0000 |
parents | 51e57732da26 |
children | ff9fbb4a4ecf |
comparison
equal
deleted
inserted
replaced
292:51e57732da26 | 293:c98b6ae0f7f1 |
---|---|
1109 static int count =0; | 1109 static int count =0; |
1110 | 1110 |
1111 T_TRANSFER_SET *free_set; | 1111 T_TRANSFER_SET *free_set; |
1112 UWORD8 assignment_command; | 1112 UWORD8 assignment_command; |
1113 UWORD8 timeslot_alloc; | 1113 UWORD8 timeslot_alloc; |
1114 UWORD8 timeslot=0; | 1114 UWORD8 timeslot; /* TCS211 reconstruction, =0 in TCS3 */ |
1115 | 1115 |
1116 // TBF_changes | 1116 // TBF_changes |
1117 | 1117 |
1118 #if FF_TBF | 1118 #if FF_TBF |
1119 | 1119 |
1312 { | 1312 { |
1313 // If pending released TBF = assigned TBF or assigned TBF = BOTH | 1313 // If pending released TBF = assigned TBF or assigned TBF = BOTH |
1314 if ((assignment_command == l1pa_l1ps_com.transfer.tbf_release_param.released_tbf) || | 1314 if ((assignment_command == l1pa_l1ps_com.transfer.tbf_release_param.released_tbf) || |
1315 (assignment_command == BOTH_TBF)) | 1315 (assignment_command == BOTH_TBF)) |
1316 { | 1316 { |
1317 // Send a "TBF Release confirmation" msg to L3 : CQ 46842 | 1317 /* |
1318 l1pa_send_tbf_release_con(MPHP_TBF_RELEASE_CON,l1pa_l1ps_com.transfer.tbf_release_param.released_tbf); | 1318 * FreeCalypso TCS211 reconstruction: in the LoCosto version |
1319 * the call to l1pa_send_tbl_release_con() came first, | |
1320 * but in the TCS211 object it comes after the two | |
1321 * assignments. | |
1322 */ | |
1319 | 1323 |
1320 // Cancel the TBF release order | 1324 // Cancel the TBF release order |
1321 l1pa_l1ps_com.transfer.tbf_release_param.tbf_release_cmd = FALSE; | 1325 l1pa_l1ps_com.transfer.tbf_release_param.tbf_release_cmd = FALSE; |
1322 l1pa_l1ps_com.transfer.tbf_release_param.released_tbf = NO_TBF; | 1326 l1pa_l1ps_com.transfer.tbf_release_param.released_tbf = NO_TBF; |
1327 | |
1328 // Send a "TBF Release confirmation" msg to L3 : CQ 46842 | |
1329 l1pa_send_tbf_release_con(MPHP_TBF_RELEASE_CON,l1pa_l1ps_com.transfer.tbf_release_param.released_tbf); | |
1323 } | 1330 } |
1324 // If BOTH TBF release order pending and no BOTH TBF assigned | 1331 // If BOTH TBF release order pending and no BOTH TBF assigned |
1325 else if (l1pa_l1ps_com.transfer.tbf_release_param.released_tbf == BOTH_TBF) | 1332 else if (l1pa_l1ps_com.transfer.tbf_release_param.released_tbf == BOTH_TBF) |
1326 { | 1333 { |
1327 // Keep the release of the TBF which is not assigned by this message | 1334 // Keep the release of the TBF which is not assigned by this message |