From 1e4d22cb5f66352e23ef05212035bd29bfb7d6e1 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 27 Mar 2010 18:40:21 +0800 Subject: Implement L23-triggered L1 power measurement scan Now layer23 can ask L1 to scan an entire range of ARFCN's and do power measurements. This is the first step in the cell (re)selection process. --- include/l1a_l23_interface.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/l1a_l23_interface.h b/include/l1a_l23_interface.h index 64ede925..e9def59c 100644 --- a/include/l1a_l23_interface.h +++ b/include/l1a_l23_interface.h @@ -32,8 +32,9 @@ #define L1CTL_DATA_REQ 7 #define L1CTL_RESET 8 #define L1CTL_PM_REQ 9 /* power measurement */ -#define L1CTL_ECHO_REQ 10 -#define L1CTL_ECHO_RESP 11 +#define L1CTL_PM_RESP 10 /* power measurement */ +#define L1CTL_ECHO_REQ 11 +#define L1CTL_ECHO_RESP 12 /* * NOTE: struct size. We do add manual padding out of the believe @@ -138,4 +139,10 @@ struct l1ctl_pm_req { }; } __attribute__((packed)); +/* a single L1CTL_PM response */ +struct l1ctl_pm_resp { + uint16_t band_arfcn; + uint8_t pm[2]; +} __attribute__((packed)); + #endif -- cgit v1.2.3