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 #ifndef CONFIG_COMPAT_RHEL_6_4
11 #include <linux/pkt_sched.h>
12 #define ECN_OR_COST(class) TC_PRIO_##class
14 const __u8 ip_tos2prio[16] = {
16 ECN_OR_COST(BESTEFFORT),
18 ECN_OR_COST(BESTEFFORT),
24 ECN_OR_COST(INTERACTIVE),
26 ECN_OR_COST(INTERACTIVE),
27 TC_PRIO_INTERACTIVE_BULK,
28 ECN_OR_COST(INTERACTIVE_BULK),
29 TC_PRIO_INTERACTIVE_BULK,
30 ECN_OR_COST(INTERACTIVE_BULK)
32 EXPORT_SYMBOL(ip_tos2prio);
33 #endif /* CONFIG_COMPAT_RHEL_6_4 */