drivers/net/wireless/ath/carl9170/wlan.h
Source file repositories/reference/linux-study-clean/drivers/net/wireless/ath/carl9170/wlan.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/ath/carl9170/wlan.h- Extension
.h- Size
- 12006 bytes
- Lines
- 436
- 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
fwcmd.h
Detected Declarations
struct ar9170_tx_hw_mac_controlstruct ar9170_tx_hw_phy_controlstruct ar9170_tx_rate_infostruct carl9170_tx_superdescstruct ar9170_tx_hwdescstruct ar9170_tx_framestruct carl9170_tx_superframestruct _ar9170_tx_hwdescstruct _carl9170_tx_superdescstruct _carl9170_tx_superframestruct ar9170_rx_headstruct ar9170_rx_phystatusstruct ar9170_rx_macstatusstruct ar9170_rx_frame_singlestruct ar9170_rx_frame_headstruct ar9170_rx_frame_middlestruct ar9170_rx_frame_tailstruct ar9170_rx_frameenum ar9170_txqfunction ar9170_get_decrypt_type
Annotated Snippet
struct ar9170_tx_hw_mac_control {
union {
struct {
/*
* Beware of compiler bugs in all gcc pre 4.4!
*/
u8 erp_prot:2;
u8 no_ack:1;
u8 backoff:1;
u8 burst:1;
u8 ampdu:1;
u8 enc_mode:2;
u8 hw_mmic:1;
u8 hw_duration:1;
u8 qos_queue:2;
u8 disable_txop:1;
u8 txop_rifs:1;
u8 ba_end:1;
u8 probe:1;
} __packed;
__le16 set;
} __packed;
} __packed;
struct ar9170_tx_hw_phy_control {
union {
struct {
/*
* Beware of compiler bugs in all gcc pre 4.4!
*/
u8 modulation:2;
u8 preamble:1;
u8 bandwidth:2;
u8:1;
u8 heavy_clip:3;
u8 tx_power:6;
u8 chains:3;
u8 mcs:7;
u8:6;
u8 short_gi:1;
} __packed;
__le32 set;
} __packed;
} __packed;
struct ar9170_tx_rate_info {
u8 tries:3;
u8 erp_prot:2;
u8 ampdu:1;
u8 free:2; /* free for use (e.g.:RIFS/TXOP/AMPDU) */
} __packed;
struct carl9170_tx_superdesc {
__le16 len;
u8 rix;
u8 cnt;
u8 cookie;
u8 ampdu_density:3;
u8 ampdu_factor:2;
u8 ampdu_commit_density:1;
u8 ampdu_commit_factor:1;
u8 ampdu_unused_bit:1;
u8 queue:2;
u8 assign_seq:1;
u8 vif_id:3;
u8 fill_in_tsf:1;
u8 cab:1;
u8 padding2;
struct ar9170_tx_rate_info ri[CARL9170_TX_MAX_RATES];
struct ar9170_tx_hw_phy_control rr[CARL9170_TX_MAX_RETRY_RATES];
} __packed;
struct ar9170_tx_hwdesc {
__le16 length;
struct ar9170_tx_hw_mac_control mac;
struct ar9170_tx_hw_phy_control phy;
} __packed;
struct ar9170_tx_frame {
struct ar9170_tx_hwdesc hdr;
Annotation
- Immediate include surface: `fwcmd.h`.
- Detected declarations: `struct ar9170_tx_hw_mac_control`, `struct ar9170_tx_hw_phy_control`, `struct ar9170_tx_rate_info`, `struct carl9170_tx_superdesc`, `struct ar9170_tx_hwdesc`, `struct ar9170_tx_frame`, `struct carl9170_tx_superframe`, `struct _ar9170_tx_hwdesc`, `struct _carl9170_tx_superdesc`, `struct _carl9170_tx_superframe`.
- 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.