Path: blob/main/sys/contrib/dev/iwlwifi/mld/key.h
107335 views
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */1/*2* Copyright (C) 2024 Intel Corporation3*/4#ifndef __iwl_mld_key_h__5#define __iwl_mld_key_h__67#include "mld.h"8#include <net/mac80211.h>9#include "fw/api/sta.h"1011void iwl_mld_remove_key(struct iwl_mld *mld,12struct ieee80211_vif *vif,13struct ieee80211_sta *sta,14struct ieee80211_key_conf *key);15int iwl_mld_add_key(struct iwl_mld *mld,16struct ieee80211_vif *vif,17struct ieee80211_sta *sta,18struct ieee80211_key_conf *key);19void iwl_mld_remove_ap_keys(struct iwl_mld *mld,20struct ieee80211_vif *vif,21struct ieee80211_sta *sta,22unsigned int link_id);2324int iwl_mld_update_sta_keys(struct iwl_mld *mld,25struct ieee80211_vif *vif,26struct ieee80211_sta *sta,27u32 old_sta_mask,28u32 new_sta_mask);2930static inline void31iwl_mld_cleanup_keys_iter(struct ieee80211_hw *hw, struct ieee80211_vif *vif,32struct ieee80211_sta *sta,33struct ieee80211_key_conf *key, void *data)34{35key->hw_key_idx = STA_KEY_IDX_INVALID;36}3738#endif /* __iwl_mld_key_h__ */394041