| .. | .. |
|---|
| 1 | 1 | /* |
|---|
| 2 | | - * Marvell Wireless LAN device driver: WMM |
|---|
| 2 | + * NXP Wireless LAN device driver: WMM |
|---|
| 3 | 3 | * |
|---|
| 4 | | - * Copyright (C) 2011-2014, Marvell International Ltd. |
|---|
| 4 | + * Copyright 2011-2020 NXP |
|---|
| 5 | 5 | * |
|---|
| 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 |
|---|
| 8 | 8 | * (the "License"). You may use, redistribute and/or modify this File in |
|---|
| 9 | 9 | * accordance with the terms and conditions of the License, a copy of which |
|---|
| 10 | 10 | * is available by writing to the Free Software Foundation, Inc., |
|---|
| .. | .. |
|---|
| 31 | 31 | MWIFIEX_ECW_MAX = (BIT(4) | BIT(5) | BIT(6) | BIT(7)), |
|---|
| 32 | 32 | }; |
|---|
| 33 | 33 | |
|---|
| 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[]; |
|---|
| 50 | 36 | |
|---|
| 51 | 37 | /* |
|---|
| 52 | 38 | * This function retrieves the TID of the given RA list. |
|---|