Modify

Opened 3 years ago

Last modified 3 years ago

#19172 new defect

Huawei HG55a_C (HG56BZRB VER.A) can not work on 40Mhz bandwidth

Reported by: wittywang@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: Cc:

Description

My device is Huawei HG55a version C (HG56BZRB VER.A), and it has a Ralink wifi device.
The iw dev command shows it only works on 20MHz, but it is a 300Mbps wifi router which can run on a 40MHz bandwidth.

root@OpenWrt:~# lspci -nn
00:01.0 Network controller [0280]: Ralink corp. RT3592 Wireless 802.11abgn 2T/2R PCIe [1814:3592]
01:1e.0 CardBus bridge [0607]: Broadcom Corporation Device [14e4:6358]

root@OpenWrt:~# iw dev
phy#0

Interface wlan0

ifindex 13
wdev 0x2
addr 00:0c:43:30:62:01
ssid OpenWrt
type AP
channel 5 (2432 MHz), width: 20 MHz, center1: 2432 MHz

root@OpenWrt:~# iw phy
Wiphy phy0

max # scan SSIDs: 4
max scan IEs length: 2257 bytes
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Available Antennas: TX 0 RX 0
Supported interface modes:

  • IBSS
  • managed
  • AP
  • AP/VLAN
  • WDS
  • monitor
  • mesh point

Band 1:

Capabilities: 0x2f2

HT20/HT40
Static SM Power Save
RX Greenfield
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 2-streams
Max AMSDU length: 3839 bytes
No DSSS/CCK HT40

Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 2 usec (0x04)
HT RX MCS rate indexes supported: 0-15, 32
TX unequal modulation not supported
HT TX Max spatial streams: 2
HT TX MCS rate indexes supported may differ
Frequencies:

  • 2412 MHz [1] (20.0 dBm)
  • 2417 MHz [2] (20.0 dBm)
  • 2422 MHz [3] (20.0 dBm)
  • 2427 MHz [4] (20.0 dBm)
  • 2432 MHz [5] (20.0 dBm)
  • 2437 MHz [6] (20.0 dBm)
  • 2442 MHz [7] (20.0 dBm)
  • 2447 MHz [8] (20.0 dBm)
  • 2452 MHz [9] (20.0 dBm)
  • 2457 MHz [10] (20.0 dBm)
  • 2462 MHz [11] (20.0 dBm)
  • 2467 MHz [12] (20.0 dBm)
  • 2472 MHz [13] (20.0 dBm)
  • 2484 MHz [14] (disabled)

valid interface combinations:

  • #{ managed, AP, mesh point } <= 8, total <= 8, #channels <= 1

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

root@OpenWrt:~# cat /etc/config/wireless
config wifi-device 'radio0'

option type 'mac80211'
option path 'pci0000:00/0000:00:01.0'
option txpower '5'
option country 'CN'
option distance '50'
option hwmode '11g'
option channel '5'
option htmode 'HT40'

config wifi-iface

option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'psk-mixed'
option key ''

root@OpenWrt:~# dmesg
[ 0.000000] Linux version 3.14.34 (thepeople@viasatpilot) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44685) ) #1 Thu Mar 12 23:21:27 CET 2015
[ 0.000000] Detected Broadcom 0x6358 CPU revision a1
[ 0.000000] CPU frequency is 300 MHz
[ 0.000000] 64MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xbe000000
[ 0.000000] board_bcm963xx: CFE version: d081.5003
[ 0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected 33313930, got d3aeafc7)
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[ 0.000000] board: board name: HW556_C
[ 0.000000] MIPS: machine is Huawei EchoLife HG556a (version C)
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 80358460, node_mem_map 81002ae0
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] Primary instruction cache 32kB, VIPT, 2-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 59912K/65536K available (2691K kernel code, 141K rwdata, 632K rodata, 1264K init, 188K bss, 5624K reserved)
[ 0.000000] NR_IRQS:256
[ 0.032000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[ 0.036000] pid_max: default: 32768 minimum: 301
[ 0.040000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.044000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.056000] NET: Registered protocol family 16
[ 0.080000] registering PCI controller with io_map_base unset
[ 0.084000] registering PCI controller with io_map_base unset
[ 0.104000] bio: create slab <bio-0> at 0
[ 0.112000] PCI host bridge to bus 0000:00
[ 0.116000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[ 0.120000] pci_bus 0000:00: root bus resource [io 0x8000000-0x8007fff]
[ 0.124000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.128000] pci 0000:00:01.0: [1814:3592] type 00 class 0x028000
[ 0.128000] pci 0000:00:01.0: reg 0x10: [mem 0xffff0000-0xffffffff]
[ 0.132000] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[ 0.136000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.136000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[ 0.140000] PCI host bridge to bus 0000:01
[ 0.144000] pci_bus 0000:01: root bus resource [mem 0x38000000-0x3fffffff]
[ 0.148000] pci_bus 0000:01: root bus resource [io 0x8008000-0x800ffff]
[ 0.152000] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 0.156000] pci 0000:01:1e.0: [14e4:6358] type 02 class 0x060700
[ 0.156000] pci 0000:01:1e.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.160000] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
[ 0.160000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 05
[ 0.160000] pci 0000:01:1e.0: BAR 10: assigned [mem 0x38000000-0x3fffffff]
[ 0.164000] pci 0000:01:1e.0: BAR 7: assigned [io 0x8008000-0x80080ff]
[ 0.168000] pci 0000:01:1e.0: BAR 8: assigned [io 0x8008400-0x80084ff]
[ 0.172000] pci 0000:01:1e.0: CardBus bridge to [bus 02-05]
[ 0.176000] pci 0000:01:1e.0: bridge window [io 0x8008000-0x80080ff]
[ 0.180000] pci 0000:01:1e.0: bridge window [io 0x8008400-0x80084ff]
[ 0.184000] pci 0000:01:1e.0: bridge window [mem 0x38000000-0x3fffffff]
[ 0.188000] Switched to clocksource MIPS
[ 0.204000] NET: Registered protocol family 2
[ 0.212000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.220000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.224000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.232000] TCP: reno registered
[ 0.236000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.240000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.248000] NET: Registered protocol family 1
[ 0.252000] PCI: CLS 0 bytes, default 16
[ 0.260000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.268000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.272000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.284000] msgmni has been set to 117
[ 0.288000] io scheduler noop registered
[ 0.292000] io scheduler deadline registered (default)
[ 0.304000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10, base_baud = 1562500) is a bcm63xx_uart
[ 0.316000] console [ttyS0] enabled
[ 0.320000] bootconsole [early0] disabled
[ 0.336000] 1e000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[ 0.348000] 1e000000.nor: Found an alias at 0x1000000 for the chip at 0x0
[ 0.348000] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.352000] Amd/Fujitsu Extended Query version 1.3.
[ 0.356000] number of CFI chips: 1
[ 0.360000] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[ 0.368000] 6 bcm63xxpart partitions found on MTD device 1e000000.nor
[ 0.376000] Creating 6 MTD partitions on "1e000000.nor":
[ 0.380000] 0x000000000000-0x000000020000 : "CFE"
[ 0.388000] 0x000000020100-0x00000014e7f6 : "kernel"
[ 0.396000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.412000] 0x00000014e7f6-0x000000ee0000 : "rootfs"
[ 0.416000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.436000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.440000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.448000] 0x000000320000-0x000000ee0000 : "rootfs_data"
[ 0.456000] 0x000000020000-0x000000ee0000 : "linux"
[ 0.464000] 0x000000ee0000-0x000000fe0000 : "cal_data"
[ 0.476000] 0x000000fe0000-0x000001000000 : "nvram"
[ 0.488000] bcm63xx-spi bcm63xx-spi: at 0xfffe0800 (irq 9, FIFOs size 542)
[ 0.508000] libphy: bcm63xx_enet MII bus: probed
[ 0.576000] b53_common: found switch: BCM5325, rev 0
[ 0.584000] bcm63xx_enet bcm63xx_enet.1: attached PHY at address 0 [Broadcom B53 (1)]
[ 0.596000] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.616000] TCP: cubic registered
[ 0.616000] NET: Registered protocol family 17
[ 0.624000] Bridge firewalling registered
[ 0.628000] 8021q: 802.1Q VLAN Support v1.8
[ 0.644000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.672000] Freeing unused kernel memory: 1264K (80374000 - 804b0000)
[ 2.532000] init: Console is alive
[ 2.536000] init: - watchdog -
[ 4.604000] init: - preinit -
[ 5.404000] random: procd urandom read with 90 bits of entropy available
[ 6.968000] eth0: link UP - 100/full - flow control off
[ 9.136000] jffs2: notice: (235) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 13 of xref (0 dead, 6 orphan) found.
[ 9.156000] mount_root: switching to jffs2 overlay
[ 9.228000] procd: - early -
[ 9.228000] procd: - watchdog -
[ 10.112000] eth0: link DOWN
[ 10.284000] procd: - ubus -
[ 11.292000] procd: - init -
[ 14.428000] random: nonblocking pool is initialized
[ 14.544000] NET: Registered protocol family 10
[ 14.612000] usbcore: registered new interface driver usbfs
[ 14.620000] usbcore: registered new interface driver hub
[ 14.628000] usbcore: registered new device driver usb
[ 14.672000] gre: GRE over IPv4 demultiplexor driver
[ 14.688000] ip_gre: GRE over IPv4 tunneling driver
[ 14.716000] ip6_gre: GRE over IPv6 tunneling driver
[ 14.748000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 14.756000] ehci-platform: EHCI generic platform driver
[ 14.764000] ehci-platform ehci-platform: EHCI Host Controller
[ 14.768000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 14.776000] ehci-platform ehci-platform: irq 18, io mem 0xfffe1300
[ 14.808000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
[ 14.844000] hub 1-0:1.0: USB hub found
[ 14.848000] hub 1-0:1.0: 2 ports detected
[ 14.876000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 14.916000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 14.928000] ohci-platform: OHCI generic platform driver
[ 14.932000] ohci-platform ohci-platform: Generic Platform OHCI controller
[ 14.940000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[ 14.948000] ohci-platform ohci-platform: irq 13, io mem 0xfffe1400
[ 15.024000] hub 2-0:1.0: USB hub found
[ 15.032000] hub 2-0:1.0: 2 ports detected
[ 15.088000] u32 classifier
[ 15.092000] input device check on
[ 15.096000] Actions configured
[ 15.116000] Mirror/redirect action on
[ 15.152000] nf_conntrack version 0.5.0 (955 buckets, 3820 max)
[ 15.188000] usb 1-2: new high-speed USB device number 2 using ehci-platform
[ 15.196000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[ 15.204000] Backport generated by backports.git backports-20150129-0-gdd4a670
[ 15.228000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 15.340000] hub 1-2:1.0: USB hub found
[ 15.352000] hub 1-2:1.0: 4 ports detected
[ 15.620000] xt_time: kernel timezone is -0000
[ 15.724000] cfg80211: Calling CRDA to update world regulatory domain
[ 15.744000] cfg80211: World regulatory domain updated:
[ 15.748000] cfg80211: DFS Master region: unset
[ 15.752000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 15.764000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 15.772000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 15.780000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 15.788000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 15.796000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 15.804000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 15.812000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 15.820000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 16.128000] PPP generic driver version 2.4.2
[ 16.144000] NET: Registered protocol family 24
[ 16.284000] Broadcom 43xx driver loaded [ Features: PNL ]
[ 16.376000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[ 16.384000] rt2800pci 0000:00:01.0: failed to load eeprom property
[ 16.388000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'rt2x00.eeprom'.
[ 16.444000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[ 16.452000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
[ 16.472000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 22.020000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 22.336000] eth0: link UP - 100/full - flow control off
[ 22.480000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 31.020000] device eth0.1 entered promiscuous mode
[ 31.024000] device eth0 entered promiscuous mode
[ 31.040000] br-lan: port 1(eth0.1) entered forwarding state
[ 31.044000] br-lan: port 1(eth0.1) entered forwarding state
[ 31.884000] eth0: link UP - 100/full - flow control off
[ 33.048000] br-lan: port 1(eth0.1) entered forwarding state
[ 33.336000] cfg80211: Calling CRDA for country: CN
[ 33.360000] cfg80211: Regulatory domain changed to country: CN
[ 33.364000] cfg80211: DFS Master region: FCC
[ 33.368000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 33.380000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 33.388000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (N/A)
[ 33.396000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
[ 33.408000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 33.416000] cfg80211: (57240000 KHz - 59400000 KHz @ 2160000 KHz), (N/A, 2800 mBm), (N/A)
[ 33.424000] cfg80211: (59400000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4400 mBm), (N/A)
[ 33.432000] cfg80211: (63720000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 2800 mBm), (N/A)
[ 36.432000] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
[ 36.456000] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.34
[ 36.576000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 36.612000] device wlan0 entered promiscuous mode
[ 39.416000] br-lan: port 2(wlan0) entered forwarding state
[ 39.420000] br-lan: port 2(wlan0) entered forwarding state
[ 39.424000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 41.424000] br-lan: port 2(wlan0) entered forwarding state

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by earthGavinLee@…

me,too.
my device is Huawei HG556a version C (HG56BZRB VER.A), and it has a Ralink wifi device.
openwrt_barrier_breaker_r44697 can not work on 40Mhz bandwidth

comment:2 Changed 3 years ago by wittywang@…

After manually add option noscan='1' to /etc/config/wireless, I've solve the problem.

It seems that in BB, there is an option to enforce 40MHz bandwidth in LuCI, but this option disapears in CC.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.