Home
last modified time | relevance | path

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

123

/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_sta_mgt.c113 inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) in rtw_stainfo_offset() argument
115 int offset = (((u8 *)sta) - stapriv->pstainfo_buf) / sizeof(struct sta_info); in rtw_stainfo_offset()
123 inline struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset) in rtw_get_stainfo_by_offset() argument
128 return (struct sta_info *)(stapriv->pstainfo_buf + offset * sizeof(struct sta_info)); in rtw_get_stainfo_by_offset()
258 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_stainfo()
388 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_all_stainfo()
455 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_init_bcmc_stainfo()
473 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_get_bcmc_stainfo()
486 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_access_ctrl()
Drtw_ap.c22 struct sta_priv *pstapriv = &padapter->stapriv; in init_mlme_ap_info()
36 struct sta_priv *pstapriv = &padapter->stapriv; in free_mlme_ap_info()
60 struct sta_priv *pstapriv = &padapter->stapriv; in update_BCNTIM()
170 struct sta_priv *pstapriv = &padapter->stapriv; in expire_timeout_chk()
991 psta = rtw_get_stainfo(&padapter->stapriv, pbss_network->MacAddress); in rtw_check_beacon_data()
993 psta = rtw_alloc_stainfo(&padapter->stapriv, pbss_network->MacAddress); in rtw_check_beacon_data()
1007 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_macaddr_acl()
1021 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_add_sta()
1084 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_remove_sta()
1337 struct sta_priv *pstapriv = &padapter->stapriv; in associated_clients_update()
[all …]
Drtw_mlme.c728 struct sta_priv *pstapriv = &adapter->stapriv; in rtw_free_assoc_resources_locked()
739 psta = rtw_get_stainfo(&adapter->stapriv, tgt_network->network.MacAddress); in rtw_free_assoc_resources_locked()
765 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) && (adapter->stapriv.asoc_sta_count == 1))) in rtw_free_assoc_resources_locked()
833 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_joinbss_update_stainfo()
957 struct sta_priv *pstapriv = &adapter->stapriv; in rtw_joinbss_event_prehandle()
1092 struct sta_priv *pstapriv = &padapter->stapriv; in search_max_mac_id()
1143 psta = rtw_get_stainfo(&adapter->stapriv, pstassoc->macaddr); in rtw_stassoc_event_callback()
1152 psta = rtw_get_stainfo(&adapter->stapriv, pstassoc->macaddr); in rtw_stassoc_event_callback()
1160 psta = rtw_alloc_stainfo(&adapter->stapriv, pstassoc->macaddr); in rtw_stassoc_event_callback()
1179 if (adapter->stapriv.asoc_sta_count == 2) { in rtw_stassoc_event_callback()
[all …]
Drtw_recv.c216 stainfo = rtw_get_stainfo(&adapter->stapriv, &prxattrib->ta[0]); in recvframe_chkmic()
425 pstapriv = &adapter->stapriv; in portctrl()
520 struct sta_priv *pstapriv = &padapter->stapriv; in process_pwrbit_data()
545 struct sta_priv *pstapriv = &padapter->stapriv; in process_wmmps_data()
633 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame()
712 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame()
800 struct sta_priv *pstapriv = &adapter->stapriv; in sta2ap_data_frame()
858 struct sta_priv *pstapriv = &padapter->stapriv; in validate_recv_ctrl_frame()
996 psta = rtw_get_stainfo(&padapter->stapriv, in validate_recv_mgnt_frame()
1395 pstapriv = &padapter->stapriv; in recvframe_chk_defrag()
Drtw_xmit.c399 struct sta_priv *pstapriv = &padapter->stapriv; in update_attrib()
603 stainfo = rtw_get_stainfo(&padapter->stapriv, &pattrib->ra[0]); in xmitframe_addmic()
754 psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); in rtw_make_wlanhdr()
921 psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra); in rtw_xmitframe_coalesce()
1480 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_xmit_classifier()
1638 struct sta_priv *pstapriv = &padapter->stapriv; in xmitframe_enqueue_for_sleeping_sta()
1768 struct sta_priv *pstapriv = &padapter->stapriv; in stop_sta_xmit()
1813 struct sta_priv *pstapriv = &padapter->stapriv; in wakeup_sta_to_xmit()
1941 struct sta_priv *pstapriv = &padapter->stapriv; in xmit_delivery_enabled_frames()
Drtw_security.c603 stainfo = rtw_get_stainfo(&padapter->stapriv, &pattrib->ra[0]); in rtw_tkip_encrypt()
674 stainfo = rtw_get_stainfo(&padapter->stapriv, &prxattrib->ta[0]); in rtw_tkip_decrypt()
757 stainfo = rtw_get_stainfo(&padapter->stapriv, &pattrib->ra[0]); in rtw_aes_encrypt()
835 struct sta_info *stainfo = rtw_get_stainfo(&padapter->stapriv, &prxattrib->ta[0]); in rtw_aes_decrypt()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_sta_mgt.c105 inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) in rtw_stainfo_offset() argument
107 int offset = (((u8 *)sta) - stapriv->pstainfo_buf)/sizeof(struct sta_info); in rtw_stainfo_offset()
115 inline struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset) in rtw_get_stainfo_by_offset() argument
120 return (struct sta_info *)(stapriv->pstainfo_buf + offset * sizeof(struct sta_info)); in rtw_get_stainfo_by_offset()
313 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_stainfo()
485 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_all_stainfo()
559 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_init_bcmc_stainfo()
579 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_get_bcmc_stainfo()
591 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_access_ctrl()
Drtw_ap.c21 struct sta_priv *pstapriv = &padapter->stapriv; in init_mlme_ap_info()
60 struct sta_priv *pstapriv = &padapter->stapriv; in update_BCNTIM()
207 struct sta_priv *pstapriv = &padapter->stapriv; in expire_timeout_chk()
1297 psta = rtw_get_stainfo(&padapter->stapriv, pbss_network->MacAddress); in rtw_check_beacon_data()
1299 psta = rtw_alloc_stainfo(&padapter->stapriv, pbss_network->MacAddress); in rtw_check_beacon_data()
1320 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_macaddr_acl()
1334 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_add_sta()
1402 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_remove_sta()
1918 struct sta_priv *pstapriv = &padapter->stapriv; in associated_clients_update()
2193 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_sta_flush()
[all …]
Drtw_btcoex.c50 psta = rtw_get_stainfo(&padapter->stapriv, get_bssid(&padapter->mlmepriv)); in rtw_btcoex_RejectApAggregatedPacket()
Drtw_mlme.c974 (adapter->stapriv.asoc_sta_count == 1)) in find_network()
985 struct sta_priv *pstapriv = &adapter->stapriv; in rtw_free_assoc_resources()
996 psta = rtw_get_stainfo(&adapter->stapriv, tgt_network->network.MacAddress); in rtw_free_assoc_resources()
1125 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_joinbss_update_stainfo()
1291 struct sta_priv *pstapriv = &adapter->stapriv; in rtw_joinbss_event_prehandle()
1474 psta = rtw_get_stainfo(&adapter->stapriv, pstassoc->macaddr); in rtw_stassoc_event_callback()
1512 psta = rtw_get_stainfo(&adapter->stapriv, pstassoc->macaddr); in rtw_stassoc_event_callback()
1521 psta = rtw_alloc_stainfo(&adapter->stapriv, pstassoc->macaddr); in rtw_stassoc_event_callback()
1546 if (adapter->stapriv.asoc_sta_count == 2) { in rtw_stassoc_event_callback()
1576 psta = rtw_get_stainfo(&adapter->stapriv, pstadel->macaddr); in rtw_stadel_event_callback()
[all …]
Drtw_recv.c327 stainfo = rtw_get_stainfo(&adapter->stapriv, &prxattrib->ta[0]); in recvframe_chkmic()
555 pstapriv = &adapter->stapriv; in portctrl()
653 struct sta_priv *pstapriv = &padapter->stapriv; in process_pwrbit_data()
688 struct sta_priv *pstapriv = &padapter->stapriv; in process_wmmps_data()
783 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame()
882 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame()
1030 struct sta_priv *pstapriv = &adapter->stapriv; in sta2ap_data_frame()
1085 struct sta_priv *pstapriv = &padapter->stapriv; in validate_recv_ctrl_frame()
1234 …struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(precv_frame->u.hdr.rx_data… in validate_recv_mgnt_frame()
1795 pstapriv = &padapter->stapriv; in recvframe_chk_defrag()
/Linux-v5.10/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.c580 struct sta_priv *pstapriv = &adapter->stapriv; in r8712_free_assoc_resources()
589 psta = r8712_get_stainfo(&adapter->stapriv, in r8712_free_assoc_resources()
604 (adapter->stapriv.asoc_sta_count == 1))) in r8712_free_assoc_resources()
659 struct sta_priv *pstapriv = &adapter->stapriv; in r8712_joinbss_event_callback()
881 psta = r8712_get_stainfo(&adapter->stapriv, pstassoc->macaddr); in r8712_stassoc_event_callback()
890 psta = r8712_alloc_stainfo(&adapter->stapriv, pstassoc->macaddr); in r8712_stassoc_event_callback()
904 if (adapter->stapriv.asoc_sta_count == 2) { in r8712_stassoc_event_callback()
921 struct sta_priv *pstapriv = &adapter->stapriv; in r8712_stadel_event_callback()
931 psta = r8712_get_stainfo(&adapter->stapriv, pstadel->macaddr); in r8712_stadel_event_callback()
935 if (adapter->stapriv.asoc_sta_count == 1) { in r8712_stadel_event_callback()
[all …]
Drtl871x_recv.c145 stainfo = r8712_get_stainfo(&adapter->stapriv, &prxattrib->ta[0]); in r8712_recvframe_chkmic()
234 pstapriv = &adapter->stapriv; in r8712_portctrl()
297 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame()
366 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame()
426 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()
339 _r8712_free_sta_priv(&padapter->stapriv); in r8712_free_drv_sw()
Ddrv_types.h139 struct sta_priv stapriv; member
Drtl871x_cmd.c691 psta = r8712_get_stainfo(&padapter->stapriv, in r8712_createbss_cmd_callback()
694 psta = r8712_alloc_stainfo(&padapter->stapriv, in r8712_createbss_cmd_callback()
732 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_setstaKey_cmdrsp_callback()
749 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_setassocsta_cmdrsp_callback()
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Dsta_info.h348 int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta);
349 struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int off);
351 struct sta_info *rtw_alloc_stainfo(struct sta_priv *stapriv, u8 *hwaddr);
354 struct sta_info *rtw_get_stainfo(struct sta_priv *stapriv, u8 *hwaddr);
Ddrv_types.h139 struct sta_priv stapriv; member
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/
Dmlme_linux.c132 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_indicate_sta_assoc_event()
155 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_indicate_sta_disassoc_event()
Dos_intfs.c470 if (_rtw_init_sta_priv(&padapter->stapriv) == _FAIL) { in rtw_init_drv_sw()
476 padapter->stapriv.padapter = padapter; in rtw_init_drv_sw()
527 _rtw_free_sta_priv(&padapter->stapriv); in rtw_free_drv_sw()
Drecv_linux.c85 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_recv_indicatepkt()
/Linux-v5.10/drivers/staging/rtl8188eu/hal/
Dhal_intf.c56 struct sta_priv *pstapriv = &adapt->stapriv; in rtw_hal_update_ra_mask()
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Drtl8723b_dm.c207 struct sta_priv *pstapriv = &padapter->stapriv; in rtl8723b_hal_dm_in_lps()
234 struct sta_priv *pstapriv = &Adapter->stapriv; in rtl8723b_HalDmWatchDog_in_LPS()
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Dsta_info.h373 int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta);
374 struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset);

123