Skip to content

Instantly share code, notes, and snippets.

@voran
Created June 13, 2024 21:27
Show Gist options
  • Select an option

  • Save voran/204a8815a902c5ea2c93b7842e6ccb65 to your computer and use it in GitHub Desktop.

Select an option

Save voran/204a8815a902c5ea2c93b7842e6ccb65 to your computer and use it in GitHub Desktop.
hostapd.conf for wifi 6 on MEDIATEK Corp. MT7921 802.11ax
ssid=yavor-osiris
interface=wlp5s0
bridge=br-lan
channel=36
driver=nl80211
hw_mode=a
vht_capab=[MAX-MPDU-11454][VHT80][RXLDPC][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][SU-BEAMFORMEE][MU-BEAMFORMEE]
logger_stdout=-1
logger_stdout_level=2
max_num_sta=255
country_code=BG
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=<redacted>
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
rsn_pairwise=CCMP
ieee80211n=1
ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][DSSS_CCK-40][MAX-AMSDU-7935][RX-STBC1]
#ht_capab=[HT20/HT40][DSSS/CCK HT40][SHORT-GI-20][SHORT-GI-40]
ieee80211ac=1
wmm_enabled=1
wme_enabled=1
#wifi 5
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=42 # channel + 6
vht_capab=[RXLDPC][SHORT-GI-80][TX-STBC-2BY1][SU-BEAMFORMEE][MU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][BF-ANTENNA-4][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7]
# wifi 6
ieee80211ax=1
he_oper_chwidth=1
he_oper_centr_freq_seg0_idx=42
he_bss_color=33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment