dect
/
libdect
Archived
13
0
Fork 0

dect_mbuf: add multi frame number, frame number and slot members

Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
Patrick McHardy 2010-10-16 15:35:32 +02:00
parent fb4c54d53c
commit d562840fbb
2 changed files with 8 additions and 1 deletions

View File

@ -39,6 +39,9 @@ struct dect_handle;
*/
struct dect_msg_buf {
struct dect_msg_buf *next;
uint32_t mfn;
uint8_t frame;
uint8_t slot;
uint8_t refcnt;
uint8_t type;
uint8_t len;

View File

@ -135,7 +135,11 @@ static void dect_raw_event(struct dect_handle *dh, struct dect_fd *dfd,
if (aux == NULL)
return;
dh->ops->raw_ops->raw_rcv(dh, dfd, aux->slot, mb);
mb->mfn = aux->mfn;
mb->frame = aux->frame;
mb->slot = slot;
dh->ops->raw_ops->raw_rcv(dh, dfd, mb);
}
/**