Skip to content

Commit

Permalink
Update 0001-Add-TX-power-in-dBm-options-in-web-interface.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony91590 authored Jul 20, 2024
1 parent 176e3a0 commit 234496e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions 0001-Add-TX-power-in-dBm-options-in-web-interface.patch
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ index 9a4ecf4..b65ee92 100644
iwpriv "$ifname" 11ngvhtintop 1
else
- max_power=30
+ if [ "$channel" -ge 100 ]; then
+ max_power=26
+ else
+ max_power=23
+ #if [ "$channel" -ge 100 ]; then
+ max_power=25
+ #else
+ #max_power=23
fi

config_get txpwr "$device" txpwr
Expand All @@ -74,7 +74,7 @@ index 9a4ecf4..b65ee92 100644
if [ $devidx = 0 ]; then
cat <<EOF
- option channel_block_list '36,40,44,48,52,56,60,64'
+ #option channel_block_list '36,40,44,48,52,56,60,64'
+ option channel_block_list '64'
EOF
fi
devidx=$(($devidx + 1))
Expand Down

0 comments on commit 234496e

Please sign in to comment.