mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 08:04:20 +01:00
hela
: another random hostapd config
Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
parent
dc49ca69ab
commit
2c48118b30
|
@ -50,7 +50,7 @@
|
|||
preStart = lib.mkForce ''
|
||||
_5g_config="$RUNTIME_DIRECTORY/5g.conf"
|
||||
_psk="$(cat "/persist/wlan.psk")"
|
||||
cp ${./hostapd/bpi-r4-best-5g.conf} "$_5g_config"
|
||||
cp ${./hostapd/owrt-5ghz-dump.conf} "$_5g_config"
|
||||
sed -i "s~PASSPHRASE~$_psk~" "$_5g_config"
|
||||
'';
|
||||
serviceConfig = {
|
||||
|
|
92
nixos/systems/hela/hostapd/owrt-5ghz-dump.conf
Normal file
92
nixos/systems/hela/hostapd/owrt-5ghz-dump.conf
Normal file
|
@ -0,0 +1,92 @@
|
|||
driver=nl80211
|
||||
hw_mode=a
|
||||
beacon_int=100
|
||||
stationary_ap=1
|
||||
country_code=NL
|
||||
|
||||
# eht_oper_chwidth=0
|
||||
he_oper_chwidth=0
|
||||
vht_oper_chwidth=0
|
||||
# eht_oper_centr_freq_seg0_idx=
|
||||
he_oper_centr_freq_seg0_idx=
|
||||
vht_oper_centr_freq_seg0_idx=
|
||||
channel=acs_survey
|
||||
|
||||
tx_queue_data2_burst=2.0
|
||||
|
||||
#num_global_macaddr=1
|
||||
ht_coex=0
|
||||
ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40][MAX-AMSDU-7935][GF][DSSS_CCK-40][TX-STBC][RX-STBC1][LDPC]
|
||||
vht_capab=[MAX-A-MPDU-LEN-EXP3][MAX-MPDU-11454][VHT160][RXLDPC][SHORT-GI-80][SHORT-GI-160][TX-STBC-2BY1][RX-STBC-1][SU-BEAMFORMER][SU-BEAMFORMEE][BF-ANTENNA-3][MU-BEAMFORMER][SOUNDING-DIMENSION-3][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN]
|
||||
|
||||
ieee80211n=1
|
||||
ieee80211ac=1
|
||||
ieee80211ax=1
|
||||
he_su_beamformer=1
|
||||
he_su_beamformee=1
|
||||
he_mu_beamformer=1
|
||||
he_bss_color=1
|
||||
he_spr_sr_control=3
|
||||
he_default_pe_duration=4
|
||||
he_rts_threshold=1023
|
||||
he_mu_edca_qos_info_param_count=0
|
||||
he_mu_edca_qos_info_q_ack=0
|
||||
he_mu_edca_qos_info_queue_request=0
|
||||
he_mu_edca_qos_info_txop_request=0
|
||||
he_mu_edca_ac_be_aifsn=8
|
||||
he_mu_edca_ac_be_aci=0
|
||||
he_mu_edca_ac_be_ecwmin=9
|
||||
he_mu_edca_ac_be_ecwmax=10
|
||||
he_mu_edca_ac_be_timer=255
|
||||
he_mu_edca_ac_bk_aifsn=15
|
||||
he_mu_edca_ac_bk_aci=1
|
||||
he_mu_edca_ac_bk_ecwmin=9
|
||||
he_mu_edca_ac_bk_ecwmax=10
|
||||
he_mu_edca_ac_bk_timer=255
|
||||
he_mu_edca_ac_vi_ecwmin=5
|
||||
he_mu_edca_ac_vi_ecwmax=7
|
||||
he_mu_edca_ac_vi_aifsn=5
|
||||
he_mu_edca_ac_vi_aci=2
|
||||
he_mu_edca_ac_vi_timer=255
|
||||
he_mu_edca_ac_vo_aifsn=5
|
||||
he_mu_edca_ac_vo_aci=3
|
||||
he_mu_edca_ac_vo_ecwmin=5
|
||||
he_mu_edca_ac_vo_ecwmax=7
|
||||
he_mu_edca_ac_vo_timer=255
|
||||
|
||||
interface=wlan1
|
||||
ctrl_interface=/var/run/hostapd
|
||||
ap_isolate=1
|
||||
bss_load_update_period=60
|
||||
chan_util_avg_period=600
|
||||
disassoc_low_ack=1
|
||||
skip_inactivity_poll=0
|
||||
preamble=1
|
||||
wmm_enabled=1
|
||||
ignore_broadcast_ssid=0
|
||||
uapsd_advertisement_enabled=1
|
||||
utf8_ssid=1
|
||||
multi_ap=0
|
||||
ocv=0
|
||||
sae_require_mfp=1
|
||||
sae_pwe=2
|
||||
wpa_passphrase=PASSPHRASE
|
||||
auth_algs=1
|
||||
wpa=2
|
||||
wpa_pairwise=CCMP
|
||||
ssid=bpi-5g
|
||||
# bridge=br-lan
|
||||
# wds_bridge=
|
||||
# snoop_iface=br-lan
|
||||
wpa_disable_eapol_key_retries=0
|
||||
wpa_key_mgmt=WPA-PSK WPA-PSK-SHA256 SAE
|
||||
okc=1
|
||||
ieee80211w=1
|
||||
group_mgmt_cipher=AES-128-CMAC
|
||||
# dynamic_vlan=0
|
||||
# vlan_naming=1
|
||||
# vlan_no_bridge=1
|
||||
# vlan_file=/var/run/hostapd-phy1-ap0.vlan
|
||||
qos_map_set=0,0,2,16,1,1,255,255,18,22,24,38,40,40,44,46,48,56
|
||||
bssid=76:5f:50:6d:fe:0b
|
||||
#default_macaddr
|
Loading…
Reference in a new issue