Lines Matching refs:sta

18 	struct ieee80211_sta *sta;
25 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i],
27 if (!sta || IS_ERR(sta) || !sta->tdls)
30 mvmsta = iwl_mvm_sta_from_mac80211(sta);
31 ieee80211_tdls_oper_request(mvmsta->vif, sta->addr,
40 struct ieee80211_sta *sta;
48 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i],
50 if (!sta || IS_ERR(sta) || !sta->tdls)
54 mvmsta = iwl_mvm_sta_from_mac80211(sta);
76 struct ieee80211_sta *sta;
92 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i],
94 if (IS_ERR_OR_NULL(sta) || !sta->tdls)
102 cpu_to_le32(sta->tdls_initiator ? 1 : 0);
207 struct ieee80211_sta *sta;
224 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id],
227 if (IS_ERR_OR_NULL(sta) || WARN_ON(!sta->tdls))
230 mvmsta = iwl_mvm_sta_from_mac80211(sta);
255 struct ieee80211_sta *sta = rcu_dereference_protected(
258 if (!IS_ERR_OR_NULL(sta))
259 same_peer = ether_addr_equal(peer, sta->addr);
338 struct ieee80211_sta *sta;
366 sta = ieee80211_find_sta(vif, peer);
367 if (!sta) {
372 mvmsta = iwl_mvm_sta_from_mac80211(sta);
420 iwl_mvm_set_tx_cmd_rate(mvm, &tail->frame.tx_cmd, info, sta,
456 struct ieee80211_sta *sta;
472 sta = rcu_dereference_protected(
476 if (!sta || IS_ERR(sta) || WARN_ON(!sta->tdls))
479 mvmsta = iwl_mvm_sta_from_mac80211(sta);
483 sta->addr,
503 struct ieee80211_sta *sta, u8 oper_class,
515 sta->addr, chandef->chan->center_freq, chandef->width);
521 sta->addr);
528 sta->addr, sta->tdls_initiator,
544 mvmsta = iwl_mvm_sta_from_mac80211(sta);
547 mvm->tdls_cs.peer.initiator = sta->tdls_initiator;
567 struct ieee80211_sta *sta)
575 IWL_DEBUG_TDLS(mvm, "TDLS cancel channel switch with %pM\n", sta->addr);
579 IWL_DEBUG_TDLS(mvm, "No ch switch peer - %pM\n", sta->addr);
587 if (cur_sta != sta)
614 IWL_DEBUG_TDLS(mvm, "TDLS ending channel switch with %pM\n", sta->addr);
633 action_str, params->sta->addr, params->status);
649 if (cur_sta == params->sta) {
659 iwl_mvm_tdls_config_channel_switch(mvm, vif, type, params->sta->addr,
660 params->sta->tdls_initiator, 0,