Skip to content

Commit

Permalink
Now uses 2.4 GHz channel 1 instead of channel 36
Browse files Browse the repository at this point in the history
  • Loading branch information
jiribrejcha authored Oct 14, 2024
1 parent 954ab39 commit 609a7f6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 18 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
wlanpi-wconsole (1.0.18) unstable; urgency=medium

* Now uses 2.4 GHz channel 1 instead of channel 36 which has NO-IR flag on Intel adapters

-- Jiri Brejcha <[email protected]> Mon, 14 Oct 2023 12:09:00 +0000

wlanpi-wconsole (1.0.17) unstable; urgency=medium

* Using iw instead of iwconfig (deprecated).
Expand Down
42 changes: 24 additions & 18 deletions install/etc/wlanpi-wconsole/conf/hostapd.conf
Original file line number Diff line number Diff line change
@@ -1,40 +1,46 @@
#
# To run from CLI for debugging, use:
#
# /usr/sbin/hostapd -d -P /run/hostapd.wlan0.pid /etc/hostapd/hostapd.conf
#

# WLAN SSID
ssid=WLAN Pi Default SSID

# WPA PSK
# WPA-PSK
wpa_passphrase=WL@NP123

# Set interface
interface=wlan0
# Mode options: a = 5 GHz / g = 2.4 GHz
hw_mode=g

# Channel setting
channel=36
# Mode options: a=5GHz / g=2.4GHz
hw_mode=a
# Set 2.4 GHz channel - 1,6,11
# Set 5 GHz channel - 36,40,44,48,149,153,157,161,165
channel=1

# Set country code and enforce country limits
# Set Country Code (Use your own country code here)
country_code=US
ieee80211d=1

# Enable PHYs
# Set Interface and Driver to user
interface=wlan0
driver=nl80211

# IEEE 802.11n SETTINGS
ieee80211n=1
#ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40]

# IEEE 802.11ac SETTINGS
ieee80211ac=1
wmm_enabled=1
#vht_oper_chwidth=1
vht_capab=[SU-BEAMFORMEE-1][HTC-VHT-1][VHT-LINK-ADAPT2][MAX-AMSDU-7935][GF]
#vht_oper_centr_freq_seg0_idx=42

# Security: enable WPA2 & PSK
# Set security parameters (WPA2-Personal here)
auth_algs=1 # 1 = shared key
wpa=2
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP

# Enable WMM
wmm_enabled=1
uapsd_advertisement_enabled=1

# Enable BSS Load which advertises the number of connected clients
bss_load_update_period=50

# Channel utilization does not seem to be supported by Intel AX210
# chan_util_avg_period=600
# chan_util_avg_period=600

0 comments on commit 609a7f6

Please sign in to comment.