- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, we've had some breakthroughs with the configuration of our module CYW43455 on our custom board. We've been able to setup an Access Point on the 5Ghz band and it was possible to connect to it and have traffic to the internet via the wan interface.
But now we need also to setup the 2.4 Ghz band, and the situation here es that we don't see it available on the Openwrt Wireless Overview
Now, our question would be if it is necessary to do something in particular to startup the second radio for the other band, or if it should start automatically, then what could we be missing this time?
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi SeSo,
Thank you for your sharing information.
I think your system failed download the nvram.
Your driver(brcmfmac) try to download following nvram to CYW43455.
It does not download brcmfmac43455-sdio.txt.
>brcmfmac43455-sdio.atmel,sama5d27-som1-ek.txt
How about rename brcmfmac43455-sdio.1MW.txt to brcmfmac43455-sdio.atmel,sama5d27-som1-ek.txt?
It is seems your brcmfmac source has modified for your custom board to find above nvram name.
Regards,
Matayoshi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Luci
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi SeSo,
Do you want to use CYW43455 both 2.4GHz AP and 5GHz AP concurrently?
CYW43455 does not supported dual band AP concurrently.
Cypress called this feature RSDB:Realtime simultaneous dual band.
CYW43455 does not supported RSDB.
Regards,
Matayoshi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok thanks for your response
I try to change AP from 5GHz to 2.4GHz in /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/ahb/b0000000.sdio-host/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
option hwmode '11b'
option htmode 'HT20'
option channel '6'
config wifi-iface 'default_radio0'
option device 'radio0'
option mode 'ap'
option network 'DR450'
option ssid 'DR450'
option key 'DetecDR450'
option encryption 'psk2'
this is the response, appears in radio0 "device is not active"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I change the /etc/config/wireless to the following setup works in 5GHz
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/ahb/b0000000.sdio-host/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
option htmode 'VHT80'
option channel '36'
option hwmode '11a'
config wifi-iface 'default_radio0'
option device 'radio0'
option mode 'ap'
option network 'DR450'
option ssid 'DR450'
option key 'DetecDR450'
option encryption 'psk2'
option wds '1'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi SeSo,
I understood what is your problem.
Your CYW43455 does not work 2.4GHz AP, but it works 5GHz.
Could you try to use it with following option?
I modified hwmode,channel and country.
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11g'
option path 'platform/ahb/b0000000.sdio-host/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
option htmode 'HT20'
option channel 'auto'
option country 'US'
If it does not affect on your environment,
could you share your FW,nvram,clm_blob and driver information?
Regards,
Matayoshi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is the output of dmesg with the firmware version and name
[ 8.330000] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 8.390000] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.atmel,sama5d27-som1-ek.txt failed with error -2
[ 8.400000] brcmfmac mmc1:0001:1: Falling back to user helper
[ 8.450000] firmware brcm!brcmfmac43455-sdio.atmel,sama5d27-som1-ek.txt: firmware_loading_store: map pages failed
[ 8.630000] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 8.670000] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 1 2015 07:29:38 version 7.45.18 (r538002) FWID 01-6a2c8ad4
we downloaded brcmfmac43455-sdio.1MW.txt from GitHub and saved it on /lib/firmware/brcm, this allowed us to start using the 5Ghz band:
https://github.com/murata-wireless/cyw-fmac-nvram
Then the file was renamed to:
brcmfmac43455-sdio.txt
This is the content of the file:
# Cloned from bcm94345wlpagb.txt
NVRAMRev=$Rev: 498373 $
sromrev=11
vendid=0x14e4
devid=0x43ab
manfid=0x2d0
prodid=0x06e4
macaddr=00:90:4c:c5:12:38
nocrc=1
boardtype=0x6e4
##boardrev - superseded by the one in OTP
boardrev=0x1100
xtalfreq=37400
## tune where necessary
#xtal_swcapio=0x6644
boardflags=0x00080201
boardflags2=0x40000000
boardflags3=0x48200100
rxchain=1
txchain=1
aa2g=1
aa5g=1
tssipos5g=1
tssipos2g=1
AvVmid_c0=0,157,1,126,1,126,1,126,1,126
pa2ga0=-152,5969,-666
pa2ga1=-143,4076,-546
pa5ga0=-165,5736,-689,-169,5710,-692,-171,5713,-688,-173,5732,-689
#pa5ga1=-161,3672,-510,-166,3671,-508,-169,3697,-508,-171,3854,-520
itrsw=1
pdoffset40ma0=0x9999
pdoffset80ma0=0x8888
extpagain5g=2
extpagain2g=2
maxp2ga0=74
cckbw202gpo=0x0000
ofdmlrbw202gpo=0x0022
dot11agofdmhrbw202gpo=0x8888
mcsbw202gpo=0xaaaaa666
maxp5ga0=76,76,76,76
mcsbw205glpo=0x99999955
mcsbw205gmpo=0x99999955
mcsbw205ghpo=0x99999955
mcsbw405glpo=0xff999555
mcsbw405gmpo=0xff999555
mcsbw405ghpo=0xff999555
mcsbw805glpo=0xfffffbbb
mcsbw805gmpo=0xfffffbbb
mcsbw805ghpo=0xfffffbbb
swctrlmap_2g=0x00040004,0x00020002,0x00040004,0x010a02,0x1ff
swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010a02,0x2f4
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000
vcodivmode=1
##filter parameters -- tune where necessary
cckdigfilttype=6
fdss_level_2g=2
fdss_level_5g=2
## added by apps
aga0=0x1
agbg0=0x1
ccode=0
ed_thresh2g=-65
ed_thresh5g=-65
ltecxmux=0
ltecxpadnum=0x0504
ltecxfnsel=0x22
ltecxgcigpio=0x32
pdoffsetcckma0=0x0000
powoffs2gtna0=0,0,0,0,0,0,0,0,0,0,0,0,0,0
tempthresh=120
temps_hysteresis=15
rawtempsense=0x1ff
tworangetssi2g=1
tworangetssi5g=0
lowpowerrange2g=0
lowpowerrange5g=0
ag0=1
ag1=1
#subband5gver=0x4
mcslr5glpo=0x0000
mcslr5gmpo=0x0000
mcslr5ghpo=0x0000
sb20in40hrpo=0x0
sb20in80and160hr5glpo=0x0
sb40and80hr5glpo=0x0
sb20in80and160hr5gmpo=0x0
sb40and80hr5gmpo=0x0
sb20in80and160hr5ghpo=0x0
sb40and80hr5ghpo=0x0
sb20in40lrpo=0x0
sb20in80and160lr5glpo=0x0
sb40and80lr5glpo=0x0
sb20in80and160lr5gmpo=0x0
sb40and80lr5gmpo=0x0
sb20in80and160lr5ghpo=0x0
sb40and80lr5ghpo=0x0
dot11agduphrpo=0x0
dot11agduplrpo=0x0
phycal_tempdelta=25
temps_period=15
btc_mode=1
sbpowoffs5g20mtna0=0,0,0,0
sbpowoffs5g40mtna0=0,0,0,0
sbpowoffs5g80mtna0=0,0,0,0
powoffs5g20mtna0=0,0,0,0,0,0,0
powoffs5g40mtna0=0,0,0,0,0
powoffs5g80mtna0=0,0,0,0,0
ldo1=5
cbfilttype=2
xtal_swcapio=0x8855
fdss_level_ch13=1,1
# muxenab defined to enable OOB IRQ. Level sensitive interrupt via WL_HOST_WAKE line.
muxenab=0x10
After we copied the file brcmfmac43455-sdio.clm_blob fromhttps://github.com/LibreELEC/brcmfmac_sdio-firmware-rpi/tree/master/firmware/brcm
brcmfmac_sdio-firmware-rpi/firmware/brcm at master · LibreELEC/brcmfmac_sdio-firmware-rpi · GitHub
That's about all the information we have.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi SeSo,
Thank you for your sharing information.
I think your system failed download the nvram.
Your driver(brcmfmac) try to download following nvram to CYW43455.
It does not download brcmfmac43455-sdio.txt.
>brcmfmac43455-sdio.atmel,sama5d27-som1-ek.txt
How about rename brcmfmac43455-sdio.1MW.txt to brcmfmac43455-sdio.atmel,sama5d27-som1-ek.txt?
It is seems your brcmfmac source has modified for your custom board to find above nvram name.
Regards,
Matayoshi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We rename the brcmfmac43455-sdio.1MW.txt to brcmfmac43455-sdio.atmel,sama5d27-som1-ek.txt
This is the output of dmesg (the error gone)
[ 8.360000] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 8.600000] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 8.630000] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 1 2015 07:29:38 version 7.45.18 (r538002) FWID 01-6a2c8ad4
But we have same problem CYW43455 does not work 2.4GHz AP, but it works 5GHz.
Thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know if we are using the correct configuration in NVRAM file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi SeSo,
Thank you for your confirmation.
>I don't know if we are using the correct configuration in NVRAM file
If you are using muRata 1MW module, you should use following nvram.
It does not disabled 2.4GHz.
brcmfmac43455-sdio.1MW.txt
Could you confirm your board's regulatory setting?
Please share your return value with following commands?
$iw reg get
$iw phy
Regards,
Matayoshi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks
I confirm that we are using brcmfmac43455-sdio.1MW.txt
root@OpenWrt:~# iw reg get
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
root@OpenWrt:~# iw phy
Wiphy phy0
max # scan SSIDs: 10
max scan IEs length: 2048 bytes
max # sched scan SSIDs: 16
max # match sets: 16
max # scan plans: 1
max scan plan interval: 508
max scan plan iterations: 0
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports roaming.
Device supports T-DLS.
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* P2P-client
* P2P-GO
* P2P-device
Band 1:
Capabilities: 0x1022
HT20/HT40
Static SM Power Save
RX HT20 SGI
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT TX/RX MCS rate indexes supported: 0-7
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] (disabled)
* 2472 MHz [13] (disabled)
* 2484 MHz [14] (disabled)
Band 2:
Capabilities: 0x1062
HT20/HT40
Static SM Power Save
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT TX/RX MCS rate indexes supported: 0-7
VHT Capabilities (0x00001020):
Max MPDU length: 3895
Supported Channel Width: neither 160 nor 80+80
short GI (80 MHz)
SU Beamformee
VHT RX MCS set:
1 streams: MCS 0-9
2 streams: not supported
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: not supported
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:
* 5170 MHz [34] (disabled)
* 5180 MHz [36] (20.0 dBm)
* 5190 MHz [38] (disabled)
* 5200 MHz [40] (20.0 dBm)
* 5210 MHz [42] (disabled)
* 5220 MHz [44] (20.0 dBm)
* 5230 MHz [46] (disabled)
* 5240 MHz [48] (20.0 dBm)
* 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
* 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
* 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
* 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
* 5500 MHz [100] (20.0 dBm) (no IR, radar detection)
* 5520 MHz [104] (20.0 dBm) (no IR, radar detection)
* 5540 MHz [108] (20.0 dBm) (no IR, radar detection)
* 5560 MHz [112] (20.0 dBm) (no IR, radar detection)
* 5580 MHz [116] (20.0 dBm) (no IR, radar detection)
* 5600 MHz [120] (20.0 dBm) (no IR, radar detection)
* 5620 MHz [124] (20.0 dBm) (no IR, radar detection)
* 5640 MHz [128] (20.0 dBm) (no IR, radar detection)
* 5660 MHz [132] (20.0 dBm) (no IR, radar detection)
* 5680 MHz [136] (20.0 dBm) (no IR, radar detection)
* 5700 MHz [140] (20.0 dBm) (no IR, radar detection)
* 5720 MHz [144] (20.0 dBm) (no IR, radar detection)
* 5745 MHz [149] (20.0 dBm)
* 5765 MHz [153] (20.0 dBm)
* 5785 MHz [157] (20.0 dBm)
* 5805 MHz [161] (20.0 dBm)
* 5825 MHz [165] (20.0 dBm)
valid interface combinations:
* #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
total <= 3, #channels <= 2
* #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
total <= 4, #channels <= 1
Supported extended features:
* [ DFS_OFFLOAD ]: DFS offload
root@OpenWrt:~#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi SeSo,
Thank you for checking it.
Your regulatory setting is not limited operation band.
In some cases, the setting of clm_blob may limit the operation.
Could you try to use latest clm_blob from below?
Cypress Linux WiFi Driver Release (FMAC) [2020-04-02]
/cypress-fmac-v5.4.18-2020_0402/firmware/brcmfmac43430-sdio.clm_blob
Regards,
Matayoshi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will want to reach out to Murata (ToIn_1742091) for the latest CLM BLOB/NVRAM that's been optimized for their Type 1MW module and the associated regulatory for the regions the module supports.