/openbmc/linux/net/mac80211/ |
H A D | trace.h | 25 #define STA_ASSIGN (sta ? memcpy(__entry->sta_addr, sta->addr, ETH_ALEN) : \ 605 TP_ARGS(local, sta, set), 967 TP_ARGS(local, sdata, sta) 974 TP_ARGS(local, sdata, sta) 981 TP_ARGS(local, sdata, sta) 988 TP_ARGS(local, sdata, sta) 1893 TP_ARGS(sta), 2329 struct ieee80211_sta *sta = txq->txq.sta; 2580 TP_ARGS(sta, tid), 2624 TP_ARGS(sta, tid), [all …]
|
H A D | pm.c | 25 struct sta_info *sta; in __ieee80211_suspend() local 44 list_for_each_entry(sta, &local->sta_list, list) { in __ieee80211_suspend() 45 set_sta_flag(sta, WLAN_STA_BLOCK_BA); in __ieee80211_suspend() 47 sta, AGG_STOP_LOCAL_REQUEST); in __ieee80211_suspend() 123 list_for_each_entry(sta, in __ieee80211_suspend() 125 clear_sta_flag(sta, WLAN_STA_BLOCK_BA); in __ieee80211_suspend()
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | debug_sta.c | 39 if (!an->sta->deflink.ht_cap.ht_supported) { in read_file_node_aggr() 99 struct ieee80211_sta *sta; in ath_debug_rate_stats() local 107 sta = ieee80211_find_sta_by_ifaddr(sc->hw, hdr->addr2, NULL); in ath_debug_rate_stats() 108 if (!sta) in ath_debug_rate_stats() 111 an = (struct ath_node *) sta->drv_priv; in ath_debug_rate_stats() 175 struct ieee80211_sta *sta = an->sta; in read_file_node_recv() local 189 if (!sta->deflink.ht_cap.ht_supported) in read_file_node_recv() 247 struct ieee80211_sta *sta, in ath9k_sta_add_debugfs() argument 250 struct ath_node *an = (struct ath_node *)sta->drv_priv; in ath9k_sta_add_debugfs()
|
/openbmc/linux/drivers/net/wireless/ath/wcn36xx/ |
H A D | main.c | 492 if (control->sta) in wcn36xx_tx() 501 struct ieee80211_sta *sta, in wcn36xx_set_key() argument 506 struct wcn36xx_sta *sta_priv = sta ? wcn36xx_sta_to_priv(sta) : NULL; in wcn36xx_set_key() 563 sta, in wcn36xx_set_key() 564 sta->addr, in wcn36xx_set_key() 860 struct ieee80211_sta *sta; in wcn36xx_bss_info_changed() local 878 if (!sta) { in wcn36xx_bss_info_changed() 1026 struct ieee80211_sta *sta) in wcn36xx_sta_add() argument 1032 vif, sta->addr); in wcn36xx_sta_add() 1046 sta_priv->aid = sta->aid; in wcn36xx_sta_add() [all …]
|
H A D | smd.c | 212 else if (sta && sta->deflink.ht_cap.ht_supported) in wcn36xx_smd_set_bss_nw_type() 229 if (sta && sta->deflink.ht_cap.ht_supported) { in wcn36xx_smd_set_bss_ht_params() 255 if (sta && sta->deflink.vht_cap.vht_supported) in wcn36xx_smd_set_bss_vht_params() 403 if (sta) { in wcn36xx_smd_set_sta_params() 1459 if (sta) { in wcn36xx_smd_set_sta_params_v1() 1574 sta, in wcn36xx_smd_config_sta() 1699 sta = &bss->sta; in wcn36xx_smd_config_bss_v1() 1787 sta->bssid, sta->action, sta->sta_index, in wcn36xx_smd_config_bss_v1() 1788 sta->bssid_index, sta->aid, sta->type, sta->mac); in wcn36xx_smd_config_bss_v1() 1872 if (sta) { in wcn36xx_smd_config_bss_rsp() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02.h | 156 struct ieee80211_sta *sta); 158 struct ieee80211_sta *sta); 170 struct ieee80211_vif *vif, struct ieee80211_sta *sta, 177 struct ieee80211_sta *sta); 198 struct ieee80211_sta *sta, 202 void mt76x02_sta_ps(struct mt76_dev *dev, struct ieee80211_sta *sta, bool ps); 276 mt76x02_rx_get_sta_wcid(struct mt76x02_sta *sta, bool unicast) in mt76x02_rx_get_sta_wcid() argument 278 if (!sta) in mt76x02_rx_get_sta_wcid() 282 return &sta->wcid; in mt76x02_rx_get_sta_wcid() 284 return &sta->vif->group_wcid; in mt76x02_rx_get_sta_wcid()
|
H A D | mt76x02_util.c | 239 struct ieee80211_sta *sta) in mt76x02_sta_add() argument 253 msta->wcid.sta = 1; in mt76x02_sta_add() 256 mt76x02_mac_wcid_setup(dev, idx, mvif->idx, sta->addr); in mt76x02_sta_add() 268 struct ieee80211_sta *sta) in mt76x02_sta_remove() argument 357 struct ieee80211_sta *sta = params->sta; in mt76x02_ampdu_action() local 360 struct ieee80211_txq *txq = sta->txq[params->tid]; in mt76x02_ampdu_action() 386 ieee80211_send_bar(vif, sta->addr, tid, mtxq->agg_ssn); in mt76x02_ampdu_action() 398 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in mt76x02_ampdu_action() 454 msta = sta ? (struct mt76x02_sta *)sta->drv_priv : NULL; in mt76x02_set_key() 580 struct ieee80211_sta *sta) in mt76x02_sta_rate_tbl_update() argument [all …]
|
H A D | mt76x02_txrx.c | 19 if (control->sta) { in mt76x02_tx() 22 msta = (struct mt76x02_sta *)control->sta->drv_priv; in mt76x02_tx() 31 mt76_tx(&dev->mphy, control->sta, wcid, skb); in mt76x02_tx() 139 struct ieee80211_sta *sta, in mt76x02_tx_prepare_skb() argument 153 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len); in mt76x02_tx_prepare_skb() 175 if (sta) { in mt76x02_tx_prepare_skb() 176 struct mt76x02_sta *msta = (struct mt76x02_sta *)sta->drv_priv; in mt76x02_tx_prepare_skb()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | core.c | 440 struct ieee80211_sta *sta = tx_req->sta; in rtw89_core_tx_update_ampdu_info() local 478 struct ieee80211_sta *sta = tx_req->sta; in rtw89_core_tx_update_sec_key() local 579 struct ieee80211_sta *sta = tx_req->sta; in rtw89_core_tx_get_mac_id() local 670 struct ieee80211_sta *sta = tx_req->sta; in __rtw89_core_tx_check_he_qos_htc() local 1010 tx_req.sta = sta; in rtw89_core_tx_write() 2138 if (sta == txq->sta) in rtw89_core_free_sta_pending_ba() 2153 if (sta == txq->sta) { in rtw89_core_free_sta_pending_forbid_ba() 2177 struct ieee80211_sta *sta = txq->sta; in rtw89_core_stop_tx_ba_session() local 2204 struct ieee80211_sta *sta = txq->sta; in rtw89_core_txq_check_agg() local 2241 struct ieee80211_sta *sta = txq->sta; in rtw89_core_txq_push() local [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | main.c | 317 mvif->sta.wcid.idx = idx; in mt7921_add_interface() 319 mvif->sta.wcid.hw_key_idx = -1; in mt7921_add_interface() 321 mt76_wcid_init(&mvif->sta.wcid); in mt7921_add_interface() 477 struct mt792x_sta *msta = sta ? (struct mt792x_sta *)sta->drv_priv : in mt7921_set_key() 478 &mvif->sta; in mt7921_set_key() 721 msta->wcid.sta = 1; in mt7921_mac_sta_add() 749 struct ieee80211_sta *sta) in mt7921_mac_sta_assoc() argument 774 struct ieee80211_sta *sta) in mt7921_mac_sta_remove() argument 791 if (!sta->tdls) in mt7921_mac_sta_remove() 823 struct ieee80211_sta *sta = params->sta; in mt7921_ampdu_action() local [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | rxmq.c | 46 if (IS_ERR_OR_NULL(sta)) { in iwl_mvm_check_pn() 299 if (!sta) in iwl_mvm_rx_mgmt_prot() 631 sta); in iwl_mvm_release_frames() 694 struct ieee80211_sta *sta; in iwl_mvm_reorder_timer_expired() local 735 struct ieee80211_sta *sta; in iwl_mvm_del_ba() local 775 struct ieee80211_sta *sta; in iwl_mvm_release_frames_from_notif() local 919 sta->addr, queue, tid); in iwl_mvm_oldsn_workaround() 2481 if (IS_ERR(sta)) in iwl_mvm_rx_mpdu_mq() 2482 sta = NULL; in iwl_mvm_rx_mpdu_mq() 2485 if (sta && sta->valid_links && link_sta) { in iwl_mvm_rx_mpdu_mq() [all …]
|
H A D | rx.c | 46 struct ieee80211_sta *sta, in iwl_mvm_pass_packet_to_mac80211() argument 200 struct ieee80211_sta *sta, in iwl_mvm_rx_handle_tcm() argument 223 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_handle_tcm() 296 struct ieee80211_sta *sta = NULL; in iwl_mvm_rx_rx_mpdu() local 371 if (IS_ERR(sta)) in iwl_mvm_rx_rx_mpdu() 372 sta = NULL; in iwl_mvm_rx_rx_mpdu() 381 if (sta) { in iwl_mvm_rx_rx_mpdu() 413 if (sta) { in iwl_mvm_rx_rx_mpdu() 716 struct ieee80211_sta *sta) in iwl_mvm_stats_energy_iter() argument 1042 struct ieee80211_sta *sta; in iwl_mvm_window_status_notif() local [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | mac.c | 90 struct mt7615_sta *sta; in mt7615_rx_get_wcid() local 100 if (!wcid->sta) in mt7615_rx_get_wcid() 104 if (!sta->vif) in mt7615_rx_get_wcid() 107 return &sta->vif->sta.wcid; in mt7615_rx_get_wcid() 258 struct ieee80211_sta *sta; in mt7615_reverse_frag0_hdr_trans() local 743 if (sta) { in mt7615_mac_write_txwi() 944 if (!msta->wcid.sta) in mt7615_mac_sta_poll() 1069 wrd->sta = sta; in mt7615_mac_queue_rate_update() 1105 int wcid = sta->wcid.idx, n_rates = sta->n_rates; in mt7615_mac_set_rates() 1375 if (sta->rate_probe) { in mt7615_fill_txs() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | base.h | 101 struct ieee80211_sta *sta, u16 tid, u16 *ssn); 103 struct ieee80211_sta *sta, u16 tid); 105 struct ieee80211_sta *sta, u16 tid); 107 struct ieee80211_sta *sta, u16 tid); 109 struct ieee80211_sta *sta, u16 tid); 118 struct ieee80211_sta *sta, 122 struct ieee80211_sta *sta,
|
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | tx.c | 131 struct ieee80211_sta *sta, struct mt76_wcid *wcid, in mt7601u_push_txwi() argument 147 ieee80211_get_tx_rates(info->control.vif, sta, skb, in mt7601u_push_txwi() 163 if ((info->flags & IEEE80211_TX_CTL_AMPDU) && sta) { in mt7601u_push_txwi() 166 ba_size <<= sta->deflink.ht_cap.ampdu_factor; in mt7601u_push_txwi() 175 sta->deflink.ht_cap.ampdu_density)); in mt7601u_push_txwi() 196 struct ieee80211_sta *sta = control->sta; in mt7601u_tx() local 211 if (sta) { in mt7601u_tx() 212 msta = (struct mt76_sta *) sta->drv_priv; in mt7601u_tx() 220 txwi = mt7601u_push_txwi(dev, skb, sta, wcid, pkt_len); in mt7601u_tx()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-st.c | 371 u32 sta; in st_i2c_wait_free_bus() local 376 if (!(sta & SSC_STA_BUSY)) in st_i2c_wait_free_bus() 415 u32 tx_fstat, sta; in st_i2c_wr_fill_tx_fifo() local 419 if (sta & SSC_STA_TX_FIFO_FULL) in st_i2c_wr_fill_tx_fifo() 445 u32 tx_fstat, sta; in st_i2c_rd_fill_tx_fifo() local 449 if (sta & SSC_STA_TX_FIFO_FULL) in st_i2c_rd_fill_tx_fifo() 467 u32 i, sta; in st_i2c_read_rx_fifo() local 471 if (sta & SSC_STA_RIR) { in st_i2c_read_rx_fifo() 569 u32 sta, ien; in st_i2c_isr_thread() local 576 it = __fls(sta & ien); in st_i2c_isr_thread() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | rs.c | 133 struct ieee80211_sta *sta, 377 sta->addr, tid); in rs_tl_turn_on_agg_for_tid() 394 struct ieee80211_sta *sta) in rs_tl_turn_on_agg() argument 1025 if (sta && sta->deflink.supp_rates[sband->band]) in rs_tx_status() 1216 struct ieee80211_sta *sta, in rs_switch_to_mimo2() argument 1271 struct ieee80211_sta *sta, in rs_switch_to_mimo3() argument 1327 struct ieee80211_sta *sta, in rs_switch_to_siso() argument 1376 struct ieee80211_sta *sta, in rs_move_legacy_other() argument 2159 struct ieee80211_sta *sta, in rs_rate_scale_perform() argument 2581 lq_sta, sta); in rs_rate_scale_perform() [all …]
|
H A D | tx.c | 241 if (!sta) in iwl_sta_id_or_broadcast() 244 sta_id = iwl_sta_id(sta); in iwl_sta_id_or_broadcast() 321 if (sta) in iwlagn_tx_skb() 489 sta_id = iwl_sta_id(sta); in iwlagn_tx_agg_stop() 581 sta->addr, tid); in iwlagn_tx_agg_start() 583 sta_id = iwl_sta_id(sta); in iwlagn_tx_agg_start() 600 sta->addr, tid); in iwlagn_tx_agg_start() 638 sta_id = iwl_sta_id(sta); in iwlagn_tx_agg_flush() 735 sta->addr, tid); in iwlagn_tx_agg_oper() 750 addr = priv->stations[sta_id].sta.sta.addr; in iwlagn_check_ratid_empty() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | main.c | 66 struct ath6kl_sta *sta; in ath6kl_add_new_sta() local 75 sta->aid = aid; in ath6kl_add_new_sta() 76 sta->keymgmt = keymgmt; in ath6kl_add_new_sta() 77 sta->ucipher = ucipher; in ath6kl_add_new_sta() 78 sta->auth = auth; in ath6kl_add_new_sta() 101 sta->mgmt_psq_len = 0; in ath6kl_sta_cleanup() 106 memset(&ar->ap_stats.sta[sta->aid - 1], 0, in ath6kl_sta_cleanup() 108 eth_zero_addr(sta->mac); in ath6kl_sta_cleanup() 110 sta->aid = 0; in ath6kl_sta_cleanup() 111 sta->sta_flags = 0; in ath6kl_sta_cleanup() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | main.c | 244 __acquires(&sta->tid_rx_lock) __releases(&sta->tid_rx_lock) in wil_disconnect_cid_complete() 250 struct wil_sta_info *sta = &wil->sta[cid]; in wil_disconnect_cid_complete() local 256 cid, sta->mid, sta->status); in wil_disconnect_cid_complete() 274 sta->mid = U8_MAX; in wil_disconnect_cid_complete() 282 r = sta->tid_rx[i]; in wil_disconnect_cid_complete() 289 memset(sta->tid_crypto_rx, 0, sizeof(sta->tid_crypto_rx)); in wil_disconnect_cid_complete() 290 memset(&sta->group_crypto_rx, 0, sizeof(sta->group_crypto_rx)); in wil_disconnect_cid_complete() 297 memset(&sta->stats, 0, sizeof(sta->stats)); in wil_disconnect_cid_complete() 389 struct wil_sta_info *sta = &wil->sta[cid]; in wil_disconnect_cid() local 394 cid, sta->mid, sta->status); in wil_disconnect_cid() [all …]
|
/openbmc/linux/drivers/net/wireless/rsi/ |
H A D | rsi_91x_mac80211.c | 979 if (sta) { in rsi_hal_key_config() 1098 struct ieee80211_sta *sta = params->sta; in rsi_mac80211_ampdu_action() local 1432 if (!rsta->sta) { in rsi_mac80211_sta_add() 1437 if (!memcmp(rsta->sta->addr, sta->addr, ETH_ALEN)) { in rsi_mac80211_sta_add() 1456 rsta->sta = sta; in rsi_mac80211_sta_add() 1468 sta->addr, sta->wme, sta->aid, in rsi_mac80211_sta_add() 1541 if (!rsta->sta) in rsi_mac80211_sta_remove() 1543 if (!memcmp(rsta->sta->addr, sta->addr, ETH_ALEN)) { in rsi_mac80211_sta_remove() 1545 sta->addr, sta->wme, in rsi_mac80211_sta_remove() 1546 sta->aid, sta, sta_idx, in rsi_mac80211_sta_remove() [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wlcore/ |
H A D | cmd.c | 545 cmd->sta.hlid = wlvif->sta.hlid; in wl12xx_cmd_role_start_sta() 546 cmd->sta.session = wl->session_ids[wlvif->sta.hlid]; in wl12xx_cmd_role_start_sta() 557 wlvif->role_id, cmd->sta.hlid, cmd->sta.session, in wl12xx_cmd_role_start_sta() 795 wlvif->role_id, cmd->sta.hlid, cmd->sta.session, in wl12xx_cmd_role_start_ibss() 1277 if (wlvif->sta.qos) in wl1271_cmd_build_arp_rsp() 1284 if (wlvif->sta.qos) in wl1271_cmd_build_arp_rsp() 1377 cmd->hlid = wlvif->sta.hlid; in wl1271_cmd_set_sta_key() 1543 cmd->aid = sta->aid; in wl12xx_cmd_add_peer() 1545 cmd->sp_len = sta->max_sp; in wl12xx_cmd_add_peer() 1546 cmd->wmm = sta->wme ? 1 : 0; in wl12xx_cmd_add_peer() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 3945-rs.c | 332 psta = (struct il3945_sta_priv *)sta->drv_priv; in il3945_rs_rate_init() 357 if (sta->deflink.supp_rates[sband->band] & (1 << i)) { in il3945_rs_rate_init() 363 il->_3945.sta_supp_rates = sta->deflink.supp_rates[sband->band]; in il3945_rs_rate_init() 392 struct il3945_sta_priv *psta = (void *)sta->drv_priv; in il3945_rs_alloc_sta() 427 struct ieee80211_sta *sta, void *il_sta, in il3945_rs_tx_status() argument 634 rate_mask = sta->deflink.supp_rates[sband->band]; in il3945_rs_get_rate() 859 struct ieee80211_sta *sta, void *il_sta) in il3945_rs_rate_init_stub() argument 885 struct ieee80211_sta *sta; in il3945_rate_scale_init() local 892 sta = ieee80211_find_sta(il->vif, il->stations[sta_id].sta.sta.addr); in il3945_rate_scale_init() 893 if (!sta) { in il3945_rate_scale_init() [all …]
|
/openbmc/linux/drivers/net/wireless/silabs/wfx/ |
H A D | sta.c | 305 struct wfx_sta_priv *sta_priv = (struct wfx_sta_priv *)&sta->drv_priv; in wfx_sta_add() 310 wfx_hif_set_mfp(wvif, sta->mfp, sta->mfp); in wfx_sta_add() 313 if (vif->type == NL80211_IFTYPE_STATION && !sta->tdls) in wfx_sta_add() 319 wfx_hif_map_link(wvif, false, sta->addr, sta_priv->link_id, sta->mfp); in wfx_sta_add() 333 wfx_hif_map_link(wvif, true, sta->addr, sta_priv->link_id, false); in wfx_sta_remove() 475 struct ieee80211_sta *sta = NULL; in wfx_join_finalize() local 481 sta = ieee80211_find_sta(vif, info->bssid); in wfx_join_finalize() 482 if (sta && sta->deflink.ht_cap.ht_supported) in wfx_join_finalize() 483 ampdu_density = sta->deflink.ht_cap.ampdu_density; in wfx_join_finalize() 484 if (sta && sta->deflink.ht_cap.ht_supported && in wfx_join_finalize() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/carl9170/ |
H A D | tx.c | 140 struct ieee80211_sta *sta; in carl9170_tx_ps_unblock() local 145 if (unlikely(!sta)) in carl9170_tx_ps_unblock() 384 struct ieee80211_sta *sta; in carl9170_tx_status_process_ampdu() local 395 if (unlikely(!sta)) in carl9170_tx_status_process_ampdu() 610 struct ieee80211_sta *sta; in carl9170_tx_ampdu_timeout() local 628 sta = iter->sta; in carl9170_tx_ampdu_timeout() 629 if (WARN_ON(!sta)) in carl9170_tx_ampdu_timeout() 1291 struct ieee80211_sta *sta; in carl9170_tx_ps_drop() local 1297 if (!sta) in carl9170_tx_ps_drop() 1479 struct ieee80211_sta *sta = control->sta; in carl9170_op_tx() local [all …]
|