view libgsmhr1/rxfe_create.c @ 587:7bce90c844c2 default tip

tw5b-dump: support verbose invalid SID per TW-TS-002 v1.2.0
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Mar 2025 20:38:23 +0000
parents 9cda792c0dd7
children
line wrap: on
line source

/*
 * Here we implement gsmhr_rxfe_create() function: allocation of a
 * free-standing RxFE state structure, used for our TFO transform.
 */

#include <stdint.h>
#include <stdlib.h>
#include "tw_gsmhr.h"
#include "typedefs.h"
#include "namespace.h"
#include "rxfe.h"

struct gsmhr_rxfe_state *gsmhr_rxfe_create(void)
{
	struct gsmhr_rxfe_state *st;

	st = malloc(sizeof(struct gsmhr_rxfe_state));
	if (st)
		gsmhr_rxfe_reset(st);
	return st;
}