| /OK3568_Linux_fs/kernel/net/mac80211/ |
| H A D | sta_info.c | 78 struct sta_info *sta) in sta_info_hash_del() argument 80 return rhltable_remove(&local->sta_hash, &sta->hash_node, in sta_info_hash_del() 84 static void __cleanup_single_sta(struct sta_info *sta) in __cleanup_single_sta() argument 88 struct ieee80211_sub_if_data *sdata = sta->sdata; in __cleanup_single_sta() 92 if (test_sta_flag(sta, WLAN_STA_PS_STA) || in __cleanup_single_sta() 93 test_sta_flag(sta, WLAN_STA_PS_DRIVER) || in __cleanup_single_sta() 94 test_sta_flag(sta, WLAN_STA_PS_DELIVER)) { in __cleanup_single_sta() 95 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || in __cleanup_single_sta() 96 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in __cleanup_single_sta() 103 clear_sta_flag(sta, WLAN_STA_PS_STA); in __cleanup_single_sta() [all …]
|
| H A D | mesh_plink.c | 59 struct sta_info *sta) in rssi_threshold_check() argument 63 (sta && in rssi_threshold_check() 64 (s8)-ewma_signal_read(&sta->rx_stats_avg.signal) > in rssi_threshold_check() 75 static inline void mesh_plink_fsm_restart(struct sta_info *sta) in mesh_plink_fsm_restart() argument 77 lockdep_assert_held(&sta->mesh->plink_lock); in mesh_plink_fsm_restart() 78 sta->mesh->plink_state = NL80211_PLINK_LISTEN; in mesh_plink_fsm_restart() 79 sta->mesh->llid = sta->mesh->plid = sta->mesh->reason = 0; in mesh_plink_fsm_restart() 80 sta->mesh->plink_retries = 0; in mesh_plink_fsm_restart() 97 struct sta_info *sta; in mesh_set_short_slot_time() local 122 list_for_each_entry_rcu(sta, &local->sta_list, list) { in mesh_set_short_slot_time() [all …]
|
| H A D | mesh_ps.c | 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() 51 static void mps_qos_null_tx(struct sta_info *sta) in mps_qos_null_tx() argument 55 skb = mps_qos_null_get(sta); in mps_qos_null_tx() 59 mps_dbg(sta->sdata, "announcing peer-specific power mode to %pM\n", in mps_qos_null_tx() 60 sta->sta.addr); in mps_qos_null_tx() 63 if (!test_sta_flag(sta, WLAN_STA_PS_STA)) { in mps_qos_null_tx() [all …]
|
| H A D | agg-tx.c | 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->sta.txq[tid]; in ieee80211_agg_start_txq() 216 lockdep_assert_held(&sta->ampdu_mlme.mtx); in ieee80211_agg_start_txq() 231 schedule_and_wake_txq(sta->sdata->local, txqi); in ieee80211_agg_start_txq() [all …]
|
| 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->ampdu_mlme.tid_rx[tid], NULL); in ___ieee80211_stop_rx_ba_session() 81 __clear_bit(tid, sta->ampdu_mlme.agg_session_valid); in ___ieee80211_stop_rx_ba_session() 83 ht_dbg(sta->sdata, in ___ieee80211_stop_rx_ba_session() [all …]
|
| /OK3568_Linux_fs/kernel/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->addr)) { in ap_sta_hash_del() 99 ap->sta_hash[STA_HASH(sta->addr)] = s->hnext; in ap_sta_hash_del() 103 while (s->hnext != NULL && !ether_addr_equal(s->hnext->addr, sta->addr)) in ap_sta_hash_del() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/ |
| H A D | hal_sta.c | 19 _hal_sta_rssi_init(struct rtw_phl_stainfo_t *sta) in _hal_sta_rssi_init() argument 21 sta->hal_sta->rssi_stat.assoc_rssi = 0; in _hal_sta_rssi_init() 22 sta->hal_sta->rssi_stat.ma_rssi = 0; in _hal_sta_rssi_init() 27 struct rtw_phl_stainfo_t *sta) in _hal_bfee_init() argument 34 if(NULL == sta) in _hal_bfee_init() 36 wrole = sta->wrole; in _hal_bfee_init() 44 (sta->asoc_cap.he_su_bfmr || sta->asoc_cap.he_mu_bfmr)) { in _hal_bfee_init() 50 (sta->asoc_cap.vht_su_bfmr || sta->asoc_cap.vht_mu_bfmr)) { in _hal_bfee_init() 55 sta->asoc_cap.ht_su_bfmr) in _hal_bfee_init() 62 sta->wrole->hw_band)) { in _hal_bfee_init() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/ |
| H A D | hal_sta.c | 19 _hal_sta_rssi_init(struct rtw_phl_stainfo_t *sta) in _hal_sta_rssi_init() argument 21 sta->hal_sta->rssi_stat.assoc_rssi = 0; in _hal_sta_rssi_init() 22 sta->hal_sta->rssi_stat.ma_rssi = 0; in _hal_sta_rssi_init() 27 struct rtw_phl_stainfo_t *sta) in _hal_bfee_init() argument 34 if(NULL == sta) in _hal_bfee_init() 36 wrole = sta->wrole; in _hal_bfee_init() 44 (sta->asoc_cap.he_su_bfmr || sta->asoc_cap.he_mu_bfmr)) { in _hal_bfee_init() 50 (sta->asoc_cap.vht_su_bfmr || sta->asoc_cap.vht_mu_bfmr)) { in _hal_bfee_init() 55 sta->asoc_cap.ht_su_bfmr) in _hal_bfee_init() 62 sta->wrole->hw_band)) { in _hal_bfee_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/include/ |
| H A D | sta_info.h | 197 struct sta_info *sta; member 225 void rtw_st_ctl_rx(struct sta_info *sta, u8 *ehdr_pos); 518 #define STA_SET_MESH_PLINK(sta, link) (sta)->plink = link argument 520 #define STA_SET_MESH_PLINK(sta, link) do {} while (0) argument 523 #define sta_tx_pkts(sta) \ argument 524 (sta->sta_stats.tx_pkts) 526 #define sta_last_tx_pkts(sta) \ argument 527 (sta->sta_stats.last_tx_pkts) 529 #define sta_rx_pkts(sta) \ argument 530 (sta->sta_stats.rx_mgnt_pkts \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/include/ |
| H A D | sta_info.h | 197 struct sta_info *sta; member 225 void rtw_st_ctl_rx(struct sta_info *sta, u8 *ehdr_pos); 524 #define STA_SET_MESH_PLINK(sta, link) (sta)->plink = link argument 526 #define STA_SET_MESH_PLINK(sta, link) do {} while (0) argument 529 #define sta_tx_pkts(sta) \ argument 530 (sta->sta_stats.tx_pkts) 532 #define sta_last_tx_pkts(sta) \ argument 533 (sta->sta_stats.last_tx_pkts) 535 #define sta_rx_pkts(sta) \ argument 536 (sta->sta_stats.rx_mgnt_pkts \ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/include/ |
| H A D | sta_info.h | 200 struct sta_info *sta; member 228 void rtw_st_ctl_rx(struct sta_info *sta, u8 *ehdr_pos); 531 #define STA_SET_MESH_PLINK(sta, link) (sta)->plink = link argument 533 #define STA_SET_MESH_PLINK(sta, link) do {} while (0) argument 536 #define sta_tx_pkts(sta) \ argument 537 (sta->sta_stats.tx_pkts) 539 #define sta_last_tx_pkts(sta) \ argument 540 (sta->sta_stats.last_tx_pkts) 542 #define sta_rx_pkts(sta) \ argument 543 (sta->sta_stats.rx_mgnt_pkts \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/include/ |
| H A D | sta_info.h | 197 struct sta_info *sta; member 225 void rtw_st_ctl_rx(struct sta_info *sta, u8 *ehdr_pos); 518 #define STA_SET_MESH_PLINK(sta, link) (sta)->plink = link argument 520 #define STA_SET_MESH_PLINK(sta, link) do {} while (0) argument 523 #define sta_tx_pkts(sta) \ argument 524 (sta->sta_stats.tx_pkts) 526 #define sta_last_tx_pkts(sta) \ argument 527 (sta->sta_stats.last_tx_pkts) 529 #define sta_rx_pkts(sta) \ argument 530 (sta->sta_stats.rx_mgnt_pkts \ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/include/ |
| H A D | sta_info.h | 200 struct sta_info *sta; member 228 void rtw_st_ctl_rx(struct sta_info *sta, u8 *ehdr_pos); 531 #define STA_SET_MESH_PLINK(sta, link) (sta)->plink = link argument 533 #define STA_SET_MESH_PLINK(sta, link) do {} while (0) argument 536 #define sta_tx_pkts(sta) \ argument 537 (sta->sta_stats.tx_pkts) 539 #define sta_last_tx_pkts(sta) \ argument 540 (sta->sta_stats.last_tx_pkts) 542 #define sta_rx_pkts(sta) \ argument 543 (sta->sta_stats.rx_mgnt_pkts \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/include/ |
| H A D | sta_info.h | 201 struct sta_info *sta; member 229 void rtw_st_ctl_rx(struct sta_info *sta, u8 *ehdr_pos); 535 #define STA_SET_MESH_PLINK(sta, link) (sta)->plink = link argument 537 #define STA_SET_MESH_PLINK(sta, link) do {} while (0) argument 540 #define sta_tx_pkts(sta) \ argument 541 (sta->sta_stats.tx_pkts) 543 #define sta_last_tx_pkts(sta) \ argument 544 (sta->sta_stats.last_tx_pkts) 546 #define sta_rx_pkts(sta) \ argument 547 (sta->sta_stats.rx_mgnt_pkts \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/include/ |
| H A D | sta_info.h | 200 struct sta_info *sta; member 228 void rtw_st_ctl_rx(struct sta_info *sta, u8 *ehdr_pos); 534 #define STA_SET_MESH_PLINK(sta, link) (sta)->plink = link argument 536 #define STA_SET_MESH_PLINK(sta, link) do {} while (0) argument 539 #define sta_tx_pkts(sta) \ argument 540 (sta->sta_stats.tx_pkts) 542 #define sta_last_tx_pkts(sta) \ argument 543 (sta->sta_stats.last_tx_pkts) 545 #define sta_rx_pkts(sta) \ argument 546 (sta->sta_stats.rx_mgnt_pkts \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/include/ |
| H A D | sta_info.h | 197 struct sta_info *sta; member 225 void rtw_st_ctl_rx(struct sta_info *sta, u8 *ehdr_pos); 514 #define STA_SET_MESH_PLINK(sta, link) (sta)->plink = link argument 516 #define STA_SET_MESH_PLINK(sta, link) do {} while (0) argument 519 #define sta_tx_pkts(sta) \ argument 520 (sta->sta_stats.tx_pkts) 522 #define sta_last_tx_pkts(sta) \ argument 523 (sta->sta_stats.last_tx_pkts) 525 #define sta_rx_pkts(sta) \ argument 526 (sta->sta_stats.rx_mgnt_pkts \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/include/ |
| H A D | sta_info.h | 196 struct sta_info *sta; member 224 void rtw_st_ctl_rx(struct sta_info *sta, u8 *ehdr_pos); 517 #define STA_SET_MESH_PLINK(sta, link) (sta)->plink = link argument 519 #define STA_SET_MESH_PLINK(sta, link) do {} while (0) argument 522 #define sta_tx_pkts(sta) \ argument 523 (sta->sta_stats.tx_pkts) 525 #define sta_last_tx_pkts(sta) \ argument 526 (sta->sta_stats.last_tx_pkts) 528 #define sta_rx_pkts(sta) \ argument 529 (sta->sta_stats.rx_mgnt_pkts \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/include/ |
| H A D | sta_info.h | 201 #define sta_rx_pkts(sta) \ argument 202 (sta->sta_stats.rx_mgnt_pkts \ 203 + sta->sta_stats.rx_ctrl_pkts \ 204 + sta->sta_stats.rx_data_pkts) 206 #define sta_last_rx_pkts(sta) \ argument 207 (sta->sta_stats.last_rx_mgnt_pkts \ 208 + sta->sta_stats.last_rx_ctrl_pkts \ 209 + sta->sta_stats.last_rx_data_pkts) 211 #define sta_rx_data_pkts(sta) \ argument 212 (sta->sta_stats.rx_data_pkts) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/include/ |
| H A D | sta_info.h | 230 #define sta_rx_pkts(sta) \ argument 231 (sta->sta_stats.rx_mgnt_pkts \ 232 + sta->sta_stats.rx_ctrl_pkts \ 233 + sta->sta_stats.rx_data_pkts) 235 #define sta_last_rx_pkts(sta) \ argument 236 (sta->sta_stats.last_rx_mgnt_pkts \ 237 + sta->sta_stats.last_rx_ctrl_pkts \ 238 + sta->sta_stats.last_rx_data_pkts) 240 #define sta_rx_data_pkts(sta) \ argument 241 (sta->sta_stats.rx_data_pkts) [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/ |
| H A D | sta_info.h | 206 struct sta_info *sta; member 234 void rtw_st_ctl_rx(struct sta_info *sta, u8 *ehdr_pos); 574 #define STA_SET_MESH_PLINK(sta, link) (sta)->plink = link argument 576 #define STA_SET_MESH_PLINK(sta, link) do {} while (0) argument 579 #define sta_tx_pkts(sta) \ argument 580 (sta->sta_stats.tx_pkts) 582 #define sta_last_tx_pkts(sta) \ argument 583 (sta->sta_stats.last_tx_pkts) 585 #define sta_rx_pkts(sta) \ argument 586 (sta->sta_stats.rx_mgnt_pkts \ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/ |
| H A D | sta_info.h | 206 struct sta_info *sta; member 234 void rtw_st_ctl_rx(struct sta_info *sta, u8 *ehdr_pos); 575 #define STA_SET_MESH_PLINK(sta, link) (sta)->plink = link argument 577 #define STA_SET_MESH_PLINK(sta, link) do {} while (0) argument 580 #define sta_tx_pkts(sta) \ argument 581 (sta->sta_stats.tx_pkts) 583 #define sta_last_tx_pkts(sta) \ argument 584 (sta->sta_stats.last_tx_pkts) 586 #define sta_rx_pkts(sta) \ argument 587 (sta->sta_stats.rx_mgnt_pkts \ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/include/ |
| H A D | sta_info.h | 200 struct sta_info *sta; member 228 void rtw_st_ctl_rx(struct sta_info *sta, u8 *ehdr_pos); 535 #define STA_SET_MESH_PLINK(sta, link) (sta)->plink = link argument 537 #define STA_SET_MESH_PLINK(sta, link) do {} while (0) argument 540 #define sta_tx_pkts(sta) \ argument 541 (sta->sta_stats.tx_pkts) 543 #define sta_last_tx_pkts(sta) \ argument 544 (sta->sta_stats.last_tx_pkts) 546 #define sta_rx_pkts(sta) \ argument 547 (sta->sta_stats.rx_mgnt_pkts \ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/include/ |
| H A D | sta_info.h | 202 struct sta_info *sta; member 230 void rtw_st_ctl_rx(struct sta_info *sta, u8 *ehdr_pos); 537 #define STA_SET_MESH_PLINK(sta, link) (sta)->plink = link argument 539 #define STA_SET_MESH_PLINK(sta, link) do {} while (0) argument 542 #define sta_tx_pkts(sta) \ argument 543 (sta->sta_stats.tx_pkts) 545 #define sta_last_tx_pkts(sta) \ argument 546 (sta->sta_stats.last_tx_pkts) 548 #define sta_rx_pkts(sta) \ argument 549 (sta->sta_stats.rx_mgnt_pkts \ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/include/ |
| H A D | sta_info.h | 202 struct sta_info *sta; member 230 void rtw_st_ctl_rx(struct sta_info *sta, u8 *ehdr_pos); 537 #define STA_SET_MESH_PLINK(sta, link) (sta)->plink = link argument 539 #define STA_SET_MESH_PLINK(sta, link) do {} while (0) argument 542 #define sta_tx_pkts(sta) \ argument 543 (sta->sta_stats.tx_pkts) 545 #define sta_last_tx_pkts(sta) \ argument 546 (sta->sta_stats.last_tx_pkts) 548 #define sta_rx_pkts(sta) \ argument 549 (sta->sta_stats.rx_mgnt_pkts \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/include/ |
| H A D | sta_info.h | 339 #define sta_rx_pkts(sta) \ argument 340 (sta->sta_stats.rx_mgnt_pkts \ 341 + sta->sta_stats.rx_ctrl_pkts \ 342 + sta->sta_stats.rx_data_pkts) 344 #define sta_last_rx_pkts(sta) \ argument 345 (sta->sta_stats.last_rx_mgnt_pkts \ 346 + sta->sta_stats.last_rx_ctrl_pkts \ 347 + sta->sta_stats.last_rx_data_pkts) 349 #define sta_rx_data_pkts(sta) \ argument 350 (sta->sta_stats.rx_data_pkts) [all …]
|