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

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

File Facts

System
Linux kernel
Corpus path
drivers/net/wireless/intel/iwlwifi/mld/d3.h
Extension
.h
Size
1727 bytes
Lines
56
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_rekey_data {
	bool valid;
	u8 kck[NL80211_KCK_EXT_LEN];
	u8 kek[NL80211_KEK_EXT_LEN];
	size_t kck_len;
	size_t kek_len;
	__le64 replay_ctr;
	u32 akm;
};

/**
 * struct iwl_mld_wowlan_data - data used by the wowlan suspend flow
 *
 * @target_ipv6_addrs: IPv6 addresses on this interface for offload
 * @tentative_addrs: bitmap of tentative IPv6 addresses in @target_ipv6_addrs
 * @num_target_ipv6_addrs: number of @target_ipv6_addrs
 * @rekey_data: security key data used for rekeying during D3
 */
struct iwl_mld_wowlan_data {
#if IS_ENABLED(CONFIG_IPV6)
	struct in6_addr target_ipv6_addrs[IWL_PROTO_OFFLOAD_NUM_IPV6_ADDRS_MAX];
	unsigned long tentative_addrs[BITS_TO_LONGS(IWL_PROTO_OFFLOAD_NUM_IPV6_ADDRS_MAX)];
	int num_target_ipv6_addrs;
#endif
	struct iwl_mld_rekey_data rekey_data;
};

int iwl_mld_no_wowlan_resume(struct iwl_mld *mld);
int iwl_mld_no_wowlan_suspend(struct iwl_mld *mld);
int iwl_mld_wowlan_suspend(struct iwl_mld *mld,
			   struct cfg80211_wowlan *wowlan);
int iwl_mld_wowlan_resume(struct iwl_mld *mld);
void iwl_mld_set_rekey_data(struct ieee80211_hw *hw,
			    struct ieee80211_vif *vif,
			    struct cfg80211_gtk_rekey_data *data);
void iwl_mld_process_rsc_notification(struct iwl_mld *mld,
				      struct ieee80211_vif *vif,
				      const struct iwl_wowlan_all_rsc_tsc_v5 *notif,
				      int queue);
#if IS_ENABLED(CONFIG_IPV6)
void iwl_mld_ipv6_addr_change(struct ieee80211_hw *hw,
			      struct ieee80211_vif *vif,
			      struct inet6_dev *idev);
#endif

#endif /* __iwl_mld_d3_h__ */

Annotation

Implementation Notes