| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> |
|---|
| 3 | 4 | <http://rt2x00.serialmonkey.com> |
|---|
| 4 | 5 | |
|---|
| 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/>. |
|---|
| 17 | 6 | */ |
|---|
| 18 | 7 | |
|---|
| 19 | 8 | /* |
|---|
| .. | .. |
|---|
| 361 | 350 | ENTRY_DATA_PENDING, |
|---|
| 362 | 351 | ENTRY_DATA_IO_FAILED, |
|---|
| 363 | 352 | ENTRY_DATA_STATUS_PENDING, |
|---|
| 364 | | - ENTRY_DATA_STATUS_SET, |
|---|
| 365 | 353 | }; |
|---|
| 366 | 354 | |
|---|
| 367 | 355 | /** |
|---|
| .. | .. |
|---|
| 386 | 374 | struct sk_buff *skb; |
|---|
| 387 | 375 | |
|---|
| 388 | 376 | unsigned int entry_idx; |
|---|
| 389 | | - |
|---|
| 390 | | - u32 status; |
|---|
| 391 | 377 | |
|---|
| 392 | 378 | void *priv_data; |
|---|
| 393 | 379 | }; |
|---|
| .. | .. |
|---|
| 449 | 435 | * @length: Number of frames in queue. |
|---|
| 450 | 436 | * @index: Index pointers to entry positions in the queue, |
|---|
| 451 | 437 | * 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 |
|---|
| 452 | 441 | * @txop: maximum burst time. |
|---|
| 453 | 442 | * @aifs: The aifs value for outgoing frames (field ignored in RX queue). |
|---|
| 454 | 443 | * @cw_min: The cw min value for outgoing frames (field ignored in RX queue). |
|---|
| .. | .. |
|---|
| 476 | 465 | unsigned short length; |
|---|
| 477 | 466 | unsigned short index[Q_INDEX_MAX]; |
|---|
| 478 | 467 | |
|---|
| 468 | + unsigned short wd_count; |
|---|
| 469 | + unsigned int wd_idx; |
|---|
| 470 | + |
|---|
| 479 | 471 | unsigned short txop; |
|---|
| 480 | 472 | unsigned short aifs; |
|---|
| 481 | 473 | unsigned short cw_min; |
|---|