Home
last modified time | relevance | path

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

12345678910>>...12

/linux/net/mac80211/
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 in __ieee80211_stop_rx_ba_session()
121 struct sta_info *sta; ieee80211_stop_rx_ba_session() local
148 struct sta_info *sta = tid_rx->sta; sta_rx_agg_session_timer_expired() local
196 ieee80211_retrieve_addba_ext_data(struct sta_info * sta,const void * elem_data,ssize_t elem_len,u16 * buf_size) ieee80211_retrieve_addba_ext_data() argument
230 ieee80211_send_addba_resp(struct sta_info * sta,u8 * da,u16 tid,u8 dialog_token,u16 status,u16 policy,u16 buf_size,u16 timeout,const u8 req_addba_ext_data) ieee80211_send_addba_resp() argument
271 __ieee80211_start_rx_ba_session(struct sta_info * sta,u8 dialog_token,u16 timeout,u16 start_seq_num,u16 ba_policy,u16 tid,u16 buf_size,bool tx,bool auto_seq,const u8 addba_ext_data) __ieee80211_start_rx_ba_session() argument
469 ieee80211_process_addba_request(struct ieee80211_local * local,struct sta_info * sta,struct ieee80211_mgmt * mgmt,size_t len) ieee80211_process_addba_request() argument
504 struct sta_info *sta; ieee80211_manage_rx_ba_offl() local
522 struct sta_info *sta; ieee80211_rx_ba_timer_expired() local
[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 Dsta_info.h149 struct sta_info *sta, u8 ac,
189 struct sta_info *sta; member
244 struct sta_info *sta; member
523 struct sta_info *sta; member
777 struct ieee80211_sta sta; member
780 static inline int ieee80211_tdls_sta_link_id(struct sta_info *sta) in ieee80211_tdls_sta_link_id() argument
783 return sta->sta.valid_links ? __ffs(sta->sta.valid_links) : 0; in ieee80211_tdls_sta_link_id()
786 static inline enum nl80211_plink_state sta_plink_state(struct sta_info *sta) in sta_plink_state() argument
789 return sta->mesh->plink_state; in sta_plink_state()
794 static inline void set_sta_flag(struct sta_info *sta, in set_sta_flag() argument
[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 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 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 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...]
H A Ddriver-ops.h42 struct sta_info *sta) in drv_sync_rx_queues() argument
48 trace_drv_sync_rx_queues(local, sta->sdata, &sta->sta); in drv_sync_rx_queues()
233 struct ieee80211_sta *sta, bool set) in drv_set_tim() argument
236 trace_drv_set_tim(local, sta, set); in drv_set_tim()
238 ret = local->ops->set_tim(&local->hw, sta, set); in drv_set_tim()
246 struct ieee80211_sta *sta,
252 struct sta_info *sta, u32 iv32, in drv_update_tkip_key() argument
257 if (sta) in drv_update_tkip_key()
258 ista = &sta->sta; in drv_update_tkip_key()
443 struct ieee80211_sta *sta) in drv_sta_notify() argument
[all …]
H A Dcfg.c266 struct sta_info *sta; in ieee80211_change_iface() local
276 RCU_INIT_POINTER(sdata->u.vlan.sta, NULL); in ieee80211_change_iface()
292 sta = sta_info_get(sdata, sdata->deflink.u.mgd.bssid); in ieee80211_change_iface()
293 if (sta) in ieee80211_change_iface()
294 drv_sta_set_4addr(local, sdata, &sta->sta, in ieee80211_change_iface()
596 struct sta_info *sta; in ieee80211_set_tx() local
603 sta = sta_info_get_bss(sdata, mac_addr); in ieee80211_set_tx()
605 if (!sta) in ieee80211_set_tx()
608 if (sta->ptk_idx == key_idx) in ieee80211_set_tx()
611 key = wiphy_dereference(local->hw.wiphy, sta->ptk[key_idx]); in ieee80211_set_tx()
[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 …]
H A Dviking.S132 sta %g0, [%g1] ASI_M_FLUSH_PROBE
143 sta %o1, [%g1] ASI_M_MMUREGS
144 sta %g0, [%g2] ASI_M_FLUSH_PROBE
146 sta %g5, [%g1] ASI_M_MMUREGS
162 sta %o3, [%g1] ASI_M_MMUREGS
165 sta %g0, [%o1] ASI_M_FLUSH_PROBE
169 sta %g0, [%o1] ASI_M_FLUSH_PROBE
171 sta %g5, [%g1] ASI_M_MMUREGS
187 sta %o3, [%g1] ASI_M_MMUREGS
188 sta %g0, [%o1] ASI_M_FLUSH_PROBE
[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/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/mvm/
H A Dmld-key.c13 struct ieee80211_sta *sta, in iwl_mvm_get_sec_sta_mask() argument
38 if (!sta && vif->type == NL80211_IFTYPE_STATION) in iwl_mvm_get_sec_sta_mask()
39 sta = mvmvif->ap_sta; in iwl_mvm_get_sec_sta_mask()
50 if (!sta && (keyconf->link_id >= 0 || !ieee80211_vif_is_mld(vif))) in iwl_mvm_get_sec_sta_mask()
56 return iwl_mvm_sta_fw_id_mask(mvm, sta, keyconf->link_id); in iwl_mvm_get_sec_sta_mask()
61 struct ieee80211_sta *sta, in iwl_mvm_get_sec_flags() argument
98 if (!sta && vif->type == NL80211_IFTYPE_STATION) in iwl_mvm_get_sec_flags()
99 sta = mvmvif->ap_sta; in iwl_mvm_get_sec_flags()
108 if ((!IS_ERR_OR_NULL(sta) && sta->mfp && pairwise) || igtk) in iwl_mvm_get_sec_flags()
118 struct ieee80211_sta *sta; member
[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 …]
/linux/drivers/net/wireless/ath/ath11k/
H A Ddebugfs_sta.c140 struct ieee80211_sta *sta = file->private_data; in ath11k_dbg_sta_dump_tx_stats() local
141 struct ath11k_sta *arsta = ath11k_sta_to_arsta(sta); in ath11k_dbg_sta_dump_tx_stats()
247 struct ieee80211_sta *sta = file->private_data; in ath11k_dbg_sta_dump_rx_stats() local
248 struct ath11k_sta *arsta = ath11k_sta_to_arsta(sta); in ath11k_dbg_sta_dump_rx_stats()
344 struct ieee80211_sta *sta = inode->i_private; in ath11k_dbg_sta_open_htt_peer_stats() local
345 struct ath11k_sta *arsta = ath11k_sta_to_arsta(sta); in ath11k_dbg_sta_open_htt_peer_stats()
363 memcpy(stats_req->peer_addr, sta->addr, ETH_ALEN); in ath11k_dbg_sta_open_htt_peer_stats()
380 struct ieee80211_sta *sta = inode->i_private; in ath11k_dbg_sta_release_htt_peer_stats() local
381 struct ath11k_sta *arsta = ath11k_sta_to_arsta(sta); in ath11k_dbg_sta_release_htt_peer_stats()
417 struct ieee80211_sta *sta = file->private_data; in ath11k_dbg_sta_write_peer_pktlog() local
[all …]
/linux/drivers/i2c/algos/
H A Di2c-algo-pca.c70 int sta = pca_get_con(adap); in pca_start() local
72 sta |= I2C_PCA_CON_STA; in pca_start()
73 sta &= ~(I2C_PCA_CON_STO|I2C_PCA_CON_SI); in pca_start()
74 pca_set_con(adap, sta); in pca_start()
85 int sta = pca_get_con(adap); in pca_repeated_start() local
87 sta |= I2C_PCA_CON_STA; in pca_repeated_start()
88 sta &= ~(I2C_PCA_CON_STO|I2C_PCA_CON_SI); in pca_repeated_start()
89 pca_set_con(adap, sta); in pca_repeated_start()
104 int sta = pca_get_con(adap); in pca_stop() local
106 sta |= I2C_PCA_CON_STO; in pca_stop()
[all …]

12345678910>>...12