drivers/net/wireless/intel/iwlwifi/mld/rx.h

Source file repositories/reference/linux-study-clean/drivers/net/wireless/intel/iwlwifi/mld/rx.h

File Facts

System
Linux kernel
Corpus path
drivers/net/wireless/intel/iwlwifi/mld/rx.h
Extension
.h
Size
2371 bytes
Lines
79
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.

Dependency Surface

Detected Declarations

Annotated Snippet

struct iwl_mld_internal_rxq_notif {
	u8 type;
	u8 reserved[3];
	u32 cookie;
	u8 payload[];
} __packed;

/**
 * struct iwl_mld_rx_queues_sync - RX queues sync data
 *
 * @waitq: wait queue for RX queues sync completion
 * @cookie: unique id to correlate sync requests with responses
 * @state: bitmask representing the sync state of RX queues
 *	all RX queues bits are set before sending the command, and the
 *	corresponding queue bit cleared upon handling the notification
 */
struct iwl_mld_rx_queues_sync {
	wait_queue_head_t waitq;
	u32 cookie;
	unsigned long state;
};

void iwl_mld_rx_mpdu(struct iwl_mld *mld, struct napi_struct *napi,
		     struct iwl_rx_cmd_buffer *rxb, int queue);

void iwl_mld_sync_rx_queues(struct iwl_mld *mld,
			    enum iwl_mld_internal_rxq_notif_type type,
			    const void *notif_payload, u32 notif_payload_size);

void iwl_mld_handle_rx_queues_sync_notif(struct iwl_mld *mld,
					 struct napi_struct *napi,
					 struct iwl_rx_packet *pkt, int queue);

#ifdef CONFIG_PM_SLEEP
void iwl_mld_handle_rsc_notif(struct iwl_mld *mld,
			      struct iwl_rx_packet *pkt, int queue);
#endif

void iwl_mld_pass_packet_to_mac80211(struct iwl_mld *mld,
				     struct napi_struct *napi,
				     struct sk_buff *skb, int queue,
				     struct ieee80211_sta *sta);

void iwl_mld_handle_phy_air_sniffer_notif(struct iwl_mld *mld,
					  struct napi_struct *napi,
					  struct iwl_rx_packet *pkt);

#endif /* __iwl_mld_agg_h__ */

Annotation

Implementation Notes