Lines Matching defs:sta

15 				   int queue, struct ieee80211_sta *sta)
46 if (IS_ERR_OR_NULL(sta)) {
52 mvmsta = iwl_mvm_sta_from_mac80211(sta);
239 struct ieee80211_sta *sta)
241 if (unlikely(iwl_mvm_check_pn(mvm, skb, queue, sta))) {
246 ieee80211_rx_napi(mvm->hw, sta, skb, napi);
271 static int iwl_mvm_rx_mgmt_prot(struct ieee80211_sta *sta,
299 if (!sta)
302 mvmsta = iwl_mvm_sta_from_mac80211(sta);
358 static int iwl_mvm_rx_crypto(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
382 return iwl_mvm_rx_mgmt_prot(sta, hdr, desc, status, stats);
459 struct ieee80211_sta *sta,
473 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
494 static bool iwl_mvm_is_dup(struct ieee80211_sta *sta, int queue,
503 if (WARN_ON(IS_ERR_OR_NULL(sta)))
506 mvm_sta = iwl_mvm_sta_from_mac80211(sta);
555 struct ieee80211_sta *sta,
583 sta);
594 struct ieee80211_sta *sta;
610 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
611 if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta)))
618 iwl_mvm_release_frames(mvm, sta, NULL, ba_data, reorder_buf,
631 struct ieee80211_sta *sta;
651 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
652 if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta)))
658 iwl_mvm_release_frames(mvm, sta, napi, ba_data,
720 struct ieee80211_sta *sta,
756 /* no sta yet */
757 if (WARN_ONCE(IS_ERR_OR_NULL(sta),
779 sta_mask = iwl_mvm_sta_fw_id_mask(mvm, sta, -1);
863 iwl_mvm_release_frames(mvm, sta, napi, baid_data,
1898 static void iwl_mvm_rx_get_sta_block_tx(void *data, struct ieee80211_sta *sta)
1900 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
2034 struct ieee80211_sta *sta = NULL;
2188 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
2189 if (IS_ERR(sta))
2190 sta = NULL;
2193 if (sta && sta->valid_links && link_sta) {
2203 sta = ieee80211_find_sta_by_ifaddr(mvm->hw, hdr->addr2, NULL);
2206 if (iwl_mvm_rx_crypto(mvm, sta, hdr, rx_status, phy_data.phy_info, desc,
2215 if (sta) {
2216 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
2245 iwl_mvm_sta_modify_disable_tx_ap(mvm, sta,
2278 iwl_mvm_rx_csum(mvm, sta, skb, pkt);
2280 if (iwl_mvm_is_dup(sta, queue, rx_status, hdr, desc)) {
2342 if (!iwl_mvm_reorder(mvm, napi, queue, sta, skb, desc) &&
2350 iwl_mvm_pass_packet_to_mac80211(mvm, napi, skb, queue, sta);
2364 struct ieee80211_sta *sta = NULL;
2479 ieee80211_rx_napi(mvm->hw, sta, skb, napi);
2530 "baid 0x%x is mapped to sta_mask:0x%x tid:%d, but BAR release received for sta:%d tid:%d\n",