drivers/net/wireless/marvell/libertas/host.h
Source file repositories/reference/linux-study-clean/drivers/net/wireless/marvell/libertas/host.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/marvell/libertas/host.h- Extension
.h- Size
- 24239 bytes
- Lines
- 984
- 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
types.hdefs.h
Detected Declarations
struct txpdstruct rxpdstruct cmd_headerstruct enc_keystruct lbs_offset_valuestruct mrvl_ie_domain_param_setstruct cmd_ds_802_11d_domain_infostruct cmd_ds_get_hw_specstruct cmd_ds_802_11_subscribe_eventstruct cmd_ds_802_11_scanstruct cmd_ds_802_11_scan_rspstruct cmd_ds_802_11_get_logstruct cmd_ds_mac_controlstruct cmd_ds_mac_multicast_adrstruct cmd_ds_802_11_authenticatestruct cmd_ds_802_11_deauthenticatestruct cmd_ds_802_11_associatestruct cmd_ds_802_11_associate_responsestruct cmd_ds_802_11_set_wepstruct cmd_ds_802_11_snmp_mibstruct cmd_ds_reg_accessstruct cmd_ds_802_11_radio_controlstruct cmd_ds_802_11_beacon_controlstruct cmd_ds_802_11_sleep_paramsstruct cmd_ds_802_11_rf_channelstruct cmd_ds_802_11_rssistruct cmd_ds_802_11_mac_addressstruct cmd_ds_802_11_rf_tx_powerstruct cmd_ds_802_11_monitor_modestruct cmd_ds_set_boot2_verstruct cmd_ds_802_11_fw_wake_methodstruct cmd_ds_802_11_ps_modestruct cmd_confirm_sleepstruct cmd_ds_802_11_data_ratestruct cmd_ds_802_11_rate_adapt_ratesetstruct cmd_ds_802_11_ad_hoc_startstruct cmd_ds_802_11_ad_hoc_resultstruct adhoc_bssdescstruct cmd_ds_802_11_ad_hoc_joinstruct cmd_ds_802_11_ad_hoc_stopstruct cmd_ds_802_11_enable_rsnstruct MrvlIEtype_keyParamSetstruct host_wol_rulestruct wol_configstruct cmd_ds_host_sleepstruct cmd_ds_802_11_key_materialstruct cmd_ds_802_11_eeprom_accessstruct cmd_ds_802_11_tpc_cfg
Annotated Snippet
struct txpd {
/* union to cope up with later FW revisions */
union {
/* Current Tx packet status */
__le32 tx_status;
struct {
/* BSS type: client, AP, etc. */
u8 bss_type;
/* BSS number */
u8 bss_num;
/* Reserved */
__le16 reserved;
} bss;
} u;
/* Tx control */
__le32 tx_control;
__le32 tx_packet_location;
/* Tx packet length */
__le16 tx_packet_length;
struct_group_attr(tx_dest_addr, __packed,
/* First 2 byte of destination MAC address */
u8 tx_dest_addr_high[2];
/* Last 4 byte of destination MAC address */
u8 tx_dest_addr_low[4];
);
/* Pkt Priority */
u8 priority;
/* Pkt Trasnit Power control */
u8 powermgmt;
/* Amount of time the packet has been queued (units = 2ms) */
u8 pktdelay_2ms;
/* reserved */
u8 reserved1;
} __packed;
/* RxPD Descriptor */
struct rxpd {
/* union to cope up with later FW revisions */
union {
/* Current Rx packet status */
__le16 status;
struct {
/* BSS type: client, AP, etc. */
u8 bss_type;
/* BSS number */
u8 bss_num;
} __packed bss;
} __packed u;
/* SNR */
u8 snr;
/* Tx control */
u8 rx_control;
/* Pkt length */
__le16 pkt_len;
/* Noise Floor */
u8 nf;
/* Rx Packet Rate */
u8 rx_rate;
/* Pkt addr */
__le32 pkt_ptr;
/* Next Rx RxPD addr */
__le32 next_rxpd_ptr;
/* Pkt Priority */
u8 priority;
u8 reserved[3];
} __packed;
struct cmd_header {
__le16 command;
__le16 size;
__le16 seqnum;
__le16 result;
} __packed;
/* Generic structure to hold all key types. */
struct enc_key {
u16 len;
u16 flags; /* KEY_INFO_* from defs.h */
u16 type; /* KEY_TYPE_* from defs.h */
u8 key[32];
};
Annotation
- Immediate include surface: `types.h`, `defs.h`.
- Detected declarations: `struct txpd`, `struct rxpd`, `struct cmd_header`, `struct enc_key`, `struct lbs_offset_value`, `struct mrvl_ie_domain_param_set`, `struct cmd_ds_802_11d_domain_info`, `struct cmd_ds_get_hw_spec`, `struct cmd_ds_802_11_subscribe_event`, `struct cmd_ds_802_11_scan`.
- 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.