mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
				synced 2025-11-02 04:53:24 +00:00 
			
		
		
		
	iu_rab_act_ps: Use GGSN-side TEI in RAB Assignment Requeset
When we send the RAB Assignment Request to the RNC, we need to tell it the GGSN-side TEI for data, not "our" (SGSN side) TEID. In the RAB-Assignment.req we inform the RNC of the TEID on the GGSN side, and in the RAB-Assignment.resp the RNC informs us of the TEID on the RNC side.
This commit is contained in:
		| @@ -209,11 +209,11 @@ int iu_rab_act_ps(uint8_t rab_id, struct sgsn_pdp_ctx *pdp, bool use_x213_nsap) | ||||
| 	ggsn_ip = htonl(ggsn_ip); | ||||
|  | ||||
| 	LOGP(DRANAP, LOGL_DEBUG, "Assigning RAB: rab_id=%d, ggsn_ip=%x," | ||||
| 	     " teid_own=%x, use_x213_nsap=%d\n", | ||||
| 	     rab_id, ggsn_ip, pdp->lib->teid_own, use_x213_nsap); | ||||
| 	     " teid_gn=%x, use_x213_nsap=%d\n", | ||||
| 	     rab_id, ggsn_ip, pdp->lib->teid_gn, use_x213_nsap); | ||||
|  | ||||
| 	msg = ranap_new_msg_rab_assign_data(rab_id, ggsn_ip, | ||||
| 					    pdp->lib->teid_own, use_x213_nsap); | ||||
| 					    pdp->lib->teid_gn, use_x213_nsap); | ||||
| 	msg->l2h = msg->data; | ||||
| 	return iu_rab_act(uectx, msg); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user