hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/net/wireless/marvell/mwifiex/wmm.h
....@@ -1,10 +1,10 @@
11 /*
2
- * Marvell Wireless LAN device driver: WMM
2
+ * NXP Wireless LAN device driver: WMM
33 *
4
- * Copyright (C) 2011-2014, Marvell International Ltd.
4
+ * Copyright 2011-2020 NXP
55 *
6
- * This software file (the "File") is distributed by Marvell International
7
- * Ltd. under the terms of the GNU General Public License Version 2, June 1991
6
+ * This software file (the "File") is distributed by NXP
7
+ * under the terms of the GNU General Public License Version 2, June 1991
88 * (the "License"). You may use, redistribute and/or modify this File in
99 * accordance with the terms and conditions of the License, a copy of which
1010 * is available by writing to the Free Software Foundation, Inc.,
....@@ -31,22 +31,8 @@
3131 MWIFIEX_ECW_MAX = (BIT(4) | BIT(5) | BIT(6) | BIT(7)),
3232 };
3333
34
-static const u16 mwifiex_1d_to_wmm_queue[8] = { 1, 0, 0, 1, 2, 2, 3, 3 };
35
-
36
-/*
37
- * This table inverses the tos_to_tid operation to get a priority
38
- * which is in sequential order, and can be compared.
39
- * Use this to compare the priority of two different TIDs.
40
- */
41
-static const u8 tos_to_tid_inv[] = {
42
- 0x02, /* from tos_to_tid[2] = 0 */
43
- 0x00, /* from tos_to_tid[0] = 1 */
44
- 0x01, /* from tos_to_tid[1] = 2 */
45
- 0x03,
46
- 0x04,
47
- 0x05,
48
- 0x06,
49
- 0x07};
34
+extern const u16 mwifiex_1d_to_wmm_queue[];
35
+extern const u8 tos_to_tid_inv[];
5036
5137 /*
5238 * This function retrieves the TID of the given RA list.