mirror of
https://github.com/brmlab/osmo-tetra.git
synced 2025-06-10 19:04:07 +02:00
create 'struct tetra_mac_state' in main and pass through all layers/SAPs
This commit is contained in:
parent
e676ea1300
commit
0ad20fd762
5 changed files with 41 additions and 18 deletions
|
@ -124,3 +124,8 @@ const char *tetra_get_sap_name(uint8_t sap)
|
|||
{
|
||||
return get_value_string(tetra_sap_names, sap);
|
||||
}
|
||||
|
||||
void tetra_mac_state_init(struct tetra_mac_state *tms)
|
||||
{
|
||||
INIT_LLIST_HEAD(&tms->voice_channels);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue