/drivers/staging/rtl8723au/hal/ |
H A D | hal_intf.c | 24 void rtw_hal_update_ra_mask23a(struct sta_info *psta, u8 rssi_level) argument 29 if (!psta) 32 padapter = psta->padapter; 38 add_RATid23a(padapter, psta, rssi_level); 41 rtl8723a_update_ramask(padapter, psta->mac_id, rssi_level);
|
H A D | rtl8723au_recv.c | 191 struct sta_info *psta; local 242 psta = rtw_get_stainfo23a(pstapriv, sa); 243 if (psta) { 244 pkt_info.StationID = psta->mac_id; 251 precvframe->psta = NULL; 254 if (psta) { 255 precvframe->psta = psta; 262 if (psta) 263 precvframe->psta [all...] |
/drivers/staging/rtl8723au/core/ |
H A D | rtw_sta_mgt.c | 27 static void _rtw_init_stainfo(struct sta_info *psta) argument 29 memset((u8 *)psta, 0, sizeof(struct sta_info)); 30 spin_lock_init(&psta->lock); 31 INIT_LIST_HEAD(&psta->list); 32 INIT_LIST_HEAD(&psta->hash_list); 33 _rtw_init_queue23a(&psta->sleep_q); 34 psta->sleepq_len = 0; 35 _rtw_init_sta_xmit_priv23a(&psta->sta_xmitpriv); 36 _rtw_init_sta_recv_priv23a(&psta->sta_recvpriv); 38 INIT_LIST_HEAD(&psta 87 struct sta_info *psta; local 118 struct sta_info *psta; local 197 rtw_free_stainfo23a(struct rtw_adapter *padapter, struct sta_info *psta) argument 331 struct sta_info *psta; local 358 struct sta_info *psta = NULL; local 392 struct sta_info *psta; local 412 struct sta_info *psta; local [all...] |
H A D | rtw_ap.c | 44 struct sta_info *psta = NULL; local 61 psta = rtw_get_bcmc_stainfo23a(padapter); 63 rtw_free_stainfo23a(padapter, psta); 165 static u8 chk_sta_is_alive(struct sta_info *psta) argument 169 if ((psta->sta_stats.last_rx_data_pkts + 170 psta->sta_stats.last_rx_ctrl_pkts) != 171 (psta->sta_stats.rx_data_pkts + psta->sta_stats.rx_ctrl_pkts)) 174 sta_update_last_rx_pkts(psta); 183 struct sta_info *psta; local 345 add_RATid23a(struct rtw_adapter *padapter, struct sta_info *psta, u8 rssi_level) argument 454 struct sta_info *psta = rtw_get_bcmc_stainfo23a(padapter); local 539 update_sta_info23a_apmode23a(struct rtw_adapter *padapter, struct sta_info *psta) argument 793 struct sta_info *psta = NULL; local 1395 struct sta_info *psta; local 1413 bss_cap_update_on_sta_join23a(struct rtw_adapter *padapter, struct sta_info *psta) argument 1582 bss_cap_update_on_sta_leave23a(struct rtw_adapter *padapter, struct sta_info *psta) argument 1652 ap_free_sta23a(struct rtw_adapter *padapter, struct sta_info *psta, bool active, u16 reason) argument 1702 struct sta_info *psta = NULL; local 1734 struct sta_info *psta; local 1776 sta_info_update23a(struct rtw_adapter *padapter, struct sta_info *psta) argument 1808 ap_sta_info_defer_update23a(struct rtw_adapter *padapter, struct sta_info *psta) argument 1823 struct sta_info *psta; local 1922 struct sta_info *psta = NULL; local [all...] |
H A D | rtw_xmit.c | 253 struct sta_info *psta = pattrib->psta; local 257 if (pattrib->psta) { 258 psta = pattrib->psta; 261 psta = rtw_get_stainfo23a(&padapter->stapriv, &pattrib->ra[0]); 264 if (psta == NULL) { 265 DBG_8723A("%s, psta == NUL\n", __func__); 269 if (!(psta->state &_FW_LINKED)) { 270 DBG_8723A("%s, psta 345 update_attrib_phy_info(struct pkt_attrib *pattrib, struct sta_info *psta) argument 429 struct sta_info *psta = NULL; local 866 struct sta_info *psta; local 1010 struct sta_info *psta; local 1083 struct sta_info *psta; local 1324 struct sta_info *psta = NULL; local 1704 rtw_get_sta_pending23a(struct rtw_adapter *padapter, struct sta_info *psta, int up, u8 *ac) argument 1745 struct sta_info *psta; local 1963 struct sta_info *psta = NULL; local 2096 dequeue_xmitframes_to_sleeping_queue(struct rtw_adapter *padapter, struct sta_info *psta, struct rtw_queue *pframequeue) argument 2128 stop_sta_xmit23a(struct rtw_adapter *padapter, struct sta_info *psta) argument 2169 wakeup_sta_to_xmit23a(struct rtw_adapter *padapter, struct sta_info *psta) argument 2290 xmit_delivery_enabled_frames23a(struct rtw_adapter *padapter, struct sta_info *psta) argument [all...] |
H A D | rtw_recv.c | 547 struct sta_info *psta; local 561 psta = rtw_get_stainfo23a(pstapriv, psta_addr); 573 if ((psta != NULL) && (psta->ieee8021x_blocked)) { 577 ("########portctrl:psta->ieee8021x_blocked ==" 591 ("########portctrl:psta->ieee8021x_blocked ==" 674 struct sta_info *psta = NULL; local 676 psta = rtw_get_stainfo23a(pstapriv, pattrib->src); 678 if (psta) { 682 if (!(psta 701 struct sta_info *psta = NULL; local 758 struct sta_info *psta = NULL; local 887 ap2sta_data_frame(struct rtw_adapter *adapter, struct recv_frame *precv_frame, struct sta_info **psta) argument 1017 sta2ap_data_frame(struct rtw_adapter *adapter, struct recv_frame *precv_frame, struct sta_info **psta) argument 1109 struct sta_info *psta = NULL; local 1238 struct sta_info *psta; local 1287 struct sta_info *psta = NULL; local 1715 struct sta_info *psta; local [all...] |
H A D | rtw_mlme_ext.c | 56 static void issue_auth(struct rtw_adapter *padapter, struct sta_info *psta, 640 struct sta_info *psta; local 666 psta = rtw_get_stainfo23a(&padapter->stapriv, mgmt->sa); 668 if (psta) { 671 psta->RxMgmtFrameSeqNum) { 679 psta->RxMgmtFrameSeqNum = precv_frame->attrib.seq_num; 787 struct sta_info *psta; local 854 psta = rtw_get_stainfo23a(pstapriv, mgmt->sa); 855 if (psta) { 866 if ((sta_rx_pkts(psta) 1900 struct sta_info *psta; local 1956 struct sta_info *psta; local 2020 struct sta_info *psta = NULL; local 2828 issue_auth(struct rtw_adapter *padapter, struct sta_info *psta, unsigned short status) argument 3779 struct sta_info *psta; local 3947 struct sta_info *psta = NULL; local 4886 struct sta_info *psta; local 4988 update_sta_info23a(struct rtw_adapter *padapter, struct sta_info *psta) argument 5036 struct sta_info *psta, *psta_bmc; local 5116 mlmeext_sta_add_event_callback23a(struct rtw_adapter *padapter, struct sta_info *psta) argument 5191 chk_ap_is_alive(struct rtw_adapter *padapter, struct sta_info *psta) argument 5209 struct sta_info *psta; local 5433 struct sta_info *psta = (struct sta_info *)data; local 5447 init_addba_retry_timer23a(struct sta_info *psta) argument 5941 struct sta_info *psta; local 6005 struct sta_info *psta; local [all...] |
H A D | rtw_wlan_util.c | 668 struct sta_info *psta; local 676 psta = rtw_get_stainfo23a(pstapriv, cur_network->MacAddress); 677 if (psta) { 678 struct ht_priv *phtpriv_sta = &psta->htpriv; 824 void VCS_update23a(struct rtw_adapter *padapter, struct sta_info *psta) argument 832 psta->rtsen = 0; 833 psta->cts2self = 0; 837 psta->rtsen = 1; 838 psta->cts2self = 0; 840 psta 1030 update_beacon23a_info(struct rtw_adapter *padapter, struct ieee80211_mgmt *mgmt, uint pkt_len, struct sta_info *psta) argument 1268 Update_RA_Entry23a(struct rtw_adapter *padapter, struct sta_info *psta) argument 1273 enable_rate_adaptive(struct rtw_adapter *padapter, struct sta_info *psta) argument 1279 set_sta_rate23a(struct rtw_adapter *padapter, struct sta_info *psta) argument 1536 struct sta_info *psta; local [all...] |
H A D | rtw_mlme.c | 762 struct sta_info *psta; local 772 psta = rtw_get_stainfo23a(&adapter->stapriv, 776 rtw_free_stainfo23a(adapter, psta); 784 psta = rtw_get_bcmc_stainfo23a(adapter); 786 rtw_free_stainfo23a(adapter, psta); 916 struct sta_info *bmc_sta, *psta; local 920 psta = rtw_get_stainfo23a(pstapriv, pnetwork->network.MacAddress); 921 if (!psta) 922 psta = rtw_alloc_stainfo23a(pstapriv, 926 if (psta) { /* updat 1258 struct sta_info *psta; local 1338 struct sta_info *psta; local 2316 struct sta_info *psta; local [all...] |
/drivers/staging/rtl8188eu/core/ |
H A D | rtw_sta_mgt.c | 30 static void _rtw_init_stainfo(struct sta_info *psta) argument 32 memset((u8 *)psta, 0, sizeof (struct sta_info)); 34 spin_lock_init(&psta->lock); 35 INIT_LIST_HEAD(&psta->list); 36 INIT_LIST_HEAD(&psta->hash_list); 37 _rtw_init_queue(&psta->sleep_q); 38 psta->sleepq_len = 0; 40 _rtw_init_sta_xmit_priv(&psta->sta_xmitpriv); 41 _rtw_init_sta_recv_priv(&psta->sta_recvpriv); 45 INIT_LIST_HEAD(&psta 76 struct sta_info *psta; local 152 struct sta_info *psta = NULL; local 177 struct sta_info *psta = NULL; local 215 struct sta_info *psta; local 296 rtw_free_stainfo(struct adapter *padapter , struct sta_info *psta) argument 430 struct sta_info *psta = NULL; local 460 struct sta_info *psta = NULL; local 498 struct sta_info *psta; local 521 struct sta_info *psta; local [all...] |
H A D | rtw_ap.c | 46 struct sta_info *psta = NULL; local 63 psta = rtw_get_bcmc_stainfo(padapter); 65 rtw_free_stainfo(padapter, psta); 260 static u8 chk_sta_is_alive(struct sta_info *psta) argument 264 if ((psta->sta_stats.last_rx_data_pkts + psta->sta_stats.last_rx_ctrl_pkts) == 265 (psta->sta_stats.rx_data_pkts + psta->sta_stats.rx_ctrl_pkts)) 270 sta_update_last_rx_pkts(psta); 279 struct sta_info *psta local 437 add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level) argument 540 struct sta_info *psta = rtw_get_bcmc_stainfo(padapter); local 618 update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta) argument 845 struct sta_info *psta = NULL; local 1491 struct sta_info *psta = NULL; local 1512 bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta) argument 1647 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta) argument 1712 ap_free_sta(struct adapter *padapter, struct sta_info *psta, bool active, u16 reason) argument 1757 struct sta_info *psta = NULL; local 1792 struct sta_info *psta = NULL; local 1829 sta_info_update(struct adapter *padapter, struct sta_info *psta) argument 1858 ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta) argument 1918 struct sta_info *psta = NULL; local [all...] |
H A D | rtw_xmit.c | 275 struct sta_info *psta = pattrib->psta; local 292 if (psta->rtsen) 294 else if (psta->cts2self) 309 if (psta->rtsen || psta->cts2self) { 310 if (psta->rtsen) 312 else if (psta->cts2self) 348 static void update_attrib_phy_info(struct pkt_attrib *pattrib, struct sta_info *psta) argument 350 /*if (psta 432 struct sta_info *psta = NULL; local 787 struct sta_info *psta; local 911 struct sta_info *psta; local 977 struct sta_info *psta; local 1196 struct sta_info *psta = NULL; local 1554 rtw_get_sta_pending(struct adapter *padapter, struct sta_info *psta, int up, u8 *ac) argument 1597 struct sta_info *psta; local 1775 struct sta_info *psta = NULL; local 1874 dequeue_xmitframes_to_sleeping_queue(struct adapter *padapter, struct sta_info *psta, struct __queue *pframequeue) argument 1902 stop_sta_xmit(struct adapter *padapter, struct sta_info *psta) argument 1940 wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta) argument 2069 xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta) argument [all...] |
H A D | rtw_recv.c | 493 struct sta_info *psta; local 510 psta = rtw_get_stainfo(pstapriv, psta_addr); 522 if ((psta != NULL) && (psta->ieee8021x_blocked)) { 525 RT_TRACE(_module_rtl871x_recv_c_, _drv_info_, ("########portctrl:psta->ieee8021x_blocked==1\n")); 537 RT_TRACE(_module_rtl871x_recv_c_, _drv_info_, ("########portctrl:psta->ieee8021x_blocked==0\n")); 601 struct sta_info *psta = NULL; local 603 psta = rtw_get_stainfo(pstapriv, pattrib->src); 607 if (psta) { 609 if (!(psta 626 struct sta_info *psta = NULL; local 681 struct sta_info *psta = NULL; local 713 sta2sta_data_frame(struct adapter *adapter, struct recv_frame *precv_frame, struct sta_info **psta) argument 800 ap2sta_data_frame( struct adapter *adapter, struct recv_frame *precv_frame, struct sta_info **psta) argument 910 sta2ap_data_frame(struct adapter *adapter, struct recv_frame *precv_frame, struct sta_info **psta) argument 989 struct sta_info *psta = NULL; local 1101 struct sta_info *psta; local 1142 struct sta_info *psta = NULL; local 1522 struct sta_info *psta; local [all...] |
H A D | rtw_debug.c | 246 struct sta_info *psta; local 255 psta = rtw_get_stainfo(pstapriv, cur_network->network.MacAddress); 256 if (psta) { 261 len += snprintf(page + len, count - len, "sta's macaddr:%pM\n", psta->hwaddr); 263 len += snprintf(page + len, count - len, "rtsen=%d, cts2slef=%d\n", psta->rtsen, psta->cts2self); 264 len += snprintf(page + len, count - len, "state=0x%x, aid=%d, macid=%d, raid=%d\n", psta->state, psta->aid, psta->mac_id, psta 838 struct sta_info *psta; local [all...] |
H A D | rtw_mlme_ext.c | 439 struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(pframe)); local 465 if (psta != NULL) { 468 psta->RxMgmtFrameSeqNum) { 475 psta->RxMgmtFrameSeqNum = precv_frame->attrib.seq_num; 572 struct sta_info *psta; local 612 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); 613 if (psta != NULL) { 622 if ((sta_rx_pkts(psta) & 0xf) == 0) 623 update_beacon_info(padapter, pframe, len, psta); 626 psta 1461 struct sta_info *psta; local 1515 struct sta_info *psta; local 1558 struct sta_info *psta = NULL; local 1606 struct sta_info *psta = NULL; local 2411 issue_auth(struct adapter *padapter, struct sta_info *psta, unsigned short status) argument 3290 struct sta_info *psta; local 3545 struct sta_info *psta = NULL; local 4388 struct sta_info *psta; local 4494 update_sta_info(struct adapter *padapter, struct sta_info *psta) argument 4537 struct sta_info *psta, *psta_bmc; local 4616 mlmeext_sta_add_event_callback(struct adapter *padapter, struct sta_info *psta) argument 4707 chk_ap_is_alive(struct adapter *padapter, struct sta_info *psta) argument 4726 struct sta_info *psta; local 4915 struct sta_info *psta = (struct sta_info *)function_context; local 5352 struct sta_info *psta; local 5404 struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, pparm->addr); local [all...] |
H A D | rtw_mlme.c | 775 struct sta_info *psta; local 777 psta = rtw_get_stainfo(&adapter->stapriv, tgt_network->network.MacAddress); 780 rtw_free_stainfo(adapter, psta); 785 struct sta_info *psta; local 789 psta = rtw_get_bcmc_stainfo(adapter); 791 rtw_free_stainfo(adapter, psta); 898 struct sta_info *bmc_sta, *psta = NULL; local 902 psta = rtw_get_stainfo(pstapriv, pnetwork->network.MacAddress); 903 if (psta == NULL) 904 psta 1185 rtw_stassoc_hw_rpt(struct adapter *adapter, struct sta_info *psta) argument 1201 struct sta_info *psta; local 1262 struct sta_info *psta; local 2093 struct sta_info *psta = NULL; local [all...] |
/drivers/staging/rtl8712/ |
H A D | rtl871x_sta_mgt.c | 37 static void _init_stainfo(struct sta_info *psta) argument 39 memset((u8 *)psta, 0, sizeof(struct sta_info)); 40 spin_lock_init(&psta->lock); 41 INIT_LIST_HEAD(&psta->list); 42 INIT_LIST_HEAD(&psta->hash_list); 43 _r8712_init_sta_xmit_priv(&psta->sta_xmitpriv); 44 _r8712_init_sta_recv_priv(&psta->sta_recvpriv); 45 INIT_LIST_HEAD(&psta->asoc_list); 46 INIT_LIST_HEAD(&psta->auth_list); 51 struct sta_info *psta; local 82 struct sta_info *psta = NULL; local 115 struct sta_info *psta; local 167 r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta) argument 220 struct sta_info *psta = NULL; local 246 struct sta_info *psta = NULL; local 270 struct sta_info *psta; local 283 struct sta_info *psta; local [all...] |
H A D | rtl871x_xmit.c | 189 struct sta_info *psta = NULL; local 269 psta = r8712_get_bcmc_stainfo(padapter); 273 psta = r8712_get_stainfo(pstapriv, 277 psta = r8712_get_stainfo(pstapriv, pattrib->ra); 278 if (psta == NULL) /* drop the pkt */ 283 pattrib->mac_id = psta->mac_id; 287 if (psta) { 288 pattrib->psta = psta; 290 /* if we cannot get psta 529 struct sta_info *psta; local 595 struct sta_info *psta; local 872 get_sta_pending(struct _adapter *padapter, struct __queue **ppstapending, struct sta_info *psta, sint up) argument 919 struct sta_info *psta; local [all...] |
H A D | rtl871x_recv.c | 254 struct sta_info *psta; local 263 psta = r8712_get_stainfo(pstapriv, psta_addr); 271 if ((psta != NULL) && (psta->ieee8021x_blocked)) { 315 struct sta_info **psta) 368 *psta = r8712_get_bcmc_stainfo(adapter); 370 *psta = r8712_get_stainfo(pstapriv, sta_addr); /* get ap_info */ 371 if (*psta == NULL) { 381 struct sta_info **psta) 417 *psta 313 sta2sta_data_frame(struct _adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta) argument 379 ap2sta_data_frame(struct _adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta) argument 438 sta2ap_data_frame(struct _adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta) argument 479 struct sta_info *psta = NULL; local [all...] |
/drivers/staging/rtl8188eu/include/ |
H A D | rtw_ap.h | 30 struct sta_info *psta); 32 struct sta_info *psta); 41 void add_RATid(struct adapter *padapter, struct sta_info *psta, 44 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta); 52 void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta); 53 u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta); 54 void sta_info_update(struct adapter *padapter, struct sta_info *psta); 55 void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta); 56 u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta,
|
/drivers/staging/rtl8723au/include/ |
H A D | rtw_ap.h | 32 void add_RATid23a(struct rtw_adapter *padapter, struct sta_info *psta, u8 rssi_level); 34 void update_sta_info23a_apmode23a(struct rtw_adapter *padapter, struct sta_info *psta); 43 void bss_cap_update_on_sta_join23a(struct rtw_adapter *padapter, struct sta_info *psta); 44 u8 bss_cap_update_on_sta_leave23a(struct rtw_adapter *padapter, struct sta_info *psta); 45 void sta_info_update23a(struct rtw_adapter *padapter, struct sta_info *psta); 46 void ap_sta_info_defer_update23a(struct rtw_adapter *padapter, struct sta_info *psta); 47 u8 ap_free_sta23a(struct rtw_adapter *padapter, struct sta_info *psta, bool active, u16 reason);
|
/drivers/staging/rtl8188eu/os_dep/ |
H A D | mlme_linux.c | 132 void init_addba_retry_timer(struct adapter *padapter, struct sta_info *psta) argument 134 _init_timer(&psta->addba_retry_timer, padapter->pnetdev, addba_timer_hdl, psta); 147 void rtw_indicate_sta_assoc_event(struct adapter *padapter, struct sta_info *psta) argument 152 if (psta == NULL) 155 if (psta->aid > NUM_STA) 158 if (pstapriv->sta_aid[psta->aid - 1] != psta) 164 memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); 171 void rtw_indicate_sta_disassoc_event(struct adapter *padapter, struct sta_info *psta) argument [all...] |
H A D | recv_linux.c | 132 struct sta_info *psta = NULL; local 140 psta = rtw_get_bcmc_stainfo(padapter); 143 psta = rtw_get_stainfo(pstapriv, pattrib->dst); 146 if (psta) {
|
/drivers/staging/rtl8188eu/hal/ |
H A D | rtl8188e_rxdesc.c | 154 struct sta_info *psta; local 184 psta = rtw_get_stainfo(pstapriv, sa); 185 if (psta) 186 pkt_info.StationID = psta->mac_id; 191 precvframe->psta = NULL; 194 if (psta) { 195 precvframe->psta = psta; 200 if (psta) 201 precvframe->psta [all...] |
/drivers/staging/rtl8723au/os_dep/ |
H A D | recv_linux.c | 100 struct sta_info *psta = NULL; local 109 /* DBG_8723A("not ap psta =%p, addr =%pM\n", psta, pattrib->dst); */ 111 psta = rtw_get_bcmc_stainfo23a(padapter); 114 psta = rtw_get_stainfo23a(pstapriv, pattrib->dst); 117 if (psta) {
|