mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
				synced 2025-11-04 05:53:26 +00:00 
			
		
		
		
	GPRS: Enable EGPRS coding schemes in Cell Attributes if 'gprs mode egprs'
This commit is contained in:
		@@ -378,11 +378,11 @@ static unsigned char nanobts_attr_cell[] = {
 | 
				
			|||||||
		4,	/* N3103 */
 | 
							4,	/* N3103 */
 | 
				
			||||||
		8,	/* N3105 */
 | 
							8,	/* N3105 */
 | 
				
			||||||
		15,	/* RLC CV countdown */
 | 
							15,	/* RLC CV countdown */
 | 
				
			||||||
	NM_ATT_IPACC_CODING_SCHEMES, 0, 2,  0x0f, 0x00,
 | 
						NM_ATT_IPACC_CODING_SCHEMES, 0, 2,  0x0f, 0x00,	/* CS1..CS4 */
 | 
				
			||||||
	NM_ATT_IPACC_RLC_CFG_2, 0, 5,
 | 
						NM_ATT_IPACC_RLC_CFG_2, 0, 5,
 | 
				
			||||||
		0x00, 250,
 | 
							0x00, 250,	/* T downlink TBF extension (0..500) */
 | 
				
			||||||
		0x00, 250,
 | 
							0x00, 250,	/* T uplink TBF extension (0..500) */
 | 
				
			||||||
		2,	/* MCS2 */
 | 
							2,	/* CS2 */
 | 
				
			||||||
#if 0
 | 
					#if 0
 | 
				
			||||||
	/* EDGE model only, breaks older models.
 | 
						/* EDGE model only, breaks older models.
 | 
				
			||||||
	 * Should inquire the BTS capabilities */
 | 
						 * Should inquire the BTS capabilities */
 | 
				
			||||||
@@ -886,6 +886,11 @@ static void patch_nm_tables(struct gsm_bts *bts)
 | 
				
			|||||||
	/* patch RAC */
 | 
						/* patch RAC */
 | 
				
			||||||
	nanobts_attr_cell[3] = bts->gprs.rac;
 | 
						nanobts_attr_cell[3] = bts->gprs.rac;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if (bts->gprs.mode == BTS_GPRS_EGPRS) {
 | 
				
			||||||
 | 
							/* patch EGPRS coding schemes MCS 1..9 */
 | 
				
			||||||
 | 
							nanobts_attr_cell[29] = 0x8f;
 | 
				
			||||||
 | 
							nanobts_attr_cell[30] = 0xff;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void bootstrap_rsl(struct gsm_bts_trx *trx)
 | 
					static void bootstrap_rsl(struct gsm_bts_trx *trx)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user