drivers/net/wireless/realtek/rtlwifi/rtl8192du/trx.h
Source file repositories/reference/linux-study-clean/drivers/net/wireless/realtek/rtlwifi/rtl8192du/trx.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/realtek/rtlwifi/rtl8192du/trx.h- Extension
.h- Size
- 2066 bytes
- Lines
- 61
- Domain
- Driver Families
- Bucket
- drivers/net
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
function set_tx_desc_bmcfunction set_tx_desc_agg_breakfunction set_tx_desc_tx_desc_checksum
Annotated Snippet
#ifndef __RTL92DU_TRX_H__
#define __RTL92DU_TRX_H__
#define TX_SELE_HQ BIT(0) /* High Queue */
#define TX_SELE_LQ BIT(1) /* Low Queue */
#define TX_SELE_NQ BIT(2) /* Normal Queue */
#define TX_TOTAL_PAGE_NUMBER_92DU 0xF8
#define TEST_PAGE_NUM_PUBQ_92DU 0x89
#define TX_TOTAL_PAGE_NUMBER_92D_DUAL_MAC 0x7A
#define NORMAL_PAGE_NUM_PUBQ_92D_DUAL_MAC 0x5A
#define NORMAL_PAGE_NUM_HPQ_92D_DUAL_MAC 0x10
#define NORMAL_PAGE_NUM_LPQ_92D_DUAL_MAC 0x10
#define NORMAL_PAGE_NUM_NORMALQ_92D_DUAL_MAC 0
#define WMM_NORMAL_TX_TOTAL_PAGE_NUMBER 0xF5
#define WMM_NORMAL_PAGE_NUM_PUBQ_92D 0x65
#define WMM_NORMAL_PAGE_NUM_HPQ_92D 0x30
#define WMM_NORMAL_PAGE_NUM_LPQ_92D 0x30
#define WMM_NORMAL_PAGE_NUM_NPQ_92D 0x30
#define WMM_NORMAL_PAGE_NUM_PUBQ_92D_DUAL_MAC 0x32
#define WMM_NORMAL_PAGE_NUM_HPQ_92D_DUAL_MAC 0x18
#define WMM_NORMAL_PAGE_NUM_LPQ_92D_DUAL_MAC 0x18
#define WMM_NORMAL_PAGE_NUM_NPQ_92D_DUAL_MAC 0x18
static inline void set_tx_desc_bmc(__le32 *__txdesc, u32 __value)
{
le32p_replace_bits(__txdesc, __value, BIT(24));
}
static inline void set_tx_desc_agg_break(__le32 *__txdesc, u32 __value)
{
le32p_replace_bits((__txdesc + 1), __value, BIT(6));
}
static inline void set_tx_desc_tx_desc_checksum(__le32 *__txdesc, u32 __value)
{
le32p_replace_bits((__txdesc + 7), __value, GENMASK(15, 0));
}
void rtl92du_tx_fill_desc(struct ieee80211_hw *hw,
struct ieee80211_hdr *hdr, u8 *pdesc,
u8 *pbd_desc_tx, struct ieee80211_tx_info *info,
struct ieee80211_sta *sta,
struct sk_buff *skb, u8 hw_queue,
struct rtl_tcb_desc *ptcb_desc);
int rtl92du_endpoint_mapping(struct ieee80211_hw *hw);
u16 rtl92du_mq_to_hwq(__le16 fc, u16 mac80211_queue_index);
struct sk_buff *rtl92du_tx_aggregate_hdl(struct ieee80211_hw *hw,
struct sk_buff_head *list);
void rtl92du_tx_cleanup(struct ieee80211_hw *hw, struct sk_buff *skb);
int rtl92du_tx_post_hdl(struct ieee80211_hw *hw, struct urb *urb,
struct sk_buff *skb);
#endif
Annotation
- Detected declarations: `function set_tx_desc_bmc`, `function set_tx_desc_agg_break`, `function set_tx_desc_tx_desc_checksum`.
- Atlas domain: Driver Families / drivers/net.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.