Home
last modified time | relevance | path

Searched refs:pstapriv (Results 1 – 24 of 24) sorted by relevance

/drivers/staging/rtl8188eu/core/
Drtw_sta_mgt.c67 u32 _rtw_init_sta_priv(struct sta_priv *pstapriv) in _rtw_init_sta_priv() argument
73 pstapriv->pallocated_stainfo_buf = vzalloc(sizeof(struct sta_info) * NUM_STA + 4); in _rtw_init_sta_priv()
75 if (!pstapriv->pallocated_stainfo_buf) in _rtw_init_sta_priv()
78 pstapriv->pstainfo_buf = pstapriv->pallocated_stainfo_buf + 4 - in _rtw_init_sta_priv()
79 ((size_t)(pstapriv->pallocated_stainfo_buf) & 3); in _rtw_init_sta_priv()
81 _rtw_init_queue(&pstapriv->free_sta_queue); in _rtw_init_sta_priv()
83 spin_lock_init(&pstapriv->sta_hash_lock); in _rtw_init_sta_priv()
85 pstapriv->asoc_sta_count = 0; in _rtw_init_sta_priv()
86 _rtw_init_queue(&pstapriv->sleep_q); in _rtw_init_sta_priv()
87 _rtw_init_queue(&pstapriv->wakeup_q); in _rtw_init_sta_priv()
[all …]
Drtw_ap.c30 struct sta_priv *pstapriv = &padapter->stapriv; in init_mlme_ap_info() local
31 struct wlan_acl_pool *pacl_list = &pstapriv->acl_list; in init_mlme_ap_info()
45 struct sta_priv *pstapriv = &padapter->stapriv; in free_mlme_ap_info() local
62 spin_lock_bh(&(pstapriv->sta_hash_lock)); in free_mlme_ap_info()
64 spin_unlock_bh(&(pstapriv->sta_hash_lock)); in free_mlme_ap_info()
69 struct sta_priv *pstapriv = &padapter->stapriv; in update_BCNTIM() local
124 if ((pstapriv->tim_bitmap&0xff00) && in update_BCNTIM()
125 (pstapriv->tim_bitmap&0x00fc)) in update_BCNTIM()
135 if (pstapriv->tim_bitmap&BIT(0))/* for bc/mc frames */ in update_BCNTIM()
141 *dst_ie++ = pstapriv->tim_bitmap & 0xff; in update_BCNTIM()
[all …]
Drtw_recv.c466 struct sta_priv *pstapriv; in portctrl() local
473 pstapriv = &adapter->stapriv; in portctrl()
481 psta = rtw_get_stainfo(pstapriv, psta_addr); in portctrl()
568 struct sta_priv *pstapriv = &padapter->stapriv; in process_pwrbit_data() local
571 psta = rtw_get_stainfo(pstapriv, pattrib->src); in process_pwrbit_data()
593 struct sta_priv *pstapriv = &padapter->stapriv; in process_wmmps_data() local
596 psta = rtw_get_stainfo(pstapriv, pattrib->src); in process_wmmps_data()
687 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame() local
755 *psta = rtw_get_stainfo(pstapriv, sta_addr); /* get ap_info */ in sta2sta_data_frame()
775 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame() local
[all …]
Drtw_xmit.c423 struct sta_priv *pstapriv = &padapter->stapriv; in update_attrib() local
489 psta = rtw_get_stainfo(pstapriv, pattrib->ra); in update_attrib()
1548 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_xmit_classifier() local
1556 psta = rtw_get_stainfo(pstapriv, pattrib->ra); in rtw_xmit_classifier()
1705 struct sta_priv *pstapriv = &padapter->stapriv; in xmitframe_enqueue_for_sleeping_sta() local
1716 psta = rtw_get_stainfo(pstapriv, pattrib->ra); in xmitframe_enqueue_for_sleeping_sta()
1730 if (pstapriv->sta_dz_bitmap) {/* if any one sta is in ps mode */ in xmitframe_enqueue_for_sleeping_sta()
1737 pstapriv->tim_bitmap |= BIT(0);/* */ in xmitframe_enqueue_for_sleeping_sta()
1738 pstapriv->sta_dz_bitmap |= BIT(0); in xmitframe_enqueue_for_sleeping_sta()
1755 if (pstapriv->sta_dz_bitmap&BIT(psta->aid)) { in xmitframe_enqueue_for_sleeping_sta()
[all …]
Drtw_mlme_ext.c1585 struct sta_priv *pstapriv = &padapter->stapriv; in issue_action_BA() local
1639 psta = rtw_get_stainfo(pstapriv, raddr); in issue_action_BA()
1856 struct sta_priv *pstapriv = &padapter->stapriv; in send_delba() local
1867 psta = rtw_get_stainfo(pstapriv, addr); in send_delba()
2605 struct sta_priv *pstapriv = &padapter->stapriv; in OnBeacon() local
2642 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in OnBeacon()
2656 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in OnBeacon()
2699 struct sta_priv *pstapriv = &padapter->stapriv; in OnAuth() local
2738 pstat = rtw_get_stainfo(pstapriv, sa); in OnAuth()
2742 pstat = rtw_alloc_stainfo(pstapriv, sa); in OnAuth()
[all …]
Drtw_mlme.c746 struct sta_priv *pstapriv = &adapter->stapriv; in rtw_free_assoc_resources_locked() local
759 spin_lock_bh(&(pstapriv->sta_hash_lock)); in rtw_free_assoc_resources_locked()
761 spin_unlock_bh(&pstapriv->sta_hash_lock); in rtw_free_assoc_resources_locked()
770 spin_lock_bh(&(pstapriv->sta_hash_lock)); in rtw_free_assoc_resources_locked()
772 spin_unlock_bh(&pstapriv->sta_hash_lock); in rtw_free_assoc_resources_locked()
876 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_joinbss_update_stainfo() local
878 psta = rtw_get_stainfo(pstapriv, pnetwork->network.MacAddress); in rtw_joinbss_update_stainfo()
880 psta = rtw_alloc_stainfo(pstapriv, pnetwork->network.MacAddress); in rtw_joinbss_update_stainfo()
1002 struct sta_priv *pstapriv = &adapter->stapriv; in rtw_joinbss_event_prehandle() local
1043 pcur_sta = rtw_get_stainfo(pstapriv, cur_network->network.MacAddress); in rtw_joinbss_event_prehandle()
[all …]
Drtw_cmd.c1060 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_chk_hi_queue_hdl() local
1086 pstapriv->tim_bitmap &= ~BIT(0); in rtw_chk_hi_queue_hdl()
1087 pstapriv->sta_dz_bitmap &= ~BIT(0); in rtw_chk_hi_queue_hdl()
1292 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_setstaKey_cmdrsp_callback() local
1294 struct sta_info *psta = rtw_get_stainfo(pstapriv, psetstakey_rsp->addr); in rtw_setstaKey_cmdrsp_callback()
1307 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_setassocsta_cmdrsp_callback() local
1311 struct sta_info *psta = rtw_get_stainfo(pstapriv, passocsta_parm->addr); in rtw_setassocsta_cmdrsp_callback()
Drtw_wlan_util.c686 struct sta_priv *pstapriv = &padapter->stapriv; in bwmode_update_check() local
691 psta = rtw_get_stainfo(pstapriv, cur_network->MacAddress); in bwmode_update_check()
1565 struct sta_priv *pstapriv = &padapter->stapriv; in process_addba_req() local
1570 psta = rtw_get_stainfo(pstapriv, addr); in process_addba_req()
/drivers/staging/rtl8712/
Drtl871x_sta_mgt.c49 u32 _r8712_init_sta_priv(struct sta_priv *pstapriv) in _r8712_init_sta_priv() argument
54 pstapriv->pallocated_stainfo_buf = kmalloc(sizeof(struct sta_info) * in _r8712_init_sta_priv()
56 if (!pstapriv->pallocated_stainfo_buf) in _r8712_init_sta_priv()
58 pstapriv->pstainfo_buf = pstapriv->pallocated_stainfo_buf + 4 - in _r8712_init_sta_priv()
59 ((addr_t)(pstapriv->pallocated_stainfo_buf) & 3); in _r8712_init_sta_priv()
60 _init_queue(&pstapriv->free_sta_queue); in _r8712_init_sta_priv()
61 spin_lock_init(&pstapriv->sta_hash_lock); in _r8712_init_sta_priv()
62 pstapriv->asoc_sta_count = 0; in _r8712_init_sta_priv()
63 _init_queue(&pstapriv->sleep_q); in _r8712_init_sta_priv()
64 _init_queue(&pstapriv->wakeup_q); in _r8712_init_sta_priv()
[all …]
Dsta_info.h134 u32 _r8712_init_sta_priv(struct sta_priv *pstapriv);
135 u32 _r8712_free_sta_priv(struct sta_priv *pstapriv);
136 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv,
140 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
Drtl871x_recv.c250 struct sta_priv *pstapriv; in r8712_portctrl() local
254 pstapriv = &adapter->stapriv; in r8712_portctrl()
258 psta = r8712_get_stainfo(pstapriv, psta_addr); in r8712_portctrl()
318 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame() local
372 *psta = r8712_get_stainfo(pstapriv, sta_addr); /* get ap_info */ in sta2sta_data_frame()
387 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame() local
422 *psta = r8712_get_stainfo(pstapriv, pattrib->bssid); in ap2sta_data_frame()
433 *psta = r8712_get_stainfo(pstapriv, pattrib->bssid); in ap2sta_data_frame()
447 struct sta_priv *pstapriv = &adapter->stapriv; in sta2ap_data_frame() local
458 *psta = r8712_get_stainfo(pstapriv, pattrib->src); in sta2ap_data_frame()
Drtl871x_mlme.c625 struct sta_priv *pstapriv = &adapter->stapriv; in r8712_free_assoc_resources() local
637 spin_lock_irqsave(&pstapriv->sta_hash_lock, irqL); in r8712_free_assoc_resources()
639 spin_unlock_irqrestore(&pstapriv->sta_hash_lock, irqL); in r8712_free_assoc_resources()
704 struct sta_priv *pstapriv = &adapter->stapriv; in r8712_joinbss_event_callback() local
778 pcur_sta = r8712_get_stainfo(pstapriv, in r8712_joinbss_event_callback()
780 spin_lock_irqsave(&pstapriv-> in r8712_joinbss_event_callback()
783 spin_unlock_irqrestore(&(pstapriv-> in r8712_joinbss_event_callback()
814 r8712_get_stainfo(pstapriv, in r8712_joinbss_event_callback()
818 r8712_alloc_stainfo(pstapriv, in r8712_joinbss_event_callback()
822 r8712_alloc_stainfo(pstapriv, in r8712_joinbss_event_callback()
[all …]
Drtl871x_xmit.c194 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_update_attrib() local
275 psta = r8712_get_stainfo(pstapriv, in r8712_update_attrib()
279 psta = r8712_get_stainfo(pstapriv, pattrib->ra); in r8712_update_attrib()
915 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_xmit_classifier() local
926 psta = r8712_get_stainfo(pstapriv, in r8712_xmit_classifier()
929 psta = r8712_get_stainfo(pstapriv, pattrib->ra); in r8712_xmit_classifier()
Drtl871x_cmd.c922 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_setstaKey_cmdrsp_callback() local
925 struct sta_info *psta = r8712_get_stainfo(pstapriv, in r8712_setstaKey_cmdrsp_callback()
939 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_setassocsta_cmdrsp_callback() local
945 struct sta_info *psta = r8712_get_stainfo(pstapriv, in r8712_setassocsta_cmdrsp_callback()
Drtl8712_recv.c264 struct sta_priv *pstapriv; in r8712_recvframe_chk_defrag() local
269 pstapriv = &padapter->stapriv; in r8712_recvframe_chk_defrag()
276 psta = r8712_get_stainfo(pstapriv, psta_addr); in r8712_recvframe_chk_defrag()
Drtl871x_ioctl_linux.c444 struct sta_priv *pstapriv = &padapter->stapriv; in wpa_set_encryption() local
448 psta = r8712_get_stainfo(pstapriv, in wpa_set_encryption()
/drivers/staging/rtl8188eu/os_dep/
Dxmit_linux.c163 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_mlcst2unicst() local
170 spin_lock_bh(&pstapriv->asoc_list_lock); in rtw_mlcst2unicst()
171 phead = &pstapriv->asoc_list; in rtw_mlcst2unicst()
200 spin_unlock_bh(&pstapriv->asoc_list_lock); in rtw_mlcst2unicst()
205 spin_unlock_bh(&pstapriv->asoc_list_lock); in rtw_mlcst2unicst()
Dmlme_linux.c147 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_indicate_sta_assoc_event() local
155 if (pstapriv->sta_aid[psta->aid - 1] != psta) in rtw_indicate_sta_assoc_event()
171 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_indicate_sta_disassoc_event() local
179 if (pstapriv->sta_aid[psta->aid - 1] != psta) in rtw_indicate_sta_disassoc_event()
Drecv_linux.c121 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_recv_indicatepkt() local
131 psta = rtw_get_stainfo(pstapriv, pattrib->dst); in rtw_recv_indicatepkt()
Dioctl_linux.c443 struct sta_priv *pstapriv = &padapter->stapriv; in wpa_set_encryption() local
446 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); in wpa_set_encryption()
2230 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_encryption() local
2247 psta = rtw_get_stainfo(pstapriv, param->sta_addr); in rtw_set_encryption()
2457 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_beacon() local
2465 memcpy(&pstapriv->max_num_sta, param->u.bcn_ie.reserved, 2); in rtw_set_beacon()
2467 if ((pstapriv->max_num_sta > NUM_STA) || (pstapriv->max_num_sta <= 0)) in rtw_set_beacon()
2468 pstapriv->max_num_sta = NUM_STA; in rtw_set_beacon()
2495 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_add_sta() local
2507 psta = rtw_get_stainfo(pstapriv, param->sta_addr); in rtw_add_sta()
[all …]
/drivers/staging/rtl8188eu/hal/
Dhal_intf.c66 struct sta_priv *pstapriv = &adapt->stapriv; in rtw_hal_update_ra_mask() local
69 psta = pstapriv->sta_aid[(mac_id-1) - 1]; in rtw_hal_update_ra_mask()
Drtl8188e_rxdesc.c146 struct sta_priv *pstapriv; in update_recvframe_phyinfo_88e() local
175 pstapriv = &padapter->stapriv; in update_recvframe_phyinfo_88e()
177 psta = rtw_get_stainfo(pstapriv, sa); in update_recvframe_phyinfo_88e()
Dusb_halinit.c1820 struct sta_priv *pstapriv = &Adapter->stapriv; in rtw_hal_get_def_var() local
1822 psta = rtw_get_stainfo(pstapriv, pmlmepriv->cur_network.network.MacAddress); in rtw_hal_get_def_var()
/drivers/staging/rtl8188eu/include/
Dsta_info.h348 u32 _rtw_init_sta_priv(struct sta_priv *pstapriv);
349 u32 _rtw_free_sta_priv(struct sta_priv *pstapriv);