/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
H A D | rtw_sta_mgt.c | 12 void _rtw_init_stainfo(struct sta_info *psta); 13 void _rtw_init_stainfo(struct sta_info *psta) in _rtw_init_stainfo() argument 15 memset((u8 *)psta, 0, sizeof(struct sta_info)); in _rtw_init_stainfo() 17 spin_lock_init(&psta->lock); in _rtw_init_stainfo() 18 INIT_LIST_HEAD(&psta->list); in _rtw_init_stainfo() 19 INIT_LIST_HEAD(&psta->hash_list); in _rtw_init_stainfo() 20 /* INIT_LIST_HEAD(&psta->asoc_list); */ in _rtw_init_stainfo() 21 /* INIT_LIST_HEAD(&psta->sleep_list); */ in _rtw_init_stainfo() 22 /* INIT_LIST_HEAD(&psta->wakeup_list); */ in _rtw_init_stainfo() 24 _rtw_init_queue(&psta in _rtw_init_stainfo() 56 struct sta_info *psta; _rtw_init_sta_priv() local 128 struct sta_info *psta = NULL; kfree_all_stainfo() local 152 struct sta_info *psta = NULL; _rtw_free_sta_priv() local 192 struct sta_info *psta; rtw_alloc_stainfo() local 306 rtw_free_stainfo(struct adapter *padapter, struct sta_info *psta) rtw_free_stainfo() argument 484 struct sta_info *psta = NULL; rtw_free_all_stainfo() local 515 struct sta_info *psta = NULL; rtw_get_stainfo() local 555 struct sta_info *psta; rtw_init_bcmc_stainfo() local [all...] |
H A D | rtw_ap.c | 36 struct sta_info *psta = NULL; in free_mlme_ap_info() local 54 psta = rtw_get_bcmc_stainfo(padapter); in free_mlme_ap_info() 55 rtw_free_stainfo(padapter, psta); in free_mlme_ap_info() 180 u8 chk_sta_is_alive(struct sta_info *psta); 181 u8 chk_sta_is_alive(struct sta_info *psta) in chk_sta_is_alive() argument 186 , MAC_ARG(psta->hwaddr) in chk_sta_is_alive() 187 , psta->rssi_stat.UndecoratedSmoothedPWDB in chk_sta_is_alive() 188 /* STA_RX_PKTS_ARG(psta) */ in chk_sta_is_alive() 189 , STA_RX_PKTS_DIFF_ARG(psta) in chk_sta_is_alive() 190 , psta in chk_sta_is_alive() 206 struct sta_info *psta = NULL; expire_timeout_chk() local 410 add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level) add_RATid() argument 476 struct sta_info *psta = rtw_get_bcmc_stainfo(padapter); update_bmc_sta() local 554 update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta) update_sta_info_apmode() argument 672 update_ap_info(struct adapter *padapter, struct sta_info *psta) update_ap_info() argument 949 struct sta_info *psta = NULL; rtw_check_beacon_data() local 1443 rtw_ap_set_pairwise_key(struct adapter *padapter, struct sta_info *psta) rtw_ap_set_pairwise_key() argument 1917 struct sta_info *psta = NULL; associated_clients_update() local 1939 bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta) bss_cap_update_on_sta_join() argument 2078 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta) bss_cap_update_on_sta_leave() argument 2144 ap_free_sta( struct adapter *padapter, struct sta_info *psta, bool active, u16 reason ) ap_free_sta() argument 2192 struct sta_info *psta = NULL; rtw_sta_flush() local 2228 sta_info_update(struct adapter *padapter, struct sta_info *psta) sta_info_update() argument 2257 ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta) ap_sta_info_defer_update() argument 2275 struct sta_info *psta; rtw_ap_restore_network() local 2394 struct sta_info *psta = NULL; stop_ap_mode() local [all...] |
H A D | rtw_xmit.c | 332 u8 query_ra_short_GI(struct sta_info *psta) in query_ra_short_GI() argument 336 sgi_20m = psta->htpriv.sgi_20m; in query_ra_short_GI() 337 sgi_40m = psta->htpriv.sgi_40m; in query_ra_short_GI() 339 switch (psta->bw_mode) { in query_ra_short_GI() 359 /* struct sta_info *psta = pattrib->psta; */ in update_attrib_vcs_info() 436 static void update_attrib_phy_info(struct adapter *padapter, struct pkt_attrib *pattrib, struct sta_info *psta) in update_attrib_phy_info() argument 440 pattrib->rtsen = psta->rtsen; in update_attrib_phy_info() 441 pattrib->cts2self = psta->cts2self; in update_attrib_phy_info() 449 pattrib->qos_en = psta in update_attrib_phy_info() 480 update_attrib_sec_info(struct adapter *padapter, struct pkt_attrib *pattrib, struct sta_info *psta) update_attrib_sec_info() argument 650 struct sta_info *psta = NULL; update_attrib() local 1009 struct sta_info *psta; rtw_make_wlanhdr() local 1239 struct sta_info *psta = NULL; rtw_mgmt_xmitframe_coalesce() local 1468 struct sta_info *psta = NULL; rtw_count_tx_stats() local 1901 rtw_get_sta_pending(struct adapter *padapter, struct sta_info *psta, sint up, u8 *ac) rtw_get_sta_pending() argument 1946 struct sta_info *psta; rtw_xmit_classifier() local 2192 struct sta_info *psta = NULL; xmitframe_enqueue_for_sleeping_sta() local 2321 dequeue_xmitframes_to_sleeping_queue(struct adapter *padapter, struct sta_info *psta, struct __queue *pframequeue) dequeue_xmitframes_to_sleeping_queue() argument 2355 stop_sta_xmit(struct adapter *padapter, struct sta_info *psta) stop_sta_xmit() argument 2393 wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta) wakeup_sta_to_xmit() argument 2518 xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta) xmit_delivery_enabled_frames() argument [all...] |
H A D | rtw_recv.c | 548 struct sta_info *psta; in portctrl() local 566 psta = rtw_get_stainfo(pstapriv, psta_addr); in portctrl() 571 if ((psta) && (psta->ieee8021x_blocked)) { in portctrl() 576 RT_TRACE(_module_rtl871x_recv_c_, _drv_info_, ("########portctrl:psta->ieee8021x_blocked == 1\n")); in portctrl() 595 RT_TRACE(_module_rtl871x_recv_c_, _drv_info_, ("########portctrl:psta->ieee8021x_blocked == 0\n")); in portctrl() 654 struct sta_info *psta = NULL; in process_pwrbit_data() local 656 psta = rtw_get_stainfo(pstapriv, pattrib->src); in process_pwrbit_data() 660 if (psta) { in process_pwrbit_data() 662 if (!(psta in process_pwrbit_data() 689 struct sta_info *psta = NULL; process_wmmps_data() local 740 struct sta_info *psta = NULL; count_rx_stats() local 874 ap2sta_data_frame( struct adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta) ap2sta_data_frame() argument 1023 sta2ap_data_frame( struct adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta) sta2ap_data_frame() argument 1087 struct sta_info *psta = NULL; validate_recv_ctrl_frame() local 1234 struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(precv_frame->u.hdr.rx_data)); validate_recv_mgnt_frame() local 1264 struct sta_info *psta = NULL; validate_recv_data_frame() local 1648 struct sta_info *psta = precvframe->u.hdr.psta; wlanhdr_to_ethhdr() local 1789 struct sta_info *psta; recvframe_chk_defrag() local [all...] |
H A D | rtw_wlan_util.c | 57 u8 networktype_to_raid_ex(struct adapter *adapter, struct sta_info *psta) in networktype_to_raid_ex() argument 65 } else if (IsSupportedVHT(psta->wireless_mode)) { in networktype_to_raid_ex() 66 if (psta->ra_mask & 0xffc00000) in networktype_to_raid_ex() 68 } else if (IsSupportedHT(psta->wireless_mode)) { in networktype_to_raid_ex() 69 if (psta->ra_mask & 0xfff00000) in networktype_to_raid_ex() 73 switch (psta->wireless_mode) { in networktype_to_raid_ex() 95 if (psta->bw_mode == CHANNEL_WIDTH_20) { in networktype_to_raid_ex() 991 struct sta_info *psta; in bwmode_update_check() local 998 psta = rtw_get_stainfo(pstapriv, cur_network->MacAddress); in bwmode_update_check() 999 if (psta) { in bwmode_update_check() 1167 VCS_update(struct adapter *padapter, struct sta_info *psta) VCS_update() argument 1207 update_ldpc_stbc_cap(struct sta_info *psta) update_ldpc_stbc_cap() argument 1448 update_beacon_info(struct adapter *padapter, u8 *pframe, uint pkt_len, struct sta_info *psta) update_beacon_info() argument 1553 Update_RA_Entry(struct adapter *padapter, struct sta_info *psta) Update_RA_Entry() argument 1558 set_sta_rate(struct adapter *padapter, struct sta_info *psta) set_sta_rate() argument 1754 update_sta_basic_rate(struct sta_info *psta, u8 wireless_mode) update_sta_basic_rate() argument 1792 struct sta_info *psta; process_addba_req() local 1930 rtw_alloc_macid(struct adapter *padapter, struct sta_info *psta) rtw_alloc_macid() argument 1962 rtw_release_macid(struct adapter *padapter, struct sta_info *psta) rtw_release_macid() argument 2130 struct sta_info *psta; rtw_get_sec_iv() local 2154 struct sta_info *psta; rtw_set_sec_pn() local [all...] |
H A D | rtw_mlme.c | 994 struct sta_info *psta; in rtw_free_assoc_resources() local 996 psta = rtw_get_stainfo(&adapter->stapriv, tgt_network->network.MacAddress); in rtw_free_assoc_resources() 998 rtw_free_stainfo(adapter, psta); in rtw_free_assoc_resources() 1005 struct sta_info *psta; in rtw_free_assoc_resources() local 1009 psta = rtw_get_bcmc_stainfo(adapter); in rtw_free_assoc_resources() 1010 rtw_free_stainfo(adapter, psta); in rtw_free_assoc_resources() 1123 struct sta_info *bmc_sta, *psta = NULL; in rtw_joinbss_update_stainfo() local 1128 psta = rtw_get_stainfo(pstapriv, pnetwork->network.MacAddress); in rtw_joinbss_update_stainfo() 1129 if (!psta) in rtw_joinbss_update_stainfo() 1130 psta in rtw_joinbss_update_stainfo() 1451 rtw_sta_media_status_rpt(struct adapter *adapter, struct sta_info *psta, u32 mstatus) rtw_sta_media_status_rpt() argument 1464 struct sta_info *psta; rtw_stassoc_event_callback() local 1566 struct sta_info *psta; rtw_stadel_event_callback() local 2858 struct sta_info *psta = NULL; rtw_issue_addbareq_cmd() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/ |
H A D | rtw_sta_mgt.c | 10 void _rtw_init_stainfo(struct sta_info *psta); 11 void _rtw_init_stainfo(struct sta_info *psta) in _rtw_init_stainfo() argument 13 memset((u8 *)psta, 0, sizeof(struct sta_info)); in _rtw_init_stainfo() 15 spin_lock_init(&psta->lock); in _rtw_init_stainfo() 16 INIT_LIST_HEAD(&psta->list); in _rtw_init_stainfo() 17 INIT_LIST_HEAD(&psta->hash_list); in _rtw_init_stainfo() 18 /* INIT_LIST_HEAD(&psta->asoc_list); */ in _rtw_init_stainfo() 19 /* INIT_LIST_HEAD(&psta->sleep_list); */ in _rtw_init_stainfo() 20 /* INIT_LIST_HEAD(&psta->wakeup_list); */ in _rtw_init_stainfo() 22 INIT_LIST_HEAD(&psta in _rtw_init_stainfo() 55 struct sta_info *psta; _rtw_init_sta_priv() local 146 struct sta_info *psta = NULL; _rtw_free_sta_priv() local 182 struct sta_info *psta; rtw_alloc_stainfo() local 271 rtw_free_stainfo(struct adapter *padapter, struct sta_info *psta) rtw_free_stainfo() argument 434 struct sta_info *psta = NULL; rtw_free_all_stainfo() local 466 struct sta_info *psta = NULL; rtw_get_stainfo() local 500 struct sta_info *psta; rtw_init_bcmc_stainfo() local [all...] |
H A D | rtw_ap.c | 31 struct sta_info *psta = NULL; in free_mlme_ap_info() local 49 psta = rtw_get_bcmc_stainfo(padapter); in free_mlme_ap_info() 50 rtw_free_stainfo(padapter, psta); in free_mlme_ap_info() 167 static u8 chk_sta_is_alive(struct sta_info *psta) in chk_sta_is_alive() argument 169 sta_update_last_rx_pkts(psta); in chk_sta_is_alive() 178 struct sta_info *psta = NULL; in expire_timeout_chk() local 189 psta = list_entry(plist, struct sta_info, auth_list); in expire_timeout_chk() 191 if (psta->expire_to > 0) { in expire_timeout_chk() 192 psta->expire_to--; in expire_timeout_chk() 193 if (psta in expire_timeout_chk() 324 add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level) add_RATid() argument 381 struct sta_info *psta = rtw_get_bcmc_stainfo(padapter); update_bmc_sta() local 453 update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta) update_sta_info_apmode() argument 565 update_ap_info(struct adapter *padapter, struct sta_info *psta) update_ap_info() argument 817 struct sta_info *psta = NULL; rtw_check_beacon_data() local 1266 rtw_ap_set_pairwise_key(struct adapter *padapter, struct sta_info *psta) rtw_ap_set_pairwise_key() argument 1686 struct sta_info *psta = NULL; associated_clients_update() local 1704 bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta) bss_cap_update_on_sta_join() argument 1824 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta) bss_cap_update_on_sta_leave() argument 1885 ap_free_sta( struct adapter *padapter, struct sta_info *psta, bool active, u16 reason ) ap_free_sta() argument 1933 struct sta_info *psta = NULL; rtw_sta_flush() local 1963 sta_info_update(struct adapter *padapter, struct sta_info *psta) sta_info_update() argument 1992 ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta) ap_sta_info_defer_update() argument 2009 struct sta_info *psta; rtw_ap_restore_network() local 2126 struct sta_info *psta = NULL; stop_ap_mode() local [all...] |
H A D | rtw_xmit.c | 333 u8 query_ra_short_GI(struct sta_info *psta) in query_ra_short_GI() argument 337 sgi_20m = psta->htpriv.sgi_20m; in query_ra_short_GI() 338 sgi_40m = psta->htpriv.sgi_40m; in query_ra_short_GI() 340 switch (psta->bw_mode) { in query_ra_short_GI() 357 /* struct sta_info *psta = pattrib->psta; */ in update_attrib_vcs_info() 435 static void update_attrib_phy_info(struct adapter *padapter, struct pkt_attrib *pattrib, struct sta_info *psta) in update_attrib_phy_info() argument 439 pattrib->rtsen = psta->rtsen; in update_attrib_phy_info() 440 pattrib->cts2self = psta->cts2self; in update_attrib_phy_info() 448 pattrib->qos_en = psta in update_attrib_phy_info() 471 update_attrib_sec_info(struct adapter *padapter, struct pkt_attrib *pattrib, struct sta_info *psta) update_attrib_sec_info() argument 622 struct sta_info *psta = NULL; update_attrib() local 933 struct sta_info *psta; rtw_make_wlanhdr() local 1144 struct sta_info *psta = NULL; rtw_mgmt_xmitframe_coalesce() local 1370 struct sta_info *psta = NULL; rtw_count_tx_stats() local 1753 rtw_get_sta_pending(struct adapter *padapter, struct sta_info *psta, signed int up, u8 *ac) rtw_get_sta_pending() argument 1794 struct sta_info *psta; rtw_xmit_classifier() local 2015 struct sta_info *psta = NULL; xmitframe_enqueue_for_sleeping_sta() local 2127 dequeue_xmitframes_to_sleeping_queue(struct adapter *padapter, struct sta_info *psta, struct __queue *pframequeue) dequeue_xmitframes_to_sleeping_queue() argument 2157 stop_sta_xmit(struct adapter *padapter, struct sta_info *psta) stop_sta_xmit() argument 2195 wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta) wakeup_sta_to_xmit() argument 2313 xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta) xmit_delivery_enabled_frames() argument [all...] |
H A D | rtw_recv.c | 449 struct sta_info *psta; in portctrl() local 467 psta = rtw_get_stainfo(pstapriv, psta_addr); in portctrl() 470 if ((psta) && (psta->ieee8021x_blocked)) { in portctrl() 537 struct sta_info *psta = NULL; in process_pwrbit_data() local 539 psta = rtw_get_stainfo(pstapriv, pattrib->src); in process_pwrbit_data() 543 if (psta) { in process_pwrbit_data() 545 if (!(psta->state & WIFI_SLEEP_STATE)) { in process_pwrbit_data() 546 /* psta->state |= WIFI_SLEEP_STATE; */ in process_pwrbit_data() 547 /* pstapriv->sta_dz_bitmap |= BIT(psta in process_pwrbit_data() 568 struct sta_info *psta = NULL; process_wmmps_data() local 618 struct sta_info *psta = NULL; count_rx_stats() local 646 sta2sta_data_frame(struct adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta) sta2sta_data_frame() argument 734 ap2sta_data_frame(struct adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta) ap2sta_data_frame() argument 839 sta2ap_data_frame(struct adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta) sta2ap_data_frame() argument 896 struct sta_info *psta = NULL; validate_recv_ctrl_frame() local 1101 struct sta_info *psta; recvframe_chk_defrag() local 1203 struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(precv_frame->u.hdr.rx_data)); validate_recv_mgnt_frame() local 1233 struct sta_info *psta = NULL; validate_recv_data_frame() local [all...] |
H A D | rtw_wlan_util.c | 47 u8 networktype_to_raid_ex(struct adapter *adapter, struct sta_info *psta) in networktype_to_raid_ex() argument 51 switch (psta->wireless_mode) { in networktype_to_raid_ex() 67 if (psta->bw_mode == CHANNEL_WIDTH_20) { in networktype_to_raid_ex() 939 struct sta_info *psta; in bwmode_update_check() local 946 psta = rtw_get_stainfo(pstapriv, cur_network->mac_address); in bwmode_update_check() 947 if (psta) { in bwmode_update_check() 948 struct ht_priv *phtpriv_sta = &psta->htpriv; in bwmode_update_check() 952 psta->bw_mode = pmlmeext->cur_bwmode; in bwmode_update_check() 955 psta->bw_mode = CHANNEL_WIDTH_20; in bwmode_update_check() 959 rtw_dm_ra_mask_wk_cmd(padapter, (u8 *)psta); in bwmode_update_check() 1092 VCS_update(struct adapter *padapter, struct sta_info *psta) VCS_update() argument 1132 update_ldpc_stbc_cap(struct sta_info *psta) update_ldpc_stbc_cap() argument 1326 update_beacon_info(struct adapter *padapter, u8 *pframe, uint pkt_len, struct sta_info *psta) update_beacon_info() argument 1433 Update_RA_Entry(struct adapter *padapter, struct sta_info *psta) Update_RA_Entry() argument 1438 set_sta_rate(struct adapter *padapter, struct sta_info *psta) set_sta_rate() argument 1627 update_sta_basic_rate(struct sta_info *psta, u8 wireless_mode) update_sta_basic_rate() argument 1665 struct sta_info *psta; process_addba_req() local 1779 rtw_alloc_macid(struct adapter *padapter, struct sta_info *psta) rtw_alloc_macid() argument 1807 rtw_release_macid(struct adapter *padapter, struct sta_info *psta) rtw_release_macid() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
H A D | rtw_sta_mgt.c | 17 static void _rtw_init_stainfo(struct sta_info *psta) in _rtw_init_stainfo() argument 19 memset((u8 *)psta, 0, sizeof(struct sta_info)); in _rtw_init_stainfo() 21 spin_lock_init(&psta->lock); in _rtw_init_stainfo() 22 INIT_LIST_HEAD(&psta->list); in _rtw_init_stainfo() 23 INIT_LIST_HEAD(&psta->hash_list); in _rtw_init_stainfo() 24 _rtw_init_queue(&psta->sleep_q); in _rtw_init_stainfo() 25 psta->sleepq_len = 0; in _rtw_init_stainfo() 27 _rtw_init_sta_xmit_priv(&psta->sta_xmitpriv); in _rtw_init_stainfo() 28 _rtw_init_sta_recv_priv(&psta->sta_recvpriv); in _rtw_init_stainfo() 32 INIT_LIST_HEAD(&psta in _rtw_init_stainfo() 60 struct sta_info *psta; _rtw_init_sta_priv() local 134 struct sta_info *psta = NULL; _rtw_free_sta_priv() local 170 struct sta_info *psta; rtw_alloc_stainfo() local 251 rtw_free_stainfo(struct adapter *padapter, struct sta_info *psta) rtw_free_stainfo() argument 387 struct sta_info *psta = NULL; rtw_free_all_stainfo() local 416 struct sta_info *psta = NULL; rtw_get_stainfo() local 453 struct sta_info *psta; rtw_init_bcmc_stainfo() local [all...] |
H A D | rtw_ap.c | 35 struct sta_info *psta = NULL; in free_mlme_ap_info() local 52 psta = rtw_get_bcmc_stainfo(padapter); in free_mlme_ap_info() 54 rtw_free_stainfo(padapter, psta); in free_mlme_ap_info() 148 static u8 chk_sta_is_alive(struct sta_info *psta) in chk_sta_is_alive() argument 152 if ((psta->sta_stats.last_rx_data_pkts + in chk_sta_is_alive() 153 psta->sta_stats.last_rx_ctrl_pkts) == in chk_sta_is_alive() 154 (psta->sta_stats.rx_data_pkts + in chk_sta_is_alive() 155 psta->sta_stats.rx_ctrl_pkts)) in chk_sta_is_alive() 160 sta_update_last_rx_pkts(psta); in chk_sta_is_alive() 169 struct sta_info *psta in expire_timeout_chk() local 342 add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level) add_RATid() argument 426 struct sta_info *psta = rtw_get_bcmc_stainfo(padapter); update_bmc_sta() local 501 update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta) update_sta_info_apmode() argument 737 struct sta_info *psta = NULL; rtw_check_beacon_data() local 1341 struct sta_info *psta = NULL; associated_clients_update() local 1362 bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta) bss_cap_update_on_sta_join() argument 1497 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta) bss_cap_update_on_sta_leave() argument 1562 ap_free_sta(struct adapter *padapter, struct sta_info *psta, bool active, u16 reason) ap_free_sta() argument 1605 struct sta_info *psta = NULL; rtw_sta_flush() local 1641 sta_info_update(struct adapter *padapter, struct sta_info *psta) sta_info_update() argument 1670 ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta) ap_sta_info_defer_update() argument 1727 struct sta_info *psta = NULL; stop_ap_mode() local [all...] |
H A D | rtw_xmit.c | 246 struct sta_info *psta = pattrib->psta; in update_attrib_vcs_info() local 265 if (psta->rtsen) in update_attrib_vcs_info() 267 else if (psta->cts2self) in update_attrib_vcs_info() 282 if (psta->rtsen || psta->cts2self) { in update_attrib_vcs_info() 283 if (psta->rtsen) in update_attrib_vcs_info() 285 else if (psta->cts2self) in update_attrib_vcs_info() 322 static void update_attrib_phy_info(struct pkt_attrib *pattrib, struct sta_info *psta) in update_attrib_phy_info() argument 329 pattrib->qos_en = psta in update_attrib_phy_info() 395 struct sta_info *psta = NULL; update_attrib() local 746 struct sta_info *psta; rtw_make_wlanhdr() local 866 struct sta_info *psta; rtw_txframes_sta_ac_pending() local 913 struct sta_info *psta; rtw_xmitframe_coalesce() local 1122 struct sta_info *psta = NULL; rtw_count_tx_stats() local 1430 rtw_get_sta_pending(struct adapter *padapter, struct sta_info *psta, int up, u8 *ac) rtw_get_sta_pending() argument 1477 struct sta_info *psta; rtw_xmit_classifier() local 1637 struct sta_info *psta = NULL; xmitframe_enqueue_for_sleeping_sta() local 1736 dequeue_xmitframes_to_sleeping_queue(struct adapter *padapter, struct sta_info *psta, struct __queue *pframequeue) dequeue_xmitframes_to_sleeping_queue() argument 1764 stop_sta_xmit(struct adapter *padapter, struct sta_info *psta) stop_sta_xmit() argument 1807 wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta) wakeup_sta_to_xmit() argument 1936 xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *psta) xmit_delivery_enabled_frames() argument [all...] |
H A D | rtw_recv.c | 417 struct sta_info *psta; in portctrl() local 433 psta = rtw_get_stainfo(pstapriv, psta_addr); in portctrl() 445 if (psta && (psta->ieee8021x_blocked)) { in portctrl() 448 RT_TRACE(_module_rtl871x_recv_c_, _drv_info_, ("########%s:psta->ieee8021x_blocked==1\n", __func__)); in portctrl() 460 RT_TRACE(_module_rtl871x_recv_c_, _drv_info_, ("########%s:psta->ieee8021x_blocked==0\n", __func__)); in portctrl() 521 struct sta_info *psta = NULL; in process_pwrbit_data() local 523 psta = rtw_get_stainfo(pstapriv, pattrib->src); in process_pwrbit_data() 527 if (psta) { in process_pwrbit_data() 529 if (!(psta in process_pwrbit_data() 546 struct sta_info *psta = NULL; process_wmmps_data() local 601 struct sta_info *psta = NULL; count_rx_stats() local 627 sta2sta_data_frame(struct adapter *adapter, struct recv_frame *precv_frame, struct sta_info **psta) sta2sta_data_frame() argument 705 ap2sta_data_frame(struct adapter *adapter, struct recv_frame *precv_frame, struct sta_info **psta) ap2sta_data_frame() argument 795 sta2ap_data_frame(struct adapter *adapter, struct recv_frame *precv_frame, struct sta_info **psta) sta2ap_data_frame() argument 872 struct sta_info *psta = NULL; validate_recv_ctrl_frame() local 984 struct sta_info *psta; validate_recv_mgnt_frame() local 1025 struct sta_info *psta = NULL; validate_recv_data_frame() local 1389 struct sta_info *psta; recvframe_chk_defrag() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
H A D | rtl871x_sta_mgt.c | 25 static void _init_stainfo(struct sta_info *psta) in _init_stainfo() argument 27 memset((u8 *)psta, 0, sizeof(struct sta_info)); in _init_stainfo() 28 spin_lock_init(&psta->lock); in _init_stainfo() 29 INIT_LIST_HEAD(&psta->list); in _init_stainfo() 30 INIT_LIST_HEAD(&psta->hash_list); in _init_stainfo() 31 _r8712_init_sta_xmit_priv(&psta->sta_xmitpriv); in _init_stainfo() 32 _r8712_init_sta_recv_priv(&psta->sta_recvpriv); in _init_stainfo() 33 INIT_LIST_HEAD(&psta->asoc_list); in _init_stainfo() 34 INIT_LIST_HEAD(&psta->auth_list); in _init_stainfo() 39 struct sta_info *psta; in _r8712_init_sta_priv() local 93 struct sta_info *psta; r8712_alloc_stainfo() local 142 r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta) r8712_free_stainfo() argument 196 struct sta_info *psta = NULL; r8712_free_all_stainfo() local 222 struct sta_info *psta = NULL; r8712_get_stainfo() local [all...] |
H A D | rtl871x_xmit.c | 205 struct sta_info *psta = NULL; in r8712_update_attrib() local 289 psta = r8712_get_bcmc_stainfo(padapter); in r8712_update_attrib() 293 psta = r8712_get_stainfo(pstapriv, in r8712_update_attrib() 297 psta = r8712_get_stainfo(pstapriv, pattrib->ra); in r8712_update_attrib() 298 if (!psta) /* drop the pkt */ in r8712_update_attrib() 303 pattrib->mac_id = psta->mac_id; in r8712_update_attrib() 307 if (psta) { in r8712_update_attrib() 308 pattrib->psta = psta; in r8712_update_attrib() 310 /* if we cannot get psta in r8712_update_attrib() 549 struct sta_info *psta; make_wlanhdr() local 612 struct sta_info *psta; r8712_xmitframe_coalesce() local 871 get_sta_pending(struct _adapter *padapter, struct __queue **ppstapending, struct sta_info *psta, sint up) get_sta_pending() argument 918 struct sta_info *psta; r8712_xmit_classifier() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8712/ |
H A D | rtl871x_sta_mgt.c | 25 static void _init_stainfo(struct sta_info *psta) in _init_stainfo() argument 27 memset((u8 *)psta, 0, sizeof(struct sta_info)); in _init_stainfo() 28 spin_lock_init(&psta->lock); in _init_stainfo() 29 INIT_LIST_HEAD(&psta->list); in _init_stainfo() 30 INIT_LIST_HEAD(&psta->hash_list); in _init_stainfo() 31 _r8712_init_sta_xmit_priv(&psta->sta_xmitpriv); in _init_stainfo() 32 _r8712_init_sta_recv_priv(&psta->sta_recvpriv); in _init_stainfo() 33 INIT_LIST_HEAD(&psta->asoc_list); in _init_stainfo() 34 INIT_LIST_HEAD(&psta->auth_list); in _init_stainfo() 39 struct sta_info *psta; in _r8712_init_sta_priv() local 93 struct sta_info *psta; r8712_alloc_stainfo() local 142 r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta) r8712_free_stainfo() argument 196 struct sta_info *psta = NULL; r8712_free_all_stainfo() local 222 struct sta_info *psta = NULL; r8712_get_stainfo() local [all...] |
H A D | rtl871x_xmit.c | 204 struct sta_info *psta = NULL; in r8712_update_attrib() local 288 psta = r8712_get_bcmc_stainfo(padapter); in r8712_update_attrib() 292 psta = r8712_get_stainfo(pstapriv, in r8712_update_attrib() 296 psta = r8712_get_stainfo(pstapriv, pattrib->ra); in r8712_update_attrib() 297 if (!psta) /* drop the pkt */ in r8712_update_attrib() 302 pattrib->mac_id = psta->mac_id; in r8712_update_attrib() 306 if (psta) { in r8712_update_attrib() 307 pattrib->psta = psta; in r8712_update_attrib() 309 /* if we cannot get psta in r8712_update_attrib() 548 struct sta_info *psta; make_wlanhdr() local 611 struct sta_info *psta; r8712_xmitframe_coalesce() local 870 get_sta_pending(struct _adapter *padapter, struct __queue **ppstapending, struct sta_info *psta, sint up) get_sta_pending() argument 916 struct sta_info *psta; r8712_xmit_classifier() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/os_dep/ |
H A D | ioctl_linux.c | 137 struct sta_info *psta, *pbcmc_sta; in wpa_set_encryption() local 141 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); in wpa_set_encryption() 142 if (!psta) { in wpa_set_encryption() 147 psta->ieee8021x_blocked = false; in wpa_set_encryption() 151 psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; in wpa_set_encryption() 155 memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : param->u.crypt.key_len)); in wpa_set_encryption() 159 memcpy(psta->dot11tkiptxmickey.skey, ¶m->u.crypt.key[16], 8); in wpa_set_encryption() 160 memcpy(psta->dot11tkiprxmickey.skey, ¶m->u.crypt.key[24], 8); in wpa_set_encryption() 166 rtw_setstakey_cmd(padapter, psta, true, true); in wpa_set_encryption() 518 struct sta_info *psta in rtw_set_encryption() local 785 struct sta_info *psta = NULL; rtw_add_sta() local 850 struct sta_info *psta = NULL; rtw_del_sta() local 887 struct sta_info *psta = NULL; rtw_ioctl_get_sta_data() local 946 struct sta_info *psta = NULL; rtw_get_sta_wpaie() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/ |
H A D | rtw_ap.h | 17 struct sta_info *psta); 19 struct sta_info *psta); 24 void add_RATid(struct adapter *padapter, struct sta_info *psta, 27 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta); 34 void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta); 35 u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta); 36 void sta_info_update(struct adapter *padapter, struct sta_info *psta); 37 void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta); 38 u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta,
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
H A D | mlme_linux.c | 114 void init_addba_retry_timer(struct adapter *padapter, struct sta_info *psta) in init_addba_retry_timer() argument 116 timer_setup(&psta->addba_retry_timer, addba_timer_hdl, 0); in init_addba_retry_timer() 129 void rtw_indicate_sta_assoc_event(struct adapter *padapter, struct sta_info *psta) in rtw_indicate_sta_assoc_event() argument 134 if (!psta) in rtw_indicate_sta_assoc_event() 137 if (psta->aid > NUM_STA) in rtw_indicate_sta_assoc_event() 140 if (pstapriv->sta_aid[psta->aid - 1] != psta) in rtw_indicate_sta_assoc_event() 145 memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); in rtw_indicate_sta_assoc_event() 152 void rtw_indicate_sta_disassoc_event(struct adapter *padapter, struct sta_info *psta) in rtw_indicate_sta_disassoc_event() argument 157 if (!psta) in rtw_indicate_sta_disassoc_event() [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/ |
H 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);
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/include/ |
H 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);
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/hal/ |
H A D | rtl8188e_rxdesc.c | 139 struct sta_info *psta; in update_recvframe_phyinfo_88e() local 169 psta = rtw_get_stainfo(pstapriv, sa); in update_recvframe_phyinfo_88e() 170 if (psta) in update_recvframe_phyinfo_88e() 171 pkt_info.StationID = psta->mac_id; in update_recvframe_phyinfo_88e() 177 precvframe->psta = NULL; in update_recvframe_phyinfo_88e() 180 if (psta) { in update_recvframe_phyinfo_88e() 181 precvframe->psta = psta; in update_recvframe_phyinfo_88e() 186 if (psta) in update_recvframe_phyinfo_88e() 187 precvframe->psta in update_recvframe_phyinfo_88e() [all...] |