From 60ce7d7e2e83eb40bb356227a74d5fdf68e251c3 Mon Sep 17 00:00:00 2001 From: garywill Date: Sun, 27 Jul 2025 14:06:05 +0800 Subject: [PATCH] can_transmit_to_channel: fix 5GHz and 6GHz freq range --- lnxrouter | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnxrouter b/lnxrouter index 68e23a3..7f3001e 100755 --- a/lnxrouter +++ b/lnxrouter @@ -670,9 +670,9 @@ can_transmit_to_channel() { if [[ $FREQ_BAND == "2.4" ]]; then CHANNEL_FREQ_FILTER="(24)" elif [[ $FREQ_BAND -eq 5 ]]; then - CHANNEL_FREQ_FILTER="(5[0-8])" + CHANNEL_FREQ_FILTER="(5[1-8])" elif [[ $FREQ_BAND -eq 6 ]]; then - CHANNEL_FREQ_FILTER="((59)|(6[0-9])|(70))" + CHANNEL_FREQ_FILTER="((59)|(6[0-9])|(7[0-1]))" fi if [[ $USE_IWCONFIG -eq 0 ]]; then