This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.orgPau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/10567 Change subject: abis_nm: Fix trailing whitespacing ...................................................................... abis_nm: Fix trailing whitespacing Change-Id: Ia434b349e85019d2224a6f9a699058dccc6072dc --- M src/osmo-bsc/abis_nm.c 1 file changed, 15 insertions(+), 15 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/67/10567/1 diff --git a/src/osmo-bsc/abis_nm.c b/src/osmo-bsc/abis_nm.c index f59a4fe..1092173 100644 --- a/src/osmo-bsc/abis_nm.c +++ b/src/osmo-bsc/abis_nm.c @@ -1041,7 +1041,7 @@ sw_add_file_id_and_ver(sw, msg); msgb_tv_put(msg, NM_ATT_WINDOW_SIZE, sw->window_size); - + return abis_nm_sendmsg(sw->bts, msg); } @@ -1252,7 +1252,7 @@ sw->file_version_len = strlen(file_version); /* rewind to start of file */ rewind(sw->stream); - break; + break; case GSM_BTS_TYPE_NANOBTS: /* TODO: extract that from the filename or content */ rc = parse_sdp_header(sw); @@ -1274,7 +1274,7 @@ return 0; } - + static void sw_close_file(struct abis_nm_sw *sw) { switch (sw->bts->type) { @@ -1310,7 +1310,7 @@ int rc = -1; struct abis_nm_sw *sw = &g_sw; enum sw_state old_state = sw->state; - + //DEBUGP(DNM, "state %u, NM MT 0x%02x\n", sw->state, foh->msg_type); switch (sw->state) { @@ -1557,7 +1557,7 @@ ch->attrib = NM_ATT_ABIS_CHANNEL; ch->bts_port = bts_port; ch->timeslot = ts_nr; - ch->subslot = subslot_nr; + ch->subslot = subslot_nr; } int abis_nm_establish_tei(struct gsm_bts *bts, uint8_t trx_nr, @@ -1572,7 +1572,7 @@ oh = (struct abis_om_hdr *) msgb_put(msg, ABIS_OM_FOM_HDR_SIZE); fill_om_fom_hdr(oh, len, NM_MT_ESTABLISH_TEI, NM_OC_RADIO_CARRIER, bts->bts_nr, trx_nr, 0xff); - + msgb_tv_put(msg, NM_ATT_TEI, tei); ch = (struct abis_nm_channel *) msgb_put(msg, sizeof(*ch)); @@ -1593,7 +1593,7 @@ oh = (struct abis_om_hdr *) msgb_put(msg, ABIS_OM_FOM_HDR_SIZE); fill_om_fom_hdr(oh, sizeof(*ch), NM_MT_CONN_TERR_SIGN, NM_OC_RADIO_CARRIER, bts->bts_nr, trx->nr, 0xff); - + ch = (struct abis_nm_channel *) msgb_put(msg, sizeof(*ch)); fill_nm_channel(ch, e1_port, e1_timeslot, e1_subslot); @@ -2313,7 +2313,7 @@ fill_om_fom_hdr(oh, 0, NM_MT_BS11_LMT_LOGOFF, NM_OC_BS11_BTSE, 0xff, 0xff, 0xff); } - + return abis_nm_sendmsg(bts, msg); } @@ -2340,7 +2340,7 @@ struct abis_om_hdr *oh; struct msgb *msg; uint8_t tlv_value; - + msg = nm_msgb_alloc(); oh = (struct abis_om_hdr *) msgb_put(msg, ABIS_OM_FOM_HDR_SIZE); fill_om_fom_hdr(oh, 3, NM_MT_BS11_SET_ATTR, NM_OC_BS11, @@ -2350,9 +2350,9 @@ tlv_value = BS11_LI_PLL_LOCKED; else tlv_value = BS11_LI_PLL_STANDALONE; - + msgb_tlv_put(msg, NM_ATT_BS11_PLL_MODE, 1, &tlv_value); - + return abis_nm_sendmsg(bts, msg); } @@ -2410,7 +2410,7 @@ lh = queue->next; llist_del(lh); - + return llist_entry(lh, struct file_list_entry, list); } @@ -2439,7 +2439,7 @@ if (strlen(linebuf) < 4) continue; - + rc = sscanf(linebuf+4, "%12s:%80s\r\n", file_id, file_version); if (rc < 0) { perror("ERR parsing SWL file"); @@ -2460,7 +2460,7 @@ strncat(fle->fname, dirname(dir), sizeof(fle->fname) - 1); strcat(fle->fname, "/"); strncat(fle->fname, file_id, sizeof(fle->fname) - 1 -strlen(fle->fname)); - + llist_add_tail(&fle->list, &bs11_sw->file_list); } @@ -2562,7 +2562,7 @@ NM_ATT_FILE_VERSION, NM_ATT_OPER_STATE, 0xe8, NM_ATT_BS11_ALL_TEST_CATG, NM_ATT_SW_DESCR, NM_ATT_GET_ARI }; #endif - + static uint8_t req_attr[] = { NM_ATT_ADM_STATE, NM_ATT_AVAIL_STATUS, 0xa8, NM_ATT_OPER_STATE, 0xd5, 0xa1, NM_ATT_BS11_ESN_FW_CODE_NO, NM_ATT_BS11_ESN_HW_CODE_NO, -- To view, visit https://gerrit.osmocom.org/10567 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ia434b349e85019d2224a6f9a699058dccc6072dc Gerrit-Change-Number: 10567 Gerrit-PatchSet: 1 Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180822/af41d57a/attachment.htm>