hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/drivers/net/wireless/ralink/rt2x00/rt2x00queue.h
....@@ -1,19 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com>
34 <http://rt2x00.serialmonkey.com>
45
5
- This program is free software; you can redistribute it and/or modify
6
- it under the terms of the GNU General Public License as published by
7
- the Free Software Foundation; either version 2 of the License, or
8
- (at your option) any later version.
9
-
10
- This program is distributed in the hope that it will be useful,
11
- but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- GNU General Public License for more details.
14
-
15
- You should have received a copy of the GNU General Public License
16
- along with this program; if not, see <http://www.gnu.org/licenses/>.
176 */
187
198 /*
....@@ -361,7 +350,6 @@
361350 ENTRY_DATA_PENDING,
362351 ENTRY_DATA_IO_FAILED,
363352 ENTRY_DATA_STATUS_PENDING,
364
- ENTRY_DATA_STATUS_SET,
365353 };
366354
367355 /**
....@@ -386,8 +374,6 @@
386374 struct sk_buff *skb;
387375
388376 unsigned int entry_idx;
389
-
390
- u32 status;
391377
392378 void *priv_data;
393379 };
....@@ -449,6 +435,9 @@
449435 * @length: Number of frames in queue.
450436 * @index: Index pointers to entry positions in the queue,
451437 * use &enum queue_index to get a specific index field.
438
+ * @wd_count: watchdog counter number of times entry does change
439
+ * in the queue
440
+ * @wd_idx: index of queue entry saved by watchdog
452441 * @txop: maximum burst time.
453442 * @aifs: The aifs value for outgoing frames (field ignored in RX queue).
454443 * @cw_min: The cw min value for outgoing frames (field ignored in RX queue).
....@@ -476,6 +465,9 @@
476465 unsigned short length;
477466 unsigned short index[Q_INDEX_MAX];
478467
468
+ unsigned short wd_count;
469
+ unsigned int wd_idx;
470
+
479471 unsigned short txop;
480472 unsigned short aifs;
481473 unsigned short cw_min;