mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
				synced 2025-11-04 05:53:26 +00:00 
			
		
		
		
	vty: Print NCC/BCC and not just integer value of BSIC
This commit is contained in:
		@@ -253,10 +253,11 @@ static void bts_dump_vty(struct vty *vty, struct gsm_bts *bts)
 | 
				
			|||||||
	struct pchan_load pl;
 | 
						struct pchan_load pl;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	vty_out(vty, "BTS %u is of %s type in band %s, has CI %u LAC %u, "
 | 
						vty_out(vty, "BTS %u is of %s type in band %s, has CI %u LAC %u, "
 | 
				
			||||||
		"BSIC %u and %u TRX%s",
 | 
							"BSIC %u (NCC=%u, BCC=%u) and %u TRX%s",
 | 
				
			||||||
		bts->nr, btstype2str(bts->type), gsm_band_name(bts->band),
 | 
							bts->nr, btstype2str(bts->type), gsm_band_name(bts->band),
 | 
				
			||||||
		bts->cell_identity,
 | 
							bts->cell_identity,
 | 
				
			||||||
		bts->location_area_code, bts->bsic,
 | 
							bts->location_area_code, bts->bsic,
 | 
				
			||||||
 | 
							bts->bsic >> 3, bts->bsic & 7,
 | 
				
			||||||
		bts->num_trx, VTY_NEWLINE);
 | 
							bts->num_trx, VTY_NEWLINE);
 | 
				
			||||||
	vty_out(vty, "Description: %s%s",
 | 
						vty_out(vty, "Description: %s%s",
 | 
				
			||||||
		bts->description ? bts->description : "(null)", VTY_NEWLINE);
 | 
							bts->description ? bts->description : "(null)", VTY_NEWLINE);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user