Lines Matching refs:center_segment0

460 			    int center_segment0,  in hostapd_set_freq_params()  argument
513 if (!center_segment0) { in hostapd_set_freq_params()
523 int bw = center_idx_to_bw_6ghz(center_segment0); in hostapd_set_freq_params()
534 opclass = center_segment0 == 2 ? 136 : 131; in hostapd_set_freq_params()
536 center_segment0); in hostapd_set_freq_params()
655 seg0_legacy = center_segment0; in hostapd_set_freq_params()
666 (center_segment0 != 0 && in hostapd_set_freq_params()
667 5000 + center_segment0 * 5 != data->center_freq1 && in hostapd_set_freq_params()
668 2407 + center_segment0 * 5 != data->center_freq1)) { in hostapd_set_freq_params()
671 center_segment0, data->center_freq1); in hostapd_set_freq_params()
676 if (center_segment1 == center_segment0 + 4 || in hostapd_set_freq_params()
677 center_segment1 == center_segment0 - 4) { in hostapd_set_freq_params()
704 if (!center_segment0) { in hostapd_set_freq_params()
706 center_segment0 = 42; in hostapd_set_freq_params()
708 center_segment0 = 58; in hostapd_set_freq_params()
710 center_segment0 = 106; in hostapd_set_freq_params()
712 center_segment0 = 122; in hostapd_set_freq_params()
714 center_segment0 = 138; in hostapd_set_freq_params()
716 center_segment0 = 155; in hostapd_set_freq_params()
718 center_segment0 = 171; in hostapd_set_freq_params()
719 data->center_freq1 = 5000 + center_segment0 * 5; in hostapd_set_freq_params()
726 if (center_segment0 == channel + 6 || in hostapd_set_freq_params()
727 center_segment0 == channel + 2 || in hostapd_set_freq_params()
728 center_segment0 == channel - 2 || in hostapd_set_freq_params()
729 center_segment0 == channel - 6) in hostapd_set_freq_params()
730 data->center_freq1 = 5000 + center_segment0 * 5; in hostapd_set_freq_params()
755 if (center_segment0 == channel + 14 || in hostapd_set_freq_params()
756 center_segment0 == channel + 10 || in hostapd_set_freq_params()
757 center_segment0 == channel + 6 || in hostapd_set_freq_params()
758 center_segment0 == channel + 2 || in hostapd_set_freq_params()
759 center_segment0 == channel - 2 || in hostapd_set_freq_params()
760 center_segment0 == channel - 6 || in hostapd_set_freq_params()
761 center_segment0 == channel - 10 || in hostapd_set_freq_params()
762 center_segment0 == channel - 14) in hostapd_set_freq_params()
763 data->center_freq1 = 5000 + center_segment0 * 5; in hostapd_set_freq_params()
782 if (center_segment0 == channel + 30 || in hostapd_set_freq_params()
783 center_segment0 == channel + 26 || in hostapd_set_freq_params()
784 center_segment0 == channel + 22 || in hostapd_set_freq_params()
785 center_segment0 == channel + 18 || in hostapd_set_freq_params()
786 center_segment0 == channel + 14 || in hostapd_set_freq_params()
787 center_segment0 == channel + 10 || in hostapd_set_freq_params()
788 center_segment0 == channel + 6 || in hostapd_set_freq_params()
789 center_segment0 == channel + 2 || in hostapd_set_freq_params()
790 center_segment0 == channel - 2 || in hostapd_set_freq_params()
791 center_segment0 == channel - 6 || in hostapd_set_freq_params()
792 center_segment0 == channel - 10 || in hostapd_set_freq_params()
793 center_segment0 == channel - 14 || in hostapd_set_freq_params()
794 center_segment0 == channel - 18 || in hostapd_set_freq_params()
795 center_segment0 == channel - 22 || in hostapd_set_freq_params()
796 center_segment0 == channel - 26 || in hostapd_set_freq_params()
797 center_segment0 == channel - 30) in hostapd_set_freq_params()
798 data->center_freq1 = 5000 + center_segment0 * 5; in hostapd_set_freq_params()