Home
last modified time | relevance | path

Searched refs:sta (Results 1 – 25 of 322) sorted by relevance

12345678910>>...13

/linux/net/mac80211/
H A Dsta_info.c68 struct ieee80211_link_sta sta; member
91 struct sta_info *sta) in sta_info_hash_del() argument
93 return rhltable_remove(&local->sta_hash, &sta->hash_node, in sta_info_hash_del()
115 void ieee80211_purge_sta_txqs(struct sta_info *sta) in ieee80211_purge_sta_txqs() argument
117 struct ieee80211_local *local = sta->sdata->local; in ieee80211_purge_sta_txqs()
120 for (i = 0; i < ARRAY_SIZE(sta->sta.txq); i++) { in ieee80211_purge_sta_txqs()
123 if (!sta->sta.txq[i]) in ieee80211_purge_sta_txqs()
126 txqi = to_txq_info(sta->sta.txq[i]); in ieee80211_purge_sta_txqs()
132 static void __cleanup_single_sta(struct sta_info *sta) in __cleanup_single_sta() argument
136 struct ieee80211_sub_if_data *sdata = sta->sdata; in __cleanup_single_sta()
[all …]
H A Dmesh_plink.c57 /* We only need a valid sta if user configured a minimum rssi_threshold. */
59 struct sta_info *sta) in rssi_threshold_check() argument
63 (sta && in rssi_threshold_check()
64 (s8)-ewma_signal_read(&sta->deflink.rx_stats_avg.signal) > in rssi_threshold_check()
71 * @sta: mesh peer link to restart
73 * Locking: this function must be called holding sta->mesh->plink_lock
75 static inline void mesh_plink_fsm_restart(struct sta_info *sta) in mesh_plink_fsm_restart() argument
77 lockdep_assert_held(&sta->mesh->plink_lock); in mesh_plink_fsm_restart()
78 sta->mesh->plink_state = NL80211_PLINK_LISTEN; in mesh_plink_fsm_restart()
79 sta in mesh_plink_fsm_restart()
97 struct sta_info *sta; mesh_set_short_slot_time() local
162 struct sta_info *sta; mesh_set_ht_prot_mode() local
214 mesh_plink_frame_tx(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,enum ieee80211_self_protected_actioncode action,u8 * da,u16 llid,u16 plid,u16 reason) mesh_plink_frame_tx() argument
373 __mesh_plink_deactivate(struct sta_info * sta) __mesh_plink_deactivate() argument
400 mesh_plink_deactivate(struct sta_info * sta) mesh_plink_deactivate() argument
426 mesh_sta_info_init(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,struct ieee802_11_elems * elems) mesh_sta_info_init() argument
495 struct sta_info *sta; mesh_allocate_aid() local
523 struct sta_info *sta; __mesh_sta_info_alloc() local
553 struct sta_info *sta = NULL; mesh_sta_info_alloc() local
592 struct sta_info *sta = NULL; mesh_sta_info_get() local
631 struct sta_info *sta; mesh_neighbour_update() local
657 struct sta_info *sta; mesh_plink_timer() local
746 mesh_plink_timer_set(struct sta_info * sta,u32 timeout) mesh_plink_timer_set() argument
757 struct sta_info *sta; llid_in_use() local
785 mesh_plink_open(struct sta_info * sta) mesh_plink_open() argument
815 mesh_plink_block(struct sta_info * sta) mesh_plink_block() argument
829 mesh_plink_close(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,enum plink_event event) mesh_plink_close() argument
842 mesh_plink_establish(struct ieee80211_sub_if_data * sdata,struct sta_info * sta) mesh_plink_establish() argument
868 mesh_plink_fsm(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,enum plink_event event) mesh_plink_fsm() argument
1028 mesh_plink_get_event(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,struct ieee802_11_elems * elems,enum ieee80211_self_protected_actioncode ftype,u16 llid,u16 plid) mesh_plink_get_event() argument
1124 struct sta_info *sta; mesh_process_plink_frame() local
[all...]
H A Dagg-rx.c58 void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in __ieee80211_stop_rx_ba_session() argument
61 struct ieee80211_local *local = sta->local; in __ieee80211_stop_rx_ba_session()
64 .sta = &sta->sta, in __ieee80211_stop_rx_ba_session()
72 lockdep_assert_wiphy(sta->local->hw.wiphy); in __ieee80211_stop_rx_ba_session()
74 tid_rx = rcu_dereference_protected(sta->ampdu_mlme.tid_rx[tid], in __ieee80211_stop_rx_ba_session()
75 lockdep_is_held(&sta->local->hw.wiphy->mtx)); in __ieee80211_stop_rx_ba_session()
77 if (!test_bit(tid, sta->ampdu_mlme.agg_session_valid)) in __ieee80211_stop_rx_ba_session()
80 RCU_INIT_POINTER(sta->ampdu_mlme.tid_rx[tid], NULL); in __ieee80211_stop_rx_ba_session()
81 __clear_bit(tid, sta->ampdu_mlme.agg_session_valid); in __ieee80211_stop_rx_ba_session()
83 ht_dbg(sta->sdata, in __ieee80211_stop_rx_ba_session()
[all …]
H A Dagg-tx.c61 static void ieee80211_send_addba_request(struct sta_info *sta, u16 tid, in ieee80211_send_addba_request() argument
65 struct ieee80211_sub_if_data *sdata = sta->sdata; in ieee80211_send_addba_request()
78 mgmt = ieee80211_mgmt_ba(skb, sta->sta.addr, sdata); in ieee80211_send_addba_request()
97 if (sta->sta.deflink.he_cap.has_he) in ieee80211_send_addba_request()
133 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid, in ieee80211_assign_tid_tx() argument
136 lockdep_assert_wiphy(sta->local->hw.wiphy); in ieee80211_assign_tid_tx()
137 lockdep_assert_held(&sta->lock); in ieee80211_assign_tid_tx()
138 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); in ieee80211_assign_tid_tx()
181 ieee80211_agg_stop_txq(struct sta_info *sta, int tid) in ieee80211_agg_stop_txq() argument
183 struct ieee80211_txq *txq = sta->sta.txq[tid]; in ieee80211_agg_stop_txq()
[all …]
H A Dtdls.c309 struct sta_info *sta) in ieee80211_tdls_chandef_vht_upgrade() argument
313 struct cfg80211_chan_def uc = sta->tdls_chandef; in ieee80211_tdls_chandef_vht_upgrade()
315 ieee80211_sta_cap_chan_bw(&sta->deflink); in ieee80211_tdls_chandef_vht_upgrade()
347 (uc.width > sta->tdls_chandef.width && in ieee80211_tdls_chandef_vht_upgrade()
352 if (!cfg80211_chandef_identical(&uc, &sta->tdls_chandef)) { in ieee80211_tdls_chandef_vht_upgrade()
354 sta->tdls_chandef.width, uc.width); in ieee80211_tdls_chandef_vht_upgrade()
360 sta->tdls_chandef = uc; in ieee80211_tdls_chandef_vht_upgrade()
377 struct sta_info *sta = NULL; in ieee80211_tdls_add_setup_start_ies() local
437 sta = sta_info_get(sdata, peer); in ieee80211_tdls_add_setup_start_ies()
438 if (WARN_ON_ONCE(!sta)) in ieee80211_tdls_add_setup_start_ies()
600 struct sta_info *sta, *ap_sta; ieee80211_tdls_add_setup_cfm_ies() local
1008 struct sta_info *sta; ieee80211_tdls_prep_mgmt_packet() local
1216 struct sta_info *sta; ieee80211_tdls_mgmt_teardown() local
1318 iee80211_tdls_recalc_chanctx(struct ieee80211_sub_if_data * sdata,struct sta_info * sta) iee80211_tdls_recalc_chanctx() argument
1362 struct sta_info *sta; iee80211_tdls_have_ht_peers() local
1382 iee80211_tdls_recalc_ht_protection(struct ieee80211_sub_if_data * sdata,struct sta_info * sta) iee80211_tdls_recalc_ht_protection() argument
1415 struct sta_info *sta; ieee80211_tdls_oper() local
1550 ieee80211_tdls_ch_sw_tmpl_get(struct sta_info * sta,u8 oper_class,struct cfg80211_chan_def * chandef,u32 * ch_sw_tm_ie_offset) ieee80211_tdls_ch_sw_tmpl_get() argument
1627 struct sta_info *sta; ieee80211_tdls_channel_switch() local
1678 struct sta_info *sta; ieee80211_tdls_cancel_channel_switch() local
1701 ieee80211_tdls_ch_sw_resp_tmpl_get(struct sta_info * sta,u32 * ch_sw_tm_ie_offset) ieee80211_tdls_ch_sw_resp_tmpl_get() argument
1751 struct sta_info *sta; ieee80211_process_tdls_channel_switch_resp() local
1849 struct sta_info *sta; ieee80211_process_tdls_channel_switch_req() local
2035 struct sta_info *sta; ieee80211_teardown_tdls_peers() local
2057 struct ieee80211_sta *sta; ieee80211_tdls_handle_disconnect() local
[all...]
H A Drate.c33 struct sta_info *sta = link_sta->sta; in rate_control_rate_init() local
34 struct ieee80211_local *local = sta->sdata->local; in rate_control_rate_init()
35 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_rate_init()
36 struct ieee80211_sta *ista = &sta->sta; in rate_control_rate_init()
37 void *priv_sta = sta->rate_ctrl_priv; in rate_control_rate_init()
47 if (WARN_ON(ieee80211_vif_is_mld(&sta->sdata->vif))) in rate_control_rate_init()
52 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); in rate_control_rate_init()
62 ieee80211_s1g_sta_rate_init(sta); in rate_control_rate_init()
67 spin_lock_bh(&sta->rate_ctrl_lock); in rate_control_rate_init()
70 spin_unlock_bh(&sta->rate_ctrl_lock); in rate_control_rate_init()
[all …]
H A Dsta_info.h149 struct sta_info *sta, u8 ac,
160 * @pending: pending frames queue -- use sta's spinlock to protect
161 * @sta: station we are attached to
189 struct sta_info *sta; member
215 * @sta: station we are attached to
244 struct sta_info *sta; member
276 * by wiphy mutex but also sta->lock
380 * @t_offset_setpoint: reference timing offset of this sta to be used when
471 * All link specific sta info are stored here for reference. This can be
480 * @sta
523 struct sta_info *sta; global() member
777 struct ieee80211_sta sta; global() member
780 ieee80211_tdls_sta_link_id(struct sta_info * sta) ieee80211_tdls_sta_link_id() argument
786 sta_plink_state(struct sta_info * sta) sta_plink_state() argument
794 set_sta_flag(struct sta_info * sta,enum ieee80211_sta_info_flags flag) set_sta_flag() argument
803 clear_sta_flag(struct sta_info * sta,enum ieee80211_sta_info_flags flag) clear_sta_flag() argument
812 test_sta_flag(struct sta_info * sta,enum ieee80211_sta_info_flags flag) test_sta_flag() argument
818 test_and_clear_sta_flag(struct sta_info * sta,enum ieee80211_sta_info_flags flag) test_and_clear_sta_flag() argument
827 test_and_set_sta_flag(struct sta_info * sta,enum ieee80211_sta_info_flags flag) test_and_set_sta_flag() argument
839 sta_info_pre_move_state(struct sta_info * sta,enum ieee80211_sta_state new_state) sta_info_pre_move_state() argument
854 rcu_dereference_protected_tid_tx(sta,tid) global() argument
[all...]
H A Dtx.c303 if (tx->sta) in ieee80211_tx_h_check_assoc()
304 assoc = test_sta_flag(tx->sta, WLAN_STA_ASSOC); in ieee80211_tx_h_check_assoc()
338 struct sta_info *sta; in purge_old_ps_buffers() local
362 list_for_each_entry_rcu(sta, &local->sta_list, list) { in purge_old_ps_buffers()
366 skb = skb_dequeue(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers()
367 total += skb_queue_len(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers()
445 static int ieee80211_use_mfp(__le16 fc, struct sta_info *sta, in ieee80211_use_mfp() argument
451 if (sta == NULL || !test_sta_flag(sta, WLAN_STA_MFP)) in ieee80211_use_mfp()
463 struct sta_info *sta = tx->sta; in ieee80211_tx_h_unicast_ps_buf() local
468 if (unlikely(!sta)) in ieee80211_tx_h_unicast_ps_buf()
[all …]
H A Docb.c47 struct sta_info *sta; in ieee80211_ocb_rx_no_sta() local
73 sta = sta_info_alloc(sdata, addr, GFP_ATOMIC); in ieee80211_ocb_rx_no_sta()
74 if (!sta) in ieee80211_ocb_rx_no_sta()
79 sta->sta.deflink.supp_rates[band] = ieee80211_mandatory_rates(sband); in ieee80211_ocb_rx_no_sta()
82 list_add(&sta->list, &ifocb->incomplete_stations); in ieee80211_ocb_rx_no_sta()
87 static struct sta_info *ieee80211_ocb_finish_sta(struct sta_info *sta) in ieee80211_ocb_finish_sta() argument
90 struct ieee80211_sub_if_data *sdata = sta->sdata; in ieee80211_ocb_finish_sta()
93 memcpy(addr, sta->sta.addr, ETH_ALEN); in ieee80211_ocb_finish_sta()
98 sta_info_move_state(sta, IEEE80211_STA_AUTH); in ieee80211_ocb_finish_sta()
99 sta_info_move_state(sta, IEEE80211_STA_ASSOC); in ieee80211_ocb_finish_sta()
[all …]
H A Dht.c144 struct sta_info *sta = link_sta->sta; in ieee80211_ht_cap_ie_to_sta_ht_cap() local
248 ieee80211_sta_recalc_aggregates(&sta->sta); in ieee80211_ht_cap_ie_to_sta_ht_cap()
287 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_ht_cap_ie_to_sta_ht_cap()
288 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in ieee80211_ht_cap_ie_to_sta_ht_cap()
315 void ieee80211_sta_tear_down_BA_sessions(struct sta_info *sta, in ieee80211_sta_tear_down_BA_sessions() argument
320 lockdep_assert_wiphy(sta->local->hw.wiphy); in ieee80211_sta_tear_down_BA_sessions()
323 __ieee80211_stop_rx_ba_session(sta, i, WLAN_BACK_RECIPIENT, in ieee80211_sta_tear_down_BA_sessions()
329 __ieee80211_stop_tx_ba_session(sta, i, reason); in ieee80211_sta_tear_down_BA_sessions()
337 wiphy_work_cancel(sta->local->hw.wiphy, &sta->ampdu_mlme.work); in ieee80211_sta_tear_down_BA_sessions()
341 rcu_dereference_protected_tid_tx(sta, i); in ieee80211_sta_tear_down_BA_sessions()
[all …]
H A Ds1g.c12 void ieee80211_s1g_sta_rate_init(struct sta_info *sta) in ieee80211_s1g_sta_rate_init() argument
15 sta->deflink.tx_stats.last_rate.flags |= IEEE80211_TX_RC_S1G_MCS; in ieee80211_s1g_sta_rate_init()
16 sta->deflink.rx_stats.last_rate = in ieee80211_s1g_sta_rate_init()
98 struct sta_info *sta, struct sk_buff *skb) in ieee80211_s1g_rx_twt_setup() argument
119 drv_add_twt_setup(sdata->local, sdata, &sta->sta, twt); in ieee80211_s1g_rx_twt_setup()
126 struct sta_info *sta, struct sk_buff *skb) in ieee80211_s1g_rx_twt_teardown() argument
130 drv_twt_teardown_request(sdata->local, sdata, &sta->sta, in ieee80211_s1g_rx_twt_teardown()
136 struct sta_info *sta, struct sk_buff *skb) in ieee80211_s1g_tx_twt_setup_fail() argument
144 drv_twt_teardown_request(sdata->local, sdata, &sta->sta, flowid); in ieee80211_s1g_tx_twt_setup_fail()
155 struct sta_info *sta; in ieee80211_s1g_rx_twt_action() local
[all …]
H A Dkey.c123 struct sta_info *sta; in ieee80211_key_enable_hw_accel() local
150 sta = key->sta; in ieee80211_key_enable_hw_accel()
156 if (sta && !(key->conf.flags & IEEE80211_KEY_FLAG_PAIRWISE) && in ieee80211_key_enable_hw_accel()
160 if (sta && !sta->uploaded) in ieee80211_key_enable_hw_accel()
179 sta ? &sta->sta : NULL, &key->conf); in ieee80211_key_enable_hw_accel()
202 sta ? sta->sta.addr : bcast_addr, ret); in ieee80211_key_enable_hw_accel()
231 struct sta_info *sta; in ieee80211_key_disable_hw_accel() local
242 sta = key->sta; in ieee80211_key_disable_hw_accel()
258 sta ? &sta->sta : NULL, &key->conf); in ieee80211_key_disable_hw_accel()
264 sta ? sta->sta.addr : bcast_addr, ret); in ieee80211_key_disable_hw_accel()
[all …]
H A Drx.c226 struct sta_info *sta, in __ieee80211_queue_skb_to_iface() argument
240 if (sta) { in __ieee80211_queue_skb_to_iface()
244 link_sta_info = rcu_dereference(sta->link[link_id]); in __ieee80211_queue_skb_to_iface()
248 link_sta_info = &sta->deflink; in __ieee80211_queue_skb_to_iface()
257 struct sta_info *sta, in ieee80211_queue_skb_to_iface() argument
261 __ieee80211_queue_skb_to_iface(sdata, link_id, sta, skb); in ieee80211_queue_skb_to_iface()
1155 if (!rx->sta || sta_plink_state(rx->sta) != NL80211_PLINK_ESTAB) { in ieee80211_rx_mesh_check()
1450 struct sta_info *sta = rx->sta; in ieee80211_rx_reorder_ampdu() local
1464 if (!sta) in ieee80211_rx_reorder_ampdu()
1471 tid_agg_rx = rcu_dereference(sta->ampdu_mlme.tid_rx[tid]); in ieee80211_rx_reorder_ampdu()
[all …]
H A Dibss.c548 static struct sta_info *ieee80211_ibss_finish_sta(struct sta_info *sta) in ieee80211_ibss_finish_sta() argument
551 struct ieee80211_sub_if_data *sdata = sta->sdata; in ieee80211_ibss_finish_sta()
554 memcpy(addr, sta->sta.addr, ETH_ALEN); in ieee80211_ibss_finish_sta()
558 sta_info_pre_move_state(sta, IEEE80211_STA_AUTH); in ieee80211_ibss_finish_sta()
559 sta_info_pre_move_state(sta, IEEE80211_STA_ASSOC); in ieee80211_ibss_finish_sta()
562 if (!sta->sdata->u.ibss.control_port) in ieee80211_ibss_finish_sta()
563 sta_info_pre_move_state(sta, IEEE80211_STA_AUTHORIZED); in ieee80211_ibss_finish_sta()
565 rate_control_rate_init(&sta->deflink); in ieee80211_ibss_finish_sta()
568 if (sta_info_insert_rcu(sta)) in ieee80211_ibss_finish_sta()
580 struct sta_info *sta; ieee80211_ibss_add_sta() local
631 struct sta_info *sta; ieee80211_sta_active_ibss() local
659 struct sta_info *sta; ieee80211_ibss_disconnect() local
961 struct sta_info *sta; ieee80211_update_sta_info() local
1175 struct sta_info *sta; ieee80211_ibss_rx_no_sta() local
1224 struct sta_info *sta, *tmp; ieee80211_ibss_sta_expire() local
1637 struct sta_info *sta; ieee80211_ibss_work() local
[all...]
/linux/arch/sparc/mm/
H A Dswift.S34 sta %g0, [%o0] ASI_M_DATAC_TAG
36 sta %g0, [%o1] ASI_M_TXTC_TAG
48 sta %g0, [%o0] ASI_M_TXTC_TAG
50 sta %g0, [%o0] ASI_M_DATAC_TAG
67 sta %g2, [%g7] ASI_M_MMUREGS
72 sta %g0, [%o0] ASI_M_FLUSH_CTX
85 1: sta %g0, [%o0 ] ASI_M_FLUSH_CTX
86 sta %g0, [%o0 + %o1] ASI_M_FLUSH_CTX
87 sta %g0, [%o0 + %o2] ASI_M_FLUSH_CTX
88 sta %g0, [%o0 + %o3] ASI_M_FLUSH_CTX
[all …]
H A Dhypersparc.S36 sta %g0, [%g5] ASI_M_FLUSH_CTX
38 sta %g0, [%g0] ASI_M_FLUSH_IWHOLE ! hyper_flush_whole_icache
64 sta %g0, [%o0 + %g0] ASI_M_FLUSH_USER
65 sta %g0, [%o0 + %o1] ASI_M_FLUSH_USER
66 sta %g0, [%o0 + %g1] ASI_M_FLUSH_USER
67 sta %g0, [%o0 + %g2] ASI_M_FLUSH_USER
68 sta %g0, [%o0 + %g3] ASI_M_FLUSH_USER
69 sta %g0, [%o0 + %g4] ASI_M_FLUSH_USER
70 sta %g0, [%o0 + %g5] ASI_M_FLUSH_USER
72 sta %g0, [%o0 + %o4] ASI_M_FLUSH_USER
[all …]
/linux/drivers/staging/rtl8723bs/include/
H A Dsta_info.h220 #define sta_rx_pkts(sta) \ argument
221 (sta->sta_stats.rx_mgnt_pkts \
222 + sta->sta_stats.rx_ctrl_pkts \
223 + sta->sta_stats.rx_data_pkts)
225 #define sta_rx_data_pkts(sta) \ argument
226 (sta->sta_stats.rx_data_pkts)
228 #define sta_last_rx_data_pkts(sta) \ argument
229 (sta->sta_stats.last_rx_data_pkts)
231 #define sta_rx_beacon_pkts(sta) \ argument
232 (sta->sta_stats.rx_beacon_pkts)
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/
H A Drc.c16 struct ieee80211_sta *sta, in _rtl_rc_get_highest_rix() argument
49 if (sta) { in _rtl_rc_get_highest_rix()
50 sta_entry = (struct rtl_sta_info *)sta->drv_priv; in _rtl_rc_get_highest_rix()
69 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20) { in _rtl_rc_get_highest_rix()
91 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20) { in _rtl_rc_get_highest_rix()
112 struct ieee80211_sta *sta, in _rtl_rc_rate_set_series() argument
123 if (sta) { in _rtl_rc_rate_set_series()
124 sgi_20 = sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20; in _rtl_rc_rate_set_series()
125 sgi_40 = sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40; in _rtl_rc_rate_set_series()
126 sgi_80 = sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80; in _rtl_rc_rate_set_series()
[all …]
/linux/net/mac80211/tests/
H A Dmfp.c16 bool sta, mfp, decrypted, unicast, assoc; member
45 .sta = true,
54 .sta = true,
63 .sta = true,
73 .sta = true,
100 .sta = true,
109 .sta = true,
118 .sta = true,
128 .sta = true,
139 .sta = true,
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmld-sta.c9 u32 iwl_mvm_sta_fw_id_mask(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in iwl_mvm_sta_fw_id_mask() argument
14 if (!sta) in iwl_mvm_sta_fw_id_mask()
17 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_fw_id_mask()
41 struct iwl_mvm_int_sta *sta, in iwl_mvm_mld_add_int_sta_to_fw() argument
49 cmd.sta_id = cpu_to_le32((u8)sta->sta_id); in iwl_mvm_mld_add_int_sta_to_fw()
53 cmd.station_type = cpu_to_le32(sta->type); in iwl_mvm_mld_add_int_sta_to_fw()
57 sta->type == STATION_TYPE_BCAST_MGMT) in iwl_mvm_mld_add_int_sta_to_fw()
97 struct iwl_mvm_int_sta *sta, in iwl_mvm_add_aux_sta_to_fw() argument
103 .sta_id = cpu_to_le32(sta->sta_id), in iwl_mvm_add_aux_sta_to_fw()
118 struct iwl_mvm_int_sta *sta, in iwl_mvm_mld_add_int_sta_with_queue() argument
[all …]
H A Dsta.c111 u8 iwl_mvm_get_sta_uapsd_acs(struct ieee80211_sta *sta) in iwl_mvm_get_sta_uapsd_acs() argument
115 if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_BK) in iwl_mvm_get_sta_uapsd_acs()
117 if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_BE) in iwl_mvm_get_sta_uapsd_acs()
119 if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_VI) in iwl_mvm_get_sta_uapsd_acs()
121 if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_VO) in iwl_mvm_get_sta_uapsd_acs()
128 int iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in iwl_mvm_sta_send_to_fw() argument
131 struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_send_to_fw()
149 memcpy(&add_sta_cmd.addr, sta->addr, ETH_ALEN); in iwl_mvm_sta_send_to_fw()
162 switch (sta->deflink.bandwidth) { in iwl_mvm_sta_send_to_fw()
174 if (sta->deflink.ht_cap.ht_supported) in iwl_mvm_sta_send_to_fw()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dsta.c28 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate()
34 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate()
38 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate()
83 struct iwl_addsta_cmd *sta, u8 flags) in iwl_send_add_sta() argument
89 .data = { sta, }, in iwl_send_add_sta()
90 .len = { sizeof(*sta), }, in iwl_send_add_sta()
92 u8 sta_id __maybe_unused = sta->sta.sta_id; in iwl_send_add_sta()
97 sta_id, sta->sta.addr, flags & CMD_ASYNC ? "a" : ""); in iwl_send_add_sta()
128 struct ieee80211_sta *sta) in iwl_is_ht40_tx_allowed() argument
139 if (!sta) in iwl_is_ht40_tx_allowed()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dsta.c107 static u8 iwl_mld_get_uapsd_acs(struct ieee80211_sta *sta) in iwl_mld_get_uapsd_acs() argument
111 if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_BK) in iwl_mld_get_uapsd_acs()
113 if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_BE) in iwl_mld_get_uapsd_acs()
115 if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_VI) in iwl_mld_get_uapsd_acs()
117 if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_VO) in iwl_mld_get_uapsd_acs()
416 struct ieee80211_sta *sta = link_sta->sta; in iwl_mld_add_modify_sta_cmd() local
417 struct iwl_mld_sta *mld_sta = iwl_mld_sta_from_mac80211(sta); in iwl_mld_add_modify_sta_cmd()
437 memcpy(&cmd.peer_mld_address, sta->addr, ETH_ALEN); in iwl_mld_add_modify_sta_cmd()
441 cmd.assoc_id = cpu_to_le32(sta->aid); in iwl_mld_add_modify_sta_cmd()
443 if (sta->mfp || mld_sta->sta_state < IEEE80211_STA_AUTHORIZED) in iwl_mld_add_modify_sta_cmd()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Ddebugfs_sta.c65 if (!peer || !peer->sta) in ath10k_sta_update_rx_tid_stats_ampdu()
68 arsta = (struct ath10k_sta *)peer->sta->drv_priv; in ath10k_sta_update_rx_tid_stats_ampdu()
88 struct ieee80211_sta *sta; in ath10k_sta_update_rx_tid_stats() local
107 sta = ieee80211_find_sta_by_ifaddr(ar->hw, hdr->addr2, NULL); in ath10k_sta_update_rx_tid_stats()
108 if (!sta) in ath10k_sta_update_rx_tid_stats()
111 arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_sta_update_rx_tid_stats()
134 struct ieee80211_sta *sta; in ath10k_sta_update_extd_stats_rx_duration() local
139 sta = ieee80211_find_sta_by_ifaddr(ar->hw, peer->peer_macaddr, in ath10k_sta_update_extd_stats_rx_duration()
141 if (!sta) in ath10k_sta_update_extd_stats_rx_duration()
143 arsta = (struct ath10k_sta *)sta->drv_priv; in ath10k_sta_update_extd_stats_rx_duration()
[all …]
/linux/drivers/net/wireless/ath/wil6210/
H A Drx_reorder.c83 __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()
210 spin_unlock(&sta->tid_rx_lock); in wil_rx_reorder()
217 struct wil_sta_info *sta = &wil->sta[cid]; in wil_rx_bar() local
221 spin_lock(&sta->tid_rx_lock); in wil_rx_bar()
223 r = sta->tid_rx[tid]; in wil_rx_bar()
238 spin_unlock(&sta->tid_rx_lock); in wil_rx_bar()
[all …]

12345678910>>...13