drivers/net/wireless/intel/ipw2x00/ipw2200.h
Source file repositories/reference/linux-study-clean/drivers/net/wireless/intel/ipw2x00/ipw2200.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/intel/ipw2x00/ipw2200.h- Extension
.h- Size
- 57964 bytes
- Lines
- 1981
- 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
linux/module.hlinux/moduleparam.hlinux/interrupt.hlinux/mutex.hlinux/pci.hlinux/netdevice.hlinux/ethtool.hlinux/skbuff.hlinux/etherdevice.hlinux/delay.hlinux/random.hlinux/dma-mapping.hlinux/firmware.hlinux/wireless.hlinux/jiffies.hasm/io.hnet/ieee80211_radiotap.hlinux/workqueue.hlibipw.hlinux/ctype.h
Detected Declarations
struct ipw_qos_infostruct clx2_queuestruct machdr32struct machdr30struct machdr26struct machdr24struct tx_tfd_32struct tx_tfd_30struct tx_tfd_26struct tx_tfd_24struct tfd_commandstruct tfd_datastruct txrx_control_flagsstruct tfd_framestruct clx2_tx_queuestruct rate_histogramstruct ipw_cmd_statsstruct notif_channel_resultstruct notif_scan_completestruct notif_frag_lengthstruct notif_beacon_statestruct notif_tgi_tx_keystruct notif_link_deteriorationstruct notif_associationstruct notif_authenticatestruct notif_calibrationstruct notif_noisestruct ipw_rx_notificationstruct ipw_rx_framestruct ipw_rx_headerstruct ipw_rx_packetstruct ipw_rx_mem_bufferstruct ipw_rx_queuestruct alive_command_responcestruct ipw_ratesstruct command_blockstruct fw_image_descstruct ipw_sys_configstruct ipw_multicast_addrstruct ipw_wep_keystruct ipw_tgi_tx_keystruct ipw_scan_requeststruct ipw_scan_request_extstruct ipw_associatestruct ipw_supported_ratesstruct ipw_rts_thresholdstruct ipw_frag_thresholdstruct ipw_retry_limit
Annotated Snippet
struct ipw_qos_info {
int qos_enable;
struct libipw_qos_parameters *def_qos_parm_OFDM;
struct libipw_qos_parameters *def_qos_parm_CCK;
u32 burst_duration_CCK;
u32 burst_duration_OFDM;
u16 qos_no_ack_mask;
int burst_enable;
};
/**************************************************************/
/**
* Generic queue structure
*
* Contains common data for Rx and Tx queues
*/
struct clx2_queue {
int n_bd; /**< number of BDs in this queue */
int first_empty; /**< 1-st empty entry (index) */
int last_used; /**< last used entry (index) */
u32 reg_w; /**< 'write' reg (queue head), addr in domain 1 */
u32 reg_r; /**< 'read' reg (queue tail), addr in domain 1 */
dma_addr_t dma_addr; /**< physical addr for BD's */
int low_mark; /**< low watermark, resume queue if free space more than this */
int high_mark; /**< high watermark, stop queue if free space less than this */
} __packed; /* XXX */
struct machdr32 {
__le16 frame_ctl;
__le16 duration; // watch out for endians!
u8 addr1[MACADRR_BYTE_LEN];
u8 addr2[MACADRR_BYTE_LEN];
u8 addr3[MACADRR_BYTE_LEN];
__le16 seq_ctrl; // more endians!
u8 addr4[MACADRR_BYTE_LEN];
__le16 qos_ctrl;
} __packed;
struct machdr30 {
__le16 frame_ctl;
__le16 duration; // watch out for endians!
u8 addr1[MACADRR_BYTE_LEN];
u8 addr2[MACADRR_BYTE_LEN];
u8 addr3[MACADRR_BYTE_LEN];
__le16 seq_ctrl; // more endians!
u8 addr4[MACADRR_BYTE_LEN];
} __packed;
struct machdr26 {
__le16 frame_ctl;
__le16 duration; // watch out for endians!
u8 addr1[MACADRR_BYTE_LEN];
u8 addr2[MACADRR_BYTE_LEN];
u8 addr3[MACADRR_BYTE_LEN];
__le16 seq_ctrl; // more endians!
__le16 qos_ctrl;
} __packed;
struct machdr24 {
__le16 frame_ctl;
__le16 duration; // watch out for endians!
u8 addr1[MACADRR_BYTE_LEN];
u8 addr2[MACADRR_BYTE_LEN];
u8 addr3[MACADRR_BYTE_LEN];
__le16 seq_ctrl; // more endians!
} __packed;
// TX TFD with 32 byte MAC Header
struct tx_tfd_32 {
struct machdr32 mchdr; // 32
__le32 uivplaceholder[2]; // 8
} __packed;
// TX TFD with 30 byte MAC Header
struct tx_tfd_30 {
struct machdr30 mchdr; // 30
u8 reserved[2]; // 2
__le32 uivplaceholder[2]; // 8
} __packed;
// tx tfd with 26 byte mac header
struct tx_tfd_26 {
struct machdr26 mchdr; // 26
u8 reserved1[2]; // 2
__le32 uivplaceholder[2]; // 8
u8 reserved2[4]; // 4
} __packed;
// tx tfd with 24 byte mac header
struct tx_tfd_24 {
Annotation
- Immediate include surface: `linux/module.h`, `linux/moduleparam.h`, `linux/interrupt.h`, `linux/mutex.h`, `linux/pci.h`, `linux/netdevice.h`, `linux/ethtool.h`, `linux/skbuff.h`.
- Detected declarations: `struct ipw_qos_info`, `struct clx2_queue`, `struct machdr32`, `struct machdr30`, `struct machdr26`, `struct machdr24`, `struct tx_tfd_32`, `struct tx_tfd_30`, `struct tx_tfd_26`, `struct tx_tfd_24`.
- 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.