| /freebsd/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | 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 …]
|
| H A D | 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() 75 cmd.sta_id = cpu_to_le32((u8)sta->sta_id); in iwl_mvm_mld_add_int_sta_to_fw() 99 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 102 .sta_id = cpu_to_le32(sta_id), in iwl_mvm_mld_rm_sta_from_fw() 107 if (!rcu_access_pointer(mvm->fw_id_to_mac_id[sta_id])) { in iwl_mvm_mld_rm_sta_from_fw() 108 IWL_ERR(mvm, "Invalid station id %d\n", sta_id); in iwl_mvm_mld_rm_sta_from_fw() 115 IWL_ERR(mvm, "Failed to remove station. Id=%d\n", sta_id); in iwl_mvm_mld_rm_sta_from_fw() 129 .sta_id = cpu_to_le32(sta->sta_id), in iwl_mvm_add_aux_sta_to_fw() 153 if (WARN_ON_ONCE(sta->sta_id == IWL_INVALID_STA)) in iwl_mvm_mld_add_int_sta_with_queue() [all …]
|
| H A D | tx.c | 152 struct ieee80211_tx_info *info, u8 sta_id) in iwl_mvm_set_tx_cmd() argument 243 tx_cmd_params->sta_id = sta_id; in iwl_mvm_set_tx_cmd() 555 struct ieee80211_sta *sta, u8 sta_id, in iwl_mvm_set_tx_params() argument 642 iwl_mvm_set_tx_cmd(mvm, skb, &tx_cmd->params, info, sta_id); in iwl_mvm_set_tx_params() 775 u8 sta_id; in iwl_mvm_tx_skb_non_sta() local 812 sta_id = mvm->aux_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 836 sta_id = link->bcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 838 sta_id = link->mcast_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 844 sta_id = mvm->snif_sta.sta_id; in iwl_mvm_tx_skb_non_sta() 856 IWL_DEBUG_TX(mvm, "station Id %d, queue=%d\n", sta_id, queue); in iwl_mvm_tx_skb_non_sta() [all …]
|
| H A D | 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_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_INVALID_STA) { in iwl_mvm_tdls_channel_switch() [all …]
|
| H A D | 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() 449 link_sta->link_id, notif->sta_id); in iwl_mvm_tlc_update_notif() 623 cfg_cmd.sta_id = mvm_link_sta->sta_id; in iwl_mvm_rs_fw_rate_init() 648 cfg_cmd.sta_id, cfg_cmd.max_ch_width, cfg_cmd.mode); in iwl_mvm_rs_fw_rate_init() 664 .sta_id = cfg_cmd.sta_id, in iwl_mvm_rs_fw_rate_init() 711 lq_sta->pers.sta_id = link_sta->sta_id; in iwl_mvm_rs_add_sta_link()
|
| H A D | 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()
|
| H A D | sta.h | 336 u32 sta_id; member 472 u32 sta_id; member 492 struct ieee80211_sta *sta, int sta_id, u8 sta_type); 516 u8 sta_id); 604 u8 sta_id, u8 tid, unsigned int timeout); 663 int iwl_mvm_mld_rm_sta_id(struct iwl_mvm *mvm, u8 sta_id);
|
| H A D | 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()
|
| /freebsd/sys/dev/iwm/ |
| H A D | 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()
|
| /freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
| H A D | sta.h | 250 u8 sta_id; member 336 u8 sta_id; member 365 u8 sta_id; member 426 u8 sta_id; member 447 __le32 sta_id; member 464 __le32 sta_id; member 498 __le32 sta_id; member
|
| H A D | d3.h | 176 __le32 sta_id; member 331 u8 sta_id; member 393 u8 sta_id; member 413 u8 sta_id; member 462 __le32 sta_id; member 494 __le32 sta_id; member 521 __le32 sta_id; member 534 __le32 sta_id; member 609 __le32 sta_id; member
|
| H A D | tdls.h | 96 __le32 sta_id; member 108 u8 sta_id; member 146 __le16 sta_id; member
|
| H A D | tx.h | 229 u8 sta_id; member 637 u8 sta_id; member 724 u8 sta_id; member 898 __le32 sta_id; member 926 __le16 sta_id; member 954 u8 sta_id; member 974 u8 sta_id; member
|
| H A D | location.h | 253 u8 sta_id; member 289 u8 sta_id; member 337 u8 sta_id; member 387 u8 sta_id; member 439 u8 sta_id; member 801 u8 sta_id; member 854 u8 sta_id; member 924 u8 sta_id; member 1005 u8 sta_id; member 1081 u8 sta_id; member
|
| H A D | mac-cfg.h | 679 __le32 sta_id; member 743 __le32 sta_id; member 782 __le32 sta_id; member 797 __le32 sta_id; member 808 __le32 sta_id; member
|
| H A D | rs.h | 157 u8 sta_id; member 190 u8 sta_id; member 224 u8 sta_id; member 279 u8 sta_id; member 804 u8 sta_id; member
|
| /freebsd/sys/contrib/dev/iwlwifi/mld/ |
| H A D | agg.c | 52 u32 sta_id; in iwl_mld_release_frames_from_notif() local 70 sta_id = ffs(ba_data->sta_mask) - 1; in iwl_mld_release_frames_from_notif() 71 link_sta = rcu_dereference(mld->fw_id_to_link_sta[sta_id]); in iwl_mld_release_frames_from_notif() 107 unsigned int baid, nssn, sta_id, tid; in iwl_mld_handle_bar_frame_release_notif() local 119 sta_id = le32_get_bits(release->sta_tid, in iwl_mld_handle_bar_frame_release_notif() 138 sta_id > mld->fw->ucode_capa.num_stations || in iwl_mld_handle_bar_frame_release_notif() 139 !(baid_data->sta_mask & BIT(sta_id)), in iwl_mld_handle_bar_frame_release_notif() 141 baid, baid_data->sta_mask, baid_data->tid, sta_id, in iwl_mld_handle_bar_frame_release_notif() 160 u32 sta_id; in iwl_mld_del_ba() local 172 sta_id = ffs(ba_data->sta_mask) - 1; in iwl_mld_del_ba() [all …]
|
| H A D | key.c | 66 int sta_id; in iwl_mld_get_key_sta_mask() local 83 if (WARN_ON(link->bcast_sta.sta_id == IWL_INVALID_STA || in iwl_mld_get_key_sta_mask() 84 link->mcast_sta.sta_id == IWL_INVALID_STA)) in iwl_mld_get_key_sta_mask() 89 return BIT(link->bcast_sta.sta_id); in iwl_mld_get_key_sta_mask() 92 return BIT(link->mcast_sta.sta_id); in iwl_mld_get_key_sta_mask() 112 sta_id = iwl_mld_fw_sta_id_from_link_sta(mld, link_sta); in iwl_mld_get_key_sta_mask() 113 if (sta_id < 0) in iwl_mld_get_key_sta_mask() 116 return BIT(sta_id); in iwl_mld_get_key_sta_mask()
|
| H A D | link.h | 87 if (link->bcast_sta.sta_id != IWL_INVALID_STA) in iwl_mld_cleanup_link() 89 if (link->mcast_sta.sta_id != IWL_INVALID_STA) in iwl_mld_cleanup_link() 91 if (link->mon_sta.sta_id != IWL_INVALID_STA) in iwl_mld_cleanup_link()
|
| H A D | sta.c | 435 cmd.sta_id = cpu_to_le32(fw_id); in iwl_mld_add_modify_sta_cmd() 569 .sta_id = cpu_to_le32(fw_sta_id), in iwl_mld_rm_sta_from_fw() 948 u32 sta_mask = BIT(internal_sta->sta_id); in iwl_mld_allocate_internal_txq() 968 .sta_id = cpu_to_le32(internal_sta->sta_id), in iwl_mld_send_aux_sta_cmd() 988 cmd.sta_id = cpu_to_le32((u8)internal_sta->sta_id); in iwl_mld_add_internal_sta_to_fw() 1016 &internal_sta->sta_id, in iwl_mld_add_internal_sta() 1030 iwl_mld_rm_sta_from_fw(mld, internal_sta->sta_id); in iwl_mld_add_internal_sta() 1114 if (WARN_ON_ONCE(internal_sta->sta_id == IWL_INVALID_STA || in iwl_mld_remove_internal_sta() 1119 iwl_mld_flush_link_sta_txqs(mld, internal_sta->sta_id); in iwl_mld_remove_internal_sta() 1121 iwl_mld_free_txq(mld, BIT(internal_sta->sta_id), in iwl_mld_remove_internal_sta() [all …]
|
| H A D | sta.h | 216 u8 sta_id; member 224 internal_sta->sta_id = IWL_INVALID_STA; in iwl_mld_init_internal_sta() 232 if (WARN_ON(internal_sta->sta_id == IWL_INVALID_STA)) in iwl_mld_free_internal_sta() 235 RCU_INIT_POINTER(mld->fw_id_to_link_sta[internal_sta->sta_id], NULL); in iwl_mld_free_internal_sta()
|
| H A D | tlc.c | 478 cmd.sta_id = fw_sta_id; in iwl_mld_send_tlc_cmd() 486 cmd.sta_id, cmd.max_ch_width, cmd.mode); in iwl_mld_send_tlc_cmd() 496 int iwl_mld_send_tlc_dhc(struct iwl_mld *mld, u8 sta_id, u32 type, u32 data) in iwl_mld_send_tlc_dhc() argument 502 .tlc.sta_id = sta_id, in iwl_mld_send_tlc_dhc() 517 sta_id, type, data, ret); in iwl_mld_send_tlc_dhc() 641 if (IWL_FW_CHECK(mld, notif->sta_id >= mld->fw->ucode_capa.num_stations, in iwl_mld_handle_tlc_notif() 643 notif->sta_id)) in iwl_mld_handle_tlc_notif() 647 mld->fw_id_to_link_sta[notif->sta_id]); in iwl_mld_handle_tlc_notif() 650 "link_sta of sta id (%d) doesn't exist\n", notif->sta_id)) in iwl_mld_handle_tlc_notif()
|
| H A D | tx.c | 1064 int sta_id = IWL_TX_RES_GET_RA(tx_resp->ra_tid); in iwl_mld_handle_tx_resp_notif() local 1149 if (IWL_FW_CHECK(mld, sta_id >= mld->fw->ucode_capa.num_stations, in iwl_mld_handle_tx_resp_notif() 1150 "Got invalid sta_id (%d)\n", sta_id)) in iwl_mld_handle_tx_resp_notif() 1155 link_sta = rcu_dereference(mld->fw_id_to_link_sta[sta_id]); in iwl_mld_handle_tx_resp_notif() 1162 sta_id); in iwl_mld_handle_tx_resp_notif() 1215 .sta_id = cpu_to_le32(fw_sta_id), in iwl_mld_flush_link_sta_txqs() 1246 if (IWL_FW_CHECK(mld, le16_to_cpu(rsp->sta_id) != fw_sta_id, in iwl_mld_flush_link_sta_txqs() 1248 le16_to_cpu(rsp->sta_id))) { in iwl_mld_flush_link_sta_txqs() 1349 u8 sta_id = ba_res->sta_id; in iwl_mld_handle_compressed_ba_notif() local 1362 sta_id, le32_to_cpu(ba_res->flags), in iwl_mld_handle_compressed_ba_notif() [all …]
|
| H A D | roc.c | 133 cmd.sta_id = cpu_to_le32(aux_sta->sta_id); in iwl_mld_start_roc() 180 iwl_mld_flush_link_sta_txqs(mld, mld_vif->aux_sta.sta_id); in iwl_mld_destroy_roc()
|
| /freebsd/sys/contrib/dev/iwlwifi/ |
| H A D | iwl-trans.h | 474 u8 sta_id; member 1023 int fifo, int sta_id, int tid, in iwl_trans_txq_enable() argument 1029 .sta_id = sta_id, in iwl_trans_txq_enable() 1032 .aggregate = sta_id >= 0, in iwl_trans_txq_enable() 1044 .sta_id = -1, in iwl_trans_ac_txq_enable()
|