On Mon, Nov 04, 2013 at 02:56:11PM +0100, Jacob Erlbeck wrote:

Thanks for the patch! Nice to have this implemented. Can you please
send the diff for OpenBSC to add the flag for procedure pending?


I added/changed the following guards for < 3.6.0 compilation.


#if SUPERFEMTO_API_VERSION >= SUPERFEMTO_API(3,6,0)
> +static int mute_rf_compl_cb(struct gsm_bts_trx *trx, struct msgb *resp)
> +{
...
> +}

#endif

> +/* mute/unmute RF time slots */
> +int l1if_mute_rf(struct femtol1_hdl *hdl, uint8_t mute[8])
> +{

...

> +#if SUPERFEMTO_API_VERSION < SUPERFEMTO_API(3,6,0)
> +     LOGP(DL1C, LOGL_ERROR, "RF-MUTE.req not supported by SuperFemto\n");
> +     return -ENOTSUP;
> +#endif /* < 3.6.0 */

#else

> +     return l1if_req_compl(hdl, msg, mute_rf_compl_cb);

#endif


Reply via email to