diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-07 16:56:09 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-17 09:23:35 +0200 |
commit | 2c852e9bcc8ab64e36fbc01884878243d545afc8 (patch) | |
tree | e658cd2c7b713cc3478fafda14c4be6ba1b39cfe /src/target/firmware/layer1/prim_pm.c | |
parent | ea3b3826f2c8650d36d033e99a7af08c05ef562a (diff) |
layer1: remove 'l1s_cb' and l1_signal mechanism
the l1s signal was an old mechanism between l1test and the layer1
before we introduced the L1CTL protocol. This commit removes all
leftover references to it.
It also disables the l1test app, as it would no longer work without
major modifications (using l1ctl from within the phone).
Diffstat (limited to 'src/target/firmware/layer1/prim_pm.c')
-rw-r--r-- | src/target/firmware/layer1/prim_pm.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/target/firmware/layer1/prim_pm.c b/src/target/firmware/layer1/prim_pm.c index 85fc8d15..8d05ad98 100644 --- a/src/target/firmware/layer1/prim_pm.c +++ b/src/target/firmware/layer1/prim_pm.c @@ -80,7 +80,6 @@ static int l1s_pm_resp(__unused uint8_t p1, __unused uint8_t p2, { struct l1ctl_pm_resp *pmr; uint16_t pm_level[2]; - struct l1_signal sig; putchart('p'); @@ -90,12 +89,6 @@ static int l1s_pm_resp(__unused uint8_t p1, __unused uint8_t p2, agc_inp_dbm8_by_pm(pm_level[0])/8, agc_inp_dbm8_by_pm(pm_level[1])/8, arfcn); - /* build and deliver signal */ - sig.signum = L1_SIG_PM; - sig.arfcn = arfcn; - sig.pm.dbm8[0] = agc_inp_dbm8_by_pm(pm_level[0]); - sig.pm.dbm8[1] = agc_inp_dbm8_by_pm(pm_level[1]); - if (!l1s.pm.msg) l1s.pm.msg = l1ctl_msgb_alloc(L1CTL_PM_RESP); |