summaryrefslogtreecommitdiffstats
path: root/include/l1ctl_proto.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-12Add handover support to calypso BTSAndreas Eversberg1-0/+2
2013-02-27Calypso BTS uses tx_mask and rx_mask to define which slots to TX or RXAndreas Eversberg1-0/+2
Each mask is used to define first time slot number and number of timeslots per frame. The transceiver needs to choose different masks, depending on single phone or multi phone operation. Note: Currently the code only works with very limited number of mask values.
2013-02-27Calypso BTS sends RSSI with each received bustAndreas Eversberg1-1/+2
For access burst, the TOA offset is used as offset when reading the 88 IQ values from DSP buffer.
2013-02-27Calypso BTS sends RSSI with each received bustAndreas Eversberg1-0/+1
2013-02-27Set slot types for calypso BTS, handle filler table accordinglyAndreas Eversberg1-0/+1
Scheduling of NB/AB/SB/FB depends on given slot type by transceiver application.
2013-02-26Add gain control to calypso BTS codeAndreas Eversberg1-0/+1
The gain of RX does not follow the sync-cell anymore. It still uses the appropiate gain for sync-cell, but for RX of BTS bursts it uses a gain that is suitable for a receive level of -47 dBm (by default). This is a gain level of 0. The low gain of 0 is the best start value, if phones are close to the BTS, but also for low RX levels below -100 dBm, as several tests showed.
2013-01-16l1ctl: Add BTS mode message definitionsSylvain Munaut1-0/+33
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-16fw/l1: add CBCH flag to dedicated modeAlex Badea1-0/+3
Add a .dm_flags member to struct l1ctl_dm_est_req. Define a flag bit to indicate CBCH mode. If set, this instructs L1 to use the CBCH variant of SDCCH for dedicated mode (no uplink, no SACCH). Add the new dm_flags field to l1ctl_tx_dm_est_req* API calls. Clear it everywhere, except for app_cbch_sniff which requests CBCH. Signed-off-by: Alex Badea <vamposdecampos@gmail.com> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-11-20Tell L1CTL_FBSB_REQ the expected received signal levelHarald Welte1-0/+1
As Dieter points out, this drastically improves the resiliance to high receive levels on the C155. We cannot blindly assume a received signal level of -85 dBm if the BTS is 2m away and we actually receive -40 dBm. This patch extends the L1CTL_FBSB_REQ data structure in layer 1 with the respective field, as well as the l1ctl_tx_fbsb_req() API function called from the various layer23 apps. "mobile" and "bcch_scan" already did a PM request and thus know the expected signal power. "ccch_scan" and "cbch_sniff" apparently don't do, so the -85 dBm constant is now hardcoded into the host-side source code there, and should probably be fixed in a follow-up patch.
2012-02-04Improvement of neighbour cell power measurement task.Andreas Eversberg1-0/+3
5 measurements are now performed during a 51 multiframe. They are performed at one of the 5 FCCH. Additionally a timeslot offset can be given for each measurement. This way it is possible to measure each timeslot seperately. The given ARFCN must be in sync with the serving cell.
2011-07-28l1ctl: Add definitions for the audio_mode configurationSylvain Munaut1-3/+9
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-07-28l1ctl: Add definition for TRAFFIC_{REQ,CONF,IND}Sylvain Munaut1-0/+15
Also adapt packet creation length in L1 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-07-17[layer23] Adding neighbour cell measurement to L1CTL interface.Andreas Eversberg1-0/+20
2010-10-30target/fw/layer1: Change L1CTL RACH req to properly use all slotsAndreas.Eversberg1-3/+2
Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-09-28l1ctl: Add initial tch_mode value in DM_EST_REQSylvain Munaut1-0/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-09-26[layer23] Added support for changing TCH mode via L1CTL messagesAndreas.Eversberg1-0/+17
2010-09-18[layer23] SIM client completionAndreas.Eversberg1-0/+2
The SIM client is now complete. Because it usefull for multiple applications, i moved it to the layer23/src/common directory. The SIM reader works together with mobile process. Fixes were made. Thanx to all for testing, finding bugs, and making it work as it is supposed to do. The current version uses special L1CTL messages to send and receive APDUs. This will change in the future, when BTSAP interface is completed. Please note that this client will not work until the layer1 SIM reader fixes and extensions are committed.
2010-09-11[layer23 / layer1] Added interface for changing crypto mode of DSPAndreas.Eversberg1-0/+6
The layer23 will now set crypto mode and key when CIPHERING MODE COMMAND is received. After crypto mode has been set, CIPHERING MODE COMPLETE is sent. NOTE: Layer1 implements only the interface, there is no functionality to it yet.
2010-08-21[l1ctl] Introducing L1CTL_FREQ_REQ to change frequency hopping sequenceAndreas.Eversberg1-10/+25
This is only the header, so there is no functionality yet. The functionality for layer1 works, but it is not yet ready for commit. This commit is required for radio ressource protocol commited later.
2010-07-27l1ctl_proto: Use an enum for the message type rather than #definesSylvain Munaut1-19/+22
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-07-27l1ctl_proto.h: Fixup name of the guard ifdefSylvain Munaut1-3/+3
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-07-27include: Rename l1a_l23_interface.h to l1ctl_proto.hSylvain Munaut1-0/+214
The interface between l1 and upper layer is called by several name. IMHO l1ctl is shorted and sounds good so try to unify using that. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>