• Home
  • Raw
  • Download

Lines Matching refs:sta

130 	struct sta_info *sta;  in ieee80211_key_enable_hw_accel()  local
152 sta = key->sta; in ieee80211_key_enable_hw_accel()
158 if (sta && !(key->conf.flags & IEEE80211_KEY_FLAG_PAIRWISE) && in ieee80211_key_enable_hw_accel()
162 if (sta && !sta->uploaded) in ieee80211_key_enable_hw_accel()
176 sta ? &sta->sta : NULL, &key->conf); in ieee80211_key_enable_hw_accel()
195 sta ? sta->sta.addr : bcast_addr, ret); in ieee80211_key_enable_hw_accel()
224 struct sta_info *sta; in ieee80211_key_disable_hw_accel() local
237 sta = key->sta; in ieee80211_key_disable_hw_accel()
245 sta ? &sta->sta : NULL, &key->conf); in ieee80211_key_disable_hw_accel()
251 sta ? sta->sta.addr : bcast_addr, ret); in ieee80211_key_disable_hw_accel()
312 struct sta_info *sta, in ieee80211_key_replace() argument
334 if (sta) { in ieee80211_key_replace()
336 rcu_assign_pointer(sta->ptk[idx], new); in ieee80211_key_replace()
337 sta->ptk_idx = idx; in ieee80211_key_replace()
338 ieee80211_check_fast_xmit(sta); in ieee80211_key_replace()
340 rcu_assign_pointer(sta->gtk[idx], new); in ieee80211_key_replace()
342 ieee80211_check_fast_rx(sta); in ieee80211_key_replace()
647 struct sta_info *sta) in ieee80211_key_link() argument
659 if (sta && pairwise) in ieee80211_key_link()
660 old_key = key_mtx_dereference(sdata->local, sta->ptk[idx]); in ieee80211_key_link()
661 else if (sta) in ieee80211_key_link()
662 old_key = key_mtx_dereference(sdata->local, sta->gtk[idx]); in ieee80211_key_link()
678 key->sta = sta; in ieee80211_key_link()
682 ieee80211_key_replace(sdata, sta, pairwise, old_key, key); in ieee80211_key_link()
710 ieee80211_key_replace(key->sdata, key->sta, in ieee80211_key_free()
765 struct ieee80211_sta *sta, in ieee80211_iter_keys() argument
781 key->sta ? &key->sta->sta : NULL, in ieee80211_iter_keys()
788 key->sta ? &key->sta->sta : NULL, in ieee80211_iter_keys()
800 struct ieee80211_sta *sta, in _ieee80211_iter_keys_rcu() argument
809 if (key->sta && key->sta->removed) in _ieee80211_iter_keys_rcu()
815 key->sta ? &key->sta->sta : NULL, in _ieee80211_iter_keys_rcu()
824 struct ieee80211_sta *sta, in ieee80211_iter_keys_rcu() argument
854 ieee80211_key_replace(key->sdata, key->sta, in ieee80211_free_keys_iface()
912 struct sta_info *sta) in ieee80211_free_sta_keys() argument
918 for (i = 0; i < ARRAY_SIZE(sta->gtk); i++) { in ieee80211_free_sta_keys()
919 key = key_mtx_dereference(local, sta->gtk[i]); in ieee80211_free_sta_keys()
922 ieee80211_key_replace(key->sdata, key->sta, in ieee80211_free_sta_keys()
929 key = key_mtx_dereference(local, sta->ptk[i]); in ieee80211_free_sta_keys()
932 ieee80211_key_replace(key->sdata, key->sta, in ieee80211_free_sta_keys()