Merge branch 'v6v7' into devel
[linux/fpc-iii.git] / include / net / caif / cfmuxl.h
blob4e1b4f33423e8d2d2955caf6961b085c4f25d545
1 /*
2 * Copyright (C) ST-Ericsson AB 2010
3 * Author: Sjur Brendeland/sjur.brandeland@stericsson.com
4 * License terms: GNU General Public License (GPL) version 2
5 */
7 #ifndef CFMUXL_H_
8 #define CFMUXL_H_
9 #include <net/caif/caif_layer.h>
11 struct cfsrvl;
12 struct cffrml;
14 struct cflayer *cfmuxl_create(void);
15 int cfmuxl_set_uplayer(struct cflayer *layr, struct cflayer *up, u8 linkid);
16 struct cflayer *cfmuxl_remove_dnlayer(struct cflayer *layr, u8 phyid);
17 int cfmuxl_set_dnlayer(struct cflayer *layr, struct cflayer *up, u8 phyid);
18 struct cflayer *cfmuxl_remove_uplayer(struct cflayer *layr, u8 linkid);
19 bool cfmuxl_is_phy_inuse(struct cflayer *layr, u8 phyid);
20 u8 cfmuxl_get_phyid(struct cflayer *layr, u8 channel_id);
22 #endif /* CFMUXL_H_ */