Subject: osmo-bts.git branch master updated. 0.3.0-68-g897f97f
From: [email-masked]
To: [email-masked]
Date: Tue, 5 Nov 2013 15:11:38 GMT

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom BTS-side code (Abis, scheduling, ...)".

The branch, master has been updated
       via  897f97f6329d46e21fc80ea4bb2dfbfc11cf8123 (commit)
       via  5eef61414a4beb0ba3043bca88d42b6ba68d8c70 (commit)
       via  5b69ec3e720d21753101c9a0e1a38d0926ba3854 (commit)
       via  08571b158835df3db09cc94686a8fe62d1845cc9 (commit)
       via  9ef742f5e751c1d5fdfae14aa663e6056e6cac6f (commit)
       via  f3108fafab3705752e21861a18c257c35e194c08 (commit)
       via  0133ff386646bf8b29075502f233f2641d51255a (commit)
      from  f9dd260ee56f4f71846ab155bfa6e4480e9793ca (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-bts/commit/?id=897f97f6329d46e21fc80ea4bb2dfbfc11cf8123

commit 897f97f6329d46e21fc80ea4bb2dfbfc11cf8123
Author: Jacob Erlbeck <[email-masked]>
Date:   Tue Nov 5 16:03:58 2013 +0100

    sysmobts: Notify the BSC about all muted lchans
    
    Currently it takes some time (around 30s) until it is detected that
    the radio link is down after mute. Not till then the BSC is informed
    and the call terminated.
    
    This patch modifies this behaviour by sending a RSL_MT_CONN_FAIL
    message with cause RSL_ERR_RADIO_LINK_FAIL for each muted and active
    lchan immediately after the corresponding Change Administrative State
    Request has been acknowledged.
    
    Ticket: OW#976
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/osmo-bts/commit/?id=5eef61414a4beb0ba3043bca88d42b6ba68d8c70

commit 5eef61414a4beb0ba3043bca88d42b6ba68d8c70
Author: Jacob Erlbeck <[email-masked]>
Date:   Tue Nov 5 13:42:59 2013 +0100

    sysmobts: Only set RC state to LOCK if all channels are muted
    
    Currently only mute_state[0] (refers to ts[0]) is inspected to
    determine, whether the Radio Carrier's state is set to LOCK.
    
    This patch changes this by looking at all channels and using LOCK
    if (and only if) all channels have been muted successfully.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/osmo-bts/commit/?id=5b69ec3e720d21753101c9a0e1a38d0926ba3854

commit 5b69ec3e720d21753101c9a0e1a38d0926ba3854
Author: Jacob Erlbeck <[email-masked]>
Date:   Mon Nov 4 18:13:52 2013 +0100

    sysmobts: Use status flags instead of direct LED access
    
    Currently the LEDs are being accessed directly from within the
    l1_if.c file. So the handling of rf mute and activate/deactivate both
    access LED_RF_ACTIVE directly. This may lead to an inconsistent LED
    status.
    
    This patch replaces these calls to sysmobts_led_set() by an abstract
    equivalent bts_update_status(), that uses a set of independant status
    ids. The associated values can than be combined into a visible LED
    status. Currently LED_RF_ACTIVE is on iff BTS_STATUS_RF_ACTIVE is set
    and BTS_STATUS_RF_MUTE is not set.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/osmo-bts/commit/?id=08571b158835df3db09cc94686a8fe62d1845cc9

commit 08571b158835df3db09cc94686a8fe62d1845cc9
Author: Jacob Erlbeck <[email-masked]>
Date:   Mon Nov 4 18:13:22 2013 +0100

    sysmobts: Do a RF mute when Radio Carrier is locked
    
    Currently a Change Administrative State Request is just applied
    unconditionally to the object's state object and then acknowledged.
    
    This patch implements the special handling of setting the Radio
    Carriers state to LOCK or UNLOCK. This is done by passing the
    appropriate mute command to the L1 layer. Always all radio channels
    are affected, it is not possible to lock single radio channels.
    On success, an ACK is sent back to the bsc with the new state (based
    on the state passed in the callback by the L1 layer). If something
    went wrong or the firmware doesn't support RF mute, a NACK
    (REQ_NOT_GRANTED) is sent instead.
    
    Note that a NACK for such a request hasn't been sent by the BTS to
    the BSC yet, so (albeit it's spec conformant to do so) the BSC must
    be prepared to handle this correctly.
    
    Ticket: OW#976
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/osmo-bts/commit/?id=9ef742f5e751c1d5fdfae14aa663e6056e6cac6f

commit 9ef742f5e751c1d5fdfae14aa663e6056e6cac6f
Author: Jacob Erlbeck <[email-masked]>
Date:   Mon Nov 4 14:56:11 2013 +0100

    sysmobts: Add L1 support for the new RF mute request
    
    This adds a new function
    
      l1if_mute_rf(femtol1_hdl, ch_mute[8])
    
    to set the mute state for each radio channel. On completion and iff
    l1if_mute_rf() returned 0 the callback
    
      oml_mo_rf_lock_chg(mo, ch_mute_state[8], success)
    
    is invoked when the response from the superfemto DSP is received.
    
    Ticket: OW#976
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/osmo-bts/commit/?id=f3108fafab3705752e21861a18c257c35e194c08

commit f3108fafab3705752e21861a18c257c35e194c08
Author: Jacob Erlbeck <[email-masked]>
Date:   Mon Nov 4 14:56:10 2013 +0100

    sysmobts: Add mappings for MuteRfReq/MuteRfCnf
    
    This add the mappings for SuperFemto_PrimId_MuteRfReq and
    SuperFemto_PrimId_MuteRfCnf to the arrays femtobts_sysprim_type,
    femtobts_sysprim_names, and femtobts_sysprim_req2conf.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/osmo-bts/commit/?id=0133ff386646bf8b29075502f233f2641d51255a

commit 0133ff386646bf8b29075502f233f2641d51255a
Author: Jacob Erlbeck <[email-masked]>
Date:   Mon Nov 4 14:56:09 2013 +0100

    sysmobts: Add L1P_T_INVALID to l1prim_type
    
    Currently uninitialized elements of the femtobts_sysprim_type array
    are mistaken as L1P_T_REQ (which is accidently the first element and
    thus 0).
    
    This patch adds a new element to the enum that has the value 0 to
    detect uninitialized elements of the femtobts_sysprim_type array.
    Those will then show up in the log as 'SYS Prim XXX is not a
    Request!'.
    
    This patch also adds missing definitions of the CalibTbl messages
    in the femtobts_sysprim_type mapping so that the requests can still
    be identified as such.
    
    Sponsored-by: On-Waves ehf

-----------------------------------------------------------------------

Summary of changes:
 include/osmo-bts/bts.h        |  8 +++++
 include/osmo-bts/oml.h        |  5 +++
 src/common/oml.c              |  5 +++
 src/osmo-bts-sysmo/femtobts.c | 21 +++++++++++
 src/osmo-bts-sysmo/femtobts.h |  1 +
 src/osmo-bts-sysmo/l1_if.c    | 84 +++++++++++++++++++++++++++++++++++++++++--
 src/osmo-bts-sysmo/l1_if.h    |  3 ++
 src/osmo-bts-sysmo/main.c     | 25 +++++++++++++
 src/osmo-bts-sysmo/oml.c      | 80 +++++++++++++++++++++++++++++++++++++++--
 9 files changed, 227 insertions(+), 5 deletions(-)

hooks/post-receive
-- 
Osmocom BTS-side code (Abis, scheduling, ...)