/openbmc/linux/net/mac80211/ |
H A D | key.c | 156 sta = key->sta; in ieee80211_key_enable_hw_accel() 185 sta ? &sta->sta : NULL, &key->conf); in ieee80211_key_enable_hw_accel() 208 sta ? sta->sta.addr : bcast_addr, ret); in ieee80211_key_enable_hw_accel() 250 sta = key->sta; in ieee80211_key_disable_hw_accel() 264 sta ? &sta->sta : NULL, &key->conf); in ieee80211_key_disable_hw_accel() 270 sta ? sta->sta.addr : bcast_addr, ret); in ieee80211_key_disable_hw_accel() 346 sta->sta.addr); in ieee80211_pairwise_rekey() 920 key->sta = sta; in ieee80211_key_link() 1012 key->sta ? &key->sta->sta : NULL, in ieee80211_iter_keys() 1019 key->sta ? &key->sta->sta : NULL, in ieee80211_iter_keys() [all …]
|
H A D | debugfs_sta.c | 165 for (i = 0; i < ARRAY_SIZE(sta->sta.txq); i++) { in sta_aqm_read() 166 if (!sta->sta.txq[i]) in sta_aqm_read() 168 txqi = to_txq_info(sta->sta.txq[i]); in sta_aqm_read() 243 sta->airtime[ac].deficit = sta->airtime_weight; in sta_airtime_write() 425 ret = ieee80211_start_tx_ba_session(&sta->sta, tid, in sta_agg_status_write() 428 ret = ieee80211_stop_tx_ba_session(&sta->sta, tid); in sta_agg_status_write() 1224 sta->debugfs_dir, sta, &sta_ ##name## _ops) 1227 debugfs_create_ulong(#name, 0400, sta->debugfs_dir, &sta->field); 1239 snprintf(mac, sizeof(mac), "%pM", sta->sta.addr); in ieee80211_sta_debugfs_add() 1270 drv_sta_add_debugfs(local, sdata, &sta->sta, sta->debugfs_dir); in ieee80211_sta_debugfs_add() [all …]
|
H A D | rx.c | 1553 sta->sta.addr, sta->sta.aid); in sta_ps_start() 1576 sta->sta.addr, sta->sta.aid); in sta_ps_end() 1587 sta->sta.addr, sta->sta.aid); in sta_ps_end() 2953 sta->sta.addr); in ieee80211_rx_mesh_data() 3249 event.u.ba.sta = &rx->sta->sta; in ieee80211_rx_h_ctrl() 4212 rx->sta = sta; in ieee80211_rx_data_set_sta() 4247 if (sta->sta.valid_links) in ieee80211_release_reorder_timeout() 4267 .u.ba.sta = &sta->sta, in ieee80211_release_reorder_timeout() 4540 if (sta->sta.tdls) { in ieee80211_check_fast_rx() 5004 if (unlikely(rx->sta && rx->sta->sta.mlo) && in ieee80211_prepare_and_rx_handle() [all …]
|
H A D | driver-ops.h | 44 trace_drv_sync_rx_queues(local, sta->sdata, &sta->sta); in drv_sync_rx_queues() 245 if (sta) in drv_update_tkip_key() 246 ista = &sta->sta; in drv_update_tkip_key() 499 sta, dir); in drv_sta_add_debugfs() 529 trace_drv_sta_pre_rcu_remove(local, sdata, &sta->sta); in drv_sta_pre_rcu_remove() 532 &sta->sta); in drv_sta_pre_rcu_remove() 668 trace_drv_flush_sta(local, sdata, &sta->sta); in drv_flush_sta() 670 local->ops->flush_sta(&local->hw, &sdata->vif, &sta->sta); in drv_flush_sta() 833 local->ops->release_buffered_frames(&local->hw, &sta->sta, tids, in drv_release_buffered_frames() 848 local->ops->allow_buffered_frames(&local->hw, &sta->sta, in drv_allow_buffered_frames() [all …]
|
H A D | driver-ops.c | 124 trace_drv_sta_state(local, sdata, &sta->sta, old_state, new_state); in drv_sta_state() 126 ret = local->ops->sta_state(&local->hw, &sdata->vif, &sta->sta, in drv_sta_state() 130 ret = drv_sta_add(local, sdata, &sta->sta); in drv_sta_state() 132 sta->uploaded = true; in drv_sta_state() 133 if (rcu_access_pointer(sta->sta.rates)) in drv_sta_state() 134 drv_sta_rate_tbl_update(local, sdata, &sta->sta); in drv_sta_state() 138 drv_sta_remove(local, sdata, &sta->sta); in drv_sta_state() 157 trace_drv_sta_set_txpwr(local, sdata, &sta->sta); in drv_sta_set_txpwr() 160 &sta->sta); in drv_sta_set_txpwr() 180 sta, changed); in drv_sta_rc_update() [all …]
|
H A D | ethtool.c | 75 struct sta_info *sta; in ieee80211_get_stats() local 84 #define ADD_STA_STATS(sta) \ in ieee80211_get_stats() argument 89 data[i++] += (sta)->rx_stats.fragments; \ in ieee80211_get_stats() 94 data[i++] += (sta)->status_stats.filtered; \ in ieee80211_get_stats() 110 if (!(sta && !WARN_ON(sta->sdata->dev != dev))) in ieee80211_get_stats() 114 sta_set_sinfo(sta, &sinfo, false); in ieee80211_get_stats() 117 ADD_STA_STATS(&sta->deflink); in ieee80211_get_stats() 119 data[i++] = sta->sta_state; in ieee80211_get_stats() 137 if (sta->sdata->dev != dev) in ieee80211_get_stats() 141 sta_set_sinfo(sta, &sinfo, false); in ieee80211_get_stats() [all …]
|
H A D | ibss.c | 574 memcpy(addr, sta->sta.addr, ETH_ALEN); in ieee80211_ibss_finish_sta() 643 sta->sta.deflink.supp_rates[band] = supp_rates | in ieee80211_ibss_add_sta() 1025 sta->sta.addr, prev_rates, in ieee80211_update_sta_info() 1026 sta->sta.deflink.supp_rates[band]); in ieee80211_update_sta_info() 1036 if (sta && !sta->sta.wme && in ieee80211_update_sta_info() 1039 sta->sta.wme = true; in ieee80211_update_sta_info() 1081 if (bw != sta->sta.deflink.bandwidth) in ieee80211_update_sta_info() 1091 u8 rx_nss = sta->sta.deflink.rx_nss; in ieee80211_update_sta_info() 1094 sta->sta.deflink.rx_nss = 0; in ieee80211_update_sta_info() 1096 if (sta->sta.deflink.rx_nss != rx_nss) in ieee80211_update_sta_info() [all …]
|
H A D | cfg.c | 871 memcpy(mac, sta->sta.addr, ETH_ALEN); in ieee80211_dump_station() 1981 sta->sta.max_sp = params->max_sp; in sta_apply_parameters() 1992 sta->sta.aid = params->aid; in sta_apply_parameters() 2029 sta->sta.mlo = true; in sta_apply_parameters() 2080 sta->sta.tdls = true; in ieee80211_add_station() 2186 drv_sta_set_4addr(local, sta->sdata, &sta->sta, true); in ieee80211_change_station() 2190 sta->sdata->u.vlan.sta) in ieee80211_change_station() 2203 sta->sta.addr); in ieee80211_change_station() 3210 if (!sta->sta.tdls || sta->sdata != sdata || !sta->uploaded || in __ieee80211_request_smps_mgd() 4151 qos = sta->sta.wme; in ieee80211_probe_client() [all …]
|
H A D | wme.c | 85 struct sta_info *sta, struct sk_buff *skb) in ieee80211_downgrade_queue() argument 109 if (sta && sta->reserved_tid == skb->priority) in ieee80211_downgrade_queue() 148 struct sta_info *sta, struct sk_buff *skb) in ieee80211_select_queue() argument 160 (sdata->vif.type == NL80211_IFTYPE_OCB && sta)) in ieee80211_select_queue() 162 else if (sta) in ieee80211_select_queue() 163 qos = sta->sta.wme; in ieee80211_select_queue() 184 return ieee80211_downgrade_queue(sdata, sta, skb); in ieee80211_select_queue()
|
H A D | mesh.h | 274 struct sta_info *sta, 291 struct sta_info *sta, 298 void ieee80211_mps_frame_release(struct sta_info *sta, 328 struct sta_info *sta); 337 void mesh_plink_broken(struct sta_info *sta); 338 u64 mesh_plink_deactivate(struct sta_info *sta); 339 u64 mesh_plink_open(struct sta_info *sta); 340 u64 mesh_plink_block(struct sta_info *sta); 344 void mesh_sta_cleanup(struct sta_info *sta); 358 void mesh_path_flush_by_nexthop(struct sta_info *sta); [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | sta.c | 420 if (sta) { in iwl_mvm_disable_txq() 818 if (!sta) in iwl_mvm_get_queue_size() 866 if (sta) { in iwl_mvm_tvqm_enable_txq() 973 if (sta) { in iwl_mvm_update_txq_mapping() 1949 if (!sta) { in iwl_mvm_rm_sta_common() 3501 if (sta) in iwl_mvm_get_key_sta() 3784 if (sta) in iwl_mvm_get_mac_addr() 3815 if (sta) { in __iwl_mvm_set_sta_key() 3934 sta) { in iwl_mvm_set_sta_key() 3948 sta ? sta->addr : zero_addr, ret); in iwl_mvm_set_sta_key() [all …]
|
H A D | sf.c | 98 struct ieee80211_sta *sta) in iwl_mvm_fill_sf_command() argument 112 if (sta) { in iwl_mvm_fill_sf_command() 115 for (link_id = 0; link_id < ARRAY_SIZE(sta->link); link_id++) { in iwl_mvm_fill_sf_command() 116 link_sta = rcu_dereference(sta->link[link_id]); in iwl_mvm_fill_sf_command() 158 if (sta) { in iwl_mvm_fill_sf_command() 195 if (!sta) { in iwl_mvm_sf_config() 200 iwl_mvm_fill_sf_command(mvm, &sf_cmd, sta); in iwl_mvm_sf_config() 233 struct ieee80211_sta *sta = NULL; in iwl_mvm_sf_update() local 263 sta = data.sta_vif_ap_sta; in iwl_mvm_sf_update() 272 sta = mvmvif->ap_sta; in iwl_mvm_sf_update() [all …]
|
H A D | ftm-responder.c | 302 struct iwl_mvm_pasn_sta *sta) in iwl_mvm_resp_del_pasn_sta() argument 304 list_del(&sta->list); in iwl_mvm_resp_del_pasn_sta() 312 kfree(sta); in iwl_mvm_resp_del_pasn_sta() 321 struct iwl_mvm_pasn_sta *sta = NULL; in iwl_mvm_ftm_respoder_add_pasn_sta() local 355 sta = kzalloc(sizeof(*sta), GFP_KERNEL); in iwl_mvm_ftm_respoder_add_pasn_sta() 356 if (!sta) in iwl_mvm_ftm_respoder_add_pasn_sta() 362 kfree(sta); in iwl_mvm_ftm_respoder_add_pasn_sta() 366 memcpy(sta->addr, addr, ETH_ALEN); in iwl_mvm_ftm_respoder_add_pasn_sta() 371 if (ret && sta) in iwl_mvm_ftm_respoder_add_pasn_sta() 380 struct iwl_mvm_pasn_sta *sta, *prev; in iwl_mvm_ftm_resp_remove_pasn_sta() local [all …]
|
H A D | rs.c | 375 struct ieee80211_sta *sta, 565 sta->addr, tid); in rs_tl_turn_on_agg_for_tid() 1392 sta->deflink.rx_nss) < sta->deflink.rx_nss) in rs_bw_from_sta_bw() 1497 rs_fw_get_max_amsdu_len(sta, bss_conf, &sta->deflink); in rs_set_amsdu_len() 2571 sta->deflink.bandwidth); in rs_get_initial_rate() 2647 if (!sta || !lq_sta) in rs_initialize_lq() 2686 if (sta && !iwl_mvm_sta_from_mac80211(sta)->vif) { in rs_drv_get_rate() 2778 if (sta->deflink.rx_nss < 2) in rs_vht_set_enabled_rates() 2829 struct ieee80211_sta *sta, in rs_vht_init() argument 3482 sta->deflink.sta_id); in rs_bfer_priority() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | debugfs_sta.c | 63 if (!peer || !peer->sta) in ath10k_sta_update_rx_tid_stats_ampdu() 66 arsta = (struct ath10k_sta *)peer->sta->drv_priv; in ath10k_sta_update_rx_tid_stats_ampdu() 86 struct ieee80211_sta *sta; in ath10k_sta_update_rx_tid_stats() local 106 if (!sta) in ath10k_sta_update_rx_tid_stats() 109 arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_sta_update_rx_tid_stats() 132 struct ieee80211_sta *sta; in ath10k_sta_update_extd_stats_rx_duration() local 139 if (!sta) in ath10k_sta_update_extd_stats_rx_duration() 141 arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_sta_update_extd_stats_rx_duration() 151 struct ieee80211_sta *sta; in ath10k_sta_update_stats_rx_duration() local 158 if (!sta) in ath10k_sta_update_stats_rx_duration() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | rx_reorder.c | 83 __acquires(&sta->tid_rx_lock) __releases(&sta->tid_rx_lock) in wil_rx_reorder() 89 struct wil_sta_info *sta; in wil_rx_reorder() local 96 sta = &wil->sta[cid]; in wil_rx_reorder() 109 spin_lock(&sta->tid_rx_lock); in wil_rx_reorder() 111 r = sta->tid_rx[tid]; in wil_rx_reorder() 217 struct wil_sta_info *sta = &wil->sta[cid]; in wil_rx_bar() local 223 r = sta->tid_rx[tid]; in wil_rx_bar() 301 __acquires(&sta->tid_rx_lock) __releases(&sta->tid_rx_lock) in wil_addba_rx_request() 306 struct wil_sta_info *sta; in wil_addba_rx_request() local 332 sta = &wil->sta[cid]; in wil_addba_rx_request() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | debugfs_sta.c | 138 struct ieee80211_sta *sta = file->private_data; in ath11k_dbg_sta_dump_tx_stats() local 245 struct ieee80211_sta *sta = file->private_data; in ath11k_dbg_sta_dump_rx_stats() local 342 struct ieee80211_sta *sta = inode->i_private; in ath11k_dbg_sta_open_htt_peer_stats() local 378 struct ieee80211_sta *sta = inode->i_private; in ath11k_dbg_sta_release_htt_peer_stats() local 415 struct ieee80211_sta *sta = file->private_data; in ath11k_dbg_sta_write_peer_pktlog() local 438 sta->addr, ret); in ath11k_dbg_sta_write_peer_pktlog() 455 struct ieee80211_sta *sta = file->private_data; in ath11k_dbg_sta_read_peer_pktlog() local 482 struct ieee80211_sta *sta = file->private_data; in ath11k_dbg_sta_write_delba() local 533 struct ieee80211_sta *sta = file->private_data; in ath11k_dbg_sta_write_addba_resp() local 583 struct ieee80211_sta *sta = file->private_data; in ath11k_dbg_sta_write_addba() local [all …]
|
/openbmc/linux/arch/sparc/mm/ |
H A D | viking.S | 143 sta %o1, [%g1] ASI_M_MMUREGS 146 sta %g5, [%g1] ASI_M_MMUREGS 162 sta %o3, [%g1] ASI_M_MMUREGS 171 sta %g5, [%g1] ASI_M_MMUREGS 187 sta %o3, [%g1] ASI_M_MMUREGS 228 sta %o1, [%g1] ASI_M_MMUREGS 230 sta %g5, [%g1] ASI_M_MMUREGS 248 sta %o3, [%g1] ASI_M_MMUREGS 256 sta %g5, [%g1] ASI_M_MMUREGS 274 sta %o3, [%g1] ASI_M_MMUREGS [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | main.c | 70 mvif->sta.wcid.idx = idx; in mt7603_add_interface() 71 mvif->sta.wcid.hw_key_idx = -1; in mt7603_add_interface() 72 mvif->sta.vif = mvif; in mt7603_add_interface() 359 msta->wcid.sta = 1; in mt7603_sta_add() 373 struct ieee80211_sta *sta) in mt7603_sta_assoc() argument 477 ieee80211_sta_eosp(sta); in mt7603_release_buffered_frames() 493 struct mt7603_sta *msta = sta ? (struct mt7603_sta *)sta->drv_priv : in mt7603_set_key() 494 &mvif->sta; in mt7603_set_key() 590 struct ieee80211_sta *sta = params->sta; in mt7603_ampdu_action() local 688 if (control->sta) { in mt7603_tx() [all …]
|
/openbmc/linux/drivers/i2c/algos/ |
H A D | i2c-algo-pca.c | 70 int sta = pca_get_con(adap); in pca_start() local 72 sta |= I2C_PCA_CON_STA; in pca_start() 74 pca_set_con(adap, sta); in pca_start() 87 sta |= I2C_PCA_CON_STA; in pca_repeated_start() 89 pca_set_con(adap, sta); in pca_repeated_start() 106 sta |= I2C_PCA_CON_STO; in pca_stop() 108 pca_set_con(adap, sta); in pca_stop() 128 pca_set_con(adap, sta); in pca_address() 146 pca_set_con(adap, sta); in pca_tx_byte() 176 sta |= I2C_PCA_CON_AA; in pca_rx_ack() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mcu.c | 101 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7996_mcu_set_sta_he_mcs() 148 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7996_mcu_set_sta_vht_mcs() 173 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7996_mcu_set_sta_ht_mcs() 759 if (!sta) in mt7996_mcu_bss_basic_tlv() 763 if (sta) { in mt7996_mcu_bss_basic_tlv() 1423 if (!(sta->deflink.ht_cap.ht_supported || sta->deflink.he_cap.has_he)) in mt7996_mcu_sta_bfer_tlv() 1488 if (!(sta->deflink.vht_cap.vht_supported || sta->deflink.he_cap.has_he)) in mt7996_mcu_sta_bfee_tlv() 1795 msta = sta ? (struct mt7996_sta *)sta->drv_priv : &mvif->sta; in mt7996_mcu_add_group() 1810 msta = sta ? (struct mt7996_sta *)sta->drv_priv : &mvif->sta; in mt7996_mcu_add_sta() 1825 if (sta) { in mt7996_mcu_add_sta() [all …]
|
H A D | main.c | 206 mvif->sta.wcid.idx = idx; in mt7996_add_interface() 316 struct mt7996_sta *msta = sta ? (struct mt7996_sta *)sta->drv_priv : in mt7996_set_key() 317 &mvif->sta; in mt7996_set_key() 665 msta->wcid.sta = 1; in mt7996_mac_sta_add() 716 if (control->sta) { in mt7996_tx() 717 struct mt7996_sta *sta; in mt7996_tx() local 719 sta = (struct mt7996_sta *)control->sta->drv_priv; in mt7996_tx() 720 wcid = &sta->wcid; in mt7996_tx() 723 if (vif && !control->sta) { in mt7996_tx() 727 wcid = &mvif->sta.wcid; in mt7996_tx() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mcu.c | 65 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_he_mcs() 119 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_vht_mcs() 150 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_ht_mcs() 992 msta = sta ? (struct mt7915_sta *)sta->drv_priv : &mvif->sta; in mt7915_mcu_sta_wtbl_tlv() 1005 if (sta) in mt7915_mcu_sta_wtbl_tlv() 1200 if (!(sta->deflink.ht_cap.ht_supported || sta->deflink.he_cap.has_he)) in mt7915_mcu_sta_bfer_tlv() 1263 if (!(sta->deflink.vht_cap.vht_supported || sta->deflink.he_cap.has_he)) in mt7915_mcu_sta_bfee_tlv() 1643 msta = sta ? (struct mt7915_sta *)sta->drv_priv : &mvif->sta; in mt7915_mcu_add_group() 1659 msta = sta ? (struct mt7915_sta *)sta->drv_priv : &mvif->sta; in mt7915_mcu_add_sta() 1673 if (sta) { in mt7915_mcu_add_sta() [all …]
|
/openbmc/linux/include/net/ |
H A D | mac80211.h | 469 struct ieee80211_sta *sta; member 1265 struct ieee80211_sta *sta; member 2277 struct ieee80211_sta *sta; member 2421 struct ieee80211_sta *sta; member 2439 struct ieee80211_sta *sta; member 2956 struct ieee80211_sta *sta; member 3559 struct ieee80211_sta *sta; member 4330 struct ieee80211_sta *sta, 4370 struct ieee80211_sta *sta, 5213 .sta = sta, in ieee80211_tx_status_noskb() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | tx.c | 11 if (!txq->sta) in mt76_txq_get_qid() 30 txq = sta->txq[tid]; in mt76_tx_check_agg_ssn() 69 status.sta = wcid_to_sta(wcid); in mt76_tx_status_unlock() 276 status.sta = wcid_to_sta(wcid); in __mt76_tx_complete_skb() 312 if (idx < 0 || !sta) in __mt76_tx_queue_skb() 315 wcid = (struct mt76_wcid *)sta->drv_priv; in __mt76_tx_queue_skb() 416 struct ieee80211_txq *txq = sta->txq[i]; in mt76_release_buffered_frames() 440 ieee80211_sta_eosp(sta); in mt76_release_buffered_frames() 552 struct ieee80211_sta *sta = txq->sta; in mt76_txq_schedule_list() local 642 for (i = 0; i < ARRAY_SIZE(sta->txq); i++) { in mt76_stop_tx_queues() [all …]
|