Lines Matching +full:frame +full:- +full:number

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com>
19 * DOC: Entry frame size
21 * Ralink PCI devices demand the Frame size to be a multiple of 128 bytes,
64 * @SKBDESC_IV_STRIPPED: Frame contained a IV/EIV provided by
66 * @SKBDESC_NOT_MAC80211: Frame didn't originate from mac80211,
85 * @flags: Frame flags, see &enum skb_frame_desc_flags.
86 * @desc_len: Length of the frame descriptor.
89 * @desc: Pointer to descriptor part of the frame.
91 * of the scope of the skb->data pointer.
93 * @skb_dma: (PCI-only) the DMA address associated with the sk buffer.
112 * get_skb_frame_desc - Obtain the rt2x00 frame descriptor from a sk_buff.
119 return (struct skb_frame_desc *)&IEEE80211_SKB_CB(skb)->driver_data; in get_skb_frame_desc()
128 * @RXDONE_MY_BSS: Does this frame originate from device's BSS.
131 * @RXDONE_L2PAD: 802.11 payload has been padded to 4-byte boundary.
144 * RXDONE_SIGNAL_MASK - Define to mask off all &rxdone_entry_desc_flags flags
154 * Summary of information that has been read from the RX frame descriptor.
157 * @signal: Signal of the received frame.
158 * @rssi: RSSI of the received frame.
159 * @size: Data size of the received frame.
197 * @TXDONE_SUCCESS: Frame was successfully send
199 * @TXDONE_FAILURE: Frame was not successfully send
201 * frame transmission failed due to excessive retries.
216 * Summary of information that has been read from the TX frame descriptor
230 * @ENTRY_TXD_RTS_FRAME: This frame is a RTS frame.
231 * @ENTRY_TXD_CTS_FRAME: This frame is a CTS-to-self frame.
232 * @ENTRY_TXD_GENERATE_SEQ: This frame requires sequence counter.
233 * @ENTRY_TXD_FIRST_FRAGMENT: This is the first frame.
234 * @ENTRY_TXD_MORE_FRAG: This frame is followed by another fragment.
236 * @ENTRY_TXD_BURST: This frame belongs to the same burst event.
237 * @ENTRY_TXD_ACK: An ACK is required for this frame.
239 * @ENTRY_TXD_ENCRYPT: This frame should be encrypted.
243 * @ENTRY_TXD_HT_AMPDU: This frame is part of an AMPDU.
271 * Summary of information for the frame descriptor before sending a TX frame.
274 * @length: Length of the entire frame.
282 * @ba_size: Size of the recepients RX reorder buffer - 1.
285 * @retry_limit: Max number of retries.
337 * @ENTRY_DATA_PENDING: This entry contains a valid frame and is waiting
363 * @entry_idx: The entry index number.
432 * @count: Number of frames handled in the queue.
433 * @limit: Maximum number of entries in the queue.
434 * @threshold: Minimum number of free entries before queue is kicked by force.
435 * @length: Number of frames in queue.
438 * @wd_count: watchdog counter number of times entry does change
447 * @priv_size: Size of per-queue_entry private data.
486 * queue_end - Return pointer to the last queue (HELPER MACRO).
489 * Using the base rx pointer and the maximum number of available queues,
494 &(__dev)->rx[(__dev)->data_queues]
497 * tx_queue_end - Return pointer to the last TX queue (HELPER MACRO).
500 * Using the base tx pointer and the maximum number of available TX
505 &(__dev)->tx[(__dev)->ops->tx_queues]
508 * queue_next - Return pointer to next queue in list (HELPER MACRO).
521 * queue_loop - Loop through the queues within a specific range (HELPER MACRO).
534 * queue_for_each - Loop through all queues
541 queue_loop(__entry, (__dev)->rx, queue_end(__dev))
544 * tx_queue_for_each - Loop through the TX queues
552 queue_loop(__entry, (__dev)->tx, tx_queue_end(__dev))
555 * txall_queue_for_each - Loop through all TX related queues
563 queue_loop(__entry, (__dev)->tx, queue_end(__dev))
566 * rt2x00queue_for_each_entry - Loop through all entries in the queue
588 * rt2x00queue_empty - Check if the queue is empty.
593 return queue->length == 0; in rt2x00queue_empty()
597 * rt2x00queue_full - Check if the queue is full.
602 return queue->length == queue->limit; in rt2x00queue_full()
606 * rt2x00queue_free - Check the number of available entries in queue.
611 return queue->limit - queue->length; in rt2x00queue_available()
615 * rt2x00queue_threshold - Check if the queue is below threshold
620 return rt2x00queue_available(queue) < queue->threshold; in rt2x00queue_threshold()
623 * rt2x00queue_dma_timeout - Check if a timeout occurred for DMA transfers
628 if (!test_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags)) in rt2x00queue_dma_timeout()
630 return time_after(jiffies, entry->last_action + msecs_to_jiffies(100)); in rt2x00queue_dma_timeout()
634 * _rt2x00_desc_read - Read a word from the hardware descriptor.
644 * rt2x00_desc_read - Read a word from the hardware descriptor, this
655 * rt2x00_desc_write - write a word to the hardware descriptor, this
667 * rt2x00_desc_write - write a word to the hardware descriptor.