?>/script>'; } ?> Problema con canales 5 GHZ en router ZBT-WE1326 (OPENWRT) Widgets Magazine

Autor Tema: Problema con canales 5 GHZ en router ZBT-WE1326 (OPENWRT)  (Leído 2636 veces)

0 Usuarios y 1 Visitante están viendo este tema.

grabador

  • Visitante
Problema con canales 5 GHZ en router ZBT-WE1326 (OPENWRT)
« en: 26-01-2019, 12:04 (Sábado) »
Hola a todos!
Veréis, he compilado openwrt branch 18.01 para este router y tengo un problema con la wlan de 5GHZ.
Resulta que si dejo la selección de canal en AUTO, (country SPAIN), la lista de canales disponibles es mayor que la que realmente es válida para España, que son los canales del 36 al 140 (5180 - 5700 MHZ). Esto es un problema porque los dispositivos wifi no detectan el punto de acceso cuando este se haya operando en un canal fuera del rango del país.
¿alguien sabe a que se puede deber esto y si hay alguna manera de ajustar los canales a la regulación correcta del país?

Adjunto capturas de varios comandos y del archivo /var/run/hostapd-phy1.cnf
Gracias por la ayuda!!!

root@xxxxx:~# iw phy1 reg get
global
country ES: DFS-ETSI
   (2400 - 2483 @ 40), (N/A, 20), (N/A)
   (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
   (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
   (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
   (5725 - 5875 @ 80), (N/A, 13), (N/A)
   (57000 - 66000 @ 2160), (N/A, 40), (N/A)

Con este comando se ve que están incluidos los canales 149 al 165, y no debería ser así.
root@xxxxx:~# iwinfo phy1 freqlist
 
  5.180 GHz (Channel 36)
  5.200 GHz (Channel 40)
  5.220 GHz (Channel 44)
  5.240 GHz (Channel 48)
  5.260 GHz (Channel 52)
  5.280 GHz (Channel 56)
  5.300 GHz (Channel 60)
  5.320 GHz (Channel 64)
  5.500 GHz (Channel 100)
  5.520 GHz (Channel 104)
  5.540 GHz (Channel 108)
  5.560 GHz (Channel 112)
  5.580 GHz (Channel 116)
  5.600 GHz (Channel 120)
  5.620 GHz (Channel 124)
  5.640 GHz (Channel 128)
  5.660 GHz (Channel 132)
  5.680 GHz (Channel 136)
  5.700 GHz (Channel 140)
* 5.745 GHz (Channel 149)
  5.765 GHz (Channel 153)
  5.785 GHz (Channel 157)
  5.805 GHz (Channel 161)
  5.825 GHz (Channel 165)

root@xxxxx:~# iw phy1 info
Wiphy phy1
   max # scan SSIDs: 4
   max scan IEs length: 2247 bytes
   max # sched scan SSIDs: 0
   max # match sets: 0
   max # scan plans: 1
   max scan plan interval: -1
   max scan plan iterations: 0
   Retry short limit: 7
   Retry long limit: 4
   Coverage class: 0 (up to 0m)
   Available Antennas: TX 0x3 RX 0x3
   Configured Antennas: TX 0x3 RX 0x3
   Supported interface modes:
       * IBSS
       * managed
       * AP
       * AP/VLAN
       * monitor
       * mesh point
   Band 2:
      Capabilities: 0x1ff
         RX LDPC
         HT20/HT40
         SM Power Save disabled
         RX Greenfield
         RX HT20 SGI
         RX HT40 SGI
         TX STBC
         RX STBC 1-stream
         Max AMSDU length: 3839 bytes
         No DSSS/CCK HT40
      Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
      Minimum RX AMPDU time spacing: 4 usec (0x05)
      HT TX/RX MCS rate indexes supported: 0-15
      VHT Capabilities (0x018001b0):
         Max MPDU length: 3895
         Supported Channel Width: neither 160 nor 80+80
         RX LDPC
         short GI (80 MHz)
         TX STBC
      VHT RX MCS set:
         1 streams: MCS 0-9
         2 streams: MCS 0-9
         3 streams: not supported
         4 streams: not supported
         5 streams: not supported
         6 streams: not supported
         7 streams: not supported
         8 streams: not supported
      VHT RX highest supported: 0 Mbps
      VHT TX MCS set:
         1 streams: MCS 0-9
         2 streams: MCS 0-9
         3 streams: not supported
         4 streams: not supported
         5 streams: not supported
         6 streams: not supported
         7 streams: not supported
         8 streams: not supported
      VHT TX highest supported: 0 Mbps
      Frequencies:
         * 5180 MHz [36] (23.0 dBm)
         * 5200 MHz [40] (23.0 dBm)
         * 5220 MHz [44] (23.0 dBm)
         * 5240 MHz [48] (23.0 dBm)
         * 5260 MHz [52] (20.0 dBm) (radar detection)
         * 5280 MHz [56] (20.0 dBm) (radar detection)
         * 5300 MHz [60] (20.0 dBm) (radar detection)
         * 5320 MHz [64] (20.0 dBm) (radar detection)
         * 5500 MHz [100] (26.0 dBm) (radar detection)
         * 5520 MHz [104] (26.0 dBm) (radar detection)
         * 5540 MHz [108] (26.0 dBm) (radar detection)
         * 5560 MHz [112] (26.0 dBm) (radar detection)
         * 5580 MHz [116] (26.0 dBm) (radar detection)
         * 5600 MHz [120] (26.0 dBm) (radar detection)
         * 5620 MHz [124] (26.0 dBm) (radar detection)
         * 5640 MHz [128] (26.0 dBm) (radar detection)
         * 5660 MHz [132] (26.0 dBm) (radar detection)
         * 5680 MHz [136] (26.0 dBm) (radar detection)
         * 5700 MHz [140] (26.0 dBm) (radar detection)
         * 5745 MHz [149] (13.0 dBm)
         * 5765 MHz [153] (13.0 dBm)
         * 5785 MHz [157] (13.0 dBm)
         * 5805 MHz [161] (13.0 dBm)
         * 5825 MHz [165] (13.0 dBm)
   valid interface combinations:
       * #{ IBSS } <= 1, #{ managed, AP, mesh point } <= 8,
         total <= 8, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz }

   HT Capability overrides:
       * MCS: ff ff ff ff ff ff ff ff ff ff
       * maximum A-MSDU length
       * supported channel width
       * short GI for 40 MHz
       * max A-MPDU length exponent
       * min MPDU start spacing
   Device supports VHT-IBSS.

root@xxxxx:~# cat /var/run/hostapd-phy1.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=ES
ieee80211d=1
ieee80211h=1
hw_mode=a
beacon_int=100
channel=acs_survey


ieee80211n=1
ht_coex=0
ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1]
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=-6
ieee80211ac=1
vht_capab=[RXLDPC][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][MAX-A-MPDU-LEN-EXP3]

interface=wlan1
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
wpa_passphrase=xxx
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=xxx
bridge=br-lan
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=xxx


bss=wlan1-1
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
auth_server_addr=xxx
auth_server_port=xxx
auth_server_shared_secret=xxx
eapol_key_index_workaround=1
ieee8021x=1
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=xxx
bridge=br-lan
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=WPA-EAP
okc=0
disable_pmksa_caching=1
bssid=

grabador

  • Visitante
Re:Problema con canales 5 GHZ en router ZBT-WE1326 (OPENWRT)
« Respuesta #1 en: 26-01-2019, 12:50 (Sábado) »
Bueno, a falta de otra solución, he probado a cambiar el código de país a Francia, y con este código los canales de 5GHZ si están bien registrados, al menos del 149 al 165 aparecen como "disabled" en la información que devuelve el comando iw phy1 info. Y solo del 52 al 140 están disponibles como radar detection, que entiendo que será algo relacionado con DFS.

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

grabador

  • Visitante
Re:Problema con canales 5 GHZ en router ZBT-WE1326 (OPENWRT)
« Respuesta #2 en: 26-01-2019, 21:55 (Sábado) »
Me respondo a mi mismo otra vez :)
Después de investigar un poco el tema de la regulación en España de las redes inalámbricas parece ser que los canales que yo pensaba que no estaban admitidos, si lo están desde hace unos años, y así viene registrado en la base de datos regulativa de redes inalámbricas que incluye Openwrt (modulo wireless-regdb).
El problema era que yo las pruebas las estaba haciendo desde un teléfono móvil bastante antiguo que no tiene esos canales habilitados. Lo he probado desde otro dispositivo mucho más moderno, y sí puedo ver el SSID aún teniendo el canal en "Auto" y el country code en "España"

Desconectado Tki2000

  • Moderador
  • *
  • Mensajes: 2247
Re:Problema con canales 5 GHZ en router ZBT-WE1326 (OPENWRT)
« Respuesta #3 en: 27-01-2019, 08:35 (Domingo) »
Gracias por el aporte de la info.