/drivers/staging/rtl8712/ |
H A D | rtl871x_sta_mgt.c | 49 u32 _r8712_init_sta_priv(struct sta_priv *pstapriv) argument 54 pstapriv->pallocated_stainfo_buf = kmalloc(sizeof(struct sta_info) * 56 if (pstapriv->pallocated_stainfo_buf == NULL) 58 pstapriv->pstainfo_buf = pstapriv->pallocated_stainfo_buf + 4 - 59 ((addr_t)(pstapriv->pallocated_stainfo_buf) & 3); 60 _init_queue(&pstapriv->free_sta_queue); 61 spin_lock_init(&pstapriv->sta_hash_lock); 62 pstapriv->asoc_sta_count = 0; 63 _init_queue(&pstapriv 78 mfree_all_stainfo(struct sta_priv *pstapriv) argument 96 mfree_sta_priv_lock(struct sta_priv *pstapriv) argument 101 _r8712_free_sta_priv(struct sta_priv *pstapriv) argument 110 r8712_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) argument 175 struct sta_priv *pstapriv = &padapter->stapriv; local 221 struct sta_priv *pstapriv = &padapter->stapriv; local 242 r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) argument 273 struct sta_priv *pstapriv = &padapter->stapriv; local 284 struct sta_priv *pstapriv = &padapter->stapriv; local [all...] |
H A D | sta_info.h | 134 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);
|
H A D | rtl871x_recv.c | 255 struct sta_priv *pstapriv; local 259 pstapriv = &adapter->stapriv; 263 psta = r8712_get_stainfo(pstapriv, psta_addr); 320 struct sta_priv *pstapriv = &adapter->stapriv; local 370 *psta = r8712_get_stainfo(pstapriv, sta_addr); /* get ap_info */ 385 struct sta_priv *pstapriv = &adapter->stapriv; local 419 *psta = r8712_get_stainfo(pstapriv, pattrib->bssid); 430 *psta = r8712_get_stainfo(pstapriv, pattrib->bssid); 443 struct sta_priv *pstapriv = &adapter->stapriv; local 453 *psta = r8712_get_stainfo(pstapriv, pattri [all...] |
H A D | rtl871x_mlme.c | 642 struct sta_priv *pstapriv = &adapter->stapriv; local 654 spin_lock_irqsave(&pstapriv->sta_hash_lock, irqL); 656 spin_unlock_irqrestore(&pstapriv->sta_hash_lock, irqL); 721 struct sta_priv *pstapriv = &adapter->stapriv; local 792 pcur_sta = r8712_get_stainfo(pstapriv, 794 spin_lock_irqsave(&pstapriv-> 797 spin_unlock_irqrestore(&(pstapriv-> 828 r8712_get_stainfo(pstapriv, 832 r8712_alloc_stainfo(pstapriv, 836 r8712_alloc_stainfo(pstapriv, 978 struct sta_priv *pstapriv = &adapter->stapriv; local 1043 struct sta_priv *pstapriv = &adapter->stapriv; local [all...] |
/drivers/staging/rtl8723au/core/ |
H A D | rtw_sta_mgt.c | 54 int _rtw_init_sta_priv23a(struct sta_priv *pstapriv) argument 58 spin_lock_init(&pstapriv->sta_hash_lock); 59 pstapriv->asoc_sta_count = 0; 61 INIT_LIST_HEAD(&pstapriv->sta_hash[i]); 64 pstapriv->sta_dz_bitmap = 0; 65 pstapriv->tim_bitmap = 0; 66 INIT_LIST_HEAD(&pstapriv->asoc_list); 67 INIT_LIST_HEAD(&pstapriv->auth_list); 68 spin_lock_init(&pstapriv->asoc_list_lock); 69 spin_lock_init(&pstapriv 84 _rtw_free_sta_priv23a(struct sta_priv *pstapriv) argument 115 rtw_alloc_stainfo23a(struct sta_priv *pstapriv, const u8 *hwaddr, gfp_t gfp) argument 202 struct sta_priv *pstapriv = &padapter->stapriv; local 332 struct sta_priv *pstapriv = &padapter->stapriv; local 355 rtw_get_stainfo23a(struct sta_priv *pstapriv, const u8 *hwaddr) argument 391 struct sta_priv *pstapriv = &padapter->stapriv; local 413 struct sta_priv *pstapriv = &padapter->stapriv; local 426 struct sta_priv *pstapriv = &padapter->stapriv; local [all...] |
H A D | rtw_ap.c | 31 struct sta_priv *pstapriv = &padapter->stapriv; local 32 struct wlan_acl_pool *pacl_list = &pstapriv->acl_list; 45 struct sta_priv *pstapriv = &padapter->stapriv; local 62 spin_lock_bh(&pstapriv->sta_hash_lock); 64 spin_unlock_bh(&pstapriv->sta_hash_lock); 69 struct sta_priv *pstapriv = &padapter->stapriv; local 78 tim_bitmap_le = cpu_to_le16(pstapriv->tim_bitmap); 130 if ((pstapriv->tim_bitmap&0xff00) && (pstapriv->tim_bitmap&0x00fc)) 140 if (pstapriv 184 struct sta_priv *pstapriv = &padapter->stapriv; local 1048 struct sta_priv *pstapriv = &padapter->stapriv; local 1062 struct sta_priv *pstapriv = &padapter->stapriv; local 1122 struct sta_priv *pstapriv = &padapter->stapriv; local 1396 struct sta_priv *pstapriv = &padapter->stapriv; local 1654 struct sta_priv *pstapriv = &padapter->stapriv; local 1703 struct sta_priv *pstapriv = &padapter->stapriv; local 1735 struct sta_priv *pstapriv = &padapter->stapriv; local 1822 struct sta_priv * pstapriv = &padapter->stapriv; local 1880 struct sta_priv *pstapriv = &padapter->stapriv; local 1923 struct sta_priv *pstapriv = &padapter->stapriv; local [all...] |
H A D | rtw_mlme_ext.c | 791 struct sta_priv *pstapriv = &padapter->stapriv; local 854 psta = rtw_get_stainfo23a(pstapriv, mgmt->sa); 873 psta = rtw_get_stainfo23a(pstapriv, mgmt->sa); 916 struct sta_priv *pstapriv = &padapter->stapriv; local 969 pstat = rtw_get_stainfo23a(pstapriv, sa); 974 pstat = rtw_alloc_stainfo23a(pstapriv, sa, GFP_ATOMIC); 988 spin_lock_bh(&pstapriv->asoc_list_lock); 991 pstapriv->asoc_list_cnt--; 996 spin_unlock_bh(&pstapriv->asoc_list_lock); 1003 spin_lock_bh(&pstapriv 1339 struct sta_priv *pstapriv = &padapter->stapriv; local 1901 struct sta_priv *pstapriv = &padapter->stapriv; local 1957 struct sta_priv *pstapriv = &padapter->stapriv; local 2028 struct sta_priv *pstapriv = &padapter->stapriv; local 3780 struct sta_priv *pstapriv = &padapter->stapriv; local 3946 struct sta_priv *pstapriv = &padapter->stapriv; local 5040 struct sta_priv *pstapriv = &padapter->stapriv; local 5213 struct sta_priv *pstapriv = &padapter->stapriv; local 5942 struct sta_priv *pstapriv = &padapter->stapriv; local 6121 struct sta_priv *pstapriv = &padapter->stapriv; local [all...] |
H A D | rtw_recv.c | 548 struct sta_priv *pstapriv ; local 554 pstapriv = &adapter->stapriv; 561 psta = rtw_get_stainfo23a(pstapriv, psta_addr); 673 struct sta_priv *pstapriv = &padapter->stapriv; local 676 psta = rtw_get_stainfo23a(pstapriv, pattrib->src); 700 struct sta_priv *pstapriv = &padapter->stapriv; local 703 psta = rtw_get_stainfo23a(pstapriv, pattrib->src); 793 struct sta_priv *pstapriv = &adapter->stapriv; local 871 *psta = rtw_get_stainfo23a(pstapriv, sta_addr); /* get ap_info */ 895 struct sta_priv *pstapriv local 1024 struct sta_priv *pstapriv = &adapter->stapriv; local 1093 struct sta_priv *pstapriv = &padapter->stapriv; local 1716 struct sta_priv *pstapriv; local [all...] |
H A D | rtw_xmit.c | 431 struct sta_priv *pstapriv = &padapter->stapriv; local 502 psta = rtw_get_stainfo23a(pstapriv, pattrib->ra); 1748 struct sta_priv *pstapriv = &padapter->stapriv; local 1757 psta = rtw_get_stainfo23a(pstapriv, pattrib->ra); 1964 struct sta_priv *pstapriv = &padapter->stapriv; local 1976 psta = rtw_get_stainfo23a(pstapriv, pattrib->ra); 1999 if (pstapriv->sta_dz_bitmap) { 2009 pstapriv->tim_bitmap |= BIT(0);/* */ 2010 pstapriv->sta_dz_bitmap |= BIT(0); 2012 /* DBG_8723A("enqueue, sq_len =%d, tim =%x\n", psta->sleepq_len, pstapriv 2132 struct sta_priv *pstapriv = &padapter->stapriv; local 2175 struct sta_priv *pstapriv = &padapter->stapriv; local 2296 struct sta_priv *pstapriv = &padapter->stapriv; local [all...] |
H A D | rtw_sreset.c | 51 struct sta_priv *pstapriv = &padapter->stapriv; local 67 psta = rtw_get_stainfo23a(pstapriv, get_bssid(mlmepriv));
|
/drivers/staging/rtl8188eu/core/ |
H A D | rtw_sta_mgt.c | 74 u32 _rtw_init_sta_priv(struct sta_priv *pstapriv) argument 80 pstapriv->pallocated_stainfo_buf = vzalloc(sizeof(struct sta_info) * NUM_STA + 4); 82 if (!pstapriv->pallocated_stainfo_buf) 85 pstapriv->pstainfo_buf = pstapriv->pallocated_stainfo_buf + 4 - 86 ((size_t)(pstapriv->pallocated_stainfo_buf) & 3); 88 _rtw_init_queue(&pstapriv->free_sta_queue); 90 spin_lock_init(&pstapriv->sta_hash_lock); 92 pstapriv->asoc_sta_count = 0; 93 _rtw_init_queue(&pstapriv 149 rtw_mfree_all_stainfo(struct sta_priv *pstapriv) argument 169 rtw_mfree_sta_priv_lock(struct sta_priv *pstapriv) argument 174 _rtw_free_sta_priv(struct sta_priv *pstapriv) argument 211 rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) argument 303 struct sta_priv *pstapriv = &padapter->stapriv; local 431 struct sta_priv *pstapriv = &padapter->stapriv; local 457 rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) argument 501 struct sta_priv *pstapriv = &padapter->stapriv; local 522 struct sta_priv *pstapriv = &padapter->stapriv; local 535 struct sta_priv *pstapriv = &padapter->stapriv; local [all...] |
H A D | rtw_ap.c | 32 struct sta_priv *pstapriv = &padapter->stapriv; local 33 struct wlan_acl_pool *pacl_list = &pstapriv->acl_list; 47 struct sta_priv *pstapriv = &padapter->stapriv; local 64 spin_lock_bh(&(pstapriv->sta_hash_lock)); 66 spin_unlock_bh(&(pstapriv->sta_hash_lock)); 71 struct sta_priv *pstapriv = &padapter->stapriv; local 84 tim_bitmap_le = cpu_to_le16(pstapriv->tim_bitmap); 124 if ((pstapriv->tim_bitmap&0xff00) && (pstapriv->tim_bitmap&0x00fc)) 134 if (pstapriv 280 struct sta_priv *pstapriv = &padapter->stapriv; local 1113 struct sta_priv *pstapriv = &padapter->stapriv; local 1127 struct sta_priv *pstapriv = &padapter->stapriv; local 1191 struct sta_priv *pstapriv = &padapter->stapriv; local 1492 struct sta_priv *pstapriv = &padapter->stapriv; local 1716 struct sta_priv *pstapriv = &padapter->stapriv; local 1758 struct sta_priv *pstapriv = &padapter->stapriv; local 1793 struct sta_priv *pstapriv = &padapter->stapriv; local 1870 struct sta_priv *pstapriv = &padapter->stapriv; local 1919 struct sta_priv *pstapriv = &padapter->stapriv; local [all...] |
H A D | rtw_mlme_ext.c | 576 struct sta_priv *pstapriv = &padapter->stapriv; local 612 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); 626 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); 668 struct sta_priv *pstapriv = &padapter->stapriv; local 707 pstat = rtw_get_stainfo(pstapriv, sa); 711 pstat = rtw_alloc_stainfo(pstapriv, sa); 721 spin_lock_bh(&pstapriv->asoc_list_lock); 724 pstapriv->asoc_list_cnt--; 726 spin_unlock_bh(&pstapriv->asoc_list_lock); 733 spin_lock_bh(&pstapriv 924 struct sta_priv *pstapriv = &padapter->stapriv; local 1462 struct sta_priv *pstapriv = &padapter->stapriv; local 1516 struct sta_priv *pstapriv = &padapter->stapriv; local 1559 struct sta_priv *pstapriv = &padapter->stapriv; local 1614 struct sta_priv *pstapriv = &padapter->stapriv; local 3291 struct sta_priv *pstapriv = &padapter->stapriv; local 3544 struct sta_priv *pstapriv = &padapter->stapriv; local 4541 struct sta_priv *pstapriv = &padapter->stapriv; local 4730 struct sta_priv *pstapriv = &padapter->stapriv; local 5353 struct sta_priv *pstapriv = &padapter->stapriv; local 5510 struct sta_priv *pstapriv = &padapter->stapriv; local [all...] |
H A D | rtw_recv.c | 494 struct sta_priv *pstapriv; local 502 pstapriv = &adapter->stapriv; 510 psta = rtw_get_stainfo(pstapriv, psta_addr); 600 struct sta_priv *pstapriv = &padapter->stapriv; local 603 psta = rtw_get_stainfo(pstapriv, pattrib->src); 625 struct sta_priv *pstapriv = &padapter->stapriv; local 628 psta = rtw_get_stainfo(pstapriv, pattrib->src); 719 struct sta_priv *pstapriv = &adapter->stapriv; local 788 *psta = rtw_get_stainfo(pstapriv, sta_addr); /* get ap_info */ 808 struct sta_priv *pstapriv local 915 struct sta_priv *pstapriv = &adapter->stapriv; local 975 struct sta_priv *pstapriv = &padapter->stapriv; local 1523 struct sta_priv *pstapriv; local [all...] |
H A D | rtw_xmit.c | 436 struct sta_priv *pstapriv = &padapter->stapriv; local 502 psta = rtw_get_stainfo(pstapriv, pattrib->ra); 1600 struct sta_priv *pstapriv = &padapter->stapriv; local 1608 psta = rtw_get_stainfo(pstapriv, pattrib->ra); 1776 struct sta_priv *pstapriv = &padapter->stapriv; local 1787 psta = rtw_get_stainfo(pstapriv, pattrib->ra); 1801 if (pstapriv->sta_dz_bitmap) {/* if any one sta is in ps mode */ 1808 pstapriv->tim_bitmap |= BIT(0);/* */ 1809 pstapriv->sta_dz_bitmap |= BIT(0); 1826 if (pstapriv 1906 struct sta_priv *pstapriv = &padapter->stapriv; local 1946 struct sta_priv *pstapriv = &padapter->stapriv; local 2074 struct sta_priv *pstapriv = &padapter->stapriv; local [all...] |
H A D | rtw_mlme.c | 766 struct sta_priv *pstapriv = &adapter->stapriv; local 779 spin_lock_bh(&(pstapriv->sta_hash_lock)); 781 spin_unlock_bh(&pstapriv->sta_hash_lock); 790 spin_lock_bh(&(pstapriv->sta_hash_lock)); 792 spin_unlock_bh(&pstapriv->sta_hash_lock); 900 struct sta_priv *pstapriv = &padapter->stapriv; local 902 psta = rtw_get_stainfo(pstapriv, pnetwork->network.MacAddress); 904 psta = rtw_alloc_stainfo(pstapriv, pnetwork->network.MacAddress); 1026 struct sta_priv *pstapriv = &adapter->stapriv; local 1067 pcur_sta = rtw_get_stainfo(pstapriv, cur_networ 1161 struct sta_priv *pstapriv = &padapter->stapriv; local 1268 struct sta_priv *pstapriv = &adapter->stapriv; local [all...] |
H A D | rtw_debug.c | 252 struct sta_priv *pstapriv = &padapter->stapriv; local 255 psta = rtw_get_stainfo(pstapriv, cur_network->network.MacAddress); 841 struct sta_priv *pstapriv = &padapter->stapriv; local 848 len += snprintf(page + len, count - len, "sta_dz_bitmap=0x%x, tim_bitmap=0x%x\n", pstapriv->sta_dz_bitmap, pstapriv->tim_bitmap); 850 spin_lock_bh(&pstapriv->sta_hash_lock); 853 phead = &(pstapriv->sta_hash[i]); 884 spin_unlock_bh(&pstapriv->sta_hash_lock);
|
/drivers/staging/rtl8188eu/os_dep/ |
H A D | xmit_linux.c | 174 struct sta_priv *pstapriv = &padapter->stapriv; local 181 spin_lock_bh(&pstapriv->asoc_list_lock); 182 phead = &pstapriv->asoc_list; 211 spin_unlock_bh(&pstapriv->asoc_list_lock); 216 spin_unlock_bh(&pstapriv->asoc_list_lock);
|
H A D | mlme_linux.c | 150 struct sta_priv *pstapriv = &padapter->stapriv; local 158 if (pstapriv->sta_aid[psta->aid - 1] != psta) 174 struct sta_priv *pstapriv = &padapter->stapriv; local 182 if (pstapriv->sta_aid[psta->aid - 1] != psta)
|
H A D | recv_linux.c | 133 struct sta_priv *pstapriv = &padapter->stapriv; local 143 psta = rtw_get_stainfo(pstapriv, pattrib->dst);
|
/drivers/staging/rtl8723au/os_dep/ |
H A D | recv_linux.c | 101 struct sta_priv *pstapriv = &padapter->stapriv; local 114 psta = rtw_get_stainfo23a(pstapriv, pattrib->dst);
|
/drivers/staging/rtl8723au/include/ |
H A D | sta_info.h | 362 int _rtw_init_sta_priv23a(struct sta_priv *pstapriv); 363 int _rtw_free_sta_priv23a(struct sta_priv *pstapriv); 365 struct sta_info *rtw_alloc_stainfo23a(struct sta_priv *pstapriv, const u8 *hwaddr, gfp_t gfp); 368 struct sta_info *rtw_get_stainfo23a(struct sta_priv *pstapriv, const u8 *hwaddr);
|
/drivers/staging/rtl8188eu/hal/ |
H A D | rtl8188e_rxdesc.c | 153 struct sta_priv *pstapriv; local 182 pstapriv = &padapter->stapriv; 184 psta = rtw_get_stainfo(pstapriv, sa);
|
H A D | hal_intf.c | 238 struct sta_priv *pstapriv = &adapt->stapriv; local 240 psta = pstapriv->sta_aid[(mac_id-1) - 1];
|
/drivers/staging/rtl8723au/hal/ |
H A D | rtl8723au_recv.c | 190 struct sta_priv *pstapriv; local 241 pstapriv = &padapter->stapriv; 242 psta = rtw_get_stainfo23a(pstapriv, sa);
|