Lines Matching refs:p2pinfo
638 struct rtl_p2p_ps_info *p2pinfo = &(rtlps->p2p_ps_info); in rtl88e_set_p2p_ps_offload_cmd() local
652 if (p2pinfo->ctwindow > 0) { in rtl88e_set_p2p_ps_offload_cmd()
654 ctwindow = p2pinfo->ctwindow; in rtl88e_set_p2p_ps_offload_cmd()
659 for (i = 0 ; i < p2pinfo->noa_num; i++) { in rtl88e_set_p2p_ps_offload_cmd()
669 p2pinfo->noa_duration[i]); in rtl88e_set_p2p_ps_offload_cmd()
671 p2pinfo->noa_interval[i]); in rtl88e_set_p2p_ps_offload_cmd()
676 start_time = p2pinfo->noa_start_time[i]; in rtl88e_set_p2p_ps_offload_cmd()
677 if (p2pinfo->noa_count_type[i] != 1) { in rtl88e_set_p2p_ps_offload_cmd()
679 start_time += p2pinfo->noa_interval[i]; in rtl88e_set_p2p_ps_offload_cmd()
680 if (p2pinfo->noa_count_type[i] != 255) in rtl88e_set_p2p_ps_offload_cmd()
681 p2pinfo->noa_count_type[i]--; in rtl88e_set_p2p_ps_offload_cmd()
686 p2pinfo->noa_count_type[i]); in rtl88e_set_p2p_ps_offload_cmd()
689 if ((p2pinfo->opp_ps == 1) || (p2pinfo->noa_num > 0)) { in rtl88e_set_p2p_ps_offload_cmd()
712 p2pinfo->p2p_ps_state = P2P_PS_ENABLE; in rtl88e_set_p2p_ps_offload_cmd()