Lines Matching refs:p2pinfo
778 struct rtl_p2p_ps_info *p2pinfo = &rtlps->p2p_ps_info; in rtl92ee_set_p2p_ps_offload_cmd() local
792 if (p2pinfo->ctwindow > 0) { in rtl92ee_set_p2p_ps_offload_cmd()
794 ctwindow = p2pinfo->ctwindow; in rtl92ee_set_p2p_ps_offload_cmd()
798 for (i = 0 ; i < p2pinfo->noa_num ; i++) { in rtl92ee_set_p2p_ps_offload_cmd()
807 p2pinfo->noa_duration[i]); in rtl92ee_set_p2p_ps_offload_cmd()
809 p2pinfo->noa_interval[i]); in rtl92ee_set_p2p_ps_offload_cmd()
814 start_time = p2pinfo->noa_start_time[i]; in rtl92ee_set_p2p_ps_offload_cmd()
815 if (p2pinfo->noa_count_type[i] != 1) { in rtl92ee_set_p2p_ps_offload_cmd()
817 start_time += p2pinfo->noa_interval[i]; in rtl92ee_set_p2p_ps_offload_cmd()
818 if (p2pinfo->noa_count_type[i] != 255) in rtl92ee_set_p2p_ps_offload_cmd()
819 p2pinfo->noa_count_type[i]--; in rtl92ee_set_p2p_ps_offload_cmd()
824 p2pinfo->noa_count_type[i]); in rtl92ee_set_p2p_ps_offload_cmd()
826 if ((p2pinfo->opp_ps == 1) || (p2pinfo->noa_num > 0)) { in rtl92ee_set_p2p_ps_offload_cmd()
847 p2pinfo->p2p_ps_state = P2P_PS_ENABLE; in rtl92ee_set_p2p_ps_offload_cmd()