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 */ 6 7 #ifndef CFMUXL_H_ 8 #define CFMUXL_H_ 9 #include <net/caif/caif_layer.h> 10 11 struct cfsrvl; 12 struct cffrml; 13 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); 21 22 #endif /* CFMUXL_H_ */ 23