/kernel/linux/linux-6.6/net/mac80211/ |
H A D | sta_info.c | 52 * we support. For a regular station this mean we add the AP sta when we 54 * get to know about a peer on the same IBSS. For WDS we add the sta for 69 struct ieee80211_link_sta sta; member 93 struct sta_info *sta) in sta_info_hash_del() 95 return rhltable_remove(&local->sta_hash, &sta->hash_node, in sta_info_hash_del() 117 static void __cleanup_single_sta(struct sta_info *sta) in __cleanup_single_sta() argument 121 struct ieee80211_sub_if_data *sdata = sta->sdata; in __cleanup_single_sta() 125 if (test_sta_flag(sta, WLAN_STA_PS_STA) || in __cleanup_single_sta() 126 test_sta_flag(sta, WLAN_STA_PS_DRIVER) || in __cleanup_single_sta() 127 test_sta_flag(sta, WLAN_STA_PS_DELIVE in __cleanup_single_sta() 92 sta_info_hash_del(struct ieee80211_local *local, struct sta_info *sta) sta_info_hash_del() argument 181 cleanup_single_sta(struct sta_info *sta) cleanup_single_sta() argument 202 struct sta_info *sta; sta_info_get() local 227 struct sta_info *sta; sta_info_get_bss() local 260 struct sta_info *sta = link_sta->sta; link_sta_info_get_bss() local 286 struct sta_info *sta = link_sta->sta; ieee80211_find_sta_by_link_addrs() local 316 struct sta_info *sta; sta_info_get_by_addrs() local 330 struct sta_info *sta; sta_info_get_by_idx() local 352 sta_remove_link(struct sta_info *sta, unsigned int link_id, bool unhash) sta_remove_link() argument 396 sta_info_free(struct ieee80211_local *local, struct sta_info *sta) sta_info_free() argument 444 sta_info_hash_add(struct ieee80211_local *local, struct sta_info *sta) sta_info_hash_add() argument 453 struct sta_info *sta; sta_deliver_ps_frames() local 470 sta_prepare_rate_control(struct ieee80211_local *local, struct sta_info *sta, gfp_t gfp) sta_prepare_rate_control() argument 510 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 534 struct sta_info *sta; __sta_info_alloc() local 719 sta_info_insert_check(struct sta_info *sta) sta_info_insert_check() argument 751 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 793 struct sta_info *sta; ieee80211_recalc_p2p_go_ps_allowed() local 956 sta_info_insert(struct sta_info *sta) sta_info_insert() argument 1010 __sta_info_recalc_tim(struct sta_info *sta, bool ignore_pending) __sta_info_recalc_tim() argument 1092 sta_info_recalc_tim(struct sta_info *sta) sta_info_recalc_tim() argument 1097 sta_info_buffer_expired(struct sta_info *sta, struct sk_buff *skb) sta_info_buffer_expired() argument 1117 sta_info_cleanup_expire_buffered_ac(struct ieee80211_local *local, struct sta_info *sta, int ac) sta_info_cleanup_expire_buffered_ac() argument 1195 sta_info_cleanup_expire_buffered(struct ieee80211_local *local, struct sta_info *sta) sta_info_cleanup_expire_buffered() argument 1213 __sta_info_destroy_part1(struct sta_info *sta) __sta_info_destroy_part1() argument 1283 _sta_info_move_state(struct sta_info *sta, enum ieee80211_sta_state new_state, bool recalc) _sta_info_move_state() argument 1387 sta_info_move_state(struct sta_info *sta, enum ieee80211_sta_state new_state) sta_info_move_state() argument 1393 __sta_info_destroy_part2(struct sta_info *sta, bool recalc) __sta_info_destroy_part2() argument 1465 __sta_info_destroy(struct sta_info *sta) __sta_info_destroy() argument 1481 struct sta_info *sta; sta_info_destroy_addr() local 1495 struct sta_info *sta; sta_info_destroy_addr_bss() local 1509 struct sta_info *sta; sta_info_cleanup() local 1561 struct sta_info *sta, *tmp; __sta_info_flush() local 1603 struct sta_info *sta, *tmp; ieee80211_sta_expire() local 1634 struct sta_info *sta; ieee80211_find_sta_by_ifaddr() local 1656 struct sta_info *sta; ieee80211_find_sta() local 1673 ieee80211_sta_ps_deliver_wakeup(struct sta_info *sta) ieee80211_sta_ps_deliver_wakeup() argument 1756 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 1859 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 1887 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 1943 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 2133 ieee80211_sta_ps_deliver_poll_response(struct sta_info *sta) ieee80211_sta_ps_deliver_poll_response() argument 2149 ieee80211_sta_ps_deliver_uapsd(struct sta_info *sta) ieee80211_sta_ps_deliver_uapsd() argument 2186 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_block_awake() local 2217 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_eosp() local 2228 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_send_eosp_nullfunc() local 2245 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_set_buffered() local 2264 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_register_airtime() local 2287 __ieee80211_sta_recalc_aggregates(struct sta_info *sta, u16 active_links) __ieee80211_sta_recalc_aggregates() argument 2334 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_recalc_aggregates() local 2340 ieee80211_sta_update_pending_airtime(struct ieee80211_local *local, struct sta_info *sta, u8 ac, u16 tx_airtime, bool tx_completed) ieee80211_sta_update_pending_airtime() argument 2381 sta_get_last_rx_stats(struct sta_info *sta) sta_get_last_rx_stats() argument 2460 sta_set_rate_info_rx(struct sta_info *sta, struct rate_info *rinfo) sta_set_rate_info_rx() argument 2485 sta_set_tidstats(struct sta_info *sta, struct cfg80211_tid_stats *tidstats, int tid) sta_set_tidstats() argument 2553 sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo, bool tidstats) sta_set_sinfo() argument 2824 sta_get_expected_throughput(struct sta_info *sta) sta_get_expected_throughput() argument 2843 ieee80211_sta_last_active(struct sta_info *sta) ieee80211_sta_last_active() argument 2853 sta_update_codel_params(struct sta_info *sta, u32 thr) sta_update_codel_params() argument 2869 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_set_expected_throughput() local 2874 ieee80211_sta_allocate_link(struct sta_info *sta, unsigned int link_id) ieee80211_sta_allocate_link() argument 2907 ieee80211_sta_free_link(struct sta_info *sta, unsigned int link_id) ieee80211_sta_free_link() argument 2914 ieee80211_sta_activate_link(struct sta_info *sta, unsigned int link_id) ieee80211_sta_activate_link() argument 2962 ieee80211_sta_remove_link(struct sta_info *sta, unsigned int link_id) ieee80211_sta_remove_link() argument 2978 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 3004 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); lockdep_sta_mutex_held() local [all...] |
H A D | agg-tx.c | 57 * Note that the sta can get destroyed before the BA tear down is 142 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid, in ieee80211_assign_tid_tx() argument 145 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ieee80211_assign_tid_tx() 146 lockdep_assert_held(&sta->lock); in ieee80211_assign_tid_tx() 147 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); in ieee80211_assign_tid_tx() 190 ieee80211_agg_stop_txq(struct sta_info *sta, int tid) in ieee80211_agg_stop_txq() argument 192 struct ieee80211_txq *txq = sta->sta.txq[tid]; in ieee80211_agg_stop_txq() 211 ieee80211_agg_start_txq(struct sta_info *sta, int tid, bool enable) in ieee80211_agg_start_txq() argument 213 struct ieee80211_txq *txq = sta in ieee80211_agg_start_txq() 270 ieee80211_remove_tid_tx(struct sta_info *sta, int tid) ieee80211_remove_tid_tx() argument 299 ___ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid, enum ieee80211_agg_stop_reason reason) ___ieee80211_stop_tx_ba_session() argument 435 struct sta_info *sta = tid_tx->sta; sta_addba_resp_timer_expired() local 452 ieee80211_send_addba_with_timeout(struct sta_info *sta, struct tid_ampdu_tx *tid_tx) ieee80211_send_addba_with_timeout() argument 496 ieee80211_tx_ba_session_handle_start(struct sta_info *sta, int tid) ieee80211_tx_ba_session_handle_start() argument 566 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_refresh_tx_agg_session_timer() local 587 struct sta_info *sta = tid_tx->sta; sta_tx_agg_session_timer_expired() local 610 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_start_tx_ba_session() local 755 ieee80211_agg_tx_operational(struct ieee80211_local *local, struct sta_info *sta, u16 tid) ieee80211_agg_tx_operational() argument 798 ieee80211_start_tx_ba_cb(struct sta_info *sta, int tid, struct tid_ampdu_tx *tid_tx) ieee80211_start_tx_ba_cb() argument 824 ieee80211_lookup_tid_tx(struct ieee80211_sub_if_data *sdata, const u8 *ra, u16 tid, struct sta_info **sta) ieee80211_lookup_tid_tx() argument 854 struct sta_info *sta; ieee80211_start_tx_ba_cb_irqsafe() local 871 __ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid, enum ieee80211_agg_stop_reason reason) __ieee80211_stop_tx_ba_session() argument 887 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_stop_tx_ba_session() local 927 ieee80211_stop_tx_ba_cb(struct sta_info *sta, int tid, struct tid_ampdu_tx *tid_tx) ieee80211_stop_tx_ba_cb() argument 968 struct sta_info *sta; ieee80211_stop_tx_ba_cb_irqsafe() local 986 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 D | mesh_plink.c | 57 /* We only need a valid sta if user configured a minimum rssi_threshold. */ 59 struct sta_info *sta) in rssi_threshold_check() 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() 58 rssi_threshold_check(struct ieee80211_sub_if_data *sdata, struct sta_info *sta) rssi_threshold_check() argument 97 struct sta_info *sta; mesh_set_short_slot_time() local 160 struct sta_info *sta; mesh_set_ht_prot_mode() local 211 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 369 __mesh_plink_deactivate(struct sta_info *sta) __mesh_plink_deactivate() argument 394 mesh_plink_deactivate(struct sta_info *sta) mesh_plink_deactivate() argument 419 mesh_sta_info_init(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, struct ieee802_11_elems *elems) mesh_sta_info_init() argument 489 struct sta_info *sta; mesh_allocate_aid() local 517 struct sta_info *sta; __mesh_sta_info_alloc() local 547 struct sta_info *sta = NULL; mesh_sta_info_alloc() local 586 struct sta_info *sta = NULL; __acquires() local 625 struct sta_info *sta; mesh_neighbour_update() local 651 struct sta_info *sta; mesh_plink_timer() local 740 mesh_plink_timer_set(struct sta_info *sta, u32 timeout) mesh_plink_timer_set() argument 751 struct sta_info *sta; llid_in_use() local 779 mesh_plink_open(struct sta_info *sta) mesh_plink_open() argument 809 mesh_plink_block(struct sta_info *sta) mesh_plink_block() argument 822 mesh_plink_close(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, enum plink_event event) mesh_plink_close() argument 835 mesh_plink_establish(struct ieee80211_sub_if_data *sdata, struct sta_info *sta) mesh_plink_establish() argument 861 mesh_plink_fsm(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, enum plink_event event) mesh_plink_fsm() argument 1021 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 1118 struct sta_info *sta; mesh_process_plink_frame() local [all...] |
H A D | mesh_ps.c | 17 * @sta: the station to get the frame for 19 static struct sk_buff *mps_qos_null_get(struct sta_info *sta) in mps_qos_null_get() argument 21 struct ieee80211_sub_if_data *sdata = sta->sdata; in mps_qos_null_get() 35 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr, in mps_qos_null_get() 41 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in mps_qos_null_get() 43 ieee80211_mps_set_frame_flags(sdata, sta, nullfunc); in mps_qos_null_get() 50 * @sta: the station to send to 52 static void mps_qos_null_tx(struct sta_info *sta) in mps_qos_null_tx() argument 84 struct sta_info *sta; ieee80211_mps_local_status_update() local 152 ieee80211_mps_set_sta_local_pm(struct sta_info *sta, enum nl80211_mesh_power_mode pm) ieee80211_mps_set_sta_local_pm() argument 187 ieee80211_mps_set_frame_flags(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, struct ieee80211_hdr *hdr) ieee80211_mps_set_frame_flags() argument 232 ieee80211_mps_sta_status_update(struct sta_info *sta) ieee80211_mps_sta_status_update() argument 275 mps_set_sta_peer_pm(struct sta_info *sta, struct ieee80211_hdr *hdr) mps_set_sta_peer_pm() argument 311 mps_set_sta_nonpeer_pm(struct sta_info *sta, struct ieee80211_hdr *hdr) mps_set_sta_nonpeer_pm() argument 338 ieee80211_mps_rx_h_sta_process(struct sta_info *sta, struct ieee80211_hdr *hdr) ieee80211_mps_rx_h_sta_process() argument 351 sta, false, false); ieee80211_mps_rx_h_sta_process() local 364 mpsp_trigger_send(struct sta_info *sta, bool rspi, bool eosp) mpsp_trigger_send() argument 414 mpsp_qos_null_append(struct sta_info *sta, struct sk_buff_head *frames) mpsp_qos_null_append() argument 452 mps_frame_deliver(struct sta_info *sta, int n_frames) mps_frame_deliver() argument 539 ieee80211_mpsp_trigger_process(u8 *qc, struct sta_info *sta, bool tx, bool acked) ieee80211_mpsp_trigger_process() argument 577 ieee80211_mps_frame_release(struct sta_info *sta, struct ieee802_11_elems *elems) ieee80211_mps_frame_release() argument [all...] |
H A D | agg-rx.c | 58 void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in ___ieee80211_stop_rx_ba_session() argument 61 struct ieee80211_local *local = sta->local; in ___ieee80211_stop_rx_ba_session() 64 .sta = &sta->sta, in ___ieee80211_stop_rx_ba_session() 72 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ___ieee80211_stop_rx_ba_session() 74 tid_rx = rcu_dereference_protected(sta->ampdu_mlme.tid_rx[tid], in ___ieee80211_stop_rx_ba_session() 75 lockdep_is_held(&sta->ampdu_mlme.mtx)); in ___ieee80211_stop_rx_ba_session() 77 if (!test_bit(tid, sta->ampdu_mlme.agg_session_valid)) in ___ieee80211_stop_rx_ba_session() 80 RCU_INIT_POINTER(sta in ___ieee80211_stop_rx_ba_session() 117 __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, u16 initiator, u16 reason, bool tx) __ieee80211_stop_rx_ba_session() argument 129 struct sta_info *sta; ieee80211_stop_rx_ba_session() local 155 struct sta_info *sta = tid_rx->sta; sta_rx_agg_session_timer_expired() local 199 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 struct ieee80211_addba_ext_ie *addbaext) ieee80211_send_addba_resp() argument 253 ___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 struct ieee80211_addba_ext_ie *addbaext) ___ieee80211_start_rx_ba_session() argument 447 __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 struct ieee80211_addba_ext_ie *addbaext) __ieee80211_start_rx_ba_session() argument 461 ieee80211_process_addba_request(struct ieee80211_local *local, struct sta_info *sta, struct ieee80211_mgmt *mgmt, size_t len) ieee80211_process_addba_request() argument 511 struct sta_info *sta; ieee80211_manage_rx_ba_offl() local 530 struct sta_info *sta; ieee80211_rx_ba_timer_expired() local [all...] |
H A D | rate.h | 26 struct sta_info *sta, 32 void rate_control_rate_init(struct sta_info *sta); 35 struct sta_info *sta, 40 struct sta_info *sta, gfp_t gfp) in rate_control_alloc_sta() 42 spin_lock_init(&sta->rate_ctrl_lock); in rate_control_alloc_sta() 43 return ref->ops->alloc_sta(ref->priv, &sta->sta, gfp); in rate_control_alloc_sta() 46 static inline void rate_control_free_sta(struct sta_info *sta) in rate_control_free_sta() argument 48 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_free_sta() 49 struct ieee80211_sta *ista = &sta in rate_control_free_sta() 39 rate_control_alloc_sta(struct rate_control_ref *ref, struct sta_info *sta, gfp_t gfp) rate_control_alloc_sta() argument 55 rate_control_add_sta_debugfs(struct sta_info *sta) rate_control_add_sta_debugfs() argument [all...] |
H A D | rate.c | 31 void rate_control_rate_init(struct sta_info *sta) in rate_control_rate_init() argument 33 struct ieee80211_local *local = sta->sdata->local; in rate_control_rate_init() 34 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_rate_init() 35 struct ieee80211_sta *ista = &sta->sta; in rate_control_rate_init() 36 void *priv_sta = sta->rate_ctrl_priv; in rate_control_rate_init() 40 ieee80211_sta_set_rx_nss(&sta->deflink); in rate_control_rate_init() 47 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); in rate_control_rate_init() 57 ieee80211_s1g_sta_rate_init(sta); in rate_control_rate_init() 62 spin_lock_bh(&sta in rate_control_rate_init() 74 struct sta_info *sta = container_of(st->sta, struct sta_info, sta); rate_control_tx_status() local 94 rate_control_rate_update(struct ieee80211_local *local, struct ieee80211_supported_band *sband, struct sta_info *sta, unsigned int link_id, u32 changed) rate_control_rate_update() argument 346 __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 400 struct sta_info *sta; rate_control_send_low() local 718 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 756 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 807 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 832 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 871 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 901 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 948 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); rate_control_set_rates() local [all...] |
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | sta_info.c | 52 * we support. For a regular station this mean we add the AP sta when we 54 * get to know about a peer on the same IBSS. For WDS we add the sta for 78 struct sta_info *sta) in sta_info_hash_del() 80 return rhltable_remove(&local->sta_hash, &sta->hash_node, in sta_info_hash_del() 84 static void __cleanup_single_sta(struct sta_info *sta) in __cleanup_single_sta() argument 88 struct ieee80211_sub_if_data *sdata = sta->sdata; in __cleanup_single_sta() 92 if (test_sta_flag(sta, WLAN_STA_PS_STA) || in __cleanup_single_sta() 93 test_sta_flag(sta, WLAN_STA_PS_DRIVER) || in __cleanup_single_sta() 94 test_sta_flag(sta, WLAN_STA_PS_DELIVER)) { in __cleanup_single_sta() 95 if (sta in __cleanup_single_sta() 77 sta_info_hash_del(struct ieee80211_local *local, struct sta_info *sta) sta_info_hash_del() argument 150 cleanup_single_sta(struct sta_info *sta) cleanup_single_sta() argument 171 struct sta_info *sta; sta_info_get() local 196 struct sta_info *sta; sta_info_get_bss() local 217 struct sta_info *sta; sta_info_get_by_addrs() local 231 struct sta_info *sta; sta_info_get_by_idx() local 259 sta_info_free(struct ieee80211_local *local, struct sta_info *sta) sta_info_free() argument 295 sta_info_hash_add(struct ieee80211_local *local, struct sta_info *sta) sta_info_hash_add() argument 304 struct sta_info *sta; sta_deliver_ps_frames() local 321 sta_prepare_rate_control(struct ieee80211_local *local, struct sta_info *sta, gfp_t gfp) sta_prepare_rate_control() argument 341 struct sta_info *sta; sta_info_alloc() local 537 sta_info_insert_check(struct sta_info *sta) sta_info_insert_check() argument 569 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 611 struct sta_info *sta; ieee80211_recalc_p2p_go_ps_allowed() local 740 sta_info_insert(struct sta_info *sta) sta_info_insert() argument 794 __sta_info_recalc_tim(struct sta_info *sta, bool ignore_pending) __sta_info_recalc_tim() argument 876 sta_info_recalc_tim(struct sta_info *sta) sta_info_recalc_tim() argument 881 sta_info_buffer_expired(struct sta_info *sta, struct sk_buff *skb) sta_info_buffer_expired() argument 901 sta_info_cleanup_expire_buffered_ac(struct ieee80211_local *local, struct sta_info *sta, int ac) sta_info_cleanup_expire_buffered_ac() argument 979 sta_info_cleanup_expire_buffered(struct ieee80211_local *local, struct sta_info *sta) sta_info_cleanup_expire_buffered() argument 997 __sta_info_destroy_part1(struct sta_info *sta) __sta_info_destroy_part1() argument 1055 __sta_info_destroy_part2(struct sta_info *sta) __sta_info_destroy_part2() argument 1115 __sta_info_destroy(struct sta_info *sta) __sta_info_destroy() argument 1131 struct sta_info *sta; sta_info_destroy_addr() local 1145 struct sta_info *sta; sta_info_destroy_addr_bss() local 1159 struct sta_info *sta; sta_info_cleanup() local 1204 struct sta_info *sta, *tmp; __sta_info_flush() local 1237 struct sta_info *sta, *tmp; ieee80211_sta_expire() local 1268 struct sta_info *sta; ieee80211_find_sta_by_ifaddr() local 1290 struct sta_info *sta; ieee80211_find_sta() local 1307 ieee80211_sta_ps_deliver_wakeup(struct sta_info *sta) ieee80211_sta_ps_deliver_wakeup() argument 1390 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 1493 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 1521 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 1577 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 1770 ieee80211_sta_ps_deliver_poll_response(struct sta_info *sta) ieee80211_sta_ps_deliver_poll_response() argument 1786 ieee80211_sta_ps_deliver_uapsd(struct sta_info *sta) ieee80211_sta_ps_deliver_uapsd() argument 1823 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_block_awake() local 1854 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_eosp() local 1865 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_send_eosp_nullfunc() local 1882 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_set_buffered() local 1901 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_register_airtime() local 1919 ieee80211_sta_update_pending_airtime(struct ieee80211_local *local, struct sta_info *sta, u8 ac, u16 tx_airtime, bool tx_completed) ieee80211_sta_update_pending_airtime() argument 1955 sta_info_move_state(struct sta_info *sta, enum ieee80211_sta_state new_state) sta_info_move_state() argument 2055 sta_info_tx_streams(struct sta_info *sta) sta_info_tx_streams() argument 2091 sta_get_last_rx_stats(struct sta_info *sta) sta_get_last_rx_stats() argument 2163 sta_set_rate_info_rx(struct sta_info *sta, struct rate_info *rinfo) sta_set_rate_info_rx() argument 2188 sta_set_tidstats(struct sta_info *sta, struct cfg80211_tid_stats *tidstats, int tid) sta_set_tidstats() argument 2254 sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo, bool tidstats) sta_set_sinfo() argument 2520 sta_get_expected_throughput(struct sta_info *sta) sta_get_expected_throughput() argument 2539 ieee80211_sta_last_active(struct sta_info *sta) ieee80211_sta_last_active() argument 2549 sta_update_codel_params(struct sta_info *sta, u32 thr) sta_update_codel_params() argument 2568 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_sta_set_expected_throughput() local [all...] |
H A D | agg-tx.c | 57 * Note that the sta can get destroyed before the BA tear down is 142 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid, in ieee80211_assign_tid_tx() argument 145 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ieee80211_assign_tid_tx() 146 lockdep_assert_held(&sta->lock); in ieee80211_assign_tid_tx() 147 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); in ieee80211_assign_tid_tx() 190 ieee80211_agg_stop_txq(struct sta_info *sta, int tid) in ieee80211_agg_stop_txq() argument 192 struct ieee80211_txq *txq = sta->sta.txq[tid]; in ieee80211_agg_stop_txq() 211 ieee80211_agg_start_txq(struct sta_info *sta, int tid, bool enable) in ieee80211_agg_start_txq() argument 213 struct ieee80211_txq *txq = sta in ieee80211_agg_start_txq() 270 ieee80211_remove_tid_tx(struct sta_info *sta, int tid) ieee80211_remove_tid_tx() argument 299 ___ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid, enum ieee80211_agg_stop_reason reason) ___ieee80211_stop_tx_ba_session() argument 435 struct sta_info *sta = tid_tx->sta; sta_addba_resp_timer_expired() local 452 ieee80211_send_addba_with_timeout(struct sta_info *sta, struct tid_ampdu_tx *tid_tx) ieee80211_send_addba_with_timeout() argument 490 ieee80211_tx_ba_session_handle_start(struct sta_info *sta, int tid) ieee80211_tx_ba_session_handle_start() argument 566 struct sta_info *sta = tid_tx->sta; sta_tx_agg_session_timer_expired() local 589 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_start_tx_ba_session() local 734 ieee80211_agg_tx_operational(struct ieee80211_local *local, struct sta_info *sta, u16 tid) ieee80211_agg_tx_operational() argument 777 ieee80211_start_tx_ba_cb(struct sta_info *sta, int tid, struct tid_ampdu_tx *tid_tx) ieee80211_start_tx_ba_cb() argument 797 ieee80211_lookup_tid_tx(struct ieee80211_sub_if_data *sdata, const u8 *ra, u16 tid, struct sta_info **sta) ieee80211_lookup_tid_tx() argument 827 struct sta_info *sta; ieee80211_start_tx_ba_cb_irqsafe() local 844 __ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid, enum ieee80211_agg_stop_reason reason) __ieee80211_stop_tx_ba_session() argument 860 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); ieee80211_stop_tx_ba_session() local 900 ieee80211_stop_tx_ba_cb(struct sta_info *sta, int tid, struct tid_ampdu_tx *tid_tx) ieee80211_stop_tx_ba_cb() argument 941 struct sta_info *sta; ieee80211_stop_tx_ba_cb_irqsafe() local 959 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 D | mesh_plink.c | 57 /* We only need a valid sta if user configured a minimum rssi_threshold. */ 59 struct sta_info *sta) in rssi_threshold_check() 63 (sta && in rssi_threshold_check() 64 (s8)-ewma_signal_read(&sta->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() 58 rssi_threshold_check(struct ieee80211_sub_if_data *sdata, struct sta_info *sta) rssi_threshold_check() argument 97 struct sta_info *sta; mesh_set_short_slot_time() local 159 struct sta_info *sta; mesh_set_ht_prot_mode() local 210 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 361 __mesh_plink_deactivate(struct sta_info *sta) __mesh_plink_deactivate() argument 386 mesh_plink_deactivate(struct sta_info *sta) mesh_plink_deactivate() argument 411 mesh_sta_info_init(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, struct ieee802_11_elems *elems) mesh_sta_info_init() argument 474 struct sta_info *sta; mesh_allocate_aid() local 503 struct sta_info *sta; __mesh_sta_info_alloc() local 533 struct sta_info *sta = NULL; mesh_sta_info_alloc() local 572 struct sta_info *sta = NULL; __acquires() local 611 struct sta_info *sta; mesh_neighbour_update() local 637 struct sta_info *sta; mesh_plink_timer() local 726 mesh_plink_timer_set(struct sta_info *sta, u32 timeout) mesh_plink_timer_set() argument 737 struct sta_info *sta; llid_in_use() local 765 mesh_plink_open(struct sta_info *sta) mesh_plink_open() argument 795 mesh_plink_block(struct sta_info *sta) mesh_plink_block() argument 808 mesh_plink_close(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, enum plink_event event) mesh_plink_close() argument 821 mesh_plink_establish(struct ieee80211_sub_if_data *sdata, struct sta_info *sta) mesh_plink_establish() argument 847 mesh_plink_fsm(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, enum plink_event event) mesh_plink_fsm() argument 1007 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 1104 struct sta_info *sta; mesh_process_plink_frame() local [all...] |
H A D | mesh_ps.c | 16 * @sta: the station to get the frame for 18 static struct sk_buff *mps_qos_null_get(struct sta_info *sta) in mps_qos_null_get() argument 20 struct ieee80211_sub_if_data *sdata = sta->sdata; in mps_qos_null_get() 34 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr, in mps_qos_null_get() 40 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in mps_qos_null_get() 42 ieee80211_mps_set_frame_flags(sdata, sta, nullfunc); in mps_qos_null_get() 49 * @sta: the station to send to 51 static void mps_qos_null_tx(struct sta_info *sta) in mps_qos_null_tx() argument 83 struct sta_info *sta; ieee80211_mps_local_status_update() local 151 ieee80211_mps_set_sta_local_pm(struct sta_info *sta, enum nl80211_mesh_power_mode pm) ieee80211_mps_set_sta_local_pm() argument 186 ieee80211_mps_set_frame_flags(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, struct ieee80211_hdr *hdr) ieee80211_mps_set_frame_flags() argument 231 ieee80211_mps_sta_status_update(struct sta_info *sta) ieee80211_mps_sta_status_update() argument 274 mps_set_sta_peer_pm(struct sta_info *sta, struct ieee80211_hdr *hdr) mps_set_sta_peer_pm() argument 310 mps_set_sta_nonpeer_pm(struct sta_info *sta, struct ieee80211_hdr *hdr) mps_set_sta_nonpeer_pm() argument 337 ieee80211_mps_rx_h_sta_process(struct sta_info *sta, struct ieee80211_hdr *hdr) ieee80211_mps_rx_h_sta_process() argument 350 sta, false, false); ieee80211_mps_rx_h_sta_process() local 363 mpsp_trigger_send(struct sta_info *sta, bool rspi, bool eosp) mpsp_trigger_send() argument 413 mpsp_qos_null_append(struct sta_info *sta, struct sk_buff_head *frames) mpsp_qos_null_append() argument 451 mps_frame_deliver(struct sta_info *sta, int n_frames) mps_frame_deliver() argument 538 ieee80211_mpsp_trigger_process(u8 *qc, struct sta_info *sta, bool tx, bool acked) ieee80211_mpsp_trigger_process() argument 576 ieee80211_mps_frame_release(struct sta_info *sta, struct ieee802_11_elems *elems) ieee80211_mps_frame_release() argument [all...] |
H A D | agg-rx.c | 58 void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in ___ieee80211_stop_rx_ba_session() argument 61 struct ieee80211_local *local = sta->local; in ___ieee80211_stop_rx_ba_session() 64 .sta = &sta->sta, in ___ieee80211_stop_rx_ba_session() 72 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ___ieee80211_stop_rx_ba_session() 74 tid_rx = rcu_dereference_protected(sta->ampdu_mlme.tid_rx[tid], in ___ieee80211_stop_rx_ba_session() 75 lockdep_is_held(&sta->ampdu_mlme.mtx)); in ___ieee80211_stop_rx_ba_session() 77 if (!test_bit(tid, sta->ampdu_mlme.agg_session_valid)) in ___ieee80211_stop_rx_ba_session() 80 RCU_INIT_POINTER(sta in ___ieee80211_stop_rx_ba_session() 117 __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, u16 initiator, u16 reason, bool tx) __ieee80211_stop_rx_ba_session() argument 129 struct sta_info *sta; ieee80211_stop_rx_ba_session() local 155 struct sta_info *sta = tid_rx->sta; sta_rx_agg_session_timer_expired() local 215 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 struct ieee80211_addba_ext_ie *addbaext) ieee80211_send_addba_resp() argument 269 ___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 struct ieee80211_addba_ext_ie *addbaext) ___ieee80211_start_rx_ba_session() argument 461 __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 struct ieee80211_addba_ext_ie *addbaext) __ieee80211_start_rx_ba_session() argument 475 ieee80211_process_addba_request(struct ieee80211_local *local, struct sta_info *sta, struct ieee80211_mgmt *mgmt, size_t len) ieee80211_process_addba_request() argument 516 struct sta_info *sta; ieee80211_manage_rx_ba_offl() local 535 struct sta_info *sta; ieee80211_rx_ba_timer_expired() local [all...] |
H A D | vht.c | 119 struct sta_info *sta) in ieee80211_vht_cap_ie_to_sta_vht_cap() 121 struct ieee80211_sta_vht_cap *vht_cap = &sta->sta.vht_cap; in ieee80211_vht_cap_ie_to_sta_vht_cap() 128 if (!sta->sta.ht_cap.ht_supported) in ieee80211_vht_cap_ie_to_sta_vht_cap() 165 !test_sta_flag(sta, WLAN_STA_TDLS_PEER)) in ieee80211_vht_cap_ie_to_sta_vht_cap() 290 sta->addr); in ieee80211_vht_cap_ie_to_sta_vht_cap() 298 sta->cur_max_bandwidth = IEEE80211_STA_RX_BW_160; in ieee80211_vht_cap_ie_to_sta_vht_cap() 301 sta->cur_max_bandwidth = IEEE80211_STA_RX_BW_80; in ieee80211_vht_cap_ie_to_sta_vht_cap() 313 sta in ieee80211_vht_cap_ie_to_sta_vht_cap() 116 ieee80211_vht_cap_ie_to_sta_vht_cap(struct ieee80211_sub_if_data *sdata, struct ieee80211_supported_band *sband, const struct ieee80211_vht_cap *vht_cap_ie, struct sta_info *sta) ieee80211_vht_cap_ie_to_sta_vht_cap() argument 333 ieee80211_sta_cap_rx_bw(struct sta_info *sta) ieee80211_sta_cap_rx_bw() argument 381 ieee80211_sta_cap_chan_bw(struct sta_info *sta) ieee80211_sta_cap_chan_bw() argument 405 ieee80211_sta_rx_bw_to_chan_width(struct sta_info *sta) ieee80211_sta_rx_bw_to_chan_width() argument 455 ieee80211_sta_cur_vht_bw(struct sta_info *sta) ieee80211_sta_cur_vht_bw() argument 484 ieee80211_sta_set_rx_nss(struct sta_info *sta) ieee80211_sta_set_rx_nss() argument 554 __ieee80211_vht_handle_opmode(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, u8 opmode, enum nl80211_band band) __ieee80211_vht_handle_opmode() argument 651 ieee80211_vht_handle_opmode(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, u8 opmode, enum nl80211_band band) ieee80211_vht_handle_opmode() argument [all...] |
H A D | he.c | 13 struct sta_info *sta) in ieee80211_update_from_he_6ghz_capa() 17 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_update_from_he_6ghz_capa() 18 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in ieee80211_update_from_he_6ghz_capa() 33 sta->sta.smps_mode = smps_mode; in ieee80211_update_from_he_6ghz_capa() 35 sta->sta.smps_mode = IEEE80211_SMPS_OFF; in ieee80211_update_from_he_6ghz_capa() 41 sta->sta.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_11454; in ieee80211_update_from_he_6ghz_capa() 44 sta in ieee80211_update_from_he_6ghz_capa() 12 ieee80211_update_from_he_6ghz_capa(const struct ieee80211_he_6ghz_capa *he_6ghz_capa, struct sta_info *sta) ieee80211_update_from_he_6ghz_capa() argument 56 ieee80211_he_cap_ie_to_sta_he_cap(struct ieee80211_sub_if_data *sdata, struct ieee80211_supported_band *sband, const u8 *he_cap_ie, u8 he_cap_len, const struct ieee80211_he_6ghz_capa *he_6ghz_capa, struct sta_info *sta) ieee80211_he_cap_ie_to_sta_he_cap() argument [all...] |
H A D | ht.c | 141 struct sta_info *sta) in ieee80211_ht_cap_ie_to_sta_ht_cap() 241 sta->sta.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_HT_7935; in ieee80211_ht_cap_ie_to_sta_ht_cap() 243 sta->sta.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_HT_3839; in ieee80211_ht_cap_ie_to_sta_ht_cap() 246 changed = memcmp(&sta->sta.ht_cap, &ht_cap, sizeof(ht_cap)); in ieee80211_ht_cap_ie_to_sta_ht_cap() 248 memcpy(&sta->sta.ht_cap, &ht_cap, sizeof(ht_cap)); in ieee80211_ht_cap_ie_to_sta_ht_cap() 267 sta in ieee80211_ht_cap_ie_to_sta_ht_cap() 138 ieee80211_ht_cap_ie_to_sta_ht_cap(struct ieee80211_sub_if_data *sdata, struct ieee80211_supported_band *sband, const struct ieee80211_ht_cap *ht_cap_ie, struct sta_info *sta) ieee80211_ht_cap_ie_to_sta_ht_cap() argument 300 ieee80211_sta_tear_down_BA_sessions(struct sta_info *sta, enum ieee80211_agg_stop_reason reason) ieee80211_sta_tear_down_BA_sessions() argument 341 struct sta_info *sta = ieee80211_ba_session_work() local 456 ieee80211_process_delba(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, struct ieee80211_mgmt *mgmt, size_t len) ieee80211_process_delba() argument [all...] |
H A D | rate.h | 25 struct sta_info *sta, 32 void rate_control_rate_init(struct sta_info *sta); 35 struct sta_info *sta, u32 changed); 38 struct sta_info *sta, gfp_t gfp) in rate_control_alloc_sta() 40 spin_lock_init(&sta->rate_ctrl_lock); in rate_control_alloc_sta() 41 return ref->ops->alloc_sta(ref->priv, &sta->sta, gfp); in rate_control_alloc_sta() 44 static inline void rate_control_free_sta(struct sta_info *sta) in rate_control_free_sta() argument 46 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_free_sta() 47 struct ieee80211_sta *ista = &sta in rate_control_free_sta() 37 rate_control_alloc_sta(struct rate_control_ref *ref, struct sta_info *sta, gfp_t gfp) rate_control_alloc_sta() argument 53 rate_control_add_sta_debugfs(struct sta_info *sta) rate_control_add_sta_debugfs() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/ |
H A D | hostap_ap.c | 56 static struct sta_info* ap_get_sta(struct ap_data *ap, u8 *sta); 58 struct sta_info *sta); 86 static void ap_sta_hash_add(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_add() argument 88 sta->hnext = ap->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_add() 89 ap->sta_hash[STA_HASH(sta->addr)] = sta; in ap_sta_hash_add() 92 static void ap_sta_hash_del(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_del() argument 96 s = ap->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_del() 98 if (ether_addr_equal(s->addr, sta in ap_sta_hash_del() 112 ap_free_sta(struct ap_data *ap, struct sta_info *sta) ap_free_sta() argument 152 hostap_event_new_sta(struct net_device *dev, struct sta_info *sta) hostap_event_new_sta() argument 162 hostap_event_expired_sta(struct net_device *dev, struct sta_info *sta) hostap_event_expired_sta() argument 177 struct sta_info *sta = from_timer(sta, t, timer); ap_handle_timer() local 469 struct sta_info *sta; ap_control_kick_mac() local 501 struct sta_info *sta; ap_control_kickall() local 521 struct sta_info *sta = v; prism2_ap_proc_show() local 639 struct sta_info *sta = NULL; hostap_ap_tx_cb_auth() local 707 struct sta_info *sta = NULL; hostap_ap_tx_cb_assoc() local 769 struct sta_info *sta; hostap_ap_tx_cb_poll() local 865 struct sta_info *n, *sta; hostap_free_data() local 909 ap_get_sta(struct ap_data *ap, u8 *sta) ap_get_sta() argument 995 struct sta_info *sta = m->private; prism2_sta_proc_show() local 1067 struct sta_info *sta; handle_add_proc_queue() local 1099 struct sta_info *sta; ap_add_sta() local 1144 ap_tx_rate_ok(int rateidx, struct sta_info *sta, local_info_t *local) ap_tx_rate_ok() argument 1159 prism2_check_tx_rates(struct sta_info *sta) prism2_check_tx_rates() argument 1295 struct sta_info *sta = NULL; handle_authen() local 1505 struct sta_info *sta = NULL; handle_assoc() local 1714 struct sta_info *sta = NULL; handle_deauth() local 1756 struct sta_info *sta = NULL; handle_disassoc() local 1810 struct sta_info *sta; ap_handle_dropped_data() local 1839 pspoll_send_buffered(local_info_t *local, struct sta_info *sta, struct sk_buff *skb) pspoll_send_buffered() argument 1869 struct sta_info *sta; handle_pspoll() local 1993 struct sta_info *sta = NULL; handle_beacon() local 2289 schedule_packet_send(local_info_t *local, struct sta_info *sta) schedule_packet_send() argument 2337 struct sta_info *sta = (struct sta_info *) ptr; prism2_ap_get_sta_qual() local 2389 struct sta_info *sta = (struct sta_info *) ptr; prism2_ap_translate_scan() local 2485 struct sta_info *sta; prism2_hostapd_add_sta() local 2524 struct sta_info *sta; prism2_hostapd_remove_sta() local 2548 struct sta_info *sta; prism2_hostapd_get_info_sta() local 2570 struct sta_info *sta; prism2_hostapd_set_flags_sta() local 2590 struct sta_info *sta; prism2_hostapd_sta_clear_stats() local 2638 ap_update_sta_tx_rate(struct sta_info *sta, struct net_device *dev) ap_update_sta_tx_rate() argument 2684 struct sta_info *sta = NULL; hostap_handle_sta_tx() local 2817 struct sta_info *sta = ptr; hostap_handle_sta_release() local 2825 struct sta_info *sta; hostap_handle_sta_tx_exc() local 2875 hostap_update_sta_ps2(local_info_t *local, struct sta_info *sta, int pwrmgt, int type, int stype) hostap_update_sta_ps2() argument 2899 struct sta_info *sta; hostap_update_sta_ps() local 2929 struct sta_info *sta; hostap_handle_sta_rx() local 3067 struct sta_info *sta; hostap_handle_sta_crypto() local 3093 struct sta_info *sta; hostap_is_sta_assoc() local 3109 struct sta_info *sta; hostap_is_sta_authorized() local 3127 struct sta_info *sta; hostap_add_sta() local 3168 struct sta_info *sta; hostap_update_rx_stats() local 3197 struct sta_info *sta; hostap_update_rates() local 3214 struct sta_info *sta; ap_crypt_get_ptrs() local 3240 struct sta_info *sta; hostap_add_wds_links() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/hostap/ |
H A D | hostap_ap.c | 56 static struct sta_info* ap_get_sta(struct ap_data *ap, u8 *sta); 58 struct sta_info *sta); 86 static void ap_sta_hash_add(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_add() argument 88 sta->hnext = ap->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_add() 89 ap->sta_hash[STA_HASH(sta->addr)] = sta; in ap_sta_hash_add() 92 static void ap_sta_hash_del(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_del() argument 96 s = ap->sta_hash[STA_HASH(sta->addr)]; in ap_sta_hash_del() 98 if (ether_addr_equal(s->addr, sta in ap_sta_hash_del() 112 ap_free_sta(struct ap_data *ap, struct sta_info *sta) ap_free_sta() argument 152 hostap_event_new_sta(struct net_device *dev, struct sta_info *sta) hostap_event_new_sta() argument 162 hostap_event_expired_sta(struct net_device *dev, struct sta_info *sta) hostap_event_expired_sta() argument 177 struct sta_info *sta = from_timer(sta, t, timer); ap_handle_timer() local 469 struct sta_info *sta; ap_control_kick_mac() local 501 struct sta_info *sta; ap_control_kickall() local 521 struct sta_info *sta = v; prism2_ap_proc_show() local 639 struct sta_info *sta = NULL; hostap_ap_tx_cb_auth() local 707 struct sta_info *sta = NULL; hostap_ap_tx_cb_assoc() local 769 struct sta_info *sta; hostap_ap_tx_cb_poll() local 865 struct sta_info *n, *sta; hostap_free_data() local 909 ap_get_sta(struct ap_data *ap, u8 *sta) ap_get_sta() argument 995 struct sta_info *sta = m->private; prism2_sta_proc_show() local 1067 struct sta_info *sta; handle_add_proc_queue() local 1099 struct sta_info *sta; ap_add_sta() local 1144 ap_tx_rate_ok(int rateidx, struct sta_info *sta, local_info_t *local) ap_tx_rate_ok() argument 1159 prism2_check_tx_rates(struct sta_info *sta) prism2_check_tx_rates() argument 1295 struct sta_info *sta = NULL; handle_authen() local 1505 struct sta_info *sta = NULL; handle_assoc() local 1714 struct sta_info *sta = NULL; handle_deauth() local 1756 struct sta_info *sta = NULL; handle_disassoc() local 1810 struct sta_info *sta; ap_handle_dropped_data() local 1839 pspoll_send_buffered(local_info_t *local, struct sta_info *sta, struct sk_buff *skb) pspoll_send_buffered() argument 1869 struct sta_info *sta; handle_pspoll() local 1993 struct sta_info *sta = NULL; handle_beacon() local 2289 schedule_packet_send(local_info_t *local, struct sta_info *sta) schedule_packet_send() argument 2337 struct sta_info *sta = (struct sta_info *) ptr; prism2_ap_get_sta_qual() local 2389 struct sta_info *sta = (struct sta_info *) ptr; prism2_ap_translate_scan() local 2485 struct sta_info *sta; prism2_hostapd_add_sta() local 2524 struct sta_info *sta; prism2_hostapd_remove_sta() local 2548 struct sta_info *sta; prism2_hostapd_get_info_sta() local 2570 struct sta_info *sta; prism2_hostapd_set_flags_sta() local 2590 struct sta_info *sta; prism2_hostapd_sta_clear_stats() local 2638 ap_update_sta_tx_rate(struct sta_info *sta, struct net_device *dev) ap_update_sta_tx_rate() argument 2684 struct sta_info *sta = NULL; hostap_handle_sta_tx() local 2817 struct sta_info *sta = ptr; hostap_handle_sta_release() local 2825 struct sta_info *sta; hostap_handle_sta_tx_exc() local 2875 hostap_update_sta_ps2(local_info_t *local, struct sta_info *sta, int pwrmgt, int type, int stype) hostap_update_sta_ps2() argument 2899 struct sta_info *sta; hostap_update_sta_ps() local 2929 struct sta_info *sta; hostap_handle_sta_rx() local 3067 struct sta_info *sta; hostap_handle_sta_crypto() local 3093 struct sta_info *sta; hostap_is_sta_assoc() local 3109 struct sta_info *sta; hostap_is_sta_authorized() local 3127 struct sta_info *sta; hostap_add_sta() local 3168 struct sta_info *sta; hostap_update_rx_stats() local 3197 struct sta_info *sta; hostap_update_rates() local 3214 struct sta_info *sta; ap_crypt_get_ptrs() local 3240 struct sta_info *sta; hostap_add_wds_links() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/ |
H A D | sta_info.h | 16 /* if mode == 0, then the sta is allowed once the addr is hit. */ 17 /* if mode == 1, then the sta is rejected once the addr is non-hit. */ 209 u8 bValid; /* record the sta status link or not? */ 230 #define sta_rx_pkts(sta) \ 231 (sta->sta_stats.rx_mgnt_pkts \ 232 + sta->sta_stats.rx_ctrl_pkts \ 233 + sta->sta_stats.rx_data_pkts) 235 #define sta_last_rx_pkts(sta) \ 236 (sta->sta_stats.last_rx_mgnt_pkts \ 237 + sta [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/ |
H A D | sta_info.h | 18 /* if mode ==0, then the sta is allowed once the addr is hit. */ 19 /* if mode ==1, then the sta is rejected once the addr is non-hit. */ 184 u8 bValid; /* record the sta status link or not? */ 201 #define sta_rx_pkts(sta) \ 202 (sta->sta_stats.rx_mgnt_pkts \ 203 + sta->sta_stats.rx_ctrl_pkts \ 204 + sta->sta_stats.rx_data_pkts) 206 #define sta_last_rx_pkts(sta) \ 207 (sta->sta_stats.last_rx_mgnt_pkts \ 208 + sta [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/include/ |
H A D | sta_info.h | 16 /* if mode == 0, then the sta is allowed once the addr is hit. */ 17 /* if mode == 1, then the sta is rejected once the addr is non-hit. */ 199 u8 bValid; /* record the sta status link or not? */ 220 #define sta_rx_pkts(sta) \ 221 (sta->sta_stats.rx_mgnt_pkts \ 222 + sta->sta_stats.rx_ctrl_pkts \ 223 + sta->sta_stats.rx_data_pkts) 225 #define sta_last_rx_pkts(sta) \ 226 (sta->sta_stats.last_rx_mgnt_pkts \ 227 + sta [all...] |
/kernel/linux/linux-5.10/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 [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 [all...] |
/kernel/linux/linux-6.6/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 [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 [all...] |