This looks interesting.

Can you provide an output of the results when running this code please ?

Thanks
Raz

On Thu, Jul 14, 2011 at 11:40 AM, Andreas.Eversberg <Andreas.Eversberg@versatel.de> wrote:
hi,
 
i would like to commit my well tested neighbour cell measurement code, as well as the improved cell selection / re-selection process soon. with it, it is possible to move with the mobile phone while beeing in idle mode (no call). it tracks neighbour cells and switches if a better cell is detected. i found and fixed many bug issues in mobility management and cell selection process. i did allot of driving tests.
 
in order to do that, the neighbour cell measurement code for layer1 is required. this code must be reviewed first. i splitted it in three patches:
 
 
neigh_getset.patch
 
[layer1] Adding rffe_set_gain() and rffe_get_gain() to get/set computed gain.
 
rffe_compute_gain() is the new name for rffe_set_gain(). I needed to change this, to solve the name collision with the rffe_set_gain() function, which actually sets the absolute gain.
 
rffe_get_gain() will now read the absolute gain which has been computed by rffe_compute_gain() or set by rffe_set_gain().
 
 
neigh_l23.patch
 
[layer23] Adding neighbour cell measurement to L1CTL interface. (layer23)
 
 
neigh_l1.patch
 
[layer1] Adding neighbour cell measurement code to layer1.
 
When listening to BCCH, layer1 may measure the power level of neighbour cells. A list of neighbour cell frequencies need to be sent to layer1. After the measurement is done, the results are indicated to layer23.
 
 
andreas