Home
last modified time | relevance | path

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

12345678910>>...16

/kernel/linux/linux-5.10/net/mac80211/
Dsta_info.c78 struct sta_info *sta) in sta_info_hash_del() argument
80 return rhltable_remove(&local->sta_hash, &sta->hash_node, in sta_info_hash_del()
84 static void __cleanup_single_sta(struct sta_info *sta) in __cleanup_single_sta() argument
88 struct ieee80211_sub_if_data *sdata = sta->sdata; in __cleanup_single_sta()
92 if (test_sta_flag(sta, WLAN_STA_PS_STA) || in __cleanup_single_sta()
93 test_sta_flag(sta, WLAN_STA_PS_DRIVER) || in __cleanup_single_sta()
94 test_sta_flag(sta, WLAN_STA_PS_DELIVER)) { in __cleanup_single_sta()
95 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || in __cleanup_single_sta()
96 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in __cleanup_single_sta()
103 clear_sta_flag(sta, WLAN_STA_PS_STA); in __cleanup_single_sta()
[all …]
Dmesh_plink.c59 struct sta_info *sta) in rssi_threshold_check() argument
63 (sta && in rssi_threshold_check()
64 (s8)-ewma_signal_read(&sta->rx_stats_avg.signal) > in rssi_threshold_check()
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->mesh->llid = sta->mesh->plid = sta->mesh->reason = 0; in mesh_plink_fsm_restart()
80 sta->mesh->plink_retries = 0; in mesh_plink_fsm_restart()
97 struct sta_info *sta; in mesh_set_short_slot_time() local
122 list_for_each_entry_rcu(sta, &local->sta_list, list) { in mesh_set_short_slot_time()
[all …]
Dmesh_ps.c18 static struct sk_buff *mps_qos_null_get(struct sta_info *sta) in mps_qos_null_get() argument
20 struct ieee80211_sub_if_data *sdata = sta->sdata; in mps_qos_null_get()
34 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr, in mps_qos_null_get()
40 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in mps_qos_null_get()
42 ieee80211_mps_set_frame_flags(sdata, sta, nullfunc); in mps_qos_null_get()
51 static void mps_qos_null_tx(struct sta_info *sta) in mps_qos_null_tx() argument
55 skb = mps_qos_null_get(sta); in mps_qos_null_tx()
59 mps_dbg(sta->sdata, "announcing peer-specific power mode to %pM\n", in mps_qos_null_tx()
60 sta->sta.addr); in mps_qos_null_tx()
63 if (!test_sta_flag(sta, WLAN_STA_PS_STA)) { in mps_qos_null_tx()
[all …]
Dagg-tx.c142 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid, in ieee80211_assign_tid_tx() argument
145 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ieee80211_assign_tid_tx()
146 lockdep_assert_held(&sta->lock); in ieee80211_assign_tid_tx()
147 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); in ieee80211_assign_tid_tx()
190 ieee80211_agg_stop_txq(struct sta_info *sta, int tid) in ieee80211_agg_stop_txq() argument
192 struct ieee80211_txq *txq = sta->sta.txq[tid]; in ieee80211_agg_stop_txq()
211 ieee80211_agg_start_txq(struct sta_info *sta, int tid, bool enable) in ieee80211_agg_start_txq() argument
213 struct ieee80211_txq *txq = sta->sta.txq[tid]; in ieee80211_agg_start_txq()
216 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ieee80211_agg_start_txq()
231 schedule_and_wake_txq(sta->sdata->local, txqi); in ieee80211_agg_start_txq()
[all …]
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_held(&sta->ampdu_mlme.mtx); 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->ampdu_mlme.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 …]
Dvht.c119 struct sta_info *sta) in ieee80211_vht_cap_ie_to_sta_vht_cap() argument
121 struct ieee80211_sta_vht_cap *vht_cap = &sta->sta.vht_cap; in ieee80211_vht_cap_ie_to_sta_vht_cap()
128 if (!sta->sta.ht_cap.ht_supported) in ieee80211_vht_cap_ie_to_sta_vht_cap()
165 !test_sta_flag(sta, WLAN_STA_TDLS_PEER)) in ieee80211_vht_cap_ie_to_sta_vht_cap()
290 sta->addr); in ieee80211_vht_cap_ie_to_sta_vht_cap()
298 sta->cur_max_bandwidth = IEEE80211_STA_RX_BW_160; in ieee80211_vht_cap_ie_to_sta_vht_cap()
301 sta->cur_max_bandwidth = IEEE80211_STA_RX_BW_80; in ieee80211_vht_cap_ie_to_sta_vht_cap()
313 sta->cur_max_bandwidth = IEEE80211_STA_RX_BW_160; in ieee80211_vht_cap_ie_to_sta_vht_cap()
316 sta->sta.bandwidth = ieee80211_sta_cur_vht_bw(sta); in ieee80211_vht_cap_ie_to_sta_vht_cap()
320 sta->sta.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_11454; in ieee80211_vht_cap_ie_to_sta_vht_cap()
[all …]
Dhe.c13 struct sta_info *sta) in ieee80211_update_from_he_6ghz_capa() argument
17 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_update_from_he_6ghz_capa()
18 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in ieee80211_update_from_he_6ghz_capa()
33 sta->sta.smps_mode = smps_mode; in ieee80211_update_from_he_6ghz_capa()
35 sta->sta.smps_mode = IEEE80211_SMPS_OFF; in ieee80211_update_from_he_6ghz_capa()
41 sta->sta.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_11454; in ieee80211_update_from_he_6ghz_capa()
44 sta->sta.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_7991; in ieee80211_update_from_he_6ghz_capa()
48 sta->sta.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_3895; in ieee80211_update_from_he_6ghz_capa()
52 sta->sta.he_6ghz_capa = *he_6ghz_capa; in ieee80211_update_from_he_6ghz_capa()
60 struct sta_info *sta) in ieee80211_he_cap_ie_to_sta_he_cap() argument
[all …]
Drate.h25 struct sta_info *sta,
32 void rate_control_rate_init(struct sta_info *sta);
35 struct sta_info *sta, u32 changed);
38 struct sta_info *sta, gfp_t gfp) in rate_control_alloc_sta() argument
40 spin_lock_init(&sta->rate_ctrl_lock); in rate_control_alloc_sta()
41 return ref->ops->alloc_sta(ref->priv, &sta->sta, gfp); in rate_control_alloc_sta()
44 static inline void rate_control_free_sta(struct sta_info *sta) in rate_control_free_sta() argument
46 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_free_sta()
47 struct ieee80211_sta *ista = &sta->sta; in rate_control_free_sta()
48 void *priv_sta = sta->rate_ctrl_priv; in rate_control_free_sta()
[all …]
Dht.c141 struct sta_info *sta) in ieee80211_ht_cap_ie_to_sta_ht_cap() argument
241 sta->sta.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_HT_7935; in ieee80211_ht_cap_ie_to_sta_ht_cap()
243 sta->sta.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_HT_3839; in ieee80211_ht_cap_ie_to_sta_ht_cap()
246 changed = memcmp(&sta->sta.ht_cap, &ht_cap, sizeof(ht_cap)); in ieee80211_ht_cap_ie_to_sta_ht_cap()
248 memcpy(&sta->sta.ht_cap, &ht_cap, sizeof(ht_cap)); in ieee80211_ht_cap_ie_to_sta_ht_cap()
267 sta->sta.bandwidth = bw; in ieee80211_ht_cap_ie_to_sta_ht_cap()
269 sta->cur_max_bandwidth = in ieee80211_ht_cap_ie_to_sta_ht_cap()
273 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_ht_cap_ie_to_sta_ht_cap()
274 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in ieee80211_ht_cap_ie_to_sta_ht_cap()
291 if (smps_mode != sta->sta.smps_mode) in ieee80211_ht_cap_ie_to_sta_ht_cap()
[all …]
Dtdls.c306 struct sta_info *sta) in ieee80211_tdls_chandef_vht_upgrade() argument
310 struct cfg80211_chan_def uc = sta->tdls_chandef; in ieee80211_tdls_chandef_vht_upgrade()
311 enum nl80211_chan_width max_width = ieee80211_sta_cap_chan_bw(sta); in ieee80211_tdls_chandef_vht_upgrade()
343 (uc.width > sta->tdls_chandef.width && in ieee80211_tdls_chandef_vht_upgrade()
348 if (!cfg80211_chandef_identical(&uc, &sta->tdls_chandef)) { in ieee80211_tdls_chandef_vht_upgrade()
350 sta->tdls_chandef.width, uc.width); in ieee80211_tdls_chandef_vht_upgrade()
356 sta->tdls_chandef = uc; in ieee80211_tdls_chandef_vht_upgrade()
370 struct sta_info *sta = NULL; in ieee80211_tdls_add_setup_start_ies() local
432 sta = sta_info_get(sdata, peer); in ieee80211_tdls_add_setup_start_ies()
433 if (WARN_ON_ONCE(!sta)) { in ieee80211_tdls_add_setup_start_ies()
[all …]
Dmesh_sync.c87 struct sta_info *sta; in mesh_sync_offset_rx_bcn_presp() local
112 sta = sta_info_get(sdata, mgmt->sa); in mesh_sync_offset_rx_bcn_presp()
113 if (!sta) in mesh_sync_offset_rx_bcn_presp()
124 sta->sta.addr); in mesh_sync_offset_rx_bcn_presp()
130 sta->mesh->t_offset = t_t - t_r; in mesh_sync_offset_rx_bcn_presp()
132 if (test_sta_flag(sta, WLAN_STA_TOFFSET_KNOWN)) { in mesh_sync_offset_rx_bcn_presp()
133 s64 t_clockdrift = sta->mesh->t_offset_setpoint - sta->mesh->t_offset; in mesh_sync_offset_rx_bcn_presp()
136 sta->sta.addr, (long long) sta->mesh->t_offset, in mesh_sync_offset_rx_bcn_presp()
137 (long long) sta->mesh->t_offset_setpoint, in mesh_sync_offset_rx_bcn_presp()
144 sta->sta.addr, in mesh_sync_offset_rx_bcn_presp()
[all …]
Drate.c30 void rate_control_rate_init(struct sta_info *sta) in rate_control_rate_init() argument
32 struct ieee80211_local *local = sta->sdata->local; in rate_control_rate_init()
33 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_rate_init()
34 struct ieee80211_sta *ista = &sta->sta; in rate_control_rate_init()
35 void *priv_sta = sta->rate_ctrl_priv; in rate_control_rate_init()
39 ieee80211_sta_set_rx_nss(sta); in rate_control_rate_init()
46 chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); in rate_control_rate_init()
56 ieee80211_s1g_sta_rate_init(sta); in rate_control_rate_init()
61 spin_lock_bh(&sta->rate_ctrl_lock); in rate_control_rate_init()
64 spin_unlock_bh(&sta->rate_ctrl_lock); in rate_control_rate_init()
[all …]
Dstatus.c44 struct sta_info *sta, in ieee80211_handle_filtered_frame() argument
69 info->control.vif = &sta->sdata->vif; in ieee80211_handle_filtered_frame()
74 sta->status_stats.filtered++; in ieee80211_handle_filtered_frame()
107 set_sta_flag(sta, WLAN_STA_CLEAR_PS_FILT); in ieee80211_handle_filtered_frame()
108 ieee80211_clear_fast_xmit(sta); in ieee80211_handle_filtered_frame()
144 if (test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_handle_filtered_frame()
145 skb_queue_len(&sta->tx_filtered[ac]) < STA_MAX_TX_BUFFER) { in ieee80211_handle_filtered_frame()
146 skb_queue_tail(&sta->tx_filtered[ac], skb); in ieee80211_handle_filtered_frame()
147 sta_info_recalc_tim(sta); in ieee80211_handle_filtered_frame()
156 if (!test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_handle_filtered_frame()
[all …]
Docb.c47 struct sta_info *sta; in ieee80211_ocb_rx_no_sta() local
71 sta = sta_info_alloc(sdata, addr, GFP_ATOMIC); in ieee80211_ocb_rx_no_sta()
72 if (!sta) in ieee80211_ocb_rx_no_sta()
77 sta->sta.supp_rates[band] = in ieee80211_ocb_rx_no_sta()
81 list_add(&sta->list, &ifocb->incomplete_stations); in ieee80211_ocb_rx_no_sta()
86 static struct sta_info *ieee80211_ocb_finish_sta(struct sta_info *sta) in ieee80211_ocb_finish_sta() argument
89 struct ieee80211_sub_if_data *sdata = sta->sdata; in ieee80211_ocb_finish_sta()
92 memcpy(addr, sta->sta.addr, ETH_ALEN); in ieee80211_ocb_finish_sta()
97 sta_info_move_state(sta, IEEE80211_STA_AUTH); in ieee80211_ocb_finish_sta()
98 sta_info_move_state(sta, IEEE80211_STA_ASSOC); in ieee80211_ocb_finish_sta()
[all …]
Dtx.c328 if (tx->sta) in ieee80211_tx_h_check_assoc()
329 assoc = test_sta_flag(tx->sta, WLAN_STA_ASSOC); in ieee80211_tx_h_check_assoc()
363 struct sta_info *sta; in purge_old_ps_buffers() local
387 list_for_each_entry_rcu(sta, &local->sta_list, list) { in purge_old_ps_buffers()
391 skb = skb_dequeue(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers()
392 total += skb_queue_len(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers()
470 static int ieee80211_use_mfp(__le16 fc, struct sta_info *sta, in ieee80211_use_mfp() argument
476 if (sta == NULL || !test_sta_flag(sta, WLAN_STA_MFP)) in ieee80211_use_mfp()
488 struct sta_info *sta = tx->sta; in ieee80211_tx_h_unicast_ps_buf() local
493 if (unlikely(!sta)) in ieee80211_tx_h_unicast_ps_buf()
[all …]
Dsta_info.h146 struct sta_info *sta, u8 ac,
185 struct sta_info *sta; member
240 struct sta_info *sta; member
673 struct ieee80211_sta sta; member
676 static inline enum nl80211_plink_state sta_plink_state(struct sta_info *sta) in sta_plink_state() argument
679 return sta->mesh->plink_state; in sta_plink_state()
684 static inline void set_sta_flag(struct sta_info *sta, in set_sta_flag() argument
690 set_bit(flag, &sta->_flags); in set_sta_flag()
693 static inline void clear_sta_flag(struct sta_info *sta, in clear_sta_flag() argument
699 clear_bit(flag, &sta->_flags); in clear_sta_flag()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
Dhostap_ap.c56 static struct sta_info* ap_get_sta(struct ap_data *ap, u8 *sta);
58 struct sta_info *sta);
86 static void ap_sta_hash_add(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_add() argument
88 sta->hnext = ap->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_add()
89 ap->sta_hash[STA_HASH(sta->addr)] = sta; in ap_sta_hash_add()
92 static void ap_sta_hash_del(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_del() argument
96 s = ap->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_del()
98 if (ether_addr_equal(s->addr, sta->addr)) { in ap_sta_hash_del()
99 ap->sta_hash[STA_HASH(sta->addr)] = s->hnext; in ap_sta_hash_del()
103 while (s->hnext != NULL && !ether_addr_equal(s->hnext->addr, sta->addr)) in ap_sta_hash_del()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Dsta_info.h201 #define sta_rx_pkts(sta) \ argument
202 (sta->sta_stats.rx_mgnt_pkts \
203 + sta->sta_stats.rx_ctrl_pkts \
204 + sta->sta_stats.rx_data_pkts)
206 #define sta_last_rx_pkts(sta) \ argument
207 (sta->sta_stats.last_rx_mgnt_pkts \
208 + sta->sta_stats.last_rx_ctrl_pkts \
209 + sta->sta_stats.last_rx_data_pkts)
211 #define sta_rx_data_pkts(sta) \ argument
212 (sta->sta_stats.rx_data_pkts)
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Dsta_info.h230 #define sta_rx_pkts(sta) \ argument
231 (sta->sta_stats.rx_mgnt_pkts \
232 + sta->sta_stats.rx_ctrl_pkts \
233 + sta->sta_stats.rx_data_pkts)
235 #define sta_last_rx_pkts(sta) \ argument
236 (sta->sta_stats.last_rx_mgnt_pkts \
237 + sta->sta_stats.last_rx_ctrl_pkts \
238 + sta->sta_stats.last_rx_data_pkts)
240 #define sta_rx_data_pkts(sta) \ argument
241 (sta->sta_stats.rx_data_pkts)
[all …]
/kernel/linux/linux-5.10/arch/sparc/mm/
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 …]
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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Drs-fw.c66 static u8 rs_fw_bw_from_sta_bw(struct ieee80211_sta *sta) in rs_fw_bw_from_sta_bw() argument
68 switch (sta->bandwidth) { in rs_fw_bw_from_sta_bw()
97 static u8 rs_fw_sgi_cw_support(struct ieee80211_sta *sta) in rs_fw_sgi_cw_support() argument
99 struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap; in rs_fw_sgi_cw_support()
100 struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in rs_fw_sgi_cw_support()
101 struct ieee80211_sta_he_cap *he_cap = &sta->he_cap; in rs_fw_sgi_cw_support()
120 struct ieee80211_sta *sta, in rs_fw_get_config_flags() argument
123 struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap; in rs_fw_get_config_flags()
124 struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap; in rs_fw_get_config_flags()
125 struct ieee80211_sta_he_cap *he_cap = &sta->he_cap; in rs_fw_get_config_flags()
[all …]
Dtdls.c74 struct ieee80211_sta *sta; in iwl_mvm_teardown_tdls_peers() local
81 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_teardown_tdls_peers()
83 if (!sta || IS_ERR(sta) || !sta->tdls) in iwl_mvm_teardown_tdls_peers()
86 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_teardown_tdls_peers()
87 ieee80211_tdls_oper_request(mvmsta->vif, sta->addr, in iwl_mvm_teardown_tdls_peers()
96 struct ieee80211_sta *sta; in iwl_mvm_tdls_sta_count() local
104 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_tdls_sta_count()
106 if (!sta || IS_ERR(sta) || !sta->tdls) in iwl_mvm_tdls_sta_count()
110 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tdls_sta_count()
132 struct ieee80211_sta *sta; in iwl_mvm_tdls_config() local
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
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->bandwidth == IEEE80211_STA_RX_BW_20) { in _rtl_rc_get_highest_rix()
91 if (sta->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->ht_cap.cap & IEEE80211_HT_CAP_SGI_20; in _rtl_rc_rate_set_series()
125 sgi_40 = sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40; in _rtl_rc_rate_set_series()
126 sgi_80 = sta->vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80; in _rtl_rc_rate_set_series()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Dsta.c33 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate()
39 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate()
43 sta_id, priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate()
88 struct iwl_addsta_cmd *sta, u8 flags) in iwl_send_add_sta() argument
94 .data = { sta, }, in iwl_send_add_sta()
95 .len = { sizeof(*sta), }, in iwl_send_add_sta()
97 u8 sta_id __maybe_unused = sta->sta.sta_id; in iwl_send_add_sta()
102 sta_id, sta->sta.addr, flags & CMD_ASYNC ? "a" : ""); in iwl_send_add_sta()
133 struct ieee80211_sta *sta) in iwl_is_ht40_tx_allowed() argument
144 if (!sta) in iwl_is_ht40_tx_allowed()
[all …]

12345678910>>...16