Home
last modified time | relevance | path

Searched refs:pstat (Results 1 – 25 of 107) sorted by relevance

12345

/OK3568_Linux_fs/kernel/tools/perf/
H A Dbuiltin-kmem.c439 __page_stat__findnew_page(struct page_stat *pstat, bool create) in __page_stat__findnew_page() argument
451 cmp = data->page - pstat->page; in __page_stat__findnew_page()
465 data->page = pstat->page; in __page_stat__findnew_page()
466 data->order = pstat->order; in __page_stat__findnew_page()
467 data->gfp_flags = pstat->gfp_flags; in __page_stat__findnew_page()
468 data->migrate_type = pstat->migrate_type; in __page_stat__findnew_page()
477 static struct page_stat *page_stat__find_page(struct page_stat *pstat) in page_stat__find_page() argument
479 return __page_stat__findnew_page(pstat, false); in page_stat__find_page()
482 static struct page_stat *page_stat__findnew_page(struct page_stat *pstat) in page_stat__findnew_page() argument
484 return __page_stat__findnew_page(pstat, true); in page_stat__findnew_page()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/core/
H A Drtw_mlme_ext.c874 struct sta_info *pstat, int pkt_type) in issue_asocrsp() argument
908 ether_addr_copy((void *)GetAddr1Ptr(pwlanhdr), pstat->hwaddr); in issue_asocrsp()
933 leval = cpu_to_le16(pstat->aid | BIT(14) | BIT(15)); in issue_asocrsp()
936 if (pstat->bssratelen <= 8) { in issue_asocrsp()
937 …pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, pstat->bssratelen, pstat->bssrateset, &pattrib->p… in issue_asocrsp()
939 pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, 8, pstat->bssrateset, &pattrib->pktlen); in issue_asocrsp()
940 …pframe = rtw_set_ie(pframe, _EXT_SUPPORTEDRATES_IE_, pstat->bssratelen - 8, pstat->bssrateset + 8,… in issue_asocrsp()
943 if ((pstat->flags & WLAN_STA_HT) && (pmlmepriv->htpriv.ht_option)) { in issue_asocrsp()
964 if ((pstat->flags & WLAN_STA_WME) && (pmlmepriv->qospriv.qos_option)) { in issue_asocrsp()
2648 struct sta_info *pstat = NULL; in OnAuth() local
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/core/
H A Drtw_mlme_ext.c892 struct sta_info *pstat = NULL; in OnAuth() local
953 pstat = rtw_get_stainfo(pstapriv, sa); in OnAuth()
954 if (pstat == NULL) { in OnAuth()
958 pstat = rtw_alloc_stainfo(pstapriv, sa); in OnAuth()
959 if (pstat == NULL) { in OnAuth()
965 pstat->state = WIFI_FW_AUTH_NULL; in OnAuth()
966 pstat->auth_seq = 0; in OnAuth()
973 if (list_empty(&pstat->asoc_list) == false) { in OnAuth()
974 list_del_init(&pstat->asoc_list); in OnAuth()
976 if (pstat->expire_to > 0) { in OnAuth()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dpcap_keys.c27 u32 pstat; in pcap_keys_handler() local
29 ezx_pcap_read(pcap_keys->pcap, PCAP_REG_PSTAT, &pstat); in pcap_keys_handler()
30 pstat &= 1 << pirq; in pcap_keys_handler()
34 input_report_key(pcap_keys->input, KEY_POWER, !pstat); in pcap_keys_handler()
37 input_report_key(pcap_keys->input, KEY_HP, !pstat); in pcap_keys_handler()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/hal/phydm/
H A Dphydm_rainfo.c1210 PSTA_INFO_T pstat; in odm_RSSIMonitorCheckAP() local
1233 pstat = pDM_Odm->pODM_StaInfo[i]; in odm_RSSIMonitorCheckAP()
1235 if (IS_STA_VALID(pstat)) { in odm_RSSIMonitorCheckAP()
1236 if (pstat->sta_in_firmware != 1) in odm_RSSIMonitorCheckAP()
1241 BEAMFORMING_CAP Beamform_cap = Beamforming_GetEntryBeamCapByMacId(priv, pstat->aid); in odm_RSSIMonitorCheckAP()
1270 ((pstat->ht_cap_buf.ht_cap_info & cpu_to_le16(_HTCAP_RX_STBC_CAP_)) in odm_RSSIMonitorCheckAP()
1272 || (pstat->vht_cap_buf.vht_cap_info & cpu_to_le32(_VHTCAP_RX_STBC_CAP_)) in odm_RSSIMonitorCheckAP()
1280 if ((pstat->rx_avarage) > ((pstat->tx_avarage) * 6)) in odm_RSSIMonitorCheckAP()
1305 H2C_Parameter[2] = (u1Byte)(pstat->rssi & 0xFF); in odm_RSSIMonitorCheckAP()
1306 H2C_Parameter[0] = REMAP_AID(pstat); in odm_RSSIMonitorCheckAP()
[all …]
H A Dphydm_dynamictxpower.c241 PSTA_INFO_T pstat = pDM_Odm->pODM_StaInfo[i]; in odm_DynamicTxPowerAP() local
242 if(IS_STA_VALID(pstat) ) { in odm_DynamicTxPowerAP()
244 pstat->hp_level = 0; in odm_DynamicTxPowerAP()
245 else if ((pstat->hp_level == 0) && (pstat->rssi > pwr_thd)) in odm_DynamicTxPowerAP()
246 pstat->hp_level = 1; in odm_DynamicTxPowerAP()
247 else if ((pstat->hp_level == 1) && (pstat->rssi < (pwr_thd-8))) in odm_DynamicTxPowerAP()
248 pstat->hp_level = 0; in odm_DynamicTxPowerAP()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/phydm/
H A Dphydm_rainfo.c1288 PSTA_INFO_T pstat; in odm_RSSIMonitorCheckAP() local
1311 pstat = pDM_Odm->pODM_StaInfo[i]; in odm_RSSIMonitorCheckAP()
1313 if (IS_STA_VALID(pstat)) { in odm_RSSIMonitorCheckAP()
1314 if (pstat->sta_in_firmware != 1) in odm_RSSIMonitorCheckAP()
1319 BEAMFORMING_CAP Beamform_cap = Beamforming_GetEntryBeamCapByMacId(priv, pstat->aid); in odm_RSSIMonitorCheckAP()
1348 ((pstat->ht_cap_buf.ht_cap_info & cpu_to_le16(_HTCAP_RX_STBC_CAP_)) in odm_RSSIMonitorCheckAP()
1350 || (pstat->vht_cap_buf.vht_cap_info & cpu_to_le32(_VHTCAP_RX_STBC_CAP_)) in odm_RSSIMonitorCheckAP()
1358 if ((pstat->rx_avarage) > ((pstat->tx_avarage) * 6)) in odm_RSSIMonitorCheckAP()
1383 H2C_Parameter[2] = (u1Byte)(pstat->rssi & 0xFF); in odm_RSSIMonitorCheckAP()
1384 H2C_Parameter[0] = REMAP_AID(pstat); in odm_RSSIMonitorCheckAP()
[all …]
H A Dphydm_dynamictxpower.c241 PSTA_INFO_T pstat = pDM_Odm->pODM_StaInfo[i]; in odm_DynamicTxPowerAP() local
242 if(IS_STA_VALID(pstat) ) { in odm_DynamicTxPowerAP()
244 pstat->hp_level = 0; in odm_DynamicTxPowerAP()
245 else if ((pstat->hp_level == 0) && (pstat->rssi > pwr_thd)) in odm_DynamicTxPowerAP()
246 pstat->hp_level = 1; in odm_DynamicTxPowerAP()
247 else if ((pstat->hp_level == 1) && (pstat->rssi < (pwr_thd-8))) in odm_DynamicTxPowerAP()
248 pstat->hp_level = 0; in odm_DynamicTxPowerAP()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/
H A Drtw_mlme_ext.c1785 struct sta_info *pstat=NULL; in OnAuth() local
1890 pstat = rtw_get_stainfo(pstapriv, sa); in OnAuth()
1891 if (pstat == NULL) in OnAuth()
1896 pstat = rtw_alloc_stainfo(pstapriv, sa); in OnAuth()
1897 if (pstat == NULL) in OnAuth()
1904 pstat->state = WIFI_FW_AUTH_NULL; in OnAuth()
1905 pstat->auth_seq = 0; in OnAuth()
1911 if (pstat->bpairwise_key_installed != _TRUE && !(pstat->state & WIFI_FW_ASSOC_SUCCESS)) in OnAuth()
1916 if (rtw_is_list_empty(&pstat->asoc_list) == _FALSE) { in OnAuth()
1917 rtw_list_delete(&pstat->asoc_list); in OnAuth()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/core/
H A Drtw_mlme_ext.c1893 struct sta_info *pstat=NULL; in OnAuth() local
1998 pstat = rtw_get_stainfo(pstapriv, sa); in OnAuth()
1999 if (pstat == NULL) in OnAuth()
2004 pstat = rtw_alloc_stainfo(pstapriv, sa); in OnAuth()
2005 if (pstat == NULL) in OnAuth()
2012 pstat->state = WIFI_FW_AUTH_NULL; in OnAuth()
2013 pstat->auth_seq = 0; in OnAuth()
2019 if (pstat->bpairwise_key_installed != _TRUE && !(pstat->state & WIFI_FW_ASSOC_SUCCESS)) in OnAuth()
2024 if (rtw_is_list_empty(&pstat->asoc_list) == _FALSE) { in OnAuth()
2025 rtw_list_delete(&pstat->asoc_list); in OnAuth()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/core/
H A Drtw_mlme_ext.c2062 struct sta_info *pstat = NULL; in OnAuth() local
2134 pstat = rtw_get_stainfo(pstapriv, sa); in OnAuth()
2135 if (pstat == NULL) { in OnAuth()
2139 pstat = rtw_alloc_stainfo(pstapriv, sa); in OnAuth()
2140 if (pstat == NULL) { in OnAuth()
2146 pstat->state = WIFI_FW_AUTH_NULL; in OnAuth()
2147 pstat->auth_seq = 0; in OnAuth()
2153 if (pstat->bpairwise_key_installed != _TRUE && !(pstat->state & WIFI_FW_ASSOC_SUCCESS)) in OnAuth()
2158 if (rtw_is_list_empty(&pstat->asoc_list) == _FALSE) { in OnAuth()
2159 rtw_list_delete(&pstat->asoc_list); in OnAuth()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/phydm/
H A Dphydm_dynamictxpower.c296 PSTA_INFO_T pstat = pDM_Odm->pODM_StaInfo[i]; in odm_DynamicTxPowerAP() local
297 if(IS_STA_VALID(pstat) ) { in odm_DynamicTxPowerAP()
299 pstat->hp_level = 0; in odm_DynamicTxPowerAP()
300 else if ((pstat->hp_level == 0) && (pstat->rssi > pwr_thd)) in odm_DynamicTxPowerAP()
301 pstat->hp_level = 1; in odm_DynamicTxPowerAP()
302 else if ((pstat->hp_level == 1) && (pstat->rssi < (pwr_thd-8))) in odm_DynamicTxPowerAP()
303 pstat->hp_level = 0; in odm_DynamicTxPowerAP()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/
H A Drtw_mlme_ext.c2714 struct sta_info *pstat = NULL; local
2821 pstat = rtw_get_stainfo(pstapriv, sa);
2822 if (pstat == NULL) {
2827 pstat = rtw_alloc_stainfo_sw(pstapriv, sa);
2829 if (pstat == NULL) {
2835 pstat->state = WIFI_FW_AUTH_NULL;
2836 pstat->auth_seq = 0;
2846 if ((pstat->bpairwise_key_installed != _TRUE && (pstat->flags & WLAN_STA_MFP))
2847 || !(pstat->flags & WLAN_STA_MFP))
2852 if (rtw_is_list_empty(&pstat->asoc_list) == _FALSE) {
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/
H A Drtw_mlme_ext.c2726 struct sta_info *pstat = NULL; local
2833 pstat = rtw_get_stainfo(pstapriv, sa);
2834 if (pstat == NULL) {
2839 pstat = rtw_alloc_stainfo_sw(pstapriv, sa);
2841 if (pstat == NULL) {
2847 pstat->state = WIFI_FW_AUTH_NULL;
2848 pstat->auth_seq = 0;
2858 if ((pstat->bpairwise_key_installed != _TRUE && (pstat->flags & WLAN_STA_MFP))
2859 || !(pstat->flags & WLAN_STA_MFP))
2864 if (rtw_is_list_empty(&pstat->asoc_list) == _FALSE) {
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/hal/
H A Dodm.c1112 PSTA_INFO_T pstat = pDM_Odm->pODM_StaInfo[i]; in odm_RefreshRateAdaptiveMaskCE() local
1114 if (IS_STA_VALID(pstat)) { in odm_RefreshRateAdaptiveMaskCE()
1115 if (IS_MCAST(pstat->hwaddr)) /* if (psta->mac_id == 1) */ in odm_RefreshRateAdaptiveMaskCE()
1117 if (IS_MCAST(pstat->hwaddr)) in odm_RefreshRateAdaptiveMaskCE()
1120 …if (true == ODM_RAStateCheck(pDM_Odm, pstat->rssi_stat.UndecoratedSmoothedPWDB, false, &pstat->rss… in odm_RefreshRateAdaptiveMaskCE()
1121 …_RA_MASK, ODM_DBG_LOUD, ("RSSI:%d, RSSI_LEVEL:%d\n", pstat->rssi_stat.UndecoratedSmoothedPWDB, pst… in odm_RefreshRateAdaptiveMaskCE()
1123 rtw_hal_update_ra_mask(pstat, pstat->rssi_level); in odm_RefreshRateAdaptiveMaskCE()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/
H A Drtw_mlme_ext.c2433 struct sta_info *pstat = NULL; in OnAuth() local
2536 pstat = rtw_get_stainfo(pstapriv, sa); in OnAuth()
2537 if (pstat == NULL) { in OnAuth()
2541 pstat = rtw_alloc_stainfo(pstapriv, sa); in OnAuth()
2542 if (pstat == NULL) { in OnAuth()
2548 pstat->state = WIFI_FW_AUTH_NULL; in OnAuth()
2549 pstat->auth_seq = 0; in OnAuth()
2555 if ((pstat->bpairwise_key_installed != _TRUE && (pstat->flags & WLAN_STA_MFP)) in OnAuth()
2556 || !(pstat->flags & WLAN_STA_MFP)) in OnAuth()
2561 if (rtw_is_list_empty(&pstat->asoc_list) == _FALSE) { in OnAuth()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/
H A Drtw_mlme_ext.c2432 struct sta_info *pstat = NULL; in OnAuth() local
2535 pstat = rtw_get_stainfo(pstapriv, sa); in OnAuth()
2536 if (pstat == NULL) { in OnAuth()
2540 pstat = rtw_alloc_stainfo(pstapriv, sa); in OnAuth()
2541 if (pstat == NULL) { in OnAuth()
2547 pstat->state = WIFI_FW_AUTH_NULL; in OnAuth()
2548 pstat->auth_seq = 0; in OnAuth()
2554 if ((pstat->bpairwise_key_installed != _TRUE && (pstat->flags & WLAN_STA_MFP)) in OnAuth()
2555 || !(pstat->flags & WLAN_STA_MFP)) in OnAuth()
2560 if (rtw_is_list_empty(&pstat->asoc_list) == _FALSE) { in OnAuth()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/
H A Drtw_mlme_ext.c2196 struct sta_info *pstat = NULL; in OnAuth() local
2299 pstat = rtw_get_stainfo(pstapriv, sa); in OnAuth()
2300 if (pstat == NULL) { in OnAuth()
2304 pstat = rtw_alloc_stainfo(pstapriv, sa); in OnAuth()
2305 if (pstat == NULL) { in OnAuth()
2311 pstat->state = WIFI_FW_AUTH_NULL; in OnAuth()
2312 pstat->auth_seq = 0; in OnAuth()
2318 if ((pstat->bpairwise_key_installed != _TRUE && (pstat->flags & WLAN_STA_MFP)) in OnAuth()
2319 || !(pstat->flags & WLAN_STA_MFP)) in OnAuth()
2324 if (rtw_is_list_empty(&pstat->asoc_list) == _FALSE) { in OnAuth()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/
H A Drtw_mlme_ext.c2189 struct sta_info *pstat = NULL; in OnAuth() local
2292 pstat = rtw_get_stainfo(pstapriv, sa); in OnAuth()
2293 if (pstat == NULL) { in OnAuth()
2297 pstat = rtw_alloc_stainfo(pstapriv, sa); in OnAuth()
2298 if (pstat == NULL) { in OnAuth()
2304 pstat->state = WIFI_FW_AUTH_NULL; in OnAuth()
2305 pstat->auth_seq = 0; in OnAuth()
2311 if ((pstat->bpairwise_key_installed != _TRUE && (pstat->flags & WLAN_STA_MFP)) in OnAuth()
2312 || !(pstat->flags & WLAN_STA_MFP)) in OnAuth()
2317 if (rtw_is_list_empty(&pstat->asoc_list) == _FALSE) { in OnAuth()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/
H A Drtw_mlme_ext.c2175 struct sta_info *pstat = NULL; in OnAuth() local
2278 pstat = rtw_get_stainfo(pstapriv, sa); in OnAuth()
2279 if (pstat == NULL) { in OnAuth()
2283 pstat = rtw_alloc_stainfo(pstapriv, sa); in OnAuth()
2284 if (pstat == NULL) { in OnAuth()
2290 pstat->state = WIFI_FW_AUTH_NULL; in OnAuth()
2291 pstat->auth_seq = 0; in OnAuth()
2297 if ((pstat->bpairwise_key_installed != _TRUE && (pstat->flags & WLAN_STA_MFP)) in OnAuth()
2298 || !(pstat->flags & WLAN_STA_MFP)) in OnAuth()
2303 if (rtw_is_list_empty(&pstat->asoc_list) == _FALSE) { in OnAuth()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/
H A Drtw_mlme_ext.c2815 struct sta_info *pstat = NULL; in OnAuth() local
2918 pstat = rtw_get_stainfo(pstapriv, sa); in OnAuth()
2919 if (pstat == NULL) { in OnAuth()
2923 pstat = rtw_alloc_stainfo(pstapriv, sa); in OnAuth()
2924 if (pstat == NULL) { in OnAuth()
2930 pstat->state = WIFI_FW_AUTH_NULL; in OnAuth()
2931 pstat->auth_seq = 0; in OnAuth()
2937 if ((pstat->bpairwise_key_installed != _TRUE && (pstat->flags & WLAN_STA_MFP)) in OnAuth()
2938 || !(pstat->flags & WLAN_STA_MFP)) in OnAuth()
2943 if (rtw_is_list_empty(&pstat->asoc_list) == _FALSE) { in OnAuth()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/
H A Drtw_mlme_ext.c2814 struct sta_info *pstat = NULL; in OnAuth() local
2917 pstat = rtw_get_stainfo(pstapriv, sa); in OnAuth()
2918 if (pstat == NULL) { in OnAuth()
2922 pstat = rtw_alloc_stainfo(pstapriv, sa); in OnAuth()
2923 if (pstat == NULL) { in OnAuth()
2929 pstat->state = WIFI_FW_AUTH_NULL; in OnAuth()
2930 pstat->auth_seq = 0; in OnAuth()
2936 if ((pstat->bpairwise_key_installed != _TRUE && (pstat->flags & WLAN_STA_MFP)) in OnAuth()
2937 || !(pstat->flags & WLAN_STA_MFP)) in OnAuth()
2942 if (rtw_is_list_empty(&pstat->asoc_list) == _FALSE) { in OnAuth()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/
H A Drtw_mlme_ext.c2485 struct sta_info *pstat = NULL; in OnAuth() local
2588 pstat = rtw_get_stainfo(pstapriv, sa); in OnAuth()
2589 if (pstat == NULL) { in OnAuth()
2593 pstat = rtw_alloc_stainfo(pstapriv, sa); in OnAuth()
2594 if (pstat == NULL) { in OnAuth()
2600 pstat->state = WIFI_FW_AUTH_NULL; in OnAuth()
2601 pstat->auth_seq = 0; in OnAuth()
2607 if ((pstat->bpairwise_key_installed != _TRUE && (pstat->flags & WLAN_STA_MFP)) in OnAuth()
2608 || !(pstat->flags & WLAN_STA_MFP)) in OnAuth()
2613 if (rtw_is_list_empty(&pstat->asoc_list) == _FALSE) { in OnAuth()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/
H A Drtw_mlme_ext.c2113 struct sta_info *pstat = NULL; in OnAuth() local
2200 pstat = rtw_get_stainfo(pstapriv, sa); in OnAuth()
2201 if (pstat == NULL) { in OnAuth()
2205 pstat = rtw_alloc_stainfo(pstapriv, sa); in OnAuth()
2206 if (pstat == NULL) { in OnAuth()
2212 pstat->state = WIFI_FW_AUTH_NULL; in OnAuth()
2213 pstat->auth_seq = 0; in OnAuth()
2219 if ((pstat->bpairwise_key_installed != _TRUE && (pstat->flags & WLAN_STA_MFP)) in OnAuth()
2220 || !(pstat->flags & WLAN_STA_MFP)) in OnAuth()
2225 if (rtw_is_list_empty(&pstat->asoc_list) == _FALSE) { in OnAuth()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/
H A Drtw_mlme_ext.c2339 struct sta_info *pstat = NULL; in OnAuth() local
2411 pstat = rtw_get_stainfo(pstapriv, sa); in OnAuth()
2412 if (pstat == NULL) { in OnAuth()
2416 pstat = rtw_alloc_stainfo(pstapriv, sa); in OnAuth()
2417 if (pstat == NULL) { in OnAuth()
2423 pstat->state = WIFI_FW_AUTH_NULL; in OnAuth()
2424 pstat->auth_seq = 0; in OnAuth()
2430 if (pstat->bpairwise_key_installed != _TRUE && !(pstat->state & WIFI_FW_ASSOC_SUCCESS)) in OnAuth()
2435 if (rtw_is_list_empty(&pstat->asoc_list) == _FALSE) { in OnAuth()
2436 rtw_list_delete(&pstat->asoc_list); in OnAuth()
[all …]

12345