| /linux/net/mac80211/ |
| H A D | sta_info.c | 51 * 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 1618 __sta_info_destroy(struct sta_info * sta) __sta_info_destroy() argument 1634 struct sta_info *sta; sta_info_destroy_addr() local 1645 struct sta_info *sta; sta_info_destroy_addr_bss() local 1657 struct sta_info *sta; sta_info_cleanup() local 1709 struct sta_info *sta, *tmp; __sta_info_flush() local 1759 struct sta_info *sta, *tmp; ieee80211_sta_expire() local 1788 struct sta_info *sta; ieee80211_find_sta_by_ifaddr() local 1810 struct sta_info *sta; ieee80211_find_sta() local 1827 ieee80211_sta_ps_deliver_wakeup(struct sta_info * sta) ieee80211_sta_ps_deliver_wakeup() argument 1910 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 2013 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 2041 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 2097 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 2287 ieee80211_sta_ps_deliver_poll_response(struct sta_info * sta) ieee80211_sta_ps_deliver_poll_response() argument 2303 ieee80211_sta_ps_deliver_uapsd(struct sta_info * sta) ieee80211_sta_ps_deliver_uapsd() argument 2340 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_block_awake() local 2371 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_eosp() local 2382 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_send_eosp_nullfunc() local 2399 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_set_buffered() local 2418 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_register_airtime() local 2439 __ieee80211_sta_recalc_aggregates(struct sta_info * sta,u16 active_links) __ieee80211_sta_recalc_aggregates() argument 2486 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_recalc_aggregates() local 2493 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 2548 sta_get_last_rx_stats(struct sta_info * sta,int link_id) sta_get_last_rx_stats() argument 2654 sta_set_rate_info_rx(struct sta_info * sta,struct rate_info * rinfo,int link_id) sta_set_rate_info_rx() argument 2680 sta_set_tidstats(struct sta_info * sta,struct cfg80211_tid_stats * tidstats,int tid,int link_id) sta_set_tidstats() argument 2757 sta_set_mesh_sinfo(struct sta_info * sta,struct station_info * sinfo) sta_set_mesh_sinfo() argument 2789 sta_set_accumulated_removed_links_sinfo(struct sta_info * sta,struct station_info * sinfo) sta_set_accumulated_removed_links_sinfo() argument 2815 sta_estimate_expected_throughput(struct sta_info * sta,struct rate_info * ri,struct ieee80211_bss_conf * bss_conf) sta_estimate_expected_throughput() argument 2837 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 3079 sta_set_sinfo(struct sta_info * sta,struct station_info * sinfo,bool tidstats) sta_set_sinfo() argument 3371 sta_get_expected_throughput(struct sta_info * sta) sta_get_expected_throughput() argument 3390 ieee80211_sta_last_active(struct sta_info * sta,int link_id) ieee80211_sta_last_active() argument 3410 ieee80211_sta_allocate_link(struct sta_info * sta,unsigned int link_id) ieee80211_sta_allocate_link() argument 3445 ieee80211_sta_free_link(struct sta_info * sta,unsigned int link_id) ieee80211_sta_free_link() argument 3454 ieee80211_sta_activate_link(struct sta_info * sta,unsigned int link_id) ieee80211_sta_activate_link() argument 3502 ieee80211_sta_remove_link(struct sta_info * sta,unsigned int link_id) ieee80211_sta_remove_link() argument 3633 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 3659 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); lockdep_sta_mutex_held() local 3801 struct sta_info *sta = link_sta->sta; ieee80211_sta_current_bw_tx_to_sta() local [all...] |
| H A D | agg-tx.c | 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->lock); in ieee80211_assign_tid_tx() 139 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); in ieee80211_assign_tid_tx() 182 ieee80211_agg_stop_txq(struct sta_info *sta, int tid) in ieee80211_agg_stop_txq() argument 184 struct ieee80211_txq *txq = sta->sta.txq[tid]; in ieee80211_agg_stop_txq() [all …]
|
| H A D | tdls.c | 309 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() [all …]
|
| H A D | rate.c | 33 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() 60 ieee80211_s1g_sta_rate_init(sta); in rate_control_rate_init() 65 spin_lock_bh(&sta->rate_ctrl_lock); in rate_control_rate_init() 68 spin_unlock_bh(&sta->rate_ctrl_lock); in rate_control_rate_init() [all …]
|
| H A D | sta_info.h | 149 struct sta_info *sta, u8 ac, 191 struct sta_info *sta; member 246 struct sta_info *sta; member 534 struct sta_info *sta; member 791 struct ieee80211_sta sta; member 794 static inline int ieee80211_tdls_sta_link_id(struct sta_info *sta) in ieee80211_tdls_sta_link_id() argument 797 return sta->sta.valid_links ? __ffs(sta->sta.valid_links) : 0; in ieee80211_tdls_sta_link_id() 800 static inline enum nl80211_plink_state sta_plink_state(struct sta_info *sta) in sta_plink_state() argument 803 return sta->mesh->plink_state; in sta_plink_state() 808 static inline void set_sta_flag(struct sta_info *sta, in set_sta_flag() argument [all …]
|
| H A D | s1g.c | 12 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 123 drv_add_twt_setup(sdata->local, sdata, &sta->sta, twt); in ieee80211_s1g_rx_twt_setup() 130 struct sta_info *sta, struct sk_buff *skb) in ieee80211_s1g_rx_twt_teardown() argument 134 drv_twt_teardown_request(sdata->local, sdata, &sta->sta, in ieee80211_s1g_rx_twt_teardown() 140 struct sta_info *sta, struct sk_buff *skb) in ieee80211_s1g_tx_twt_setup_fail() argument 148 drv_twt_teardown_request(sdata->local, sdata, &sta->sta, flowid); in ieee80211_s1g_tx_twt_setup_fail() 159 struct sta_info *sta; in ieee80211_s1g_rx_twt_action() local [all …]
|
| H A D | status.c | 45 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_ST in ieee80211_handle_filtered_frame() 172 ieee80211_check_pending_bar(struct sta_info * sta,u8 * addr,u8 tid) ieee80211_check_pending_bar() argument 184 ieee80211_frame_acked(struct sta_info * sta,struct sk_buff * skb) ieee80211_frame_acked() argument 197 ieee80211_set_bar_pending(struct sta_info * sta,u8 tid,u16 ssn) ieee80211_set_bar_pending() argument 772 struct sta_info *sta; ieee80211_report_used_skb() local 870 ieee80211_lost_packet(struct sta_info * sta,struct ieee80211_tx_info * info) ieee80211_lost_packet() argument 1006 struct sta_info *sta; __ieee80211_tx_status() local 1154 struct sta_info *sta; ieee80211_tx_status_skb() local 1174 struct sta_info *sta = NULL; ieee80211_tx_status_ext() local 1297 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_tx_rate_update() local 1312 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_report_low_ack() local [all...] |
| H A D | tx.c | 300 if (tx->sta) in ieee80211_tx_h_check_assoc() 301 assoc = test_sta_flag(tx->sta, WLAN_STA_ASSOC); in ieee80211_tx_h_check_assoc() 335 struct sta_info *sta; in purge_old_ps_buffers() local 359 list_for_each_entry_rcu(sta, &local->sta_list, list) { in purge_old_ps_buffers() 363 skb = skb_dequeue(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers() 364 total += skb_queue_len(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers() 442 static int ieee80211_use_mfp(__le16 fc, struct sta_info *sta, in ieee80211_use_mfp() argument 448 if (sta == NULL || !test_sta_flag(sta, WLAN_STA_MFP)) in ieee80211_use_mfp() 460 struct sta_info *sta in 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 2676 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 3126 ieee80211_check_fast_xmit(struct sta_info * sta) ieee80211_check_fast_xmit() argument 3376 struct sta_info *sta; ieee80211_check_fast_xmit_all() local 3387 struct sta_info *sta; ieee80211_check_fast_xmit_iface() local 3401 ieee80211_clear_fast_xmit(struct sta_info * sta) ieee80211_clear_fast_xmit() argument 3499 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 3650 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 3768 __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 3858 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 4021 struct sta_info *sta = container_of(txq->sta, struct sta_info, ieee80211_tx_dequeue() local 4115 ieee80211_sta_deficit(struct sta_info * sta,u8 ac) ieee80211_sta_deficit() argument 4125 struct sta_info *sta; ieee80211_txq_set_active() local 4137 struct sta_info *sta; ieee80211_txq_keep_active() local 4184 struct sta_info *sta = container_of(txqi->txq.sta, ieee80211_next_txq() local 4257 struct sta_info *sta; ieee80211_txq_airtime_check() local 4292 struct sta_info *sta; ieee80211_txq_aql_pending() local 4330 struct sta_info *sta; ieee80211_txq_may_transmit() local 4404 struct sta_info *sta; __ieee80211_subif_start_xmit() local 4478 ieee80211_change_da(struct sk_buff * skb,struct sta_info * sta) ieee80211_change_da() argument 4540 struct sta_info *sta, *first = NULL; ieee80211_convert_to_unicast() local 4672 __ieee80211_tx_8023(struct ieee80211_sub_if_data * sdata,struct sk_buff * skb,struct sta_info * sta,bool txpending) __ieee80211_tx_8023() argument 4709 ieee80211_tx_8023(struct ieee80211_sub_if_data * sdata,struct sk_buff * skb,struct sta_info * sta,bool txpending) ieee80211_tx_8023() argument 4729 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 4847 struct sta_info *sta; __ieee80211_subif_start_xmit_8023() local 4930 struct sta_info *sta; ieee80211_build_data_template() local 4985 struct sta_info *sta; ieee80211_tx_pending_skb() local 6186 struct sta_info *sta; ieee80211_nullfunc_get() local 6380 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_reserve_tid() local 6444 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_unreserve_tid() local 6564 struct sta_info *sta; ieee80211_tx_control_port() local [all...] |
| H A D | rx.c | 226 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 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 2906 struct sta_info *sta; ieee80211_rx_mesh_fast_forward() local 2961 ieee80211_rx_mesh_data(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,struct sk_buff * skb) ieee80211_rx_mesh_data() argument 4324 ieee80211_rx_is_valid_sta_link_id(struct ieee80211_sta * sta,u8 link_id) ieee80211_rx_is_valid_sta_link_id() argument 4347 ieee80211_rx_data_set_sta(struct ieee80211_rx_data * rx,struct sta_info * sta,int link_id) ieee80211_rx_data_set_sta() argument 4379 ieee80211_release_reorder_timeout(struct sta_info * sta,int tid) ieee80211_release_reorder_timeout() argument 4424 struct sta_info *sta; ieee80211_mark_rx_ba_filtered_frames() local 4722 ieee80211_check_fast_rx(struct sta_info * sta) ieee80211_check_fast_rx() argument 4874 ieee80211_clear_fast_rx(struct sta_info * sta) ieee80211_clear_fast_rx() argument 4890 struct sta_info *sta; __ieee80211_check_fast_rx_iface() local 4917 struct sta_info *sta = rx->sta; ieee80211_rx_8023() local 5267 struct sta_info *sta; __ieee80211_rx_handle_8023() local 5315 struct sta_info *sta; ieee80211_rx_for_interface() local 5430 struct sta_info *sta, *prev_sta; __ieee80211_rx_handle_packet() local [all...] |
| H A D | ibss.c | 538 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->deflink); in ieee80211_ibss_finish_sta() 561 if (sta_info_insert_rcu(sta)) in ieee80211_ibss_finish_sta() [all …]
|
| H A D | cfg.c | 270 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() 594 struct sta_info *sta; in ieee80211_set_tx() local 601 sta = sta_info_get_bss(sdata, mac_addr); in ieee80211_set_tx() 603 if (!sta) in ieee80211_set_tx() 606 if (sta->ptk_idx == key_idx) in ieee80211_set_tx() 609 key = wiphy_dereference(local->hw.wiphy, sta->ptk[key_idx]); in ieee80211_set_tx() [all …]
|
| /linux/arch/sparc/mm/ |
| H A D | swift.S | 34 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 D | hypersparc.S | 36 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 D | viking.S | 132 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 D | rc.c | 16 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 D | mfp.c | 16 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 D | sta.c | 28 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 D | sta.c | 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() 505 memcpy(&cmd.peer_mld_address, sta->addr, ETH_ALEN); in iwl_mld_add_modify_sta_cmd() 509 cmd.assoc_id = cpu_to_le32(sta->aid); in iwl_mld_add_modify_sta_cmd() 511 if (sta->mfp || mld_sta->sta_state < IEEE80211_STA_AUTHORIZED) in iwl_mld_add_modify_sta_cmd() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | sta.c | 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->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/arch/riscv/kvm/ |
| H A D | vcpu_sbi_sta.c | 21 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 D | rx_reorder.c | 83 __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 D | tx.c | 11 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() 230 struct ieee80211_sta *sta; in mt76_tx_check_non_aql() local 241 sta = wcid_to_sta(wcid); in mt76_tx_check_non_aql() 242 if (!sta || pending != MT_MAX_NON_AQL_PKT - 1) in mt76_tx_check_non_aql() 245 for (i = 0; i < ARRAY_SIZE(sta->txq); i++) { in mt76_tx_check_non_aql() [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
| H A D | main.c | 69 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 D | i2c-algo-pca.c | 70 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 …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | main.c | 236 mvif->mt76.wcid = &mvif->sta.wcid; in mt7915_add_interface() 255 INIT_LIST_HEAD(&mvif->sta.rc_list); in mt7915_add_interface() 256 mvif->sta.wcid.idx = idx; in mt7915_add_interface() 257 mvif->sta.wcid.tx_info |= MT_WCID_TX_INFO_SET; in mt7915_add_interface() 258 mt76_wcid_init(&mvif->sta.wcid, phy->mt76->band_idx); in mt7915_add_interface() 278 rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid); in mt7915_add_interface() 300 struct mt7915_sta *msta = &mvif->sta; in mt7915_remove_interface() 322 mt76_wcid_mask_clear(dev->mt76.wcid_mask, mvif->sta.wcid.idx); in mt7915_remove_interface() 366 struct ieee80211_vif *vif, struct ieee80211_sta *sta, in mt7915_set_key() argument 372 struct mt7915_sta *msta = sta ? (struct mt7915_sta *)sta->drv_priv : in mt7915_set_key() [all …]
|