/* Channel ID and Message ID definitions. * The channel number consists of peer_id(15:12) , channel_id(11:0) * peer_id: * 0:reserved, 1: to AP, 2: to MD
*/ enum port_ch { /* to AP */
PORT_CH_AP_CONTROL_RX = 0x1000,
PORT_CH_AP_CONTROL_TX = 0x1001,
PORT_CH_AP_ADB_RX = 0x100a,
PORT_CH_AP_ADB_TX = 0x100b,
struct t7xx_port { /* Members not initialized in definition */ conststruct t7xx_port_conf *port_conf; struct t7xx_pci_dev *t7xx_dev; struct device *dev;
u16 seq_nums[2]; /* TX/RX sequence numbers */
atomic_t usage_cnt; struct list_head entry; struct list_head queue_entry; /* TX and RX flows are asymmetric since ports are multiplexed on * queues. * * TX: data blocks are sent directly to a queue. Each port * does not maintain a TX list; instead, they only provide * a wait_queue_head for blocking writes. * * RX: Each port uses a RX list to hold packets, * allowing the modem to dispatch RX packet as quickly as possible.
*/ struct sk_buff_head rx_skb_list;
spinlock_t port_update_lock; /* Protects port configuration */
wait_queue_head_t rx_wq; int rx_length_th; bool chan_enable; struct task_struct *thread; union { struct { struct wwan_port *wwan_port;
} wwan; struct { struct rchan *relaych;
} log;
};
};
int t7xx_get_port_mtu(struct t7xx_port *port); struct sk_buff *t7xx_port_alloc_skb(int payload); struct sk_buff *t7xx_ctrl_alloc_skb(int payload); int t7xx_port_enqueue_skb(struct t7xx_port *port, struct sk_buff *skb); int t7xx_port_send_skb(struct t7xx_port *port, struct sk_buff *skb, unsignedint pkt_header, unsignedint ex_msg); int t7xx_port_send_raw_skb(struct t7xx_port *port, struct sk_buff *skb); int t7xx_port_send_ctl_skb(struct t7xx_port *port, struct sk_buff *skb, unsignedint msg, unsignedint ex_msg);
#endif/* __T7XX_PORT_H__ */
Messung V0.5
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.