2 * Copyright 2012 Mellanox Technologies Ltd.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 * Compatibility file for Linux wireless for kernels 3.4.
10 #include <linux/pkt_sched.h>
11 #define ECN_OR_COST(class) TC_PRIO_##class
13 const __u8 ip_tos2prio[16] = {
15 ECN_OR_COST(BESTEFFORT),
17 ECN_OR_COST(BESTEFFORT),
23 ECN_OR_COST(INTERACTIVE),
25 ECN_OR_COST(INTERACTIVE),
26 TC_PRIO_INTERACTIVE_BULK,
27 ECN_OR_COST(INTERACTIVE_BULK),
28 TC_PRIO_INTERACTIVE_BULK,
29 ECN_OR_COST(INTERACTIVE_BULK)
31 EXPORT_SYMBOL(ip_tos2prio);