Home
last modified time | relevance | path

Searched refs:psta (Results 1 – 21 of 21) sorted by relevance

/linux/drivers/staging/rtl8723bs/core/
H A Drtw_sta_mgt.c9 void _rtw_init_stainfo(struct sta_info *psta);
10 void _rtw_init_stainfo(struct sta_info *psta) in _rtw_init_stainfo() argument
12 memset((u8 *)psta, 0, sizeof(struct sta_info)); in _rtw_init_stainfo()
14 spin_lock_init(&psta->lock); in _rtw_init_stainfo()
15 INIT_LIST_HEAD(&psta->list); in _rtw_init_stainfo()
16 INIT_LIST_HEAD(&psta->hash_list); in _rtw_init_stainfo()
21 INIT_LIST_HEAD(&psta->sleep_q.queue); in _rtw_init_stainfo()
22 spin_lock_init(&psta->sleep_q.lock); in _rtw_init_stainfo()
23 psta->sleepq_len = 0; in _rtw_init_stainfo()
25 _rtw_init_sta_xmit_priv(&psta->sta_xmitpriv); in _rtw_init_stainfo()
[all …]
H A Drtw_ap.c30 struct sta_info *psta = NULL; in free_mlme_ap_info() local
48 psta = rtw_get_bcmc_stainfo(padapter); in free_mlme_ap_info()
49 rtw_free_stainfo(padapter, psta); in free_mlme_ap_info()
166 static u8 chk_sta_is_alive(struct sta_info *psta) in chk_sta_is_alive() argument
168 sta_update_last_rx_pkts(psta); in chk_sta_is_alive()
177 struct sta_info *psta = NULL; in expire_timeout_chk() local
188 psta = list_entry(plist, struct sta_info, auth_list); in expire_timeout_chk()
190 if (psta->expire_to > 0) { in expire_timeout_chk()
191 psta->expire_to--; in expire_timeout_chk()
192 if (psta->expire_to == 0) { in expire_timeout_chk()
[all …]
H A Drtw_recv.c448 struct sta_info *psta; in portctrl() local
466 psta = rtw_get_stainfo(pstapriv, psta_addr); in portctrl()
469 if ((psta) && (psta->ieee8021x_blocked)) { in portctrl()
536 struct sta_info *psta = NULL; in process_pwrbit_data() local
538 psta = rtw_get_stainfo(pstapriv, pattrib->src); in process_pwrbit_data()
542 if (psta) { in process_pwrbit_data()
544 if (!(psta->state & WIFI_SLEEP_STATE)) { in process_pwrbit_data()
548 stop_sta_xmit(padapter, psta); in process_pwrbit_data()
552 if (psta->state & WIFI_SLEEP_STATE) { in process_pwrbit_data()
556 wakeup_sta_to_xmit(padapter, psta); in process_pwrbit_data()
[all …]
H A Drtw_btcoex.c38 struct sta_info *psta; in rtw_btcoex_RejectApAggregatedPacket() local
41 psta = rtw_get_stainfo(&padapter->stapriv, get_bssid(&padapter->mlmepriv)); in rtw_btcoex_RejectApAggregatedPacket()
45 if (psta) in rtw_btcoex_RejectApAggregatedPacket()
46 send_delba(padapter, 0, psta->hwaddr); in rtw_btcoex_RejectApAggregatedPacket()
H A Drtw_ioctl_set.c476 struct sta_info *psta = NULL; in rtw_get_cur_max_rate() local
483 psta = rtw_get_stainfo(&adapter->stapriv, get_bssid(pmlmepriv)); in rtw_get_cur_max_rate()
484 if (!psta) in rtw_get_cur_max_rate()
487 short_GI = query_ra_short_GI(psta); in rtw_get_cur_max_rate()
489 if (is_supported_ht(psta->wireless_mode)) { in rtw_get_cur_max_rate()
490 max_rate = rtw_mcs_rate(psta->bw_mode == CHANNEL_WIDTH_40 ? 1 : 0, in rtw_get_cur_max_rate()
492 psta->htpriv.ht_cap.mcs.rx_mask); in rtw_get_cur_max_rate()
/linux/drivers/staging/rtl8723bs/include/
H A 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);
H A Drtw_xmit.h178 struct sta_info *psta; member
440 struct tx_servq *rtw_get_sta_pending(struct adapter *padapter, struct sta_info *psta, signed int up…
468 void stop_sta_xmit(struct adapter *padapter, struct sta_info *psta);
469 void wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta);
470 void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta);
472 u8 query_ra_short_GI(struct sta_info *psta);
H A Drtw_security.h171 #define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst)\ argument
183 encry_algo = (u8)psta->dot118021XPrivacy;\
H A Drtw_mlme.h326 extern void rtw_disconnect_hdl_under_linked(struct adapter *adapter, struct sta_info *psta, u8 free…
399 void rtw_sta_media_status_rpt(struct adapter *adapter, struct sta_info *psta, u32 mstatus);
H A Dsta_info.h323 extern u32 rtw_free_stainfo(struct adapter *padapter, struct sta_info *psta);
H A Drtw_recv.h321 struct sta_info *psta; member
H A Drtw_cmd.h605 u8 rtw_dm_ra_mask_wk_cmd(struct adapter *padapter, u8 *psta);
/linux/drivers/staging/rtl8723bs/hal/
H A Drtl8723b_dm.c190 struct sta_info *psta = NULL; in rtl8723b_hal_dm_in_lps() local
197 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); in rtl8723b_hal_dm_in_lps()
198 if (psta && (psta->rssi_stat.UndecoratedSmoothedPWDB > 0)) { in rtl8723b_hal_dm_in_lps()
199 PWDB_rssi = (psta->mac_id | (psta->rssi_stat.UndecoratedSmoothedPWDB<<16)); in rtl8723b_hal_dm_in_lps()
215 struct sta_info *psta = NULL; in rtl8723b_HalDmWatchDog_in_LPS() local
237 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); in rtl8723b_HalDmWatchDog_in_LPS()
238 if (!psta) in rtl8723b_HalDmWatchDog_in_LPS()
241 pdmpriv->EntryMinUndecoratedSmoothedPWDB = psta->rssi_stat.UndecoratedSmoothedPWDB; in rtl8723b_HalDmWatchDog_in_LPS()
H A Drtl8723bs_recv.c100 struct sta_info *psta; in update_recvframe_phyinfo() local
122 psta = rtw_get_stainfo(pstapriv, sa); in update_recvframe_phyinfo()
123 if (psta) in update_recvframe_phyinfo()
124 pkt_info.station_id = psta->mac_id; in update_recvframe_phyinfo()
132 if (psta) in update_recvframe_phyinfo()
133 psta->rssi = pattrib->phy_info.RecvSignalPower; in update_recvframe_phyinfo()
135 precvframe->u.hdr.psta = NULL; in update_recvframe_phyinfo()
140 if (psta) { in update_recvframe_phyinfo()
141 precvframe->u.hdr.psta = psta; in update_recvframe_phyinfo()
147 if (psta) in update_recvframe_phyinfo()
[all …]
H A Drtl8723b_cmd.c738 struct sta_info *psta; in rtl8723b_Add_RateATid() local
745 psta = pmlmeinfo->FW_sta_info[mac_id].psta; in rtl8723b_Add_RateATid()
746 if (!psta) in rtl8723b_Add_RateATid()
749 bw = psta->bw_mode; in rtl8723b_Add_RateATid()
H A Dhal_btcoex.c531 struct sta_info *psta; in halbtcoutsrc_Set() local
535 psta = rtw_get_stainfo(&padapter->stapriv, cur_network->mac_address); in halbtcoutsrc_Set()
536 rtw_hal_update_ra_mask(psta, 0); in halbtcoutsrc_Set()
/linux/drivers/staging/rtl8723bs/os_dep/
H A Dxmit_linux.c128 struct sta_info *psta = NULL; in rtw_mlcst2unicst() local
143 psta = list_entry(plist, struct sta_info, asoc_list); in rtw_mlcst2unicst()
145 stainfo_offset = rtw_stainfo_offset(pstapriv, psta); in rtw_mlcst2unicst()
152 psta = rtw_get_stainfo_by_offset(pstapriv, chk_alive_list[i]); in rtw_mlcst2unicst()
153 if (!(psta->state & _FW_LINKED)) in rtw_mlcst2unicst()
157 if (!memcmp(psta->hwaddr, &skb->data[6], 6) || in rtw_mlcst2unicst()
158 !memcmp(psta->hwaddr, null_addr, 6) || in rtw_mlcst2unicst()
159 !memcmp(psta->hwaddr, bc_addr, 6)) in rtw_mlcst2unicst()
165 memcpy(newskb->data, psta->hwaddr, 6); in rtw_mlcst2unicst()
H A Drecv_linux.c101 struct sta_info *psta = NULL; in rtw_os_recv_indicate_pkt() local
107 psta = rtw_get_bcmc_stainfo(padapter); in rtw_os_recv_indicate_pkt()
110 psta = rtw_get_stainfo(pstapriv, pattrib->dst); in rtw_os_recv_indicate_pkt()
113 if (psta) { in rtw_os_recv_indicate_pkt()
H A Dmlme_linux.c167 void init_addba_retry_timer(struct adapter *padapter, struct sta_info *psta) in init_addba_retry_timer() argument
169 timer_setup(&psta->addba_retry_timer, addba_timer_hdl, 0); in init_addba_retry_timer()
/linux/drivers/net/wireless/intel/iwlegacy/
H A D3945-rs.c323 struct il3945_sta_priv *psta; in il3945_rs_rate_init() local
332 psta = (struct il3945_sta_priv *)sta->drv_priv; in il3945_rs_rate_init()
333 rs_sta = &psta->rs_sta; in il3945_rs_rate_init()
392 struct il3945_sta_priv *psta = (void *)sta->drv_priv; in il3945_rs_alloc_sta() local
397 rs_sta = &psta->rs_sta; in il3945_rs_alloc_sta()
886 struct il3945_sta_priv *psta; in il3945_rate_scale_init() local
899 psta = (void *)sta->drv_priv; in il3945_rate_scale_init()
900 rs_sta = &psta->rs_sta; in il3945_rate_scale_init()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c170 return !!MLX5_GET(mtptm_reg, out, psta); in mlx5_is_ptm_source_time_available()