Home
last modified time | relevance | path

Searched refs:stapriv (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_sta_mgt.c99 inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) in rtw_stainfo_offset() argument
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() argument
106 return (struct sta_info *)(stapriv->pstainfo_buf + offset * sizeof(struct sta_info)); in rtw_get_stainfo_by_offset()
252 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_stainfo()
371 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_all_stainfo()
440 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_init_bcmc_stainfo()
460 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_get_bcmc_stainfo()
474 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_access_ctrl()
Drtw_ap.c15 struct sta_priv *pstapriv = &padapter->stapriv; in init_mlme_ap_info()
29 struct sta_priv *pstapriv = &padapter->stapriv; in free_mlme_ap_info()
53 struct sta_priv *pstapriv = &padapter->stapriv; in update_BCNTIM()
161 struct sta_priv *pstapriv = &padapter->stapriv; in expire_timeout_chk()
736 struct sta_priv *pstapriv = &padapter->stapriv; in associated_clients_update()
941 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_indicate_sta_assoc_event()
962 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_indicate_sta_disassoc_event()
984 struct sta_priv *pstapriv = &padapter->stapriv; in ap_free_sta()
1025 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_sta_flush()
1090 struct sta_priv *pstapriv = &padapter->stapriv; in start_ap_mode()
[all …]
Drtw_mlme.c799 struct sta_priv *pstapriv = &adapter->stapriv; in rtw_free_assoc_resources()
805 psta = rtw_get_stainfo(&adapter->stapriv, tgt_network->network.MacAddress); in rtw_free_assoc_resources()
832 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) && (adapter->stapriv.asoc_sta_count == 1))) in rtw_free_assoc_resources()
945 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_joinbss_update_stainfo()
1057 struct sta_priv *pstapriv = &adapter->stapriv; in rtw_joinbss_event_prehandle()
1173 struct sta_priv *pstapriv = &padapter->stapriv; in search_max_mac_id()
1223 psta = rtw_get_stainfo(&adapter->stapriv, pstassoc->macaddr); in rtw_stassoc_event_callback()
1229 psta = rtw_get_stainfo(&adapter->stapriv, pstassoc->macaddr); in rtw_stassoc_event_callback()
1233 psta = rtw_alloc_stainfo(&adapter->stapriv, pstassoc->macaddr); in rtw_stassoc_event_callback()
1249 if (adapter->stapriv.asoc_sta_count == 2) { in rtw_stassoc_event_callback()
[all …]
Drtw_recv.c379 stainfo = rtw_get_stainfo(&adapter->stapriv, &prxattrib->ta[0]); in recvframe_chkmic()
509 pstapriv = &adapter->stapriv; in portctrl()
577 struct sta_priv *pstapriv = &padapter->stapriv; in process_pwrbit_data()
598 struct sta_priv *pstapriv = &padapter->stapriv; in process_wmmps_data()
681 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame()
760 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame()
843 struct sta_priv *pstapriv = &adapter->stapriv; in sta2ap_data_frame()
897 struct sta_priv *pstapriv = &padapter->stapriv; in validate_recv_ctrl_frame()
1011 psta = rtw_get_stainfo(&padapter->stapriv, hdr->addr2); in validate_recv_mgnt_frame()
1323 pstapriv = &padapter->stapriv; in recvframe_chk_defrag()
[all …]
Drtw_xmit.c523 struct sta_priv *pstapriv = &padapter->stapriv; in update_attrib()
703 stainfo = rtw_get_stainfo(&padapter->stapriv, &pattrib->ra[0]); in xmitframe_addmic()
821 psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); in rtw_make_wlanhdr()
988 psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); in rtw_xmitframe_coalesce()
1547 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_xmit_classifier()
1830 struct sta_priv *pstapriv = &padapter->stapriv; in xmitframe_enqueue_for_sleeping_sta()
1960 struct sta_priv *pstapriv = &padapter->stapriv; in stop_sta_xmit()
2000 struct sta_priv *pstapriv = &padapter->stapriv; in wakeup_sta_to_xmit()
2128 struct sta_priv *pstapriv = &padapter->stapriv; in xmit_delivery_enabled_frames()
2267 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_mlcst2unicst()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_sta_mgt.c107 inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) in rtw_stainfo_offset() argument
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() argument
116 return (struct sta_info *)(stapriv->pstainfo_buf + offset * sizeof(struct sta_info)); in rtw_get_stainfo_by_offset()
278 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_stainfo()
435 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_all_stainfo()
503 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_init_bcmc_stainfo()
519 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_get_bcmc_stainfo()
531 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_access_ctrl()
Drtw_ap.c15 struct sta_priv *pstapriv = &padapter->stapriv; in init_mlme_ap_info()
55 struct sta_priv *pstapriv = &padapter->stapriv; in update_BCNTIM()
179 struct sta_priv *pstapriv = &padapter->stapriv; in expire_timeout_chk()
1148 psta = rtw_get_stainfo(&padapter->stapriv, pbss_network->mac_address); in rtw_check_beacon_data()
1150 psta = rtw_alloc_stainfo(&padapter->stapriv, pbss_network->mac_address); in rtw_check_beacon_data()
1171 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_macaddr_acl()
1183 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_add_sta()
1238 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_remove_sta()
1688 struct sta_priv *pstapriv = &padapter->stapriv; in associated_clients_update()
1935 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_sta_flush()
[all …]
Drtw_btcoex.c42 psta = rtw_get_stainfo(&padapter->stapriv, get_bssid(&padapter->mlmepriv)); in rtw_btcoex_RejectApAggregatedPacket()
Drtw_recv.c315 stainfo = rtw_get_stainfo(&adapter->stapriv, &prxattrib->ta[0]); in recvframe_chkmic()
456 pstapriv = &adapter->stapriv; in portctrl()
536 struct sta_priv *pstapriv = &padapter->stapriv; in process_pwrbit_data()
567 struct sta_priv *pstapriv = &padapter->stapriv; in process_wmmps_data()
652 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame()
740 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame()
844 struct sta_priv *pstapriv = &adapter->stapriv; in sta2ap_data_frame()
894 struct sta_priv *pstapriv = &padapter->stapriv; in validate_recv_ctrl_frame()
1107 pstapriv = &padapter->stapriv; in recvframe_chk_defrag()
1203 …struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(precv_frame->u.hdr.rx_data… in validate_recv_mgnt_frame()
Drtw_mlme.c893 (adapter->stapriv.asoc_sta_count == 1)) in find_network()
910 psta = rtw_get_stainfo(&adapter->stapriv, tgt_network->network.mac_address); in rtw_free_assoc_resources()
1023 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_joinbss_update_stainfo()
1164 struct sta_priv *pstapriv = &adapter->stapriv; in rtw_joinbss_event_prehandle()
1324 psta = rtw_get_stainfo(&adapter->stapriv, pstassoc->macaddr); in rtw_stassoc_event_callback()
1358 psta = rtw_get_stainfo(&adapter->stapriv, pstassoc->macaddr); in rtw_stassoc_event_callback()
1365 psta = rtw_alloc_stainfo(&adapter->stapriv, pstassoc->macaddr); in rtw_stassoc_event_callback()
1388 if (adapter->stapriv.asoc_sta_count == 2) { in rtw_stassoc_event_callback()
1418 psta = rtw_get_stainfo(&adapter->stapriv, pstadel->macaddr); in rtw_stadel_event_callback()
1485 if (adapter->stapriv.asoc_sta_count == 1) {/* a sta + bc/mc_stainfo (not Ibss_stainfo) */ in rtw_stadel_event_callback()
[all …]
Drtw_xmit.c626 struct sta_priv *pstapriv = &padapter->stapriv; in update_attrib()
935 psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); in rtw_make_wlanhdr()
1227 psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); in rtw_mgmt_xmitframe_coalesce()
1800 psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); in rtw_xmit_classifier()
2016 struct sta_priv *pstapriv = &padapter->stapriv; in xmitframe_enqueue_for_sleeping_sta()
2024 psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); in xmitframe_enqueue_for_sleeping_sta()
2161 struct sta_priv *pstapriv = &padapter->stapriv; in stop_sta_xmit()
2201 struct sta_priv *pstapriv = &padapter->stapriv; in wakeup_sta_to_xmit()
2318 struct sta_priv *pstapriv = &padapter->stapriv; in xmit_delivery_enabled_frames()
/linux-6.1.9/drivers/staging/r8188eu/include/
Dsta_info.h302 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);
308 extern struct sta_info *rtw_get_stainfo(struct sta_priv *stapriv, u8 *hwaddr);
Ddrv_types.h158 struct sta_priv stapriv; member
/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_sta_mgt.c150 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_free_stainfo()
197 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_free_all_stainfo()
247 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_init_bcmc_stainfo()
254 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_get_bcmc_stainfo()
Drtl871x_mlme.c576 struct sta_priv *pstapriv = &adapter->stapriv; in r8712_free_assoc_resources()
585 psta = r8712_get_stainfo(&adapter->stapriv, in r8712_free_assoc_resources()
600 (adapter->stapriv.asoc_sta_count == 1))) in r8712_free_assoc_resources()
654 struct sta_priv *pstapriv = &adapter->stapriv; in r8712_joinbss_event_callback()
854 psta = r8712_get_stainfo(&adapter->stapriv, pstassoc->macaddr); in r8712_stassoc_event_callback()
863 psta = r8712_alloc_stainfo(&adapter->stapriv, pstassoc->macaddr); in r8712_stassoc_event_callback()
877 if (adapter->stapriv.asoc_sta_count == 2) { in r8712_stassoc_event_callback()
894 struct sta_priv *pstapriv = &adapter->stapriv; in r8712_stadel_event_callback()
904 psta = r8712_get_stainfo(&adapter->stapriv, pstadel->macaddr); in r8712_stadel_event_callback()
908 if (adapter->stapriv.asoc_sta_count == 1) { in r8712_stadel_event_callback()
[all …]
Drtl871x_recv.c146 stainfo = r8712_get_stainfo(&adapter->stapriv, &prxattrib->ta[0]); in r8712_recvframe_chkmic()
236 pstapriv = &adapter->stapriv; in r8712_portctrl()
299 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame()
368 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame()
428 struct sta_priv *pstapriv = &adapter->stapriv; in sta2ap_data_frame()
Dos_intfs.c317 ret = _r8712_init_sta_priv(&padapter->stapriv); in r8712_init_drv_sw()
320 padapter->stapriv.padapter = padapter; in r8712_init_drv_sw()
336 _r8712_free_sta_priv(&padapter->stapriv); in r8712_free_drv_sw()
Ddrv_types.h137 struct sta_priv stapriv; member
Drtl871x_cmd.c693 psta = r8712_get_stainfo(&padapter->stapriv, in r8712_createbss_cmd_callback()
696 psta = r8712_alloc_stainfo(&padapter->stapriv, in r8712_createbss_cmd_callback()
734 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_setstaKey_cmdrsp_callback()
751 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_setassocsta_cmdrsp_callback()
/linux-6.1.9/drivers/staging/r8188eu/hal/
Dhal_intf.c47 struct sta_priv *pstapriv = &adapt->stapriv; in rtw_hal_update_ra_mask()
Drtl8188e_dm.c80 if (Adapter->stapriv.asoc_sta_count > 2) in rtl8188e_HalDmWatchDog()
/linux-6.1.9/drivers/staging/rtl8723bs/hal/
Drtl8723b_dm.c190 struct sta_priv *pstapriv = &padapter->stapriv; in rtl8723b_hal_dm_in_lps()
215 struct sta_priv *pstapriv = &Adapter->stapriv; in rtl8723b_HalDmWatchDog_in_LPS()
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c139 struct sta_priv *pstapriv = &padapter->stapriv; in wpa_set_encryption()
532 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_encryption()
770 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_beacon()
811 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_add_sta()
879 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_del_sta()
919 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_ioctl_get_sta_data()
980 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_get_sta_wpaie()
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Dsta_info.h363 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);
/linux-6.1.9/drivers/staging/r8188eu/os_dep/
Dos_intfs.c497 if (_rtw_init_sta_priv(&padapter->stapriv) == _FAIL) { in rtw_init_drv_sw()
502 padapter->stapriv.padapter = padapter; in rtw_init_drv_sw()
577 _rtw_free_sta_priv(&padapter->stapriv); /* will free bcmc_stainfo here */ in rtw_free_drv_sw()

12