Home
last modified time | relevance | path

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

12345678910>>...14

/linux/net/mac80211/
H A Dsta_info.c51 * we support. For a regular station this mean we add the AP sta when we
53 * get to know about a peer on the same IBSS. For WDS we add the sta for
68 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 in ieee80211_purge_sta_txqs()
132 __cleanup_single_sta(struct sta_info * sta) __cleanup_single_sta() argument
187 cleanup_single_sta(struct sta_info * sta) cleanup_single_sta() argument
208 struct sta_info *sta; sta_info_get() local
233 struct sta_info *sta; sta_info_get_bss() local
266 struct sta_info *sta = link_sta->sta; link_sta_info_get_bss() local
292 struct sta_info *sta = link_sta->sta; ieee80211_find_sta_by_link_addrs() local
322 struct sta_info *sta; sta_info_get_by_addrs() local
336 struct sta_info *sta; sta_info_get_by_idx() local
367 sta_accumulate_removed_link_stats(struct sta_info * sta,int link_id) sta_accumulate_removed_link_stats() argument
423 sta_remove_link(struct sta_info * sta,unsigned int link_id,bool unhash) sta_remove_link() argument
468 sta_info_free(struct ieee80211_local * local,struct sta_info * sta) sta_info_free() argument
516 sta_info_hash_add(struct ieee80211_local * local,struct sta_info * sta) sta_info_hash_add() argument
524 struct sta_info *sta; sta_deliver_ps_frames() local
542 sta_prepare_rate_control(struct ieee80211_local * local,struct sta_info * sta,gfp_t gfp) sta_prepare_rate_control() argument
615 sta_info_add_link(struct sta_info * sta,unsigned int link_id,struct link_sta_info * link_info,struct ieee80211_link_sta * link_sta) sta_info_add_link() argument
639 struct sta_info *sta; __sta_info_alloc() local
818 sta_info_insert_check(struct sta_info * sta) sta_info_insert_check() argument
859 sta_info_insert_drv_state(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct sta_info * sta) sta_info_insert_drv_state() argument
899 struct sta_info *sta; ieee80211_recalc_p2p_go_ps_allowed() local
920 sta_info_insert_finish(struct sta_info * sta) sta_info_insert_finish() argument
1035 sta_info_insert_rcu(struct sta_info * sta) sta_info_insert_rcu() argument
1053 sta_info_insert(struct sta_info * sta) sta_info_insert() argument
1107 __sta_info_recalc_tim(struct sta_info * sta,bool ignore_pending) __sta_info_recalc_tim() argument
1189 sta_info_recalc_tim(struct sta_info * sta) sta_info_recalc_tim() argument
1194 sta_info_buffer_expired(struct sta_info * sta,struct sk_buff * skb) sta_info_buffer_expired() argument
1215 sta_info_cleanup_expire_buffered_ac(struct ieee80211_local * local,struct sta_info * sta,int ac) sta_info_cleanup_expire_buffered_ac() argument
1293 sta_info_cleanup_expire_buffered(struct ieee80211_local * local,struct sta_info * sta) sta_info_cleanup_expire_buffered() argument
1310 __sta_info_destroy_part1(struct sta_info * sta) __sta_info_destroy_part1() argument
1395 _sta_info_move_state(struct sta_info * sta,enum ieee80211_sta_state new_state,bool recalc) _sta_info_move_state() argument
1537 sta_info_move_state(struct sta_info * sta,enum ieee80211_sta_state new_state) sta_info_move_state() argument
1543 __sta_info_destroy_part2(struct sta_info * sta,bool recalc) __sta_info_destroy_part2() argument
1620 __sta_info_destroy(struct sta_info * sta) __sta_info_destroy() argument
1636 struct sta_info *sta; sta_info_destroy_addr() local
1647 struct sta_info *sta; sta_info_destroy_addr_bss() local
1659 struct sta_info *sta; sta_info_cleanup() local
1711 struct sta_info *sta, *tmp; __sta_info_flush() local
1761 struct sta_info *sta, *tmp; ieee80211_sta_expire() local
1790 struct sta_info *sta; ieee80211_find_sta_by_ifaddr() local
1812 struct sta_info *sta; ieee80211_find_sta() local
1829 ieee80211_sta_ps_deliver_wakeup(struct sta_info * sta) ieee80211_sta_ps_deliver_wakeup() argument
1912 ieee80211_send_null_response(struct sta_info * sta,int tid,enum ieee80211_frame_release_type reason,bool call_driver,bool more_data) ieee80211_send_null_response() argument
2015 ieee80211_sta_ps_more_data(struct sta_info * sta,u8 ignored_acs,enum ieee80211_frame_release_type reason,unsigned long driver_release_tids) ieee80211_sta_ps_more_data() argument
2043 ieee80211_sta_ps_get_frames(struct sta_info * sta,int n_frames,u8 ignored_acs,enum ieee80211_frame_release_type reason,struct sk_buff_head * frames,unsigned long * driver_release_tids) ieee80211_sta_ps_get_frames() argument
2099 ieee80211_sta_ps_deliver_response(struct sta_info * sta,int n_frames,u8 ignored_acs,enum ieee80211_frame_release_type reason) ieee80211_sta_ps_deliver_response() argument
2289 ieee80211_sta_ps_deliver_poll_response(struct sta_info * sta) ieee80211_sta_ps_deliver_poll_response() argument
2305 ieee80211_sta_ps_deliver_uapsd(struct sta_info * sta) ieee80211_sta_ps_deliver_uapsd() argument
2342 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_block_awake() local
2373 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_eosp() local
2384 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_send_eosp_nullfunc() local
2401 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_set_buffered() local
2420 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_register_airtime() local
2441 __ieee80211_sta_recalc_aggregates(struct sta_info * sta,u16 active_links) __ieee80211_sta_recalc_aggregates() argument
2488 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_recalc_aggregates() local
2495 ieee80211_sta_update_pending_airtime(struct ieee80211_local * local,struct sta_info * sta,u8 ac,u16 tx_airtime,bool tx_completed,bool mcast) ieee80211_sta_update_pending_airtime() argument
2550 sta_get_last_rx_stats(struct sta_info * sta,int link_id) sta_get_last_rx_stats() argument
2656 sta_set_rate_info_rx(struct sta_info * sta,struct rate_info * rinfo,int link_id) sta_set_rate_info_rx() argument
2682 sta_set_tidstats(struct sta_info * sta,struct cfg80211_tid_stats * tidstats,int tid,int link_id) sta_set_tidstats() argument
2759 sta_set_mesh_sinfo(struct sta_info * sta,struct station_info * sinfo) sta_set_mesh_sinfo() argument
2791 sta_set_accumulated_removed_links_sinfo(struct sta_info * sta,struct station_info * sinfo) sta_set_accumulated_removed_links_sinfo() argument
2817 sta_estimate_expected_throughput(struct sta_info * sta,struct rate_info * ri,struct ieee80211_bss_conf * bss_conf) sta_estimate_expected_throughput() argument
2839 sta_set_link_sinfo(struct sta_info * sta,struct link_station_info * link_sinfo,struct ieee80211_link_data * link,bool tidstats) sta_set_link_sinfo() argument
3081 sta_set_sinfo(struct sta_info * sta,struct station_info * sinfo,bool tidstats) sta_set_sinfo() argument
3373 sta_get_expected_throughput(struct sta_info * sta) sta_get_expected_throughput() argument
3392 ieee80211_sta_last_active(struct sta_info * sta,int link_id) ieee80211_sta_last_active() argument
3412 ieee80211_sta_allocate_link(struct sta_info * sta,unsigned int link_id) ieee80211_sta_allocate_link() argument
3447 ieee80211_sta_free_link(struct sta_info * sta,unsigned int link_id) ieee80211_sta_free_link() argument
3456 ieee80211_sta_activate_link(struct sta_info * sta,unsigned int link_id) ieee80211_sta_activate_link() argument
3504 ieee80211_sta_remove_link(struct sta_info * sta,unsigned int link_id) ieee80211_sta_remove_link() argument
3635 ieee80211_sta_set_max_amsdu_subframes(struct sta_info * sta,const u8 * ext_capab,unsigned int ext_capab_len) ieee80211_sta_set_max_amsdu_subframes() argument
3661 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); lockdep_sta_mutex_held() local
3803 struct sta_info *sta = link_sta->sta; ieee80211_sta_current_bw_tx_to_sta() local
[all...]
H A Dagg-rx.c56 void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in __ieee80211_stop_rx_ba_session() argument
59 struct ieee80211_local *local = sta->local; in __ieee80211_stop_rx_ba_session()
62 .sta = &sta->sta, in __ieee80211_stop_rx_ba_session()
70 lockdep_assert_wiphy(sta->local->hw.wiphy); in __ieee80211_stop_rx_ba_session()
72 tid_rx = rcu_dereference_protected(sta->ampdu_mlme.tid_rx[tid], in __ieee80211_stop_rx_ba_session()
73 lockdep_is_held(&sta->local->hw.wiphy->mtx)); in __ieee80211_stop_rx_ba_session()
75 if (!test_bit(tid, sta->ampdu_mlme.agg_session_valid)) in __ieee80211_stop_rx_ba_session()
78 RCU_INIT_POINTER(sta->ampdu_mlme.tid_rx[tid], NULL); in __ieee80211_stop_rx_ba_session()
79 __clear_bit(tid, sta->ampdu_mlme.agg_session_valid); in __ieee80211_stop_rx_ba_session()
81 ht_dbg(sta->sdata, in __ieee80211_stop_rx_ba_session()
[all …]
H A Dagg-tx.c57 * Note that the sta can get destroyed before the BA tear down is
61 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()
98 if (sta->sta.deflink.he_cap.has_he) in ieee80211_send_addba_request()
134 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid, in ieee80211_assign_tid_tx() argument
137 lockdep_assert_wiphy(sta->local->hw.wiphy); in ieee80211_assign_tid_tx()
138 lockdep_assert_held(&sta in ieee80211_assign_tid_tx()
182 ieee80211_agg_stop_txq(struct sta_info * sta,int tid) ieee80211_agg_stop_txq() argument
203 ieee80211_agg_start_txq(struct sta_info * sta,int tid,bool enable) ieee80211_agg_start_txq() argument
262 ieee80211_remove_tid_tx(struct sta_info * sta,int tid) ieee80211_remove_tid_tx() argument
291 __ieee80211_stop_tx_ba_session(struct sta_info * sta,u16 tid,enum ieee80211_agg_stop_reason reason) __ieee80211_stop_tx_ba_session() argument
428 struct sta_info *sta = tid_tx->sta; sta_addba_resp_timer_expired() local
445 ieee80211_send_addba_with_timeout(struct sta_info * sta,struct tid_ampdu_tx * tid_tx) ieee80211_send_addba_with_timeout() argument
494 ieee80211_tx_ba_session_handle_start(struct sta_info * sta,int tid) ieee80211_tx_ba_session_handle_start() argument
561 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_refresh_tx_agg_session_timer() local
583 struct sta_info *sta = tid_tx->sta; sta_tx_agg_session_timer_expired() local
606 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_start_tx_ba_session() local
757 ieee80211_agg_tx_operational(struct ieee80211_local * local,struct sta_info * sta,u16 tid) ieee80211_agg_tx_operational() argument
799 ieee80211_start_tx_ba_cb(struct sta_info * sta,int tid,struct tid_ampdu_tx * tid_tx) ieee80211_start_tx_ba_cb() argument
826 ieee80211_lookup_tid_tx(struct ieee80211_sub_if_data * sdata,const u8 * ra,u16 tid,struct sta_info ** sta) ieee80211_lookup_tid_tx() argument
855 struct sta_info *sta; ieee80211_start_tx_ba_cb_irqsafe() local
874 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_stop_tx_ba_session() local
914 ieee80211_stop_tx_ba_cb(struct sta_info * sta,int tid,struct tid_ampdu_tx * tid_tx) ieee80211_stop_tx_ba_cb() argument
959 struct sta_info *sta; ieee80211_stop_tx_ba_cb_irqsafe() local
978 ieee80211_process_addba_resp(struct ieee80211_local * local,struct sta_info * sta,struct ieee80211_mgmt * mgmt,size_t len) ieee80211_process_addba_resp() argument
[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()
317 switch (ieee80211_sta_current_bw(&sta->deflink, &uc, in ieee80211_tdls_chandef_vht_upgrade()
351 (uc.width > sta->tdls_chandef.width && in ieee80211_tdls_chandef_vht_upgrade()
356 if (!cfg80211_chandef_identical(&uc, &sta->tdls_chandef)) { in ieee80211_tdls_chandef_vht_upgrade()
358 sta->tdls_chandef.width, uc.width); in ieee80211_tdls_chandef_vht_upgrade()
364 sta->tdls_chandef = uc; in ieee80211_tdls_chandef_vht_upgrade()
381 struct sta_info *sta = NULL; in ieee80211_tdls_add_setup_start_ies() local
441 sta = sta_info_get(sdata, peer); in ieee80211_tdls_add_setup_start_ies()
442 if (WARN_ON_ONCE(!sta)) in ieee80211_tdls_add_setup_start_ies()
604 struct sta_info *sta, *ap_sta; ieee80211_tdls_add_setup_cfm_ies() local
1007 struct sta_info *sta; ieee80211_tdls_prep_mgmt_packet() local
1145 struct sta_info *sta; ieee80211_tdls_mgmt_setup() local
1212 struct sta_info *sta; ieee80211_tdls_mgmt_teardown() local
1285 struct sta_info *sta; ieee80211_tdls_mgmt() local
1331 iee80211_tdls_recalc_chanctx(struct ieee80211_sub_if_data * sdata,struct sta_info * sta) iee80211_tdls_recalc_chanctx() argument
1377 struct sta_info *sta; iee80211_tdls_have_ht_peers() local
1397 iee80211_tdls_recalc_ht_protection(struct ieee80211_sub_if_data * sdata,struct sta_info * sta) iee80211_tdls_recalc_ht_protection() argument
1430 struct sta_info *sta; ieee80211_tdls_oper() local
1565 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
1642 struct sta_info *sta; ieee80211_tdls_channel_switch() local
1693 struct sta_info *sta; ieee80211_tdls_cancel_channel_switch() local
1716 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
1766 struct sta_info *sta; ieee80211_process_tdls_channel_switch_resp() local
1867 struct sta_info *sta; ieee80211_process_tdls_channel_switch_req() local
2056 struct sta_info *sta; ieee80211_teardown_tdls_peers() local
2078 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()
45 if (WARN_ON(ieee80211_vif_is_mld(&sta->sdata->vif))) in rate_control_rate_init()
50 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); in rate_control_rate_init()
64 spin_lock_bh(&sta in rate_control_rate_init()
73 rate_control_rate_init_all_links(struct sta_info * sta) rate_control_rate_init_all_links() argument
92 struct sta_info *sta = container_of(st->sta, struct sta_info, sta); rate_control_tx_status() local
121 struct sta_info *sta = link_sta->sta; rate_control_rate_update() local
368 __rate_control_send_low(struct ieee80211_hw * hw,struct ieee80211_supported_band * sband,struct ieee80211_sta * sta,struct ieee80211_tx_info * info,u32 rate_mask) __rate_control_send_low() argument
427 struct sta_info *sta; rate_control_send_low() local
742 rate_control_fill_sta_table(struct ieee80211_sta * sta,struct ieee80211_tx_info * info,struct ieee80211_tx_rate * rates,int max_rates) rate_control_fill_sta_table() argument
782 rate_control_cap_mask(struct ieee80211_sub_if_data * sdata,struct ieee80211_supported_band * sband,struct ieee80211_sta * sta,u32 * mask,u8 mcs_mask[IEEE80211_HT_MCS_MASK_LEN],u16 vht_mask[NL80211_VHT_NSS_MAX]) rate_control_cap_mask() argument
826 rate_control_apply_mask_ratetbl(struct sta_info * sta,struct ieee80211_supported_band * sband,struct ieee80211_sta_rates * rates) rate_control_apply_mask_ratetbl() argument
852 rate_control_apply_mask(struct ieee80211_sub_if_data * sdata,struct ieee80211_sta * sta,struct ieee80211_supported_band * sband,struct ieee80211_tx_rate * rates,int max_rates) rate_control_apply_mask() argument
891 ieee80211_get_tx_rates(struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct sk_buff * skb,struct ieee80211_tx_rate * dest,int max_rates) ieee80211_get_tx_rates() argument
928 rate_control_get_rate(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,struct ieee80211_tx_rate_control * txrc) rate_control_get_rate() argument
974 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); rate_control_set_rates() local
[all...]
H A Dsta_info.h149 struct sta_info *sta, u8 ac,
161 * @pending: pending frames queue -- use sta's spinlock to protect
162 * @sta: station we are attached to
191 struct sta_info *sta; member
215 * @sta: station we are attached to
246 struct sta_info *sta; member
282 * by wiphy mutex but also sta->lock
386 * @t_offset_setpoint: reference timing offset of this sta to be used when
477 * All link specific sta info are stored here for reference. This can be
486 * @sta
534 struct sta_info *sta; global() member
791 struct ieee80211_sta sta; global() member
794 ieee80211_tdls_sta_link_id(struct sta_info * sta) ieee80211_tdls_sta_link_id() argument
800 sta_plink_state(struct sta_info * sta) sta_plink_state() argument
808 set_sta_flag(struct sta_info * sta,enum ieee80211_sta_info_flags flag) set_sta_flag() argument
817 clear_sta_flag(struct sta_info * sta,enum ieee80211_sta_info_flags flag) clear_sta_flag() argument
826 test_sta_flag(struct sta_info * sta,enum ieee80211_sta_info_flags flag) test_sta_flag() argument
832 test_and_clear_sta_flag(struct sta_info * sta,enum ieee80211_sta_info_flags flag) test_and_clear_sta_flag() argument
841 test_and_set_sta_flag(struct sta_info * sta,enum ieee80211_sta_info_flags flag) test_and_set_sta_flag() argument
853 sta_info_pre_move_state(struct sta_info * sta,enum ieee80211_sta_state new_state) sta_info_pre_move_state() argument
868 rcu_dereference_protected_tid_tx(sta,tid) global() argument
[all...]
H A Ds1g.c90 struct sta_info *sta, struct sk_buff *skb) in ieee80211_s1g_send_twt_teardown()
115 drv_add_twt_setup(sdata->local, sdata, &sta->sta, twt); in ieee80211_s1g_rx_twt_setup()
122 struct sta_info *sta, struct sk_buff *skb) in ieee80211_s1g_rx_twt_setup()
126 drv_twt_teardown_request(sdata->local, sdata, &sta->sta, in ieee80211_s1g_rx_twt_setup()
132 struct sta_info *sta, struct sk_buff *skb) in ieee80211_s1g_rx_twt_teardown()
140 drv_twt_teardown_request(sdata->local, sdata, &sta->sta, flowid); in ieee80211_s1g_tx_twt_setup_fail() argument
151 struct sta_info *sta; in ieee80211_s1g_tx_twt_setup_fail()
12 ieee80211_s1g_sta_rate_init(struct sta_info * sta) ieee80211_s1g_sta_rate_init() argument
98 ieee80211_s1g_rx_twt_setup(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,struct sk_buff * skb) ieee80211_s1g_rx_twt_setup() argument
130 ieee80211_s1g_rx_twt_teardown(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,struct sk_buff * skb) ieee80211_s1g_rx_twt_teardown() argument
159 struct sta_info *sta; ieee80211_s1g_rx_twt_action() local
184 struct sta_info *sta; ieee80211_s1g_status_twt_action() local
229 ieee80211_s1g_use_ndp_ba(const struct ieee80211_sub_if_data * sdata,const struct sta_info * sta) ieee80211_s1g_use_ndp_ba() argument
[all...]
H A Dstatus.c45 struct sta_info *sta, in ieee80211_handle_filtered_frame() argument
70 info->control.vif = &sta->sdata->vif; in ieee80211_handle_filtered_frame()
75 sta->deflink.status_stats.filtered++; in ieee80211_handle_filtered_frame()
108 set_sta_flag(sta, WLAN_STA_CLEAR_PS_FILT); in ieee80211_handle_filtered_frame()
109 ieee80211_clear_fast_xmit(sta); in ieee80211_handle_filtered_frame()
145 if (test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_handle_filtered_frame()
146 skb_queue_len(&sta->tx_filtered[ac]) < STA_MAX_TX_BUFFER) { in ieee80211_handle_filtered_frame()
147 skb_queue_tail(&sta->tx_filtered[ac], skb); in ieee80211_handle_filtered_frame()
148 sta_info_recalc_tim(sta); in ieee80211_handle_filtered_frame()
157 if (!test_sta_flag(sta, WLAN_STA_PS_STA) && in ieee80211_handle_filtered_frame()
[all …]
H A Dtx.c285 if (tx->sta) in ieee80211_tx_h_check_assoc()
286 assoc = test_sta_flag(tx->sta, WLAN_STA_ASSOC); in ieee80211_tx_h_check_assoc()
320 struct sta_info *sta; in ieee80211_tx_h_check_assoc()
344 list_for_each_entry_rcu(sta, &local->sta_list, list) { in purge_old_ps_buffers()
348 skb = skb_dequeue(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers()
349 total += skb_queue_len(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers()
427 static int ieee80211_use_mfp(__le16 fc, struct sta_info *sta, in ieee80211_tx_h_multicast_ps_buf()
433 if (sta == NULL || !test_sta_flag(sta, WLAN_STA_MFP)) in ieee80211_tx_h_multicast_ps_buf()
445 struct sta_info *sta in ieee80211_use_mfp()
335 struct sta_info *sta; purge_old_ps_buffers() local
442 ieee80211_use_mfp(__le16 fc,struct sta_info * sta,struct sk_buff * skb) ieee80211_use_mfp() argument
460 struct sta_info *sta = tx->sta; ieee80211_tx_h_unicast_ps_buf() local
810 ieee80211_tx_next_seq(struct sta_info * sta,int tid) ieee80211_tx_next_seq() argument
1182 ieee80211_aggr_check(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,struct sk_buff * skb) ieee80211_aggr_check() argument
1212 ieee80211_tx_prepare(struct ieee80211_sub_if_data * sdata,struct ieee80211_tx_data * tx,struct sta_info * sta,struct sk_buff * skb) ieee80211_tx_prepare() argument
1303 ieee80211_get_txq(struct ieee80211_local * local,struct ieee80211_vif * vif,struct sta_info * sta,struct sk_buff * skb) ieee80211_get_txq() argument
1518 ieee80211_txq_init(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,struct txq_info * txqi,int tid) ieee80211_txq_init() argument
1662 ieee80211_queue_skb(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct sta_info * sta,struct sk_buff * skb) ieee80211_queue_skb() argument
1690 ieee80211_tx_frags(struct ieee80211_local * local,struct ieee80211_vif * vif,struct sta_info * sta,struct sk_buff_head * skbs,bool txpending) ieee80211_tx_frags() argument
1765 __ieee80211_tx(struct ieee80211_local * local,struct sk_buff_head * skbs,struct sta_info * sta,bool txpending) __ieee80211_tx() argument
1913 ieee80211_tx_prepare_skb(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct sk_buff * skb,int band,struct ieee80211_sta ** sta) ieee80211_tx_prepare_skb() argument
1955 ieee80211_tx(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,struct sk_buff * skb,bool txpending) ieee80211_tx() argument
2044 ieee80211_xmit(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,struct sk_buff * skb) ieee80211_xmit() argument
2537 struct sta_info *sta; ieee80211_lookup_ra_sta() local
2679 ieee80211_build_hdr(struct ieee80211_sub_if_data * sdata,struct sk_buff * skb,u32 info_flags,struct sta_info * sta,u32 ctrl_flags,u64 cookie) ieee80211_build_hdr() argument
3129 ieee80211_check_fast_xmit(struct sta_info * sta) ieee80211_check_fast_xmit() argument
3379 struct sta_info *sta; ieee80211_check_fast_xmit_all() local
3390 struct sta_info *sta; ieee80211_check_fast_xmit_iface() local
3404 ieee80211_clear_fast_xmit(struct sta_info * sta) ieee80211_clear_fast_xmit() argument
3502 ieee80211_amsdu_aggregate(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,struct ieee80211_fast_tx * fast_tx,struct sk_buff * skb,const u8 * da,const u8 * sa) ieee80211_amsdu_aggregate() argument
3653 ieee80211_xmit_fast_finish(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,u8 pn_offs,struct ieee80211_key * key,struct ieee80211_tx_data * tx) ieee80211_xmit_fast_finish() argument
3771 __ieee80211_xmit_fast(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,struct ieee80211_fast_tx * fast_tx,struct sk_buff * skb,bool ampdu,const u8 * da,const u8 * sa) __ieee80211_xmit_fast() argument
3861 ieee80211_xmit_fast(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,struct ieee80211_fast_tx * fast_tx,struct sk_buff * skb) ieee80211_xmit_fast() argument
4024 struct sta_info *sta = container_of(txq->sta, struct sta_info, ieee80211_tx_dequeue() local
4118 ieee80211_sta_deficit(struct sta_info * sta,u8 ac) ieee80211_sta_deficit() argument
4128 struct sta_info *sta; ieee80211_txq_set_active() local
4140 struct sta_info *sta; ieee80211_txq_keep_active() local
4187 struct sta_info *sta = container_of(txqi->txq.sta, ieee80211_next_txq() local
4260 struct sta_info *sta; ieee80211_txq_airtime_check() local
4295 struct sta_info *sta; ieee80211_txq_aql_pending() local
4333 struct sta_info *sta; ieee80211_txq_may_transmit() local
4407 struct sta_info *sta; __ieee80211_subif_start_xmit() local
4482 ieee80211_change_da(struct sk_buff * skb,struct sta_info * sta) ieee80211_change_da() argument
4544 struct sta_info *sta, *first = NULL; ieee80211_convert_to_unicast() local
4676 __ieee80211_tx_8023(struct ieee80211_sub_if_data * sdata,struct sk_buff * skb,struct sta_info * sta,bool txpending) __ieee80211_tx_8023() argument
4713 ieee80211_tx_8023(struct ieee80211_sub_if_data * sdata,struct sk_buff * skb,struct sta_info * sta,bool txpending) ieee80211_tx_8023() argument
4733 ieee80211_8023_xmit(struct ieee80211_sub_if_data * sdata,struct net_device * dev,struct sta_info * sta,struct ieee80211_key * key,struct sk_buff * skb) ieee80211_8023_xmit() argument
4862 struct sta_info *sta; __ieee80211_subif_start_xmit_8023() local
4947 struct sta_info *sta; ieee80211_build_data_template() local
5002 struct sta_info *sta; ieee80211_tx_pending_skb() local
6203 struct sta_info *sta; ieee80211_nullfunc_get() local
6397 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_reserve_tid() local
6461 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_unreserve_tid() local
6581 struct sta_info *sta; ieee80211_tx_control_port() local
[all...]
H A Drx.c1135 if (!rx->sta || sta_plink_state(rx->sta) != NL80211_PLINK_ESTAB) { in ieee80211_rx_mesh_check()
1430 struct sta_info *sta = rx->sta; in ieee80211_sta_manage_reorder_buf()
1444 if (!sta)
1451 tid_agg_rx = rcu_dereference(sta->ampdu_mlme.tid_rx[tid]); in ieee80211_rx_reorder_ampdu()
1454 !test_bit(tid, rx->sta->ampdu_mlme.agg_session_valid) && in ieee80211_rx_reorder_ampdu()
1455 !test_and_set_bit(tid, rx->sta->ampdu_mlme.unexpected_agg)) in ieee80211_rx_reorder_ampdu()
1456 ieee80211_send_delba(rx->sdata, rx->sta->sta in ieee80211_rx_reorder_ampdu()
226 __ieee80211_queue_skb_to_iface(struct ieee80211_sub_if_data * sdata,int link_id,struct sta_info * sta,struct sk_buff * skb) __ieee80211_queue_skb_to_iface() argument
257 ieee80211_queue_skb_to_iface(struct ieee80211_sub_if_data * sdata,int link_id,struct sta_info * sta,struct sk_buff * skb) ieee80211_queue_skb_to_iface() argument
1450 struct sta_info *sta = rx->sta; ieee80211_rx_reorder_ampdu() local
1684 sta_ps_start(struct sta_info * sta) sta_ps_start() argument
1724 sta_ps_end(struct sta_info * sta) sta_ps_end() argument
1749 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_ps_transition() local
1770 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_pspoll() local
1784 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_uapsd_trigger() local
1864 struct sta_info *sta = rx->sta; ieee80211_rx_h_sta_process() local
2912 struct sta_info *sta; ieee80211_rx_mesh_fast_forward() local
2967 ieee80211_rx_mesh_data(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,struct sk_buff * skb) ieee80211_rx_mesh_data() argument
4330 ieee80211_rx_is_valid_sta_link_id(struct ieee80211_sta * sta,u8 link_id) ieee80211_rx_is_valid_sta_link_id() argument
4353 ieee80211_rx_data_set_sta(struct ieee80211_rx_data * rx,struct sta_info * sta,int link_id) ieee80211_rx_data_set_sta() argument
4385 ieee80211_release_reorder_timeout(struct sta_info * sta,int tid) ieee80211_release_reorder_timeout() argument
4430 struct sta_info *sta; ieee80211_mark_rx_ba_filtered_frames() local
4728 ieee80211_check_fast_rx(struct sta_info * sta) ieee80211_check_fast_rx() argument
4880 ieee80211_clear_fast_rx(struct sta_info * sta) ieee80211_clear_fast_rx() argument
4896 struct sta_info *sta; __ieee80211_check_fast_rx_iface() local
4923 struct sta_info *sta = rx->sta; ieee80211_rx_8023() local
5273 struct sta_info *sta; __ieee80211_rx_handle_8023() local
5321 struct sta_info *sta; ieee80211_rx_for_interface() local
5436 struct sta_info *sta, *prev_sta; __ieee80211_rx_handle_packet() local
[all...]
H A Dibss.c538 static struct sta_info *ieee80211_ibss_finish_sta(struct sta_info *sta) in ieee80211_ibss_finish_sta() argument
541 struct ieee80211_sub_if_data *sdata = sta->sdata; in ieee80211_ibss_finish_sta()
544 memcpy(addr, sta->sta.addr, ETH_ALEN); in ieee80211_ibss_finish_sta()
546 ieee80211_sta_init_nss_bw_capa(&sta->deflink, in ieee80211_ibss_finish_sta()
551 sta_info_pre_move_state(sta, IEEE80211_STA_AUTH); in ieee80211_ibss_finish_sta()
552 sta_info_pre_move_state(sta, IEEE80211_STA_ASSOC); in ieee80211_ibss_finish_sta()
555 if (!sta->sdata->u.ibss.control_port) in ieee80211_ibss_finish_sta()
556 sta_info_pre_move_state(sta, IEEE80211_STA_AUTHORIZED); in ieee80211_ibss_finish_sta()
558 rate_control_rate_init(&sta in ieee80211_ibss_finish_sta()
573 struct sta_info *sta; ieee80211_ibss_add_sta() local
624 struct sta_info *sta; ieee80211_sta_active_ibss() local
652 struct sta_info *sta; ieee80211_ibss_disconnect() local
932 struct sta_info *sta; ieee80211_update_sta_info() local
1146 struct sta_info *sta; ieee80211_ibss_rx_no_sta() local
1195 struct sta_info *sta, *tmp; ieee80211_ibss_sta_expire() local
1612 struct sta_info *sta; ieee80211_ibss_work() local
[all...]
H A Dcfg.c270 struct sta_info *sta; in ieee80211_change_iface() local
280 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()
595 struct sta_info *sta; in ieee80211_set_tx()
602 sta = sta_info_get_bss(sdata, mac_addr); in ieee80211_set_tx()
604 if (!sta) in ieee80211_set_tx()
607 if (sta in ieee80211_set_tx()
594 struct sta_info *sta; ieee80211_set_tx() local
625 struct sta_info *sta = NULL; ieee80211_add_key() local
757 struct sta_info *sta; ieee80211_lookup_key() local
971 sta_set_rate_info_tx(struct sta_info * sta,const struct ieee80211_tx_rate * rate,struct rate_info * rinfo) sta_set_rate_info_tx() argument
1008 struct sta_info *sta; ieee80211_dump_station() local
1044 struct sta_info *sta; ieee80211_get_station() local
2138 sta_apply_auth_flags(struct ieee80211_local * local,struct sta_info * sta,u32 mask,u32 set) sta_apply_auth_flags() argument
2198 sta_apply_mesh_params(struct ieee80211_local * local,struct sta_info * sta,struct station_parameters * params) sta_apply_mesh_params() argument
2269 sta_link_apply_parameters(struct ieee80211_local * local,struct sta_info * sta,enum sta_link_apply_mode mode,struct link_station_parameters * params) sta_link_apply_parameters() argument
2458 sta_apply_parameters(struct ieee80211_local * local,struct sta_info * sta,struct station_parameters * params) sta_apply_parameters() argument
2646 struct sta_info *sta; ieee80211_add_station() local
2737 ieee80211_set_sta_4addr(struct ieee80211_local * local,struct ieee80211_sub_if_data * sdata,struct sta_info * sta) ieee80211_set_sta_4addr() argument
2800 struct sta_info *sta; ieee80211_change_station() local
2907 struct sta_info *sta; ieee80211_add_mpath() local
2947 struct sta_info *sta; ieee80211_change_mpath() local
3928 struct sta_info *sta; __ieee80211_request_smps_mgd() local
4967 struct sta_info *sta; ieee80211_probe_peer() local
5457 struct sta_info *sta; ieee80211_set_tid_config() local
5479 struct sta_info *sta; ieee80211_reset_tid_config() local
5838 struct sta_info *sta; ieee80211_add_link_station() local
5880 struct sta_info *sta; ieee80211_mod_link_station() local
5900 struct sta_info *sta; ieee80211_del_link_station() 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 …]
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/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/mld/
H A Dsta.c9 #include "sta.h"
17 #include "fw/api/sta.h"
108 static u8 iwl_mld_get_uapsd_acs(struct ieee80211_sta *sta) in iwl_mld_get_uapsd_acs() argument
112 if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_BK) in iwl_mld_get_uapsd_acs()
114 if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_BE) in iwl_mld_get_uapsd_acs()
116 if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_VI) in iwl_mld_get_uapsd_acs()
118 if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_VO) in iwl_mld_get_uapsd_acs()
464 struct ieee80211_sta *sta = link_sta->sta; in iwl_mld_add_modify_sta_cmd() local
465 struct iwl_mld_sta *mld_sta = iwl_mld_sta_from_mac80211(sta); in iwl_mld_add_modify_sta_cmd()
722 iwl_mld_update_all_link_stations(struct iwl_mld * mld,struct ieee80211_sta * sta) iwl_mld_update_all_link_stations() argument
740 iwl_mld_destroy_sta(struct ieee80211_sta * sta) iwl_mld_destroy_sta() argument
777 iwl_mld_alloc_mpdu_counters(struct iwl_mld * mld,struct ieee80211_sta * sta) iwl_mld_alloc_mpdu_counters() argument
800 iwl_mld_init_sta(struct iwl_mld * mld,struct ieee80211_sta * sta,struct ieee80211_vif * vif,enum iwl_fw_sta_type type) iwl_mld_init_sta() argument
820 iwl_mld_add_sta(struct iwl_mld * mld,struct ieee80211_sta * sta,struct ieee80211_vif * vif) iwl_mld_add_sta() argument
863 iwl_mld_flush_sta_txqs(struct iwl_mld * mld,struct ieee80211_sta * sta) iwl_mld_flush_sta_txqs() argument
879 iwl_mld_wait_sta_txqs_empty(struct iwl_mld * mld,struct ieee80211_sta * sta) iwl_mld_wait_sta_txqs_empty() argument
898 iwl_mld_remove_sta(struct iwl_mld * mld,struct ieee80211_sta * sta) iwl_mld_remove_sta() argument
932 iwl_mld_fw_sta_id_mask(struct iwl_mld * mld,struct ieee80211_sta * sta) iwl_mld_fw_sta_id_mask() argument
1313 iwl_mld_update_sta_resources(struct iwl_mld * mld,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u32 old_sta_mask,u32 new_sta_mask) iwl_mld_update_sta_resources() argument
1332 iwl_mld_update_link_stas(struct iwl_mld * mld,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u16 old_links,u16 new_links) iwl_mld_update_link_stas() argument
1444 iwl_mld_add_nan_bcast_sta(struct iwl_mld * mld,struct iwl_mld_int_sta * sta) iwl_mld_add_nan_bcast_sta() argument
1453 iwl_mld_add_nan_mgmt_sta(struct iwl_mld * mld,struct iwl_mld_int_sta * sta) iwl_mld_add_nan_mgmt_sta() argument
1461 iwl_mld_add_nan_mcast_data_sta(struct iwl_mld * mld,const u8 * ndi_addr,struct iwl_mld_int_sta * sta) iwl_mld_add_nan_mcast_data_sta() argument
1477 iwl_mld_update_nan_mcast_data_sta(struct iwl_mld * mld,const u8 * ndi_addr,struct iwl_mld_int_sta * sta) iwl_mld_update_nan_mcast_data_sta() argument
1505 iwl_mld_remove_nan_bcast_sta(struct iwl_mld * mld,struct iwl_mld_int_sta * sta) iwl_mld_remove_nan_bcast_sta() argument
1511 iwl_mld_remove_nan_mgmt_sta(struct iwl_mld * mld,struct iwl_mld_int_sta * sta) iwl_mld_remove_nan_mgmt_sta() argument
1517 iwl_mld_remove_nan_mcast_data_sta(struct iwl_mld * mld,struct iwl_mld_int_sta * sta) iwl_mld_remove_nan_mcast_data_sta() argument
[all...]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dsta.c10 #include "sta.h"
37 /* d0i3/d3 assumes the AP's sta_id (of sta vif) is 0. reserve it. */ in iwl_mvm_find_free_sta_id()
111 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 in iwl_mvm_sta_send_to_fw()
259 struct ieee80211_sta *sta; iwl_mvm_rx_agg_session_expired() local
308 struct ieee80211_sta *sta; iwl_mvm_invalidate_sta_queue() local
351 iwl_mvm_disable_txq(struct iwl_mvm * mvm,struct ieee80211_sta * sta,int sta_id,u16 * queueptr,u8 tid) iwl_mvm_disable_txq() argument
446 struct ieee80211_sta *sta; iwl_mvm_get_queue_agg_tids() local
486 struct ieee80211_sta *sta; iwl_mvm_remove_sta_queue_marking() local
812 iwl_mvm_get_queue_size(struct ieee80211_sta * sta) iwl_mvm_get_queue_size() argument
846 iwl_mvm_tvqm_enable_txq(struct iwl_mvm * mvm,struct ieee80211_sta * sta,u8 sta_id,u8 tid,unsigned int timeout) iwl_mvm_tvqm_enable_txq() argument
896 iwl_mvm_sta_alloc_queue_tvqm(struct iwl_mvm * mvm,struct ieee80211_sta * sta,u8 ac,int tid) iwl_mvm_sta_alloc_queue_tvqm() argument
930 iwl_mvm_update_txq_mapping(struct iwl_mvm * mvm,struct ieee80211_sta * sta,int queue,u8 sta_id,u8 tid) iwl_mvm_update_txq_mapping() argument
973 iwl_mvm_enable_txq(struct iwl_mvm * mvm,struct ieee80211_sta * sta,int queue,u16 ssn,const struct iwl_trans_txq_scd_cfg * cfg,unsigned int wdg_timeout) iwl_mvm_enable_txq() argument
1047 struct ieee80211_sta *sta; iwl_mvm_unshare_queue() local
1242 struct ieee80211_sta *sta; iwl_mvm_inactivity_check() local
1323 iwl_mvm_sta_alloc_queue(struct iwl_mvm * mvm,struct ieee80211_sta * sta,u8 ac,int tid) iwl_mvm_sta_alloc_queue() argument
1575 iwl_mvm_reserve_sta_stream(struct iwl_mvm * mvm,struct ieee80211_sta * sta,enum nl80211_iftype vif_type) iwl_mvm_reserve_sta_stream() argument
1624 iwl_mvm_realloc_queues_after_restart(struct iwl_mvm * mvm,struct ieee80211_sta * sta) iwl_mvm_realloc_queues_after_restart() argument
1694 iwl_mvm_add_int_sta_common(struct iwl_mvm * mvm,struct iwl_mvm_int_sta * sta,const u8 * addr,u16 mac_id,u16 color) iwl_mvm_add_int_sta_common() argument
1745 iwl_mvm_sta_init(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,int sta_id,u8 sta_type) iwl_mvm_sta_init() argument
1842 iwl_mvm_add_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_add_sta() argument
1955 struct ieee80211_sta *sta; iwl_mvm_rm_sta_common() local
1982 iwl_mvm_disable_sta_queues(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_disable_sta_queues() argument
2039 iwl_mvm_sta_del(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_link_sta * link_sta) iwl_mvm_sta_del() argument
2077 iwl_mvm_rm_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_rm_sta() argument
2149 iwl_mvm_allocate_int_sta(struct iwl_mvm * mvm,struct iwl_mvm_int_sta * sta,u32 qmask,enum nl80211_iftype iftype,u8 type) iwl_mvm_allocate_int_sta() argument
2168 iwl_mvm_dealloc_int_sta(struct iwl_mvm * mvm,struct iwl_mvm_int_sta * sta) iwl_mvm_dealloc_int_sta() argument
2206 iwl_mvm_add_int_sta_with_queue(struct iwl_mvm * mvm,int macidx,int maccolor,u8 * addr,struct iwl_mvm_int_sta * sta,u16 * queue,int fifo) iwl_mvm_add_int_sta_with_queue() argument
2758 iwl_mvm_fw_baid_op_sta(struct iwl_mvm * mvm,struct ieee80211_sta * sta,bool start,int tid,u16 ssn,u16 buf_size) iwl_mvm_fw_baid_op_sta() argument
2807 iwl_mvm_fw_baid_op_cmd(struct iwl_mvm * mvm,struct ieee80211_sta * sta,bool start,int tid,u16 ssn,u16 buf_size,int baid) iwl_mvm_fw_baid_op_cmd() argument
2859 iwl_mvm_fw_baid_op(struct iwl_mvm * mvm,struct ieee80211_sta * sta,bool start,int tid,u16 ssn,u16 buf_size,int baid) iwl_mvm_fw_baid_op() argument
2872 iwl_mvm_sta_rx_agg(struct iwl_mvm * mvm,struct ieee80211_sta * sta,int tid,u16 ssn,bool start,u16 buf_size,u16 timeout) iwl_mvm_sta_rx_agg() argument
3009 iwl_mvm_sta_tx_agg(struct iwl_mvm * mvm,struct ieee80211_sta * sta,int tid,u8 queue,bool start) iwl_mvm_sta_tx_agg() argument
3080 iwl_mvm_sta_tx_agg_start(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u16 tid,u16 * ssn) iwl_mvm_sta_tx_agg_start() argument
3185 iwl_mvm_sta_tx_agg_oper(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u16 tid,u16 buf_size,bool amsdu) iwl_mvm_sta_tx_agg_oper() argument
3338 iwl_mvm_sta_tx_agg_stop(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u16 tid) iwl_mvm_sta_tx_agg_stop() argument
3411 iwl_mvm_sta_tx_agg_flush(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u16 tid) iwl_mvm_sta_tx_agg_flush() argument
3485 iwl_mvm_get_key_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_get_key_sta() argument
3771 iwl_mvm_get_mac_addr(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_get_mac_addr() argument
3795 __iwl_mvm_set_sta_key(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf,u8 key_offset,bool mcast) __iwl_mvm_set_sta_key() argument
3843 iwl_mvm_set_sta_key(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf,u8 key_offset) iwl_mvm_set_sta_key() argument
3945 iwl_mvm_remove_sta_key(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf) iwl_mvm_remove_sta_key() argument
4004 iwl_mvm_update_tkip_key(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_key_conf * keyconf,struct ieee80211_sta * sta,u32 iv32,u16 * phase1key) iwl_mvm_update_tkip_key() argument
4025 iwl_mvm_sta_modify_ps_wake(struct iwl_mvm * mvm,struct ieee80211_sta * sta) iwl_mvm_sta_modify_ps_wake() argument
4043 iwl_mvm_sta_modify_sleep_tx_count(struct iwl_mvm * mvm,struct ieee80211_sta * sta,enum ieee80211_frame_release_type reason,u16 cnt,u16 tids,bool more_data,bool single_sta_queue) iwl_mvm_sta_modify_sleep_tx_count() argument
4128 struct ieee80211_sta *sta; iwl_mvm_rx_eosp_notif() local
4167 iwl_mvm_sta_modify_disable_tx_ap(struct iwl_mvm * mvm,struct ieee80211_sta * sta,bool disable) iwl_mvm_sta_modify_disable_tx_ap() argument
4201 iwl_mvm_int_sta_modify_disable_tx(struct iwl_mvm * mvm,struct iwl_mvm_vif * mvmvif,struct iwl_mvm_int_sta * sta,bool disable) iwl_mvm_int_sta_modify_disable_tx() argument
4224 struct ieee80211_sta *sta; iwl_mvm_modify_all_sta_disable_tx() local
[all...]
/linux/arch/riscv/kvm/
H A Dvcpu_sbi_sta.c21 vcpu->arch.sta.shmem = INVALID_GPA; in kvm_riscv_vcpu_sbi_sta_reset()
22 vcpu->arch.sta.last_steal = 0; in kvm_riscv_vcpu_sbi_sta_reset()
27 gpa_t shmem = vcpu->arch.sta.shmem; in kvm_riscv_vcpu_record_steal_time()
28 u64 last_steal = vcpu->arch.sta.last_steal; in kvm_riscv_vcpu_record_steal_time()
50 vcpu->arch.sta.shmem = INVALID_GPA; in kvm_riscv_vcpu_record_steal_time()
70 vcpu->arch.sta.last_steal = READ_ONCE(current->sched_info.run_delay); in kvm_riscv_vcpu_record_steal_time()
71 steal += vcpu->arch.sta.last_steal - last_steal; in kvm_riscv_vcpu_record_steal_time()
96 vcpu->arch.sta.shmem = INVALID_GPA; in kvm_sbi_sta_steal_time_set_shmem()
117 vcpu->arch.sta.shmem = shmem; in kvm_sbi_sta_steal_time_set_shmem()
118 vcpu->arch.sta.last_steal = current->sched_info.run_delay; in kvm_sbi_sta_steal_time_set_shmem()
[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/mediatek/mt76/
H A Dtx.c11 if (!txq->sta) in mt76_txq_get_qid()
18 mt76_tx_check_agg_ssn(struct ieee80211_sta *sta, struct sk_buff *skb) in mt76_tx_check_agg_ssn() argument
25 if (!sta || !ieee80211_is_data_qos(hdr->frame_control) || in mt76_tx_check_agg_ssn()
30 txq = sta->txq[tid]; in mt76_tx_check_agg_ssn()
69 status.sta = wcid_to_sta(wcid); in mt76_tx_status_unlock()
70 if (status.sta && (wcid->rate.flags || wcid->rate.legacy)) { in mt76_tx_status_unlock()
235 struct ieee80211_sta *sta; in mt76_tx_check_non_aql()
248 sta = wcid_to_sta(wcid); in mt76_tx_check_non_aql()
249 if (!sta || pending != MT_MAX_NON_AQL_PKT - 1) in mt76_tx_check_non_aql()
252 for (i = 0; i < ARRAY_SIZE(sta in mt76_tx_check_non_aql()
230 struct ieee80211_sta *sta; mt76_tx_check_non_aql() local
274 struct ieee80211_sta *sta = wcid_to_sta(wcid); __mt76_tx_complete_skb() local
329 __mt76_tx_queue_skb(struct mt76_phy * phy,int qid,struct sk_buff * skb,struct mt76_wcid * wcid,struct ieee80211_sta * sta,bool * stop) __mt76_tx_queue_skb() argument
358 mt76_tx(struct mt76_phy * phy,struct ieee80211_sta * sta,struct mt76_wcid * wcid,struct sk_buff * skb) mt76_tx() argument
417 mt76_queue_ps_skb(struct mt76_phy * phy,struct ieee80211_sta * sta,struct sk_buff * skb,bool last,enum ieee80211_frame_release_type reason) mt76_queue_ps_skb() argument
440 mt76_release_buffered_frames(struct ieee80211_hw * hw,struct ieee80211_sta * sta,u16 tids,int nframes,enum ieee80211_frame_release_type reason,bool more_data) mt76_release_buffered_frames() argument
620 struct ieee80211_sta *sta = txq->sta; mt76_txq_schedule_list() local
669 struct ieee80211_sta *sta; mt76_txq_schedule_pending_wcid() local
797 mt76_stop_tx_queues(struct mt76_phy * phy,struct ieee80211_sta * sta,bool send_bar) mt76_stop_tx_queues() argument
823 struct ieee80211_sta *sta; mt76_sta_ps_transition() local
[all...]
/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmain.c69 mvif->sta.wcid.idx = idx; in mt7603_add_interface()
70 mvif->sta.vif = mvif; in mt7603_add_interface()
71 mt76_wcid_init(&mvif->sta.wcid, 0); in mt7603_add_interface()
78 rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid); in mt7603_add_interface()
90 struct mt7603_sta *msta = &mvif->sta; in mt7603_remove_interface()
111 mt76_wcid_cleanup(&dev->mt76, &mvif->sta.wcid); in mt7603_remove_interface()
328 struct ieee80211_sta *sta) in mt7603_sta_add() argument
331 struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv; in mt7603_sta_add()
344 msta->wcid.sta = 1; in mt7603_sta_add()
347 mt7603_wtbl_init(dev, idx, mvif->idx, sta->addr); in mt7603_sta_add()
[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>>...14