[OpenWrt-Devel] [PATCH] fix typo in netifd.sh

Cezary Jackiewicz cezary.jackiewicz at gmail.com
Fri Jan 23 12:27:55 EST 2015


Dnia 2015-01-22, o godz. 14:41:33
John Crispin <blogic at openwrt.org> napisał(a):

> can you explain your wifi setup so that we can figure out how to
> properly fix this ?

config wifi-device 'radio1'
	option type 'mac80211'
	option hwmode '11a'
	option path 'pci0000:00/0000:00:00.0'
	option disabled '0'
	option htmode 'HT20'
	option channel '48'

config wifi-iface
	option device 'radio1'
	option encryption 'psk2'
	option key '1234567890'
	option network 'wlan'
	option mode 'adhoc'
	option ssid 'link-5g'

Without patch I've got

root at OpenWrt:~# cat /var/run/wpa_supplicant-wlan1.conf 
ap_scan=2
network={
	scan_ssid=0
	ssid="link-5g"
	key_mgmt=WPA-PSK
	mode=1
	fixed_freq=1
	frequency=5240
	mode=1
	psk="1234567890"
	proto=RSN
}

iw wlan1 info shows only 20 MHz (no HT) and iw wlan1 station dump - tx/rx 54MBit

With patch:

root at OpenWrt:~# cat /var/run/wpa_supplicant-wlan1.conf 
ap_scan=2
network={
	scan_ssid=0
	ssid="link-5g"
	key_mgmt=WPA-PSK
	mode=1
	fixed_freq=1
	frequency=5240
	mode=1
	psk="1234567890"
	proto=RSN
	htmode=HT20
}

iw wlan1 info shows channel 48 (5240 MHz), width: 20 MHz, center1: 5240 MHz 
(width: 40 MHz with channel 36 and HT40+); iw wlan1 station dump shows
bitrate

rx bitrate:	115.6 MBit/s MCS 13 short GI
tx bitrate:	57.8 MBit/s MCS 5 short GI
rx bitrate:	86.7 MBit/s MCS 12 short GI

etc.

-- 
Pozdrawiam,
 Cezary Jackiewicz
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list