From: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
The new lchan will be in speech mode already but for AMR we will
need to provide a working multirate config in the channel activation,
otherwise the channel act might be nacked.
Copy the config from the current lchan into the new lchan. The
abis code simply added the mrconf if the speech mode was amr.
Before this commit the invalidate mrconf with all zeroes was
copied/sent.
---
openbsc/src/libbsc/handover_logic.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/openbsc/src/libbsc/handover_logic.c b/openbsc/src/libbsc/handover_logic.c
index 9284f7e..ff6e993 100644
--- a/openbsc/src/libbsc/handover_logic.c
+++ b/openbsc/src/libbsc/handover_logic.c
@@ -133,6 +133,7 @@ int bsc_handover_start(struct gsm_lchan *old_lchan, struct gsm_bts *bts)
new_lchan->bs_power = old_lchan->bs_power;
new_lchan->rsl_cmode = old_lchan->rsl_cmode;
new_lchan->tch_mode = old_lchan->tch_mode;
+ new_lchan->mr_conf = old_lchan->mr_conf;
new_lchan->conn = old_lchan->conn;
new_lchan->conn->ho_lchan = new_lchan;
--
2.1.3
From: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
When the link is being created BSC_FD_WRITE and BSC_FD_READ are
being ored into the flag. When the socket connects the first time
the ipa_client_fd_cb function is called and the link->state is
moved from connecting to connect.
In case the connection drops and ipa_client_conn_open is called
again the BSC_FD_WRITE flag might not be set. This means that after
the socket is connected, ipa_client_fd_cb will not be called. This
means that the updown_cb will not be called until after the first
write or read on the socket. It might even lead to missing some
data.
When re-connecting set the write flag again.
---
src/input/ipa.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/input/ipa.c b/src/input/ipa.c
index e2da6f4..1ddf802 100644
--- a/src/input/ipa.c
+++ b/src/input/ipa.c
@@ -218,6 +218,7 @@ int ipa_client_conn_open(struct ipa_client_conn *link)
return ret;
}
link->ofd->fd = ret;
+ link->ofd->when |= BSC_FD_WRITE;
if (osmo_fd_register(link->ofd) < 0) {
close(ret);
link->ofd->fd = -1;
--
2.1.3
Hello
Can anybody suggest where its specified
"Radio priority (PDP or SMS)"
I can see radio priority setting in gprs_gmm.c but changing that is not
working.
also in gprs_gmm.c its mention radio_pri
/* Radio priority 10.5.7.2 */
/* msgb_v_put(msg, pdp->lib->radio_pri)
but under attach accept in gprs_gmm.c its
aa->radio_prio = 3;
are they same or typo
any suggestion please
RS
Hi all.
I recall the question of sending sms through OpenBSC via command-line popped-up few
times before. Shall we add attached snippet to openbsc/contrib?
--
best regards,
Max, http://fairwaves.co
Hello
I know that OpenBSC support multi-trx BTS,but osmo-bts doesn't.
So how i can enable this ability in osmo-bts?
I see the source code and i think i should change some structures and
add trx_id variable to them. but i don't know the correct way.
can anyone help me?