[Ninux-Wireless] Problema Openwrt wifi 5ghz

Gabriele Amendola gabriele.amendola a gmail.com
Mer 4 Maggio 2011 10:24:12 CEST


Salve a tutti. Ho provato a compilare compat-wireless 2010.11.24 sostituendo per IT il seguente:

country IT:
	(2402 - 2482 @ 40), (N/A, 27)
	(5170 - 5835 @ 40), (N/A, 30)

Una volta compilato ho sostituito regulatory.bin in /usr/lib/crda (Openwrt sempre versione 10.03.1 rc4)

Riavviato openwrt legge correttamente la modifica infatti:

cfg80211: Calling CRDA for country: IT
cfg80211: Regulatory domain changed to country: IT
    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2700 mBm)
    (5170000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 3000 mBm)

ma usando iw list si nota che non รจ cambiato niente:

Frequencies:
			* 5180 MHz [36] (17.0 dBm)
			* 5200 MHz [40] (17.0 dBm)
			* 5220 MHz [44] (17.0 dBm)
			* 5240 MHz [48] (17.0 dBm)
			* 5260 MHz [52] (20.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5280 MHz [56] (20.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5300 MHz [60] (20.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5320 MHz [64] (20.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5500 MHz [100] (20.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5520 MHz [104] (20.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5540 MHz [108] (20.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5560 MHz [112] (20.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5580 MHz [116] (20.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5600 MHz [120] (disabled)
			* 5620 MHz [124] (disabled)
			* 5640 MHz [128] (disabled)
			* 5660 MHz [132] (20.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5680 MHz [136] (20.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5700 MHz [140] (20.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5745 MHz [149] (30.0 dBm)
			* 5765 MHz [153] (30.0 dBm)
			* 5785 MHz [157] (30.0 dBm)
			* 5805 MHz [161] (30.0 dBm)
			* 5825 MHz [165] (30.0 dBm)

E se provo comunque a cambiare manualmente la txpower ottengo:

root a OpenWrt:~# iwconfig wlan0 txpower 23
Error for wireless request "Set Tx Power" (8B26) :
    SET failed on device wlan0 ; Invalid argument.




Maggiori informazioni sulla lista Wireless