Home
last modified time | relevance | path

Searched refs:sta_info (Results 1 – 25 of 85) sorted by relevance

1234

/drivers/staging/r8188eu/core/
Drtw_sta_mgt.c10 static void _rtw_init_stainfo(struct sta_info *psta) in _rtw_init_stainfo()
13 memset((u8 *)psta, 0, sizeof(struct sta_info)); in _rtw_init_stainfo()
50 struct sta_info *psta; in _rtw_init_sta_priv()
53 pstapriv->pallocated_stainfo_buf = vzalloc(sizeof(struct sta_info) * NUM_STA + 4); in _rtw_init_sta_priv()
69 psta = (struct sta_info *)(pstapriv->pstainfo_buf); in _rtw_init_sta_priv()
99 inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) in rtw_stainfo_offset()
101 return (((u8 *)sta) - stapriv->pstainfo_buf) / sizeof(struct sta_info); in rtw_stainfo_offset()
104 inline struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset) in rtw_get_stainfo_by_offset()
106 return (struct sta_info *)(stapriv->pstainfo_buf + offset * sizeof(struct sta_info)); in rtw_get_stainfo_by_offset()
112 struct sta_info *psta = NULL; in _rtw_free_sta_priv()
[all …]
Drtw_ap.c28 struct sta_info *psta = NULL; in free_mlme_ap_info()
141 static u8 chk_sta_is_alive(struct sta_info *psta) in chk_sta_is_alive()
160 struct sta_info *psta = NULL; in expire_timeout_chk()
173 psta = container_of(plist, struct sta_info, auth_list); in expire_timeout_chk()
203 psta = container_of(plist, struct sta_info, asoc_list); in expire_timeout_chk()
306 void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level) in add_RATid()
394 struct sta_info *psta = rtw_get_bcmc_stainfo(padapter); in update_bmc_sta()
466 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta) in update_sta_info_apmode()
735 struct sta_info *psta = NULL; in associated_clients_update()
745 psta = container_of(plist, struct sta_info, asoc_list); in associated_clients_update()
[all …]
Drtw_xmit.c321 struct sta_info *psta = pattrib->psta; in update_attrib_vcs_info()
395 static void update_attrib_phy_info(struct pkt_attrib *pattrib, struct sta_info *psta) in update_attrib_phy_info()
519 struct sta_info *psta = NULL; in update_attrib()
693 struct sta_info *stainfo; in xmitframe_addmic()
814 struct sta_info *psta; in rtw_make_wlanhdr()
931 struct sta_info *psta; in rtw_txframes_sta_ac_pending()
978 struct sta_info *psta; in rtw_xmitframe_coalesce()
1179 struct sta_info *psta = NULL; in rtw_count_tx_stats()
1506 struct tx_servq *rtw_get_sta_pending(struct adapter *padapter, struct sta_info *psta, int up, u8 *a… in rtw_get_sta_pending()
1544 struct sta_info *psta; in rtw_xmit_classifier()
[all …]
Drtw_recv.c372 struct sta_info *stainfo; in recvframe_chkmic()
501 struct sta_info *psta; in portctrl()
578 struct sta_info *psta = NULL; in process_pwrbit_data()
599 struct sta_info *psta = NULL; in process_wmmps_data()
647 static void count_rx_stats(struct adapter *padapter, struct recv_frame *prframe, struct sta_info *s… in count_rx_stats()
650 struct sta_info *psta = NULL; in count_rx_stats()
677 struct recv_frame *precv_frame, struct sta_info **psta) in sta2sta_data_frame()
754 struct sta_info **psta) in ap2sta_data_frame()
840 struct sta_info **psta) in sta2ap_data_frame()
901 struct sta_info *psta; in validate_recv_ctrl_frame()
[all …]
/drivers/staging/rtl8723bs/core/
Drtw_sta_mgt.c10 void _rtw_init_stainfo(struct sta_info *psta);
11 void _rtw_init_stainfo(struct sta_info *psta) in _rtw_init_stainfo()
13 memset((u8 *)psta, 0, sizeof(struct sta_info)); in _rtw_init_stainfo()
55 struct sta_info *psta; in _rtw_init_sta_priv()
58 pstapriv->pallocated_stainfo_buf = vzalloc(sizeof(struct sta_info) * NUM_STA+4); in _rtw_init_sta_priv()
78 psta = (struct sta_info *)(pstapriv->pstainfo_buf); in _rtw_init_sta_priv()
107 inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) in rtw_stainfo_offset()
109 int offset = (((u8 *)sta) - stapriv->pstainfo_buf)/sizeof(struct sta_info); in rtw_stainfo_offset()
114 inline struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset) in rtw_get_stainfo_by_offset()
116 return (struct sta_info *)(stapriv->pstainfo_buf + offset * sizeof(struct sta_info)); in rtw_get_stainfo_by_offset()
[all …]
Drtw_ap.c31 struct sta_info *psta = NULL; in free_mlme_ap_info()
167 static u8 chk_sta_is_alive(struct sta_info *psta) in chk_sta_is_alive()
178 struct sta_info *psta = NULL; in expire_timeout_chk()
189 psta = list_entry(plist, struct sta_info, auth_list); in expire_timeout_chk()
214 psta = list_entry(plist, struct sta_info, asoc_list); in expire_timeout_chk()
324 void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level) in add_RATid()
381 struct sta_info *psta = rtw_get_bcmc_stainfo(padapter); in update_bmc_sta()
453 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta) in update_sta_info_apmode()
565 static void update_ap_info(struct adapter *padapter, struct sta_info *psta) in update_ap_info()
817 struct sta_info *psta = NULL; in rtw_check_beacon_data()
[all …]
Drtw_xmit.c333 u8 query_ra_short_GI(struct sta_info *psta) in query_ra_short_GI()
435 …update_attrib_phy_info(struct adapter *padapter, struct pkt_attrib *pattrib, struct sta_info *psta) in update_attrib_phy_info()
471 …update_attrib_sec_info(struct adapter *padapter, struct pkt_attrib *pattrib, struct sta_info *psta) in update_attrib_sec_info()
622 struct sta_info *psta = NULL; in update_attrib()
933 struct sta_info *psta; in rtw_make_wlanhdr()
1144 struct sta_info *psta = NULL; in rtw_mgmt_xmitframe_coalesce()
1370 struct sta_info *psta = NULL; in rtw_count_tx_stats()
1753 struct tx_servq *rtw_get_sta_pending(struct adapter *padapter, struct sta_info *psta, signed int up… in rtw_get_sta_pending()
1794 struct sta_info *psta; in rtw_xmit_classifier()
2015 struct sta_info *psta = NULL; in xmitframe_enqueue_for_sleeping_sta()
[all …]
Drtw_recv.c308 struct sta_info *stainfo; in recvframe_chkmic()
449 struct sta_info *psta; in portctrl()
537 struct sta_info *psta = NULL; in process_pwrbit_data()
568 struct sta_info *psta = NULL; in process_wmmps_data()
615 static void count_rx_stats(struct adapter *padapter, union recv_frame *prframe, struct sta_info *st… in count_rx_stats()
618 struct sta_info *psta = NULL; in count_rx_stats()
647 struct sta_info **psta) in sta2sta_data_frame()
735 struct sta_info **psta) in ap2sta_data_frame()
840 struct sta_info **psta) in sta2ap_data_frame()
896 struct sta_info *psta = NULL; in validate_recv_ctrl_frame()
[all …]
/drivers/staging/rtl8712/
Drtl871x_sta_mgt.c25 static void _init_stainfo(struct sta_info *psta) in _init_stainfo()
27 memset((u8 *)psta, 0, sizeof(struct sta_info)); in _init_stainfo()
39 struct sta_info *psta; in _r8712_init_sta_priv()
42 pstapriv->pallocated_stainfo_buf = kmalloc(sizeof(struct sta_info) * in _r8712_init_sta_priv()
53 psta = (struct sta_info *)(pstapriv->pstainfo_buf); in _r8712_init_sta_priv()
89 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_alloc_stainfo()
93 struct sta_info *psta; in r8712_alloc_stainfo()
103 struct sta_info, list); in r8712_alloc_stainfo()
142 void r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta) in r8712_free_stainfo()
196 struct sta_info *psta = NULL; in r8712_free_all_stainfo()
[all …]
Dsta_info.h44 struct sta_info { struct
122 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv,
124 void r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta);
126 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
128 struct sta_info *r8712_get_bcmc_stainfo(struct _adapter *padapter);
Drtl871x_recv.c142 struct sta_info *stainfo; in r8712_recvframe_chkmic()
231 struct sta_info *psta; in r8712_portctrl()
294 struct sta_info **psta) in sta2sta_data_frame()
364 struct sta_info **psta) in ap2sta_data_frame()
425 struct sta_info **psta) in sta2ap_data_frame()
464 struct sta_info *psta = NULL; in validate_recv_data_frame()
/drivers/staging/rtl8723bs/include/
Drtw_ap.h14 void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level);
16 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta);
24 u8 rtw_ap_set_pairwise_key(struct adapter *padapter, struct sta_info *psta);
29 void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta);
30 u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta);
31 void sta_info_update(struct adapter *padapter, struct sta_info *psta);
32 void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta);
33 u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta, bool active, u16 reason);
Drtw_mlme_ext.h289 struct sta_info *psta;
467 extern void init_addba_retry_timer(struct adapter *padapter, struct sta_info *psta);
472 u8 networktype_to_raid_ex(struct adapter *adapter, struct sta_info *psta);
540 void VCS_update(struct adapter *padapter, struct sta_info *psta);
541 void update_ldpc_stbc_cap(struct sta_info *psta);
543 void update_beacon_info(struct adapter *padapter, u8 *pframe, uint len, struct sta_info *psta);
548 void update_sta_basic_rate(struct sta_info *psta, u8 wireless_mode);
552 void update_sta_info(struct adapter *padapter, struct sta_info *psta);
553 void Update_RA_Entry(struct adapter *padapter, struct sta_info *psta);
554 void set_sta_rate(struct adapter *padapter, struct sta_info *psta);
[all …]
Dsta_info.h70 struct sta_info { struct
330 struct sta_info *sta_aid[NUM_STA];
363 int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta);
364 struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset);
366 extern struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
367 extern u32 rtw_free_stainfo(struct adapter *padapter, struct sta_info *psta);
369 extern struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
371 extern struct sta_info *rtw_get_bcmc_stainfo(struct adapter *padapter);
Drtw_xmit.h179 struct sta_info *psta;
450 struct tx_servq *rtw_get_sta_pending(struct adapter *padapter, struct sta_info *psta, signed int up…
478 void stop_sta_xmit(struct adapter *padapter, struct sta_info *psta);
479 void wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta);
480 void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta);
482 u8 query_ra_short_GI(struct sta_info *psta);
/drivers/staging/r8188eu/include/
Drtw_ap.h12 struct sta_info *psta);
17 void add_RATid(struct adapter *padapter, struct sta_info *psta,
20 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta);
24 void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta);
25 u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta);
26 void sta_info_update(struct adapter *padapter, struct sta_info *psta);
27 u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta,
Dsta_info.h65 struct sta_info { struct
270 struct sta_info *sta_aid[NUM_STA];
302 int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta);
303 struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int off);
305 extern struct sta_info *rtw_alloc_stainfo(struct sta_priv *stapriv, u8 *hwaddr);
306 extern u32 rtw_free_stainfo(struct adapter *adapt, struct sta_info *psta);
308 extern struct sta_info *rtw_get_stainfo(struct sta_priv *stapriv, u8 *hwaddr);
310 extern struct sta_info *rtw_get_bcmc_stainfo(struct adapter *padapter);
Drtw_mlme_ext.h223 struct sta_info *psta;
449 void VCS_update(struct adapter *padapter, struct sta_info *psta);
452 struct sta_info *psta);
464 void update_sta_info(struct adapter *padapter, struct sta_info *psta);
469 void set_sta_rate(struct adapter *padapter, struct sta_info *psta);
511 struct sta_info *pstat, int pkt_type);
512 void issue_auth(struct adapter *padapter, struct sta_info *psta,
570 struct sta_info *psta);
576 void addba_timer_hdl(struct sta_info *psta);
Drtw_xmit.h148 struct sta_info *psta;
338 struct sta_info *psta, int up, u8 *ac);
361 void stop_sta_xmit(struct adapter *padapter, struct sta_info *psta);
362 void wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta);
363 void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta);
/drivers/net/wireless/intersil/hostap/
Dhostap_ap.c56 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()
92 static void ap_sta_hash_del(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_del()
94 struct sta_info *s; in ap_sta_hash_del()
112 static void ap_free_sta(struct ap_data *ap, struct sta_info *sta) in ap_free_sta()
152 static void hostap_event_new_sta(struct net_device *dev, struct sta_info *sta) in hostap_event_new_sta()
163 struct sta_info *sta) in hostap_event_expired_sta()
177 struct sta_info *sta = from_timer(sta, t, timer); in ap_handle_timer()
469 struct sta_info *sta; in ap_control_kick_mac()
[all …]
Dhostap_ap.h40 struct sta_info { struct
42 struct sta_info *hnext; /* next entry in hash table list */ argument
183 struct sta_info *sta_hash[STA_HASH_SIZE];
207 struct sta_info *sta_aid[MAX_AID_TABLE_SIZE];
/drivers/net/wireless/ath/carl9170/
Dtx.c141 struct carl9170_sta_info *sta_info; in carl9170_tx_ps_unblock() local
148 sta_info = (struct carl9170_sta_info *) sta->drv_priv; in carl9170_tx_ps_unblock()
149 if (atomic_dec_return(&sta_info->pending_frames) == 0) in carl9170_tx_ps_unblock()
384 struct carl9170_sta_info *sta_info; in carl9170_tx_status_process_ampdu() local
399 sta_info = (void *) sta->drv_priv; in carl9170_tx_status_process_ampdu()
400 tid_info = rcu_dereference(sta_info->agg[tid]); in carl9170_tx_status_process_ampdu()
408 if (sta_info->stats[tid].clear) { in carl9170_tx_status_process_ampdu()
409 sta_info->stats[tid].clear = false; in carl9170_tx_status_process_ampdu()
410 sta_info->stats[tid].req = false; in carl9170_tx_status_process_ampdu()
411 sta_info->stats[tid].ampdu_len = 0; in carl9170_tx_status_process_ampdu()
[all …]
Dmain.c1304 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_sta_add() local
1307 atomic_set(&sta_info->pending_frames, 0); in carl9170_op_sta_add()
1319 for (i = 0; i < ARRAY_SIZE(sta_info->agg); i++) in carl9170_op_sta_add()
1320 RCU_INIT_POINTER(sta_info->agg[i], NULL); in carl9170_op_sta_add()
1322 sta_info->ampdu_max_len = 1 << (3 + sta->deflink.ht_cap.ampdu_factor); in carl9170_op_sta_add()
1323 sta_info->ht_sta = true; in carl9170_op_sta_add()
1334 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_sta_remove() local
1340 sta_info->ht_sta = false; in carl9170_op_sta_remove()
1343 for (i = 0; i < ARRAY_SIZE(sta_info->agg); i++) { in carl9170_op_sta_remove()
1346 tid_info = rcu_dereference(sta_info->agg[i]); in carl9170_op_sta_remove()
[all …]
/drivers/staging/rtl8723bs/hal/
Dodm_types.h36 #define STA_INFO_T struct sta_info
37 #define PSTA_INFO_T struct sta_info *
/drivers/net/wireless/intel/iwlwifi/fw/api/
Dtdls.h131 struct iwl_tdls_sta_info sta_info[IWL_MVM_TDLS_STA_COUNT]; member
158 struct iwl_tdls_config_sta_info_res sta_info[IWL_MVM_TDLS_STA_COUNT]; member

1234