| /freebsd-head/sys/contrib/dev/iwlwifi/mvm/ |
| HD | sta.c | 32 int sta_id; in iwl_mvm_find_free_sta_id() local 45 for (sta_id = 0; sta_id < mvm->fw->ucode_capa.num_stations; sta_id++) { in iwl_mvm_find_free_sta_id() 46 if (BIT(sta_id) & reserved_ids) in iwl_mvm_find_free_sta_id() 49 if (!rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_find_free_sta_id() 51 return sta_id; in iwl_mvm_find_free_sta_id() 136 .sta_id = mvm_sta->deflink.sta_id, in iwl_mvm_sta_send_to_fw() 265 unsigned int sta_id; in iwl_mvm_rx_agg_session_expired() local 284 sta_id = ffs(ba_data->sta_mask) - 1; /* don't care which one */ in iwl_mvm_rx_agg_session_expired() 285 sta = rcu_dereference(ba_data->mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_rx_agg_session_expired() 314 u8 sta_id; in iwl_mvm_invalidate_sta_queue() local [all …]
|
| HD | mld-sta.c | 26 return BIT(mvmsta->deflink.sta_id); in iwl_mvm_sta_fw_id_mask() 42 result |= BIT(mvm_link_sta->sta_id); in iwl_mvm_sta_fw_id_mask() 71 cmd.sta_id = cpu_to_le32((u8)sta->sta_id); in iwl_mvm_mld_add_int_sta_to_fw() 95 static int iwl_mvm_mld_rm_sta_from_fw(struct iwl_mvm *mvm, u32 sta_id) in iwl_mvm_mld_rm_sta_from_fw() argument 98 .sta_id = cpu_to_le32(sta_id), in iwl_mvm_mld_rm_sta_from_fw() 103 if (!rcu_access_pointer(mvm->fw_id_to_mac_id[sta_id])) { in iwl_mvm_mld_rm_sta_from_fw() 104 IWL_ERR(mvm, "Invalid station id %d\n", sta_id); in iwl_mvm_mld_rm_sta_from_fw() 111 IWL_ERR(mvm, "Failed to remove station. Id=%d\n", sta_id); in iwl_mvm_mld_rm_sta_from_fw() 125 .sta_id = cpu_to_le32(sta->sta_id), in iwl_mvm_add_aux_sta_to_fw() 149 if (WARN_ON_ONCE(sta->sta_id == IWL_MVM_INVALID_STA)) in iwl_mvm_mld_add_int_sta_with_queue() [all …]
|
| HD | tx.c | 151 struct ieee80211_tx_info *info, u8 sta_id) in iwl_mvm_set_tx_cmd() argument 242 tx_cmd->sta_id = sta_id; in iwl_mvm_set_tx_cmd() 564 struct ieee80211_sta *sta, u8 sta_id, in iwl_mvm_set_tx_params() argument 651 iwl_mvm_set_tx_cmd(mvm, skb, tx_cmd, info, sta_id); in iwl_mvm_set_tx_params() 784 u8 sta_id; in iwl_mvm_tx_skb_non_sta() local 821 sta_id = mvm->aux_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 845 sta_id = link->bcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 847 sta_id = link->mcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 853 sta_id = mvm->snif_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 865 IWL_DEBUG_TX(mvm, "station Id %d, queue=%d\n", sta_id, queue); in iwl_mvm_tx_skb_non_sta() [all …]
|
| HD | tdls.c | 100 tdls_cfg_cmd.sta_info[cnt].sta_id = i; in iwl_mvm_tdls_config() 213 u32 sta_id = le32_to_cpu(notif->sta_id); in iwl_mvm_rx_tdls_notif() local 223 if (WARN_ON(sta_id >= mvm->fw->ucode_capa.num_stations)) in iwl_mvm_rx_tdls_notif() 226 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_rx_tdls_notif() 375 cmd.peer_sta_id = cpu_to_le32(mvmsta->deflink.sta_id); in iwl_mvm_tdls_config_channel_switch() 420 mvmsta->deflink.sta_id); in iwl_mvm_tdls_config_channel_switch() 437 mvm->tdls_cs.cur_sta_id = mvmsta->deflink.sta_id; in iwl_mvm_tdls_config_channel_switch() 471 if (mvm->tdls_cs.peer.sta_id == IWL_MVM_INVALID_STA) in iwl_mvm_tdls_ch_switch_work() 475 mvm->fw_id_to_mac_id[mvm->tdls_cs.peer.sta_id], in iwl_mvm_tdls_ch_switch_work() 518 if (mvm->tdls_cs.peer.sta_id != IWL_MVM_INVALID_STA) { in iwl_mvm_tdls_channel_switch() [all …]
|
| HD | rs-fw.c | 429 link_sta = rcu_dereference(mvm->fw_id_to_link_sta[notif->sta_id]); in iwl_mvm_tlc_update_notif() 430 sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]); in iwl_mvm_tlc_update_notif() 437 notif->sta_id); in iwl_mvm_tlc_update_notif() 445 notif->sta_id); in iwl_mvm_tlc_update_notif() 455 link_sta->link_id, notif->sta_id); in iwl_mvm_tlc_update_notif() 643 cfg_cmd.sta_id = mvm_link_sta->sta_id; in iwl_mvm_rs_fw_rate_init() 668 cfg_cmd.sta_id, cfg_cmd.max_ch_width, cfg_cmd.mode); in iwl_mvm_rs_fw_rate_init() 684 .sta_id = cfg_cmd.sta_id, in iwl_mvm_rs_fw_rate_init() 731 lq_sta->pers.sta_id = link_sta->sta_id; in iwl_mvm_rs_add_sta_link()
|
| HD | offloading.c | 34 u8 sta_id) in iwl_mvm_send_proto_offload() argument 185 size -= sizeof(cmd.v4.sta_id); in iwl_mvm_send_proto_offload() 210 cmd.v4.sta_id = cpu_to_le32(sta_id); in iwl_mvm_send_proto_offload()
|
| HD | sta.h | 339 u32 sta_id; member 475 u32 sta_id; member 494 struct ieee80211_sta *sta, int sta_id, u8 sta_type); 518 u8 sta_id); 612 u8 sta_id, u8 tid, unsigned int timeout); 672 int iwl_mvm_mld_rm_sta_id(struct iwl_mvm *mvm, u8 sta_id);
|
| HD | ftm-responder.c | 126 .sta_id = mvmvif->link[link_conf->link_id]->bcast_sta.sta_id, in iwl_mvm_ftm_responder_cmd() 315 iwl_mvm_sec_key_del_pasn(mvm, vif, BIT(sta->int_sta.sta_id), in iwl_mvm_resp_del_pasn_sta() 319 iwl_mvm_mld_rm_sta_id(mvm, sta->int_sta.sta_id); in iwl_mvm_resp_del_pasn_sta() 321 iwl_mvm_rm_sta_id(mvm, vif, sta->int_sta.sta_id); in iwl_mvm_resp_del_pasn_sta()
|
| HD | rx.c | 253 mvmsta->deflink.sta_id != mvmvif->deflink.ap_sta_id) in iwl_mvm_rx_handle_tcm() 752 u32 sta_id = mvmsta->deflink.sta_id; in iwl_mvm_stats_energy_iter() local 754 if (WARN_ONCE(sta_id >= IWL_MVM_STATION_COUNT_MAX, "sta_id %d >= %d", in iwl_mvm_stats_energy_iter() 755 sta_id, IWL_MVM_STATION_COUNT_MAX)) in iwl_mvm_stats_energy_iter() 758 if (energy[sta_id]) in iwl_mvm_stats_energy_iter() 759 mvmsta->deflink.avg_energy = energy[sta_id]; in iwl_mvm_stats_energy_iter() 1329 u8 sta_id, tid; in iwl_mvm_window_status_notif() local 1346 sta_id = (ratid & BA_WINDOW_STATUS_STA_ID_MSK) in iwl_mvm_window_status_notif() 1348 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_window_status_notif()
|
| HD | ftm-initiator.c | 88 u8 sta_id; in iwl_mvm_ftm_add_pasn_sta() local 95 sta_id = mvmvif->link[link_id]->ap_sta_id; in iwl_mvm_ftm_add_pasn_sta() 96 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_ftm_add_pasn_sta() 537 u8 *sta_id, __le32 *flags) in iwl_mvm_ftm_set_sta() argument 550 *sta_id = mvmvif->link[link_id]->ap_sta_id; in iwl_mvm_ftm_set_sta() 551 sta = rcu_dereference(mvm->fw_id_to_mac_id[*sta_id]); in iwl_mvm_ftm_set_sta() 566 *sta_id = IWL_MVM_INVALID_STA; in iwl_mvm_ftm_set_sta() 571 *sta_id = IWL_MVM_INVALID_STA; in iwl_mvm_ftm_set_sta() 592 iwl_mvm_ftm_set_sta(mvm, vif, peer, &target->sta_id, in iwl_mvm_ftm_put_target() 972 iwl_mvm_ftm_set_sta(mvm, vif, peer, &target->sta_id, in iwl_mvm_ftm_put_target_v10()
|
| HD | rxmq.c | 610 u32 sta_id; in iwl_mvm_del_ba() local 622 sta_id = ffs(ba_data->sta_mask) - 1; in iwl_mvm_del_ba() 623 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_del_ba() 647 u32 sta_id; in iwl_mvm_release_frames_from_notif() local 663 sta_id = ffs(ba_data->sta_mask) - 1; in iwl_mvm_release_frames_from_notif() 664 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_release_frames_from_notif() 2067 u8 sta_id = le32_get_bits(desc->status, IWL_RX_MPDU_STATUS_STA_ID); in iwl_mvm_rx_mpdu_mq() local 2216 if (!WARN_ON_ONCE(sta_id >= mvm->fw->ucode_capa.num_stations)) { in iwl_mvm_rx_mpdu_mq() 2219 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_rx_mpdu_mq() 2222 link_sta = rcu_dereference(mvm->fw_id_to_link_sta[sta_id]); in iwl_mvm_rx_mpdu_mq() [all …]
|
| HD | coex.c | 177 static int iwl_mvm_bt_coex_reduced_txp(struct iwl_mvm *mvm, u8 sta_id, in iwl_mvm_bt_coex_reduced_txp() argument 187 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, sta_id); in iwl_mvm_bt_coex_reduced_txp() 195 value = mvmsta->deflink.sta_id; in iwl_mvm_bt_coex_reduced_txp() 201 enable ? "en" : "dis", sta_id); in iwl_mvm_bt_coex_reduced_txp()
|
| /freebsd-head/sys/dev/iwm/ |
| HD | if_iwm_sta.c | 150 .sta_id = IWM_STATION_ID, in iwm_sta_send_to_fw() 217 cmd.sta_id = IWM_STATION_ID; in iwm_drain_sta() 253 .sta_id = IWM_STATION_ID, in iwm_rm_sta_common() 321 cmd.sta_id = sta->sta_id; in iwm_add_int_sta_common() 323 if (sta->sta_id == IWM_AUX_STA_ID && sc->cfg->mqrx_supported) in iwm_add_int_sta_common() 356 sc->sc_aux_sta.sta_id = IWM_AUX_STA_ID; in iwm_add_aux_sta() 370 sc->sc_aux_sta.sta_id = IWM_STATION_COUNT; in iwm_add_aux_sta() 378 sc->sc_aux_sta.sta_id = IWM_STATION_COUNT; in iwm_del_aux_sta()
|
| HD | if_iwm_scan.c | 519 scan_config->bcast_sta_id = sc->sc_aux_sta.sta_id; in iwm_config_umac_scan() 771 req->tx_cmd[0].sta_id = sc->sc_aux_sta.sta_id; in iwm_lmac_scan() 778 req->tx_cmd[1].sta_id = sc->sc_aux_sta.sta_id; in iwm_lmac_scan()
|
| /freebsd-head/sys/contrib/dev/iwlwifi/fw/api/ |
| HD | sta.h | 249 u8 sta_id; member 335 u8 sta_id; member 364 u8 sta_id; member 425 u8 sta_id; member 446 __le32 sta_id; member 463 __le32 sta_id; member 497 __le32 sta_id; member
|
| HD | tdls.h | 96 __le32 sta_id; member 108 u8 sta_id; member 146 __le16 sta_id; member
|
| HD | d3.h | 174 __le32 sta_id; member 329 u8 sta_id; member 391 u8 sta_id; member 439 __le32 sta_id; member 445 __le32 sta_id; member 477 __le32 sta_id; member 504 __le32 sta_id; member 517 __le32 sta_id; member 592 __le32 sta_id; member
|
| HD | tx.h | 234 u8 sta_id; member 628 u8 sta_id; member 714 u8 sta_id; member 887 __le32 sta_id; member 915 __le16 sta_id; member 943 u8 sta_id; member 963 u8 sta_id; member
|
| HD | mac-cfg.h | 583 __le32 sta_id; member 615 __le32 sta_id; member 630 __le32 sta_id; member 641 __le32 sta_id; member
|
| HD | location.h | 248 u8 sta_id; member 284 u8 sta_id; member 332 u8 sta_id; member 382 u8 sta_id; member 434 u8 sta_id; member 792 u8 sta_id; member 845 u8 sta_id; member 915 u8 sta_id; member 996 u8 sta_id; member 1072 u8 sta_id; member
|
| HD | rs.h | 155 u8 sta_id; member 188 u8 sta_id; member 221 u8 sta_id; member 742 u8 sta_id; member
|
| HD | mac.h | 594 u8 sta_id; member 662 u8 sta_id; member 737 u8 sta_id; member
|
| HD | offload.h | 83 u8 sta_id; member
|
| HD | txq.h | 105 u8 sta_id; member
|
| /freebsd-head/sys/contrib/dev/iwlwifi/ |
| HD | iwl-trans.h | 452 u8 sta_id; member 1035 int fifo, int sta_id, int tid, in iwl_trans_txq_enable() argument 1041 .sta_id = sta_id, in iwl_trans_txq_enable() 1044 .aggregate = sta_id >= 0, in iwl_trans_txq_enable() 1056 .sta_id = -1, in iwl_trans_ac_txq_enable()
|