Home
last modified time | relevance | path

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

1234

/drivers/staging/r8188eu/core/
Drtw_sta_mgt.c13 static void _rtw_init_stainfo(struct sta_info *psta) in _rtw_init_stainfo()
16 memset((u8 *)psta, 0, sizeof(struct sta_info)); in _rtw_init_stainfo()
60 struct sta_info *psta; in _rtw_init_sta_priv()
63 pstapriv->pallocated_stainfo_buf = vzalloc(sizeof(struct sta_info) * NUM_STA + 4); in _rtw_init_sta_priv()
79 psta = (struct sta_info *)(pstapriv->pstainfo_buf); in _rtw_init_sta_priv()
112 inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) in rtw_stainfo_offset()
114 int offset = (((u8 *)sta) - stapriv->pstainfo_buf) / sizeof(struct sta_info); in rtw_stainfo_offset()
122 inline struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset) in rtw_get_stainfo_by_offset()
127 return (struct sta_info *)(stapriv->pstainfo_buf + offset * sizeof(struct sta_info)); in rtw_get_stainfo_by_offset()
133 struct sta_info *psta = NULL; in _rtw_free_sta_priv()
[all …]
Drtw_ap.c29 struct sta_info *psta = NULL; in free_mlme_ap_info()
142 static u8 chk_sta_is_alive(struct sta_info *psta) in chk_sta_is_alive()
161 struct sta_info *psta = NULL; in expire_timeout_chk()
174 psta = container_of(plist, struct sta_info, auth_list); in expire_timeout_chk()
208 psta = container_of(plist, struct sta_info, asoc_list); in expire_timeout_chk()
319 void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level) in add_RATid()
418 struct sta_info *psta = rtw_get_bcmc_stainfo(padapter); in update_bmc_sta()
494 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta) in update_sta_info_apmode()
732 struct sta_info *psta = NULL; in rtw_check_beacon_data()
1375 struct sta_info *psta = NULL; in associated_clients_update()
[all …]
Drtw_xmit.c257 struct sta_info *psta = pattrib->psta; in update_attrib_vcs_info()
330 static void update_attrib_phy_info(struct pkt_attrib *pattrib, struct sta_info *psta) in update_attrib_phy_info()
414 struct sta_info *psta = NULL; in update_attrib()
597 struct sta_info *stainfo; in xmitframe_addmic()
718 struct sta_info *psta; in rtw_make_wlanhdr()
838 struct sta_info *psta; in rtw_txframes_sta_ac_pending()
906 struct sta_info *psta; in rtw_xmitframe_coalesce()
1115 struct sta_info *psta = NULL; in rtw_count_tx_stats()
1453 struct tx_servq *rtw_get_sta_pending(struct adapter *padapter, struct sta_info *psta, int up, u8 *a… in rtw_get_sta_pending()
1491 struct sta_info *psta; in rtw_xmit_classifier()
[all …]
Drtw_recv.c318 struct sta_info *stainfo; in recvframe_chkmic()
452 struct sta_info *psta; in portctrl()
531 struct sta_info *psta = NULL; in process_pwrbit_data()
555 struct sta_info *psta = NULL; in process_wmmps_data()
605 static void count_rx_stats(struct adapter *padapter, struct recv_frame *prframe, struct sta_info *s… in count_rx_stats()
608 struct sta_info *psta = NULL; in count_rx_stats()
637 struct sta_info **psta
640 int sta2sta_data_frame(struct adapter *adapter, struct recv_frame *precv_frame, struct sta_info **p… in sta2sta_data_frame()
730 struct sta_info **psta) in ap2sta_data_frame()
828 struct sta_info **psta) in sta2ap_data_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()
54 struct sta_info *psta; in _rtw_init_sta_priv()
57 pstapriv->pallocated_stainfo_buf = vzalloc(sizeof(struct sta_info) * NUM_STA+4); in _rtw_init_sta_priv()
74 psta = (struct sta_info *)(pstapriv->pstainfo_buf); in _rtw_init_sta_priv()
103 inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) in rtw_stainfo_offset()
105 int offset = (((u8 *)sta) - stapriv->pstainfo_buf)/sizeof(struct sta_info); in rtw_stainfo_offset()
110 inline struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset) in rtw_get_stainfo_by_offset()
112 return (struct sta_info *)(stapriv->pstainfo_buf + offset * sizeof(struct sta_info)); in rtw_get_stainfo_by_offset()
[all …]
Drtw_ap.c30 struct sta_info *psta = NULL; in free_mlme_ap_info()
166 static u8 chk_sta_is_alive(struct sta_info *psta) in chk_sta_is_alive()
177 struct sta_info *psta = NULL; in expire_timeout_chk()
188 psta = list_entry(plist, struct sta_info, auth_list); in expire_timeout_chk()
213 psta = list_entry(plist, struct sta_info, asoc_list); in expire_timeout_chk()
323 void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level) in add_RATid()
380 struct sta_info *psta = rtw_get_bcmc_stainfo(padapter); in update_bmc_sta()
452 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta) in update_sta_info_apmode()
564 static void update_ap_info(struct adapter *padapter, struct sta_info *psta) in update_ap_info()
816 struct sta_info *psta = NULL; in rtw_check_beacon_data()
[all …]
Drtw_xmit.c322 u8 query_ra_short_GI(struct sta_info *psta) in query_ra_short_GI()
424 …update_attrib_phy_info(struct adapter *padapter, struct pkt_attrib *pattrib, struct sta_info *psta) in update_attrib_phy_info()
463 …update_attrib_sec_info(struct adapter *padapter, struct pkt_attrib *pattrib, struct sta_info *psta) in update_attrib_sec_info()
614 struct sta_info *psta = NULL; in update_attrib()
925 struct sta_info *psta; in rtw_make_wlanhdr()
1136 struct sta_info *psta = NULL; in rtw_mgmt_xmitframe_coalesce()
1362 struct sta_info *psta = NULL; in rtw_count_tx_stats()
1745 struct tx_servq *rtw_get_sta_pending(struct adapter *padapter, struct sta_info *psta, signed int up… in rtw_get_sta_pending()
1786 struct sta_info *psta; in rtw_xmit_classifier()
2007 struct sta_info *psta = NULL; in xmitframe_enqueue_for_sleeping_sta()
[all …]
/drivers/staging/r8188eu/include/
Drtw_ap.h14 struct sta_info *psta);
16 struct sta_info *psta);
21 void add_RATid(struct adapter *padapter, struct sta_info *psta,
24 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta);
33 void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta);
34 u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta);
35 void sta_info_update(struct adapter *padapter, struct sta_info *psta);
36 void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta);
37 u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta,
Dsta_info.h66 struct sta_info { struct
323 struct sta_info *sta_aid[NUM_STA];
357 int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta);
358 struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int off);
360 extern struct sta_info *rtw_alloc_stainfo(struct sta_priv *stapriv, u8 *hwaddr);
361 extern u32 rtw_free_stainfo(struct adapter *adapt, struct sta_info *psta);
363 extern struct sta_info *rtw_get_stainfo(struct sta_priv *stapriv, u8 *hwaddr);
365 extern struct sta_info *rtw_get_bcmc_stainfo(struct adapter *padapter);
Drtw_mlme_ext.h262 struct sta_info *psta;
433 extern void init_addba_retry_timer(struct adapter *adapt, struct sta_info *sta);
496 void VCS_update(struct adapter *padapter, struct sta_info *psta);
499 struct sta_info *psta);
510 void update_sta_info(struct adapter *padapter, struct sta_info *psta);
515 void set_sta_rate(struct adapter *padapter, struct sta_info *psta);
564 struct sta_info *pstat, int pkt_type);
565 void issue_auth(struct adapter *padapter, struct sta_info *psta,
636 struct sta_info *psta);
642 void addba_timer_hdl(struct sta_info *psta);
Drtw_xmit.h145 struct sta_info *psta;
328 struct sta_info *psta, int up, u8 *ac);
354 void stop_sta_xmit(struct adapter *padapter, struct sta_info *psta);
355 void wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta);
356 void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta);
/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.h45 struct sta_info { struct
123 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv,
125 void r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta);
127 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
129 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()
465 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);
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_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 …]
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/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.c1305 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_sta_add() local
1308 atomic_set(&sta_info->pending_frames, 0); in carl9170_op_sta_add()
1320 for (i = 0; i < ARRAY_SIZE(sta_info->agg); i++) in carl9170_op_sta_add()
1321 RCU_INIT_POINTER(sta_info->agg[i], NULL); in carl9170_op_sta_add()
1323 sta_info->ampdu_max_len = 1 << (3 + sta->deflink.ht_cap.ampdu_factor); in carl9170_op_sta_add()
1324 sta_info->ht_sta = true; in carl9170_op_sta_add()
1335 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_sta_remove() local
1341 sta_info->ht_sta = false; in carl9170_op_sta_remove()
1344 for (i = 0; i < ARRAY_SIZE(sta_info->agg); i++) { in carl9170_op_sta_remove()
1347 tid_info = rcu_dereference(sta_info->agg[i]); in carl9170_op_sta_remove()
[all …]
/drivers/staging/r8188eu/os_dep/
Dmlme_linux.c151 struct sta_info *psta = from_timer(psta, t, addba_retry_timer); in _addba_timer_hdl()
155 void init_addba_retry_timer(struct adapter *padapter, struct sta_info *psta) in init_addba_retry_timer()
170 void rtw_indicate_sta_assoc_event(struct adapter *padapter, struct sta_info *psta) in rtw_indicate_sta_assoc_event()
193 void rtw_indicate_sta_disassoc_event(struct adapter *padapter, struct sta_info *psta) in rtw_indicate_sta_disassoc_event()
/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