Searched refs:p2pinfo (Results 1 – 9 of 9) sorted by relevance
737 struct rtl_p2p_ps_info *p2pinfo = &(rtlpriv->psc.p2p_ps_info); in rtl_p2p_noa_ie() local781 P2P_PS_NONE || noa_index != p2pinfo->noa_index) { in rtl_p2p_noa_ie()784 p2pinfo->noa_index = noa_index; in rtl_p2p_noa_ie()785 p2pinfo->opp_ps = (ie[4] >> 7); in rtl_p2p_noa_ie()786 p2pinfo->ctwindow = ie[4] & 0x7F; in rtl_p2p_noa_ie()787 p2pinfo->noa_num = noa_num; in rtl_p2p_noa_ie()790 p2pinfo->noa_count_type[i] = in rtl_p2p_noa_ie()793 p2pinfo->noa_duration[i] = in rtl_p2p_noa_ie()796 p2pinfo->noa_interval[i] = in rtl_p2p_noa_ie()799 p2pinfo->noa_start_time[i] = in rtl_p2p_noa_ie()[all …]
719 struct rtl_p2p_ps_info *p2pinfo = &rtlpriv->psc.p2p_ps_info; in rtl_p2p_noa_ie() local763 P2P_PS_NONE || noa_index != p2pinfo->noa_index) { in rtl_p2p_noa_ie()766 p2pinfo->noa_index = noa_index; in rtl_p2p_noa_ie()767 p2pinfo->opp_ps = (ie[4] >> 7); in rtl_p2p_noa_ie()768 p2pinfo->ctwindow = ie[4] & 0x7F; in rtl_p2p_noa_ie()769 p2pinfo->noa_num = noa_num; in rtl_p2p_noa_ie()772 p2pinfo->noa_count_type[i] = in rtl_p2p_noa_ie()775 p2pinfo->noa_duration[i] = in rtl_p2p_noa_ie()778 p2pinfo->noa_interval[i] = in rtl_p2p_noa_ie()781 p2pinfo->noa_start_time[i] = in rtl_p2p_noa_ie()[all …]
516 struct rtl_p2p_ps_info *p2pinfo = &(rtlps->p2p_ps_info); in rtl8723e_set_p2p_ps_offload_cmd() local530 if (p2pinfo->ctwindow > 0) { in rtl8723e_set_p2p_ps_offload_cmd()532 ctwindow = p2pinfo->ctwindow; in rtl8723e_set_p2p_ps_offload_cmd()537 for (i = 0 ; i < p2pinfo->noa_num ; i++) { in rtl8723e_set_p2p_ps_offload_cmd()547 p2pinfo->noa_duration[i]); in rtl8723e_set_p2p_ps_offload_cmd()549 p2pinfo->noa_interval[i]); in rtl8723e_set_p2p_ps_offload_cmd()554 start_time = p2pinfo->noa_start_time[i]; in rtl8723e_set_p2p_ps_offload_cmd()555 if (p2pinfo->noa_count_type[i] != 1) { in rtl8723e_set_p2p_ps_offload_cmd()559 p2pinfo->noa_interval[i]; in rtl8723e_set_p2p_ps_offload_cmd()560 if (p2pinfo->noa_count_type[i] != 255) in rtl8723e_set_p2p_ps_offload_cmd()[all …]
622 struct rtl_p2p_ps_info *p2pinfo = &(rtlps->p2p_ps_info); in rtl8723be_set_p2p_ps_offload_cmd() local636 if (p2pinfo->ctwindow > 0) { in rtl8723be_set_p2p_ps_offload_cmd()638 ctwindow = p2pinfo->ctwindow; in rtl8723be_set_p2p_ps_offload_cmd()642 for (i = 0 ; i < p2pinfo->noa_num ; i++) { in rtl8723be_set_p2p_ps_offload_cmd()654 p2pinfo->noa_duration[i]); in rtl8723be_set_p2p_ps_offload_cmd()656 p2pinfo->noa_interval[i]); in rtl8723be_set_p2p_ps_offload_cmd()661 start_time = p2pinfo->noa_start_time[i]; in rtl8723be_set_p2p_ps_offload_cmd()662 if (p2pinfo->noa_count_type[i] != 1) { in rtl8723be_set_p2p_ps_offload_cmd()664 start_time += p2pinfo->noa_interval[i]; in rtl8723be_set_p2p_ps_offload_cmd()665 if (p2pinfo->noa_count_type[i] != 255) in rtl8723be_set_p2p_ps_offload_cmd()[all …]
692 struct rtl_p2p_ps_info *p2pinfo, in set_noa_data() argument699 for (i = 0 ; i < p2pinfo->noa_num ; i++) { in set_noa_data()709 p2pinfo->noa_duration[i]); in set_noa_data()711 p2pinfo->noa_interval[i]); in set_noa_data()716 start_time = p2pinfo->noa_start_time[i]; in set_noa_data()717 if (p2pinfo->noa_count_type[i] != 1) { in set_noa_data()719 start_time += p2pinfo->noa_interval[i]; in set_noa_data()720 if (p2pinfo->noa_count_type[i] != 255) in set_noa_data()721 p2pinfo->noa_count_type[i]--; in set_noa_data()726 p2pinfo->noa_count_type[i]); in set_noa_data()[all …]
658 struct rtl_p2p_ps_info *p2pinfo = &(rtlps->p2p_ps_info); in rtl88e_set_p2p_ps_offload_cmd() local672 if (p2pinfo->ctwindow > 0) { in rtl88e_set_p2p_ps_offload_cmd()674 ctwindow = p2pinfo->ctwindow; in rtl88e_set_p2p_ps_offload_cmd()679 for (i = 0 ; i < p2pinfo->noa_num; i++) { in rtl88e_set_p2p_ps_offload_cmd()689 p2pinfo->noa_duration[i]); in rtl88e_set_p2p_ps_offload_cmd()691 p2pinfo->noa_interval[i]); in rtl88e_set_p2p_ps_offload_cmd()696 start_time = p2pinfo->noa_start_time[i]; in rtl88e_set_p2p_ps_offload_cmd()697 if (p2pinfo->noa_count_type[i] != 1) { in rtl88e_set_p2p_ps_offload_cmd()699 start_time += p2pinfo->noa_interval[i]; in rtl88e_set_p2p_ps_offload_cmd()700 if (p2pinfo->noa_count_type[i] != 255) in rtl88e_set_p2p_ps_offload_cmd()[all …]
801 struct rtl_p2p_ps_info *p2pinfo = &rtlps->p2p_ps_info; in rtl92ee_set_p2p_ps_offload_cmd() local815 if (p2pinfo->ctwindow > 0) { in rtl92ee_set_p2p_ps_offload_cmd()817 ctwindow = p2pinfo->ctwindow; in rtl92ee_set_p2p_ps_offload_cmd()821 for (i = 0 ; i < p2pinfo->noa_num ; i++) { in rtl92ee_set_p2p_ps_offload_cmd()830 p2pinfo->noa_duration[i]); in rtl92ee_set_p2p_ps_offload_cmd()832 p2pinfo->noa_interval[i]); in rtl92ee_set_p2p_ps_offload_cmd()837 start_time = p2pinfo->noa_start_time[i]; in rtl92ee_set_p2p_ps_offload_cmd()838 if (p2pinfo->noa_count_type[i] != 1) { in rtl92ee_set_p2p_ps_offload_cmd()840 start_time += p2pinfo->noa_interval[i]; in rtl92ee_set_p2p_ps_offload_cmd()841 if (p2pinfo->noa_count_type[i] != 255) in rtl92ee_set_p2p_ps_offload_cmd()[all …]
781 struct rtl_p2p_ps_info *p2pinfo = &rtlps->p2p_ps_info; in rtl8822be_set_p2p_ps_offload_cmd() local795 if (p2pinfo->ctwindow > 0) { in rtl8822be_set_p2p_ps_offload_cmd()797 ctwindow = p2pinfo->ctwindow; in rtl8822be_set_p2p_ps_offload_cmd()801 for (i = 0; i < p2pinfo->noa_num; i++) { in rtl8822be_set_p2p_ps_offload_cmd()810 p2pinfo->noa_duration[i]); in rtl8822be_set_p2p_ps_offload_cmd()812 p2pinfo->noa_interval[i]); in rtl8822be_set_p2p_ps_offload_cmd()817 start_time = p2pinfo->noa_start_time[i]; in rtl8822be_set_p2p_ps_offload_cmd()818 if (p2pinfo->noa_count_type[i] != 1) { in rtl8822be_set_p2p_ps_offload_cmd()820 start_time += p2pinfo->noa_interval[i]; in rtl8822be_set_p2p_ps_offload_cmd()821 if (p2pinfo->noa_count_type[i] != 255) in rtl8822be_set_p2p_ps_offload_cmd()[all …]
1828 struct rtl_p2p_ps_info *p2pinfo = &rtlps->p2p_ps_info; in rtl8821ae_set_p2p_ps_offload_cmd() local1842 if (p2pinfo->ctwindow > 0) { in rtl8821ae_set_p2p_ps_offload_cmd()1844 ctwindow = p2pinfo->ctwindow; in rtl8821ae_set_p2p_ps_offload_cmd()1849 for (i = 0 ; i < p2pinfo->noa_num ; i++) { in rtl8821ae_set_p2p_ps_offload_cmd()1858 rtl_write_dword(rtlpriv, 0x5E0, p2pinfo->noa_duration[i]); in rtl8821ae_set_p2p_ps_offload_cmd()1859 rtl_write_dword(rtlpriv, 0x5E4, p2pinfo->noa_interval[i]); in rtl8821ae_set_p2p_ps_offload_cmd()1864 start_time = p2pinfo->noa_start_time[i]; in rtl8821ae_set_p2p_ps_offload_cmd()1865 if (p2pinfo->noa_count_type[i] != 1) { in rtl8821ae_set_p2p_ps_offload_cmd()1867 start_time += p2pinfo->noa_interval[i]; in rtl8821ae_set_p2p_ps_offload_cmd()1868 if (p2pinfo->noa_count_type[i] != 255) in rtl8821ae_set_p2p_ps_offload_cmd()[all …]