/linux/drivers/staging/r8188eu/core/ |
A D | rtw_sta_mgt.c | 33 psta->flags = 0; in _rtw_init_stainfo() 81 psta++; in _rtw_init_sta_priv() 170 psta = NULL; in rtw_alloc_stainfo() 179 psta = NULL; in rtw_alloc_stainfo() 229 return psta; in rtw_alloc_stainfo() 242 if (!psta) in rtw_free_stainfo() 337 if ((psta->aid > 0) && (pstapriv->sta_aid[psta->aid - 1] == psta)) { in rtw_free_stainfo() 414 psta = NULL; in rtw_get_stainfo() 420 return psta; in rtw_get_stainfo() 432 if (!psta) { in rtw_init_bcmc_stainfo() [all …]
|
A D | rtw_ap.c | 146 (psta->sta_stats.rx_data_pkts + psta->sta_stats.rx_ctrl_pkts)) in chk_sta_is_alive() 183 psta->hwaddr); in expire_timeout_chk() 198 psta = NULL; in expire_timeout_chk() 210 if (chk_sta_is_alive(psta) || !psta->expire_to) { in expire_timeout_chk() 259 (psta->hwaddr), psta->sleepq_len, in expire_timeout_chk() 330 if (psta) in add_RATid() 419 if (psta) { in update_bmc_sta() 421 psta->mac_id = psta->aid + 1; in update_bmc_sta() 503 psta->mac_id = psta->aid + 1; in update_sta_info_apmode() 992 if (!psta) in bss_cap_update_on_sta_leave() [all …]
|
A D | rtw_xmit.c | 253 struct sta_info *psta = pattrib->psta; in update_attrib_vcs_info() local 287 if (psta->rtsen || psta->cts2self) { in update_attrib_vcs_info() 490 if (psta) { in update_attrib() 493 pattrib->psta = psta; in update_attrib() 715 psta = pattrib->psta; in rtw_make_wlanhdr() 836 psta = pattrib->psta; in rtw_txframes_sta_ac_pending() 894 if (!psta) in rtw_xmitframe_coalesce() 1100 psta = pxmitframe->attrib.psta; in rtw_count_tx_stats() 1475 psta = pattrib->psta; in rtw_xmit_classifier() 1782 psta = pattrib->psta; in xmitframe_enqueue_for_sleeping_sta() [all …]
|
A D | rtw_recv.c | 417 if (psta && psta->ieee8021x_blocked) { in portctrl() 479 if (psta) { in process_pwrbit_data() 498 if (!psta) in process_wmmps_data() 559 psta = sta; in count_rx_stats() 561 psta = prframe->psta; in count_rx_stats() 563 if (psta) { in count_rx_stats() 650 if (!*psta) in sta2sta_data_frame() 838 if (!psta || psta->aid != aid) in validate_recv_ctrl_frame() 945 if (psta) { in validate_recv_mgnt_frame() 1025 if (!psta) { in validate_recv_data_frame() [all …]
|
A D | rtw_mlme.c | 908 if (!psta) in rtw_joinbss_update_stainfo() 914 psta->mac_id = 0; in rtw_joinbss_update_stainfo() 962 return psta; in rtw_joinbss_update_stainfo() 1161 if (!psta) in rtw_sta_media_status_rpt() 1184 if (psta) in rtw_stassoc_event_callback() 1190 if (psta) in rtw_stassoc_event_callback() 1194 if (!psta) in rtw_stassoc_event_callback() 1237 if (psta) in rtw_stadel_event_callback() 2051 if (pattrib->psta) in rtw_issue_addbareq_cmd() 2052 psta = pattrib->psta; in rtw_issue_addbareq_cmd() [all …]
|
A D | rtw_p2p.c | 29 struct sta_info *psta = NULL; in go_add_group_info_attr() local 50 if (psta->is_p2p_device) { in go_add_group_info_attr() 63 *pcur = psta->dev_cap; in go_add_group_info_attr() 76 memcpy(pcur, psta->secdev_types_list, psta->num_of_secdev_type * 8); in go_add_group_info_attr() 79 if (psta->dev_name_len > 0) { in go_add_group_info_attr() 88 memcpy(pcur, psta->dev_name, psta->dev_name_len); in go_add_group_info_attr() 89 pcur += psta->dev_name_len; in go_add_group_info_attr() 888 psta->dev_name_len = 0; in process_assoc_req_p2p_ie() 892 …psta->dev_name_len = (sizeof(psta->dev_name) < dev_name_len) ? sizeof(psta->dev_name) : dev_name_l… in process_assoc_req_p2p_ie() 894 memcpy(psta->dev_name, pattr_content + 4, psta->dev_name_len); in process_assoc_req_p2p_ie() [all …]
|
/linux/drivers/staging/rtl8723bs/core/ |
A D | rtw_sta_mgt.c | 33 psta->expire_to = 0; in _rtw_init_stainfo() 35 psta->flags = 0; in _rtw_init_stainfo() 87 psta++; in _rtw_init_sta_priv() 213 psta = NULL; in rtw_alloc_stainfo() 268 return psta; in rtw_alloc_stainfo() 281 if (!psta) in rtw_free_stainfo() 416 if ((psta->aid > 0) && (pstapriv->sta_aid[psta->aid - 1] == psta)) { in rtw_free_stainfo() 418 psta->aid = 0; in rtw_free_stainfo() 493 psta = NULL; in rtw_get_stainfo() 497 return psta; in rtw_get_stainfo() [all …]
|
A D | rtw_ap.c | 207 psta = NULL; in expire_timeout_chk() 215 if (chk_sta_is_alive(psta) || !psta->expire_to) { in expire_timeout_chk() 332 if (!psta) in add_RATid() 357 psta->raid = networktype_to_raid_ex(padapter, psta); in add_RATid() 383 if (psta) { in update_bmc_sta() 388 pmlmeinfo->FW_sta_info[psta->mac_id].psta = psta; in update_bmc_sta() 420 psta->raid = networktype_to_raid_ex(padapter, psta); in update_bmc_sta() 1149 if (!psta) in rtw_check_beacon_data() 1829 if (!psta) in bss_cap_update_on_sta_leave() 1893 if (!psta) in ap_free_sta() [all …]
|
A D | rtw_xmit.c | 713 if (!psta) { in update_attrib() 730 pattrib->psta = psta; in update_attrib() 939 if (pattrib->psta != psta) in rtw_make_wlanhdr() 942 if (!psta) in rtw_make_wlanhdr() 1228 psta = pattrib->psta; in rtw_mgmt_xmitframe_coalesce() 1232 if (!psta) in rtw_mgmt_xmitframe_coalesce() 1388 psta = pxmitframe->attrib.psta; in rtw_count_tx_stats() 1389 if (psta) { in rtw_count_tx_stats() 1802 if (pattrib->psta != psta) in rtw_xmit_classifier() 2028 if (pattrib->psta != psta) in xmitframe_enqueue_for_sleeping_sta() [all …]
|
A D | rtw_recv.c | 478 if ((psta) && (psta->ieee8021x_blocked)) { in portctrl() 551 if (psta) { in process_pwrbit_data() 580 if (!psta) in process_wmmps_data() 640 psta = sta; in count_rx_stats() 642 psta = prframe->u.hdr.psta; in count_rx_stats() 644 if (psta) { in count_rx_stats() 914 if (!psta) in validate_recv_ctrl_frame() 1122 if (!psta) { in recvframe_chk_defrag() 1206 if (psta) { in validate_recv_mgnt_frame() 1293 if (!psta) { in validate_recv_data_frame() [all …]
|
A D | rtw_wlan_util.c | 947 if (psta) { in bwmode_update_check() 1104 psta->rtsen = 0; in VCS_update() 1110 psta->rtsen = 1; in VCS_update() 1113 psta->rtsen = 0; in VCS_update() 1129 psta->rtsen = 0; in VCS_update() 1140 psta->ldpc = 1; in update_ldpc_stbc_cap() 1143 psta->stbc = 1; in update_ldpc_stbc_cap() 1145 psta->ldpc = 0; in update_ldpc_stbc_cap() 1146 psta->stbc = 0; in update_ldpc_stbc_cap() 1679 if (psta) { in process_addba_req() [all …]
|
A D | rtw_mlme.c | 1025 if (!psta) in rtw_joinbss_update_stainfo() 1040 psta->raid = networktype_to_raid_ex(padapter, psta); in rtw_joinbss_update_stainfo() 1060 psta->dot11txpn.val = psta->dot11txpn.val + 1; in rtw_joinbss_update_stainfo() 1098 return psta; in rtw_joinbss_update_stainfo() 1301 if (!psta) in rtw_sta_media_status_rpt() 1331 if (psta->passoc_req && psta->assoc_req_len > 0) { in rtw_stassoc_event_callback() 1355 if (psta) { in rtw_stassoc_event_callback() 1362 if (!psta) in rtw_stassoc_event_callback() 1415 if (psta) in rtw_stadel_event_callback() 2546 if (pattrib->psta != psta) in rtw_issue_addbareq_cmd() [all …]
|
A D | rtw_mlme_ext.c | 468 if (psta) { in mgt_dispatcher() 1612 if (!psta) in on_action_spct() 1659 if (!psta) in OnAction_back() 3760 if (!psta) in send_delba() 4663 if (psta) in report_del_sta_event() 4801 if (psta) in rtw_mlmeext_disconnect() 4877 pmlmeinfo->FW_sta_info[psta->mac_id].psta = psta; in mlmeext_joinbss_event_callback() 4940 pmlmeinfo->FW_sta_info[psta->mac_id].psta = psta; in mlmeext_sta_add_event_callback() 5087 psta = pmlmeinfo->FW_sta_info[i].psta; in linked_status_chk() 5210 if (!psta) in addba_timer_hdl() [all …]
|
/linux/drivers/staging/rtl8712/ |
A D | rtl871x_sta_mgt.c | 39 struct sta_info *psta; in _r8712_init_sta_priv() local 55 _init_stainfo(psta); in _r8712_init_sta_priv() 58 psta++; in _r8712_init_sta_priv() 93 struct sta_info *psta; in r8712_alloc_stainfo() local 104 if (psta) { in r8712_alloc_stainfo() 106 _init_stainfo(psta); in r8712_alloc_stainfo() 110 psta = NULL; in r8712_alloc_stainfo() 138 return psta; in r8712_alloc_stainfo() 152 if (!psta) in r8712_free_stainfo() 237 psta = NULL; in r8712_get_stainfo() [all …]
|
A D | rtl871x_xmit.c | 281 if (psta) { in r8712_update_attrib() 282 pattrib->psta = psta; in r8712_update_attrib() 358 if (pattrib->psta) in xmitframe_addmic() 526 if (pattrib->psta) in make_wlanhdr() 527 psta = pattrib->psta; in make_wlanhdr() 534 if (psta) { in make_wlanhdr() 594 if (!pattrib->psta) in r8712_xmitframe_coalesce() 596 psta = pattrib->psta; in r8712_xmitframe_coalesce() 625 if (psta) { in r8712_xmitframe_coalesce() 899 psta = pattrib->psta; in r8712_xmit_classifier() [all …]
|
A D | rtl871x_recv.c | 231 struct sta_info *psta; in r8712_portctrl() local 247 if (psta && psta->ieee8021x_blocked) { in r8712_portctrl() 354 if (!*psta) { in sta2sta_data_frame() 364 struct sta_info **psta) in ap2sta_data_frame() argument 404 if (!*psta) in ap2sta_data_frame() 415 if (!*psta) in ap2sta_data_frame() 425 struct sta_info **psta) in sta2ap_data_frame() argument 440 if (!*psta) in sta2ap_data_frame() 465 struct sta_info *psta = NULL; in validate_recv_data_frame() local 504 if (!psta) in validate_recv_data_frame() [all …]
|
/linux/drivers/staging/rtl8723bs/os_dep/ |
A D | ioctl_linux.c | 142 if (!psta) { in wpa_set_encryption() 555 if (!psta) in rtw_set_encryption() 831 if (psta) { in rtw_add_sta() 841 psta->qos_option = 1; in rtw_add_sta() 843 psta->qos_option = 0; in rtw_add_sta() 846 psta->qos_option = 0; in rtw_add_sta() 889 if (psta) { in rtw_del_sta() 903 psta = NULL; in rtw_del_sta() 931 if (psta) { in rtw_ioctl_get_sta_data() 953 memcpy(psta_data->tx_supp_rates, psta->bssrateset, psta->bssratelen); in rtw_ioctl_get_sta_data() [all …]
|
A D | xmit_linux.c | 129 struct sta_info *psta = NULL; in rtw_mlcst2unicst() local 144 psta = list_entry(plist, struct sta_info, asoc_list); in rtw_mlcst2unicst() 146 stainfo_offset = rtw_stainfo_offset(pstapriv, psta); in rtw_mlcst2unicst() 154 psta = rtw_get_stainfo_by_offset(pstapriv, chk_alive_list[i]); in rtw_mlcst2unicst() 155 if (!(psta->state & _FW_LINKED)) in rtw_mlcst2unicst() 159 if (!memcmp(psta->hwaddr, &skb->data[6], 6) || in rtw_mlcst2unicst() 160 !memcmp(psta->hwaddr, null_addr, 6) || in rtw_mlcst2unicst() 161 !memcmp(psta->hwaddr, bc_addr, 6)) in rtw_mlcst2unicst() 167 memcpy(newskb->data, psta->hwaddr, 6); in rtw_mlcst2unicst()
|
/linux/drivers/staging/r8188eu/os_dep/ |
A D | mlme_linux.c | 149 struct sta_info *psta = from_timer(psta, t, addba_retry_timer); in _addba_timer_hdl() local 150 addba_timer_hdl(psta); in _addba_timer_hdl() 155 timer_setup(&psta->addba_retry_timer, _addba_timer_hdl, 0); in init_addba_retry_timer() 171 if (!psta) in rtw_indicate_sta_assoc_event() 174 if (psta->aid > NUM_STA) in rtw_indicate_sta_assoc_event() 177 if (pstapriv->sta_aid[psta->aid - 1] != psta) in rtw_indicate_sta_assoc_event() 182 memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); in rtw_indicate_sta_assoc_event() 194 if (!psta) in rtw_indicate_sta_disassoc_event() 197 if (psta->aid > NUM_STA) in rtw_indicate_sta_disassoc_event() 200 if (pstapriv->sta_aid[psta->aid - 1] != psta) in rtw_indicate_sta_disassoc_event() [all …]
|
/linux/drivers/staging/r8188eu/include/ |
A D | rtw_ap.h | 12 struct sta_info *psta); 14 struct sta_info *psta); 19 void add_RATid(struct adapter *padapter, struct sta_info *psta, 22 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta); 26 void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta); 27 u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta); 28 void sta_info_update(struct adapter *padapter, struct sta_info *psta); 29 u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta,
|
/linux/drivers/staging/rtl8723bs/include/ |
A D | rtw_ap.h | 14 void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level); 16 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta); 24 u8 rtw_ap_set_pairwise_key(struct adapter *padapter, struct sta_info *psta); 29 void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta); 30 u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta); 31 void sta_info_update(struct adapter *padapter, struct sta_info *psta); 32 void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta); 33 u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta, bool active, u16 reason);
|
/linux/drivers/staging/r8188eu/hal/ |
A D | rtl8188e_rxdesc.c | 135 struct sta_info *psta; in update_recvframe_phyinfo_88e() local 165 psta = rtw_get_stainfo(pstapriv, sa); in update_recvframe_phyinfo_88e() 166 if (psta) in update_recvframe_phyinfo_88e() 167 pkt_info.StationID = psta->mac_id; in update_recvframe_phyinfo_88e() 172 precvframe->psta = NULL; in update_recvframe_phyinfo_88e() 175 if (psta) { in update_recvframe_phyinfo_88e() 176 precvframe->psta = psta; in update_recvframe_phyinfo_88e() 181 if (psta) in update_recvframe_phyinfo_88e() 182 precvframe->psta = psta; in update_recvframe_phyinfo_88e()
|
A D | hal_intf.c | 49 struct sta_info *psta = NULL; in rtw_hal_update_ra_mask() local 52 psta = pstapriv->sta_aid[(mac_id - 1) - 1]; in rtw_hal_update_ra_mask() 53 if (psta) in rtw_hal_update_ra_mask() 54 add_RATid(adapt, psta, 0);/* todo: based on rssi_level*/ in rtw_hal_update_ra_mask()
|
/linux/drivers/staging/rtl8723bs/hal/ |
A D | rtl8723b_dm.c | 191 struct sta_info *psta = NULL; in rtl8723b_hal_dm_in_lps() local 198 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); in rtl8723b_hal_dm_in_lps() 199 if (psta && (psta->rssi_stat.UndecoratedSmoothedPWDB > 0)) { in rtl8723b_hal_dm_in_lps() 200 PWDB_rssi = (psta->mac_id | (psta->rssi_stat.UndecoratedSmoothedPWDB<<16)); in rtl8723b_hal_dm_in_lps() 216 struct sta_info *psta = NULL; in rtl8723b_HalDmWatchDog_in_LPS() local 238 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); in rtl8723b_HalDmWatchDog_in_LPS() 239 if (!psta) in rtl8723b_HalDmWatchDog_in_LPS() 242 pdmpriv->EntryMinUndecoratedSmoothedPWDB = psta->rssi_stat.UndecoratedSmoothedPWDB; in rtl8723b_HalDmWatchDog_in_LPS()
|
A D | rtl8723bs_recv.c | 101 struct sta_info *psta; in update_recvframe_phyinfo() local 124 psta = rtw_get_stainfo(pstapriv, sa); in update_recvframe_phyinfo() 125 if (psta) in update_recvframe_phyinfo() 126 pkt_info.station_id = psta->mac_id; in update_recvframe_phyinfo() 134 if (psta) in update_recvframe_phyinfo() 135 psta->rssi = pattrib->phy_info.RecvSignalPower; in update_recvframe_phyinfo() 137 precvframe->u.hdr.psta = NULL; in update_recvframe_phyinfo() 142 if (psta) { in update_recvframe_phyinfo() 143 precvframe->u.hdr.psta = psta; in update_recvframe_phyinfo() 149 if (psta) in update_recvframe_phyinfo() [all …]
|