osmo-bsc/src/osmo-bsc
Harald Welte fdd3ccbc02 cbsp: Reject CBSP WRITE for emergency if emergency already active
From 3GPP TS 48.018:

If only the New Serial Number IE, and not the Old Serial Number IE, is
included in the WRITE-REPLACE message,then the BSC shall interpret the
message as a write request, i.e. a broadcast request of a new emergency
message without replacing an ongoing emergency message broadcast.

Only one emergency message at the time can be broadcasted in a cell. If
a write request is received for a cell where an emergency message
broadcast is currently ongoing, the write request is considered as
failed.

Change-Id: I376c9e796f3a2d26b22d0451f15ef1debbd7f656
Closes: OS#5539
Related: SYS#5906
(cherry picked from commit 24567cfeed)
2022-05-03 14:05:21 +02:00
..
Makefile.am move time_cc to libosmocore osmo_time_cc 2021-11-16 12:06:53 +01:00
a_reset.c add stat items bsc.0.num_msc:connected, .num_msc:total 2021-08-30 18:21:50 +02:00
abis_bs11.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
abis_nm.c abis_nm: use struct sdp_firmware from libosmocore 2021-11-19 11:43:07 +01:00
abis_nm_ipaccess.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
abis_nm_vty.c Split bsc_vty.c creating bts_vty.c 2021-07-22 17:26:56 +00:00
abis_om2000.c om2000: Don't print "should not generate any message" on FAULT_REP 2022-01-04 13:08:20 +00:00
abis_om2000_vty.c Split bsc_vty.c creating bts_vty.c 2021-07-22 17:26:56 +00:00
abis_osmo.c Support Neighbor Address Resolution over PCUIF IPA multiplex 2021-09-13 16:04:05 +02:00
abis_rsl.c abis_rsl: always check return value of rsl_tlv_parse() 2022-03-31 21:29:17 +03:00
acc.c RSL link: explicitly select rsl_link based on lchan 2021-05-28 17:22:59 +00:00
assignment_fsm.c assignment_fsm: always update RTP info 2022-04-07 00:04:27 +02:00
bsc_ctrl_commands.c bsc_ctrl_commands: fix uninitialized value (mode) 2021-11-04 09:51:26 +01:00
bsc_ctrl_lookup.c treewide: remove FSF address 2021-12-14 12:51:44 +00:00
bsc_init.c move time_cc to libosmocore osmo_time_cc 2021-11-16 12:06:53 +01:00
bsc_rf_ctrl.c fixup comments for 'rf_states' CTRL command 2021-09-15 18:05:20 +00:00
bsc_rll.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
bsc_sccp.c LCS: implement the bulk of Location Services 2020-10-09 00:26:02 +02:00
bsc_stats.c stats: add bsc.paging:expired 2021-11-29 11:33:34 +01:00
bsc_subscr_conn_fsm.c tweak error msg: s/inter-BSC MT/inter-BSC incoming 2022-03-09 00:01:06 +01:00
bsc_subscriber.c bsc_subscr_name: print both IMSI and TMSI 2020-10-07 11:40:12 +00:00
bsc_vty.c System Information Type 3: allow updating T3212 at run-time 2022-03-16 22:33:55 +03:00
bssmap_reset.c bssmap_reset: make T4 user configurable 2022-02-08 11:51:42 +01:00
bts.c smscb: Store ETWS input state from CBSP 2022-05-03 14:04:42 +02:00
bts_ericsson_rbs2000.c bts: Clear BTS_STAT_CHAN_*_{TOTAL,USED} on bts disconnect 2021-07-22 15:45:24 +00:00
bts_init.c Replace all references to 'sysmobts' with 'osmo-bts' 2021-04-12 18:54:40 +00:00
bts_ipaccess_nanobts.c abis_nm: actively block BTSs with invalid configuration 2021-12-13 18:03:12 +01:00
bts_ipaccess_nanobts_omlattr.c ipa oml: Fix encoding of T3105 2022-03-02 17:34:43 +01:00
bts_nokia_site.c bts: Clear BTS_STAT_CHAN_*_{TOTAL,USED} on bts disconnect 2021-07-22 15:45:24 +00:00
bts_osmobts.c MS Power Control Loop: Allow Turn off/on C/I independent from value setting 2021-09-29 15:39:17 +02:00
bts_siemens_bs11.c bts: Clear BTS_STAT_CHAN_*_{TOTAL,USED} on bts disconnect 2021-07-22 15:45:24 +00:00
bts_sm.c Introduce NM GPRS NSVC FSM 2020-12-04 14:44:40 +01:00
bts_trx.c gsm_bts_trx_set_system_infos(): cosmetic: improve readability 2022-03-16 22:33:04 +03:00
bts_trx_vty.c Split bts_vty.c creating bts_trx_vty.c 2021-07-23 13:35:04 +02:00
bts_unknown.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
bts_vty.c bts_vty.c: Fix typo in comment 2022-03-18 20:00:25 +01:00
cbch_scheduler.c cbch_scheduler: cosmetic: s/bts_cbch_timer/bts_cbch_timer_cb/ 2022-03-31 17:37:31 +00:00
cbsp_link.c CBSP VTY: re-add legacy cbc config for backwards compat 2020-09-03 15:04:29 +02:00
chan_alloc.c Rename osmo dyn ts enums to contain SDCCH8 2021-07-06 07:16:15 +00:00
chan_counts.c refactor lchan counting 2021-11-10 13:27:43 +00:00
codec_pref.c Rename osmo dyn ts enums to contain SDCCH8 2021-07-06 07:16:15 +00:00
e1_config.c RSL link: explicitly select rsl_link based on lchan 2021-05-28 17:22:59 +00:00
gsm_04_08_rr.c struct gsm_encr: store alg_id in human-readable format 2022-03-29 11:50:12 +00:00
gsm_08_08.c struct gsm_encr: store alg_id in human-readable format 2022-03-29 11:50:12 +00:00
gsm_data.c Move power control related definitions to power_control.h 2022-04-08 01:23:04 +03:00
handover_cfg.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
handover_ctrl.c handover_ctrl: add control interface for handover settings 2021-07-19 10:44:05 +02:00
handover_decision.c hodec1: use same automatic FULL/SUBSET choice as in hodec2 2021-07-09 11:51:40 +00:00
handover_decision_2.c hodec2: add penalty-time low-rxqual-ho 2022-03-31 14:43:48 +00:00
handover_fsm.c struct gsm_encr: store alg_id in human-readable format 2022-03-29 11:50:12 +00:00
handover_logic.c replace ts_*_for_each_lchan() with ts_for_n_lchans() 2021-05-31 05:20:03 +00:00
handover_vty.c vty: add attributes to VTY commands indicating when they apply 2020-10-08 07:18:12 +00:00
lb.c Use new stat item/ctr getter APIs 2021-06-04 17:48:43 +02:00
lchan_fsm.c struct gsm_encr: store alg_id in human-readable format 2022-03-29 11:50:12 +00:00
lchan_rtp_fsm.c silence bogus error: event not permitted: READY_TO_SWITCH_RTP 2022-03-03 23:19:46 +00:00
lchan_select.c log: fix missing newline in lchan_select.c 2021-07-24 00:02:00 +02:00
lcs_loc_req.c BSSMAP LE: handle optional LCS {Client Type, QoS} IEs 2022-03-22 19:17:44 +03:00
lcs_ta_req.c lcs: fix bsc_subscr use_count leak 2022-01-04 13:33:26 +00:00
meas_feed.c Use osmo_fd_*_{disable,enable} 2020-11-11 20:15:22 +00:00
meas_rep.c hodec2: [2/2] implement automatic choice between FULL and SUBSET measurements 2021-07-09 11:51:40 +00:00
neighbor_ident.c neighbor_ident: add comment about Neighbor Address Resolution Service 2021-11-01 11:30:03 +01:00
neighbor_ident_ctrl.c heighbor_ident: add/del neighbor cells via ctrl interface 2021-11-03 17:25:28 +00:00
neighbor_ident_vty.c heighbor_ident: add/del neighbor cells via ctrl interface 2021-11-03 17:25:28 +00:00
net_init.c support "empty" SCCP N-Connect from MSC 2022-03-09 00:01:06 +01:00
nm_bb_transc_fsm.c RSL link: explicitly select rsl_link based on lchan 2021-05-28 17:22:59 +00:00
nm_bts_fsm.c nm_bts_fsm: fix sourcecode formatting 2022-01-17 11:29:02 +01:00
nm_bts_sm_fsm.c NM FSMs: fix DISABLED_NOTINSTALLED -> DISABLED_NOTINSTALLED 2020-12-13 12:08:45 +00:00
nm_channel_fsm.c nm_channel_fsm: drop ipa link if SetChannelAttr fails 2021-10-07 14:08:37 +02:00
nm_common_fsm.c oml: Delay configuring NSVC until BTS features are negotiated 2020-12-04 15:54:34 +01:00
nm_gprs_cell_fsm.c NM FSMs: fix DISABLED_NOTINSTALLED -> DISABLED_NOTINSTALLED 2020-12-13 12:08:45 +00:00
nm_gprs_nse_fsm.c NM FSMs: fix DISABLED_NOTINSTALLED -> DISABLED_NOTINSTALLED 2020-12-13 12:08:45 +00:00
nm_gprs_nsvc_fsm.c NM FSMs: fix DISABLED_NOTINSTALLED -> DISABLED_NOTINSTALLED 2020-12-13 12:08:45 +00:00
nm_rcarrier_fsm.c cosmetic: Fix typo in comment 2021-10-05 18:24:12 +02:00
osmo_bsc_bssap.c struct gsm_encr: store alg_id in human-readable format 2022-03-29 11:50:12 +00:00
osmo_bsc_ctrl.c osmo_bsc_ctrl: make sure strtok results are checked 2021-11-11 09:00:39 +00:00
osmo_bsc_filter.c Use new stat item/ctr getter APIs 2021-06-04 17:48:43 +02:00
osmo_bsc_grace.c dissolve bsc_grace_paging_request() 2020-09-16 21:54:52 +00:00
osmo_bsc_lcls.c RSL chan_nr: replace OSMO_ASSERT with error handling 2021-06-10 16:15:35 +02:00
osmo_bsc_main.c fix inp_sig_cb(): dispatch TS_EV_OML_DOWN to all transceivers 2022-03-09 08:30:40 +00:00
osmo_bsc_mgcp.c Use OSMO_FD_* instead of deprecated BSC_FD_* 2020-07-15 18:38:11 +02:00
osmo_bsc_msc.c fix typo in name of BSS_MAP_MSG_ASSIGNMENT_RQST 2022-03-09 07:15:51 +00:00
osmo_bsc_sigtran.c Get rid of lots of stubs [4/4] 2021-10-07 14:08:29 +02:00
paging.c stats: add bsc.paging:expired 2021-11-29 11:33:34 +01:00
pcu_sock.c treewide: remove FSF address 2021-12-14 12:51:44 +00:00
penalty_timers.c switch handover penalty timers to CLOCK_MONOTONIC 2021-07-15 09:28:18 +00:00
power_control.c Move power control related definitions to power_control.h 2022-04-08 01:23:04 +03:00
smscb.c cbsp: Reject CBSP WRITE for emergency if emergency already active 2022-05-03 14:05:21 +02:00
system_information.c SI13: Get rid of si13_default 2022-03-19 22:52:23 +01:00
timeslot_fsm.c Properly handle dyn TS TCH with vamos after updating subslots_per_pchan 2021-11-15 09:49:41 +00:00