diff --git a/create_ap b/create_ap index f23d444..591e7aa 100755 --- a/create_ap +++ b/create_ap @@ -1636,6 +1636,8 @@ fi if [[ $IEEE80211AC -eq 1 ]]; then echo "ieee80211ac=1" >> $CONFDIR/hostapd.conf + echo "vht_oper_centr_freq_seg0_idx=$(($CHANNEL + 6))" >> $CONFDIR/hostapd.conf + echo "vht_oper_chwidth=1" >> $CONFDIR/hostapd.conf fi if [[ -n "$VHT_CAPAB" ]]; then