[PATCH 3/4] sysmobts: Add L1 support for the new RF mute request

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Tue Nov 5 14:44:46 UTC 2013


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





More information about the OpenBSC mailing list