Lines Matching refs:peer
258 mvm->tdls_cs.peer.sent_timestamp = in iwl_mvm_tdls_update_cs_state()
309 const u8 *peer, bool peer_initiator, u32 timestamp) in iwl_mvm_tdls_check_action() argument
321 same_peer = ether_addr_equal(peer, sta->addr); in iwl_mvm_tdls_check_action()
348 else if (timestamp <= mvm->tdls_cs.peer.sent_timestamp) in iwl_mvm_tdls_check_action()
383 type, mvm->tdls_cs.state, peer, same_peer, in iwl_mvm_tdls_check_action()
393 const u8 *peer, bool peer_initiator, in iwl_mvm_tdls_config_channel_switch() argument
409 ret = iwl_mvm_tdls_check_action(mvm, type, peer, peer_initiator, in iwl_mvm_tdls_config_channel_switch()
425 sta = ieee80211_find_sta(vif, peer); in iwl_mvm_tdls_config_channel_switch()
436 mvm->tdls_cs.peer.chandef.chan) { in iwl_mvm_tdls_config_channel_switch()
438 chandef = &mvm->tdls_cs.peer.chandef; in iwl_mvm_tdls_config_channel_switch()
534 if (mvm->tdls_cs.peer.sta_id == IWL_MVM_INVALID_STA) in iwl_mvm_tdls_ch_switch_work()
538 mvm->fw_id_to_mac_id[mvm->tdls_cs.peer.sta_id], in iwl_mvm_tdls_ch_switch_work()
549 mvm->tdls_cs.peer.initiator, in iwl_mvm_tdls_ch_switch_work()
550 mvm->tdls_cs.peer.op_class, in iwl_mvm_tdls_ch_switch_work()
551 &mvm->tdls_cs.peer.chandef, in iwl_mvm_tdls_ch_switch_work()
553 mvm->tdls_cs.peer.skb, in iwl_mvm_tdls_ch_switch_work()
554 mvm->tdls_cs.peer.ch_sw_tm_ie); in iwl_mvm_tdls_ch_switch_work()
583 if (mvm->tdls_cs.peer.sta_id != IWL_MVM_INVALID_STA) { in iwl_mvm_tdls_channel_switch()
603 mvm->tdls_cs.peer.skb = skb_copy(tmpl_skb, GFP_KERNEL); in iwl_mvm_tdls_channel_switch()
604 if (!mvm->tdls_cs.peer.skb) { in iwl_mvm_tdls_channel_switch()
610 mvm->tdls_cs.peer.sta_id = mvmsta->sta_id; in iwl_mvm_tdls_channel_switch()
611 mvm->tdls_cs.peer.chandef = *chandef; in iwl_mvm_tdls_channel_switch()
612 mvm->tdls_cs.peer.initiator = sta->tdls_initiator; in iwl_mvm_tdls_channel_switch()
613 mvm->tdls_cs.peer.op_class = oper_class; in iwl_mvm_tdls_channel_switch()
614 mvm->tdls_cs.peer.ch_sw_tm_ie = ch_sw_tm_ie; in iwl_mvm_tdls_channel_switch()
643 if (mvm->tdls_cs.peer.sta_id == IWL_MVM_INVALID_STA) { in iwl_mvm_tdls_cancel_channel_switch()
649 mvm->fw_id_to_mac_id[mvm->tdls_cs.peer.sta_id], in iwl_mvm_tdls_cancel_channel_switch()
660 if (mvm->tdls_cs.cur_sta_id == mvm->tdls_cs.peer.sta_id && in iwl_mvm_tdls_cancel_channel_switch()
664 mvm->tdls_cs.peer.sta_id = IWL_MVM_INVALID_STA; in iwl_mvm_tdls_cancel_channel_switch()
665 dev_kfree_skb(mvm->tdls_cs.peer.skb); in iwl_mvm_tdls_cancel_channel_switch()
666 mvm->tdls_cs.peer.skb = NULL; in iwl_mvm_tdls_cancel_channel_switch()