p2pinfo 715 drivers/net/wireless/realtek/rtlwifi/ps.c struct rtl_p2p_ps_info *p2pinfo = &(rtlpriv->psc.p2p_ps_info); p2pinfo 763 drivers/net/wireless/realtek/rtlwifi/ps.c P2P_PS_NONE || noa_index != p2pinfo->noa_index) { p2pinfo 766 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_index = noa_index; p2pinfo 767 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->opp_ps = (ie[4] >> 7); p2pinfo 768 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->ctwindow = ie[4] & 0x7F; p2pinfo 769 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_num = noa_num; p2pinfo 772 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_count_type[i] = p2pinfo 775 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_duration[i] = p2pinfo 778 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_interval[i] = p2pinfo 781 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_start_time[i] = p2pinfo 786 drivers/net/wireless/realtek/rtlwifi/ps.c if (p2pinfo->opp_ps == 1) { p2pinfo 787 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->p2p_ps_mode = P2P_PS_CTWINDOW; p2pinfo 794 drivers/net/wireless/realtek/rtlwifi/ps.c } else if (p2pinfo->noa_num > 0) { p2pinfo 795 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->p2p_ps_mode = P2P_PS_NOA; p2pinfo 797 drivers/net/wireless/realtek/rtlwifi/ps.c } else if (p2pinfo->p2p_ps_mode > P2P_PS_NONE) { p2pinfo 807 drivers/net/wireless/realtek/rtlwifi/ps.c if ((p2pinfo->p2p_ps_mode > P2P_PS_NONE) && p2pinfo 818 drivers/net/wireless/realtek/rtlwifi/ps.c struct rtl_p2p_ps_info *p2pinfo = &(rtlpriv->psc.p2p_ps_info); p2pinfo 860 drivers/net/wireless/realtek/rtlwifi/ps.c P2P_PS_NONE || noa_index != p2pinfo->noa_index) { p2pinfo 861 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_index = noa_index; p2pinfo 862 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->opp_ps = (ie[4] >> 7); p2pinfo 863 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->ctwindow = ie[4] & 0x7F; p2pinfo 864 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_num = noa_num; p2pinfo 867 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_count_type[i] = p2pinfo 870 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_duration[i] = p2pinfo 873 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_interval[i] = p2pinfo 876 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_start_time[i] = p2pinfo 881 drivers/net/wireless/realtek/rtlwifi/ps.c if (p2pinfo->opp_ps == 1) { p2pinfo 882 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->p2p_ps_mode = P2P_PS_CTWINDOW; p2pinfo 889 drivers/net/wireless/realtek/rtlwifi/ps.c } else if (p2pinfo->noa_num > 0) { p2pinfo 890 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->p2p_ps_mode = P2P_PS_NOA; p2pinfo 892 drivers/net/wireless/realtek/rtlwifi/ps.c } else if (p2pinfo->p2p_ps_mode > P2P_PS_NONE) { p2pinfo 906 drivers/net/wireless/realtek/rtlwifi/ps.c struct rtl_p2p_ps_info *p2pinfo = &(rtlpriv->psc.p2p_ps_info); p2pinfo 911 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->p2p_ps_state = p2p_ps_state; p2pinfo 914 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_index = 0; p2pinfo 915 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->ctwindow = 0; p2pinfo 916 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->opp_ps = 0; p2pinfo 917 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_num = 0; p2pinfo 918 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->p2p_ps_mode = P2P_PS_NONE; p2pinfo 930 drivers/net/wireless/realtek/rtlwifi/ps.c if (p2pinfo->p2p_ps_mode > P2P_PS_NONE) { p2pinfo 931 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->p2p_ps_state = p2p_ps_state; p2pinfo 933 drivers/net/wireless/realtek/rtlwifi/ps.c if (p2pinfo->ctwindow > 0) { p2pinfo 950 drivers/net/wireless/realtek/rtlwifi/ps.c if (p2pinfo->p2p_ps_mode > P2P_PS_NONE) { p2pinfo 951 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->p2p_ps_state = p2p_ps_state; p2pinfo 962 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->ctwindow , p2pinfo->opp_ps); p2pinfo 965 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_count_type[0], p2pinfo 966 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_duration[0], p2pinfo 967 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_index, p2pinfo 968 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_interval[0], p2pinfo 969 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_start_time[0], p2pinfo 970 drivers/net/wireless/realtek/rtlwifi/ps.c p2pinfo->noa_num); p2pinfo 638 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c struct rtl_p2p_ps_info *p2pinfo = &(rtlps->p2p_ps_info); p2pinfo 652 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c if (p2pinfo->ctwindow > 0) { p2pinfo 654 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c ctwindow = p2pinfo->ctwindow; p2pinfo 659 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c for (i = 0 ; i < p2pinfo->noa_num; i++) { p2pinfo 669 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c p2pinfo->noa_duration[i]); p2pinfo 671 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c p2pinfo->noa_interval[i]); p2pinfo 676 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c start_time = p2pinfo->noa_start_time[i]; p2pinfo 677 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c if (p2pinfo->noa_count_type[i] != 1) { p2pinfo 679 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c start_time += p2pinfo->noa_interval[i]; p2pinfo 680 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c if (p2pinfo->noa_count_type[i] != 255) p2pinfo 681 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c p2pinfo->noa_count_type[i]--; p2pinfo 686 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c p2pinfo->noa_count_type[i]); p2pinfo 689 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c if ((p2pinfo->opp_ps == 1) || (p2pinfo->noa_num > 0)) { p2pinfo 712 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c p2pinfo->p2p_ps_state = P2P_PS_ENABLE; p2pinfo 671 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c struct rtl_p2p_ps_info *p2pinfo, p2pinfo 678 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c for (i = 0 ; i < p2pinfo->noa_num ; i++) { p2pinfo 688 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c p2pinfo->noa_duration[i]); p2pinfo 690 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c p2pinfo->noa_interval[i]); p2pinfo 695 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c start_time = p2pinfo->noa_start_time[i]; p2pinfo 696 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c if (p2pinfo->noa_count_type[i] != 1) { p2pinfo 698 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c start_time += p2pinfo->noa_interval[i]; p2pinfo 699 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c if (p2pinfo->noa_count_type[i] != 255) p2pinfo 700 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c p2pinfo->noa_count_type[i]--; p2pinfo 705 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c p2pinfo->noa_count_type[i]); p2pinfo 714 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c struct rtl_p2p_ps_info *p2pinfo = &(rtlps->p2p_ps_info); p2pinfo 728 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c if (p2pinfo->ctwindow > 0) { p2pinfo 730 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c ctwindow = p2pinfo->ctwindow; p2pinfo 734 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c set_noa_data(rtlpriv, p2pinfo, p2p_ps_offload); p2pinfo 736 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c if ((p2pinfo->opp_ps == 1) || (p2pinfo->noa_num > 0)) { p2pinfo 761 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c p2pinfo->p2p_ps_state = P2P_PS_ENABLE; p2pinfo 781 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c struct rtl_p2p_ps_info *p2pinfo = &rtlps->p2p_ps_info; p2pinfo 795 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c if (p2pinfo->ctwindow > 0) { p2pinfo 797 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c ctwindow = p2pinfo->ctwindow; p2pinfo 801 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c for (i = 0 ; i < p2pinfo->noa_num ; i++) { p2pinfo 810 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c p2pinfo->noa_duration[i]); p2pinfo 812 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c p2pinfo->noa_interval[i]); p2pinfo 817 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c start_time = p2pinfo->noa_start_time[i]; p2pinfo 818 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c if (p2pinfo->noa_count_type[i] != 1) { p2pinfo 820 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c start_time += p2pinfo->noa_interval[i]; p2pinfo 821 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c if (p2pinfo->noa_count_type[i] != 255) p2pinfo 822 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c p2pinfo->noa_count_type[i]--; p2pinfo 827 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c p2pinfo->noa_count_type[i]); p2pinfo 829 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c if ((p2pinfo->opp_ps == 1) || (p2pinfo->noa_num > 0)) { p2pinfo 850 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c p2pinfo->p2p_ps_state = P2P_PS_ENABLE; p2pinfo 496 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c struct rtl_p2p_ps_info *p2pinfo = &(rtlps->p2p_ps_info); p2pinfo 510 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c if (p2pinfo->ctwindow > 0) { p2pinfo 512 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c ctwindow = p2pinfo->ctwindow; p2pinfo 517 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c for (i = 0 ; i < p2pinfo->noa_num ; i++) { p2pinfo 527 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c p2pinfo->noa_duration[i]); p2pinfo 529 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c p2pinfo->noa_interval[i]); p2pinfo 534 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c start_time = p2pinfo->noa_start_time[i]; p2pinfo 535 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c if (p2pinfo->noa_count_type[i] != 1) { p2pinfo 539 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c p2pinfo->noa_interval[i]; p2pinfo 540 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c if (p2pinfo->noa_count_type[i] != 255) p2pinfo 541 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c p2pinfo->noa_count_type[i]--; p2pinfo 546 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c p2pinfo->noa_count_type[i]); p2pinfo 550 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c if ((p2pinfo->opp_ps == 1) || (p2pinfo->noa_num > 0)) { p2pinfo 573 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c p2pinfo->p2p_ps_state = P2P_PS_ENABLE; p2pinfo 602 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c struct rtl_p2p_ps_info *p2pinfo = &(rtlps->p2p_ps_info); p2pinfo 616 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c if (p2pinfo->ctwindow > 0) { p2pinfo 618 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c ctwindow = p2pinfo->ctwindow; p2pinfo 622 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c for (i = 0 ; i < p2pinfo->noa_num ; i++) { p2pinfo 634 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c p2pinfo->noa_duration[i]); p2pinfo 636 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c p2pinfo->noa_interval[i]); p2pinfo 641 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c start_time = p2pinfo->noa_start_time[i]; p2pinfo 642 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c if (p2pinfo->noa_count_type[i] != 1) { p2pinfo 644 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c start_time += p2pinfo->noa_interval[i]; p2pinfo 645 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c if (p2pinfo->noa_count_type[i] != 255) p2pinfo 646 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c p2pinfo->noa_count_type[i]--; p2pinfo 651 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c p2pinfo->noa_count_type[i]); p2pinfo 654 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c if ((p2pinfo->opp_ps == 1) || p2pinfo 655 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c (p2pinfo->noa_num > 0)) { p2pinfo 677 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c p2pinfo->p2p_ps_state = P2P_PS_ENABLE; p2pinfo 1810 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c struct rtl_p2p_ps_info *p2pinfo = &rtlps->p2p_ps_info; p2pinfo 1824 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c if (p2pinfo->ctwindow > 0) { p2pinfo 1826 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c ctwindow = p2pinfo->ctwindow; p2pinfo 1831 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c for (i = 0 ; i < p2pinfo->noa_num ; i++) { p2pinfo 1840 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c rtl_write_dword(rtlpriv, 0x5E0, p2pinfo->noa_duration[i]); p2pinfo 1841 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c rtl_write_dword(rtlpriv, 0x5E4, p2pinfo->noa_interval[i]); p2pinfo 1846 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c start_time = p2pinfo->noa_start_time[i]; p2pinfo 1847 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c if (p2pinfo->noa_count_type[i] != 1) { p2pinfo 1849 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c start_time += p2pinfo->noa_interval[i]; p2pinfo 1850 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c if (p2pinfo->noa_count_type[i] != 255) p2pinfo 1851 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c p2pinfo->noa_count_type[i]--; p2pinfo 1856 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c p2pinfo->noa_count_type[i]); p2pinfo 1859 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c if ((p2pinfo->opp_ps == 1) || (p2pinfo->noa_num > 0)) { p2pinfo 1882 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c p2pinfo->p2p_ps_state = P2P_PS_ENABLE;