Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
88c89899
Commit
88c89899
authored
Nov 10, 2017
by
Igor Pecovnik
Browse files
Test channels in AC mode too + adding one very conservative HT probes
parent
753aaf01
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config-submenu
View file @
88c89899
...
...
@@ -50,6 +50,9 @@ if [[ -z "$CHECK" ]]; then
sleep
2
sed
'/### IEEE 802.11ac\>/,/^### IEEE 802.11ac\>/ s/^# *//'
-i
/etc/hostapd.conf
CHECK
=
$(
systemctl daemon-reload
;
service hostapd stop
;
sleep
2
;
service hostapd start
;
service hostapd status|grep fail
)
if
[[
-n
"
$CHECK
"
]]
;
then
check_channels
fi
if
[[
-n
"
$CHECK
"
]]
;
then
dialog
--title
" Reverting configuration "
--backtitle
"
$BACKTITLE
"
--no-collapse
--colors
\
--infobox
"
\n
Wireless 802.11ac
\Z
1(433Mbps x n @ 5Ghz)
\Z
0 is not supported!"
5 60
...
...
@@ -144,7 +147,7 @@ dialog --colors --backtitle "$BACKTITLE" --no-collapse --title " $1 " --clear --
function
check_ht_capab
()
{
declare
-a
arr
=(
"[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40][SMPS-STATIC]"
\
"[HT40-][SHORT-GI-40][SHORT-GI-40][DSSS_CCK-40]"
"[SHORT-GI-20][SHORT-GI-40][HT40+]"
)
"[HT40-][SHORT-GI-40][SHORT-GI-40][DSSS_CCK-40]"
"[SHORT-GI-20][SHORT-GI-40][HT40+]"
"[DSSS_CK-40][HT20+]"
)
local
j
=
0
for
i
in
"
${
arr
[@]
}
"
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment