1 2 3 Previous Next 30 Replies Latest reply on Jun 17, 2019 2:48 AM by user_15783651

    cyw4339 murata driver

    user_15783651

      We now used cyw4339 and cyw43455, from murata,

      driver:

      https://github.com/murata-wireless/cyw-fmac/archive/cyw-fmac-imx-morty-manda_r1.0.tar.gz

      fw:

      GitHub - murata-wireless/cyw-fmac-fw

      nvram:

      GitHub - murata-wireless/cyw-fmac-nvram

       

      can't find clm_blob file for cyw4339, cyw43455 have clm_blob file

      Driver for two kinds of chip often print "brcmfmac: brcmf_parse_vndr_ies: invalid vndr ie. length is too small 4", but seems there isn't problem. Will it have some potential issues?

       

      And also how to check if dfs enable/disable with wl?

        • 1. Re: cyw4339 murata driver
          bill.chen_3977566

          Hi user_15783651

          cyw4339, Murata type 1CK module is not recommended for new designs. Is it already on your product already? Or you are going to adopt this module?

           

          As for the wield print message, can you share more information?

          What is your target?

          How you built your image?

          What's the Kernel Version?

          What's the fmac firmware version, i.e. manda, mothra, battra, or orga?

          What is your command log?

          • 2. Re: cyw4339 murata driver
            user_15783651

            I used two kinds of chip, they are cyw4399 zp and cyw43455 1MW, murata have confirmed that all still on product.

            My target is xilinx zynq platform, we downloads kernel from xilinx github, tag "xilinx-v2017.4", kernel version is: 4.9.0-xilinx

            https://github.com/Xilinx/linux-xlnx/archive/xilinx-v2017.4.tar.gz

            fmac driver is downloaded from murata github, tag "imx-morty-manda_r1.0", I think it should be manda:

            https://github.com/murata-wireless/cyw-fmac/archive/imx-morty-manda_r1.0.tar.gz

            I also tried fmac driver "cypress-fmac-v4.14.77-2019_0503.zip" download from here, have same problem.

            I started with wpa_supplicant, the wpa_supplicant.conf is

            network={

              disabled=2

              ssid="DIRECT-ssid-zed"

              mode=3

              key_mgmt=WPA-PSK

              #proto=RSN

              #pairwise=CCMP

              psk="12345670"

            }

            then used the following step

                start-stop-daemon -S -q -x wpa_supplicant -- -ts -B -Dnl80211 -iwlan0 -c/etc/wpa_supplicant.conf

                wpa_cli p2p_group_add persistent=0 freq=5 vht > /dev/null

            • 3. Re: cyw4339 murata driver
              user_15783651

              bill.chen_3977566

              any update?

              Is p2p support dfs feature?

              • 4. Re: cyw4339 murata driver
                ZhengbaoZ_96

                Hello:

                 

                   All the wifi products will support DFS function if 5G band is adopted, it did not depends on if it is sta, AP, or P2P.  Do you find your product is not running DFS when doing the test in the lab ?

                 

                you can have a check with the command :

                wl dfs_status to check if the return value is normal.

                1 of 1 people found this helpful
                • 5. Re: cyw4339 murata driver
                  user_15783651

                  Thanks´╝î

                   

                  That is my serial output

                  I guess DFS disabled.

                  The result of "iw reg get" and "wl country" is not same, why?

                   

                  when I use "wpa_cli p2p_group_add persistent=0 freq=5500 vht > /dev/null" to set channel to 100. it can't work. This is wpa_supplicant log

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: Channels - hexdump(len=2): 24 2c

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: Add operating class 117                                  

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: Channels - hexdump(len=2): 28 30                                   

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: Add operating class 124                

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: Channels - hexdump(len=4): 95 99 9d a1                             

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: Add operating class 125

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: Channels - hexdump(len=5): 95 99 9d a1 a5

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: Add operating class 126

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: Channels - hexdump(len=2): 95 9d

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: Add operating class 127

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: Channels - hexdump(len=2): 99 a1

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: Add operating class 128

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: Channels - hexdump(len=4): 24 28 2c 30

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: Add operating class 130                             

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: Channels - hexdump(len=4): 24 28 2c 30   

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: Update channel list                        

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: channels: 81:1,2,3,4,5,6,7,8,9,10,11 115:36,40,44,48 116:36,44 117:40,48 124:149,153,157,161 125:149,153,157,161,165 126:149,157 127:153,161 128:36,40,44,48 130:36,40,44,

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: P2P: cli_channels:                                                                      

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[746]: Daemonize..                      

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[754]: RTM_NEWLINK: ifi_index=4 ifname=wlan0 operstate=0 linkmode=0 ifi_family=0 ifi_flags=0x1043 ([UP][RUNNING])

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[754]: RTM_NEWLINK: ifi_index=4 ifname=wlan0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x1003 ([UP])

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[754]: RTM_NEWLINK: ifi_index=4 ifname=wlan0 operstate=2 linkmode=1 ifi_family=0 ifi_flags=0x1003 ([UP])

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[754]: p2p-dev-wlan0: Control interface command 'SET_NETWORK [REMOVED]'    

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[754]: CTRL_IFACE: SET_NETWORK id=0 name='ssid'                                         

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[754]: p2p-dev-wlan0: Control interface command 'P2P_GROUP_ADD persistent=0 freq=5500 vht'

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[754]: P2P: Stopping find

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[754]: P2P: Clear timeout (state=IDLE)               

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[754]: P2P: State IDLE -> IDLE                         

                  Jan  1 00:00:04 buildroot daemon.debug wpa_supplicant[754]: P2P: The forced channel for GO (5500 MHz) is not supported for P2P uses

                  • 6. Re: cyw4339 murata driver
                    ZhengbaoZ_96

                    Hello:

                        We have the newest driver and firmware release in this link, you can get the 43455 firmware and clm image for a try .

                     

                    Cypress Linux WiFi Driver Release (FMAC) [2019-05-08]

                    1 of 1 people found this helpful
                    • 7. Re: cyw4339 murata driver
                      user_15783651

                      Yes, I try the newest driver and firmware, No any difference. I also checked the driver/firmware with murata's, they are totally same.

                      When I run wl dfs_status in two kinds of chip:

                      cyw4339: still return error -23

                      cyw43455: state IDLE time elapsed 0ms radar channel cleared by dfs none

                       

                      here is the log when I start driver for cyw43455:

                      brcmutil: loading out-of-tree module taints kernel.

                      Loading modules backported from Linux version v4.14.52-manda-RTM-0-g897c6ce

                      Backport generated by backports.git v4.14-rc2-1-70-g694b78f

                      brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006

                      # usbcore: registered new interface driver brcmfmac

                      brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Sep 21 2018 04:08:34 version 7.45.173 (r707987 CY) FWID 01-d2799ea2

                      • 8. Re: cyw4339 murata driver
                        user_15783651

                        I made a mistake in last reply, which used v4.14.52 cypress released in 2018.

                        When I run wl dfs_status in two kinds of chip:

                        cyw4339: still return error -23

                        cyw43455: state IDLE time elapsed 0ms radar channel cleared by dfs none

                         

                        here is the right log output(still use txt from murata due to no any txt file in the package):

                        brcmutil: loading out-of-tree module taints kernel.

                        Loading modules backported from Linux version v4.14.77-2019_0503-0-g1dfe0a6

                        Backport generated by backports.git v4.14-rc2-1-70-g694b78f

                        brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac4339-sdio.bin for chip 0x004339(17209) rev 0x000002

                        usbcore: registered new interface driver brcmfmac

                        brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac4339-sdio.clm_blob failed with error -2

                        brcmfmac: brcmf_c_process_clm_blob: no clm_blob available(err=-2), device may have limited channels available

                        brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: May  2 2019 12:09:40 version 6.37.39.111 (r714235 CY)

                        • 9. Re: cyw4339 murata driver
                          ZhengbaoZ_96

                          Hello:

                           

                          brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac4339-sdio.clm_blob failed with error -2

                           

                          Did you copy the clm file together for the test ?

                          1 of 1 people found this helpful
                          • 10. Re: cyw4339 murata driver
                            user_15783651

                            There is no clm_blob file in the package. do you have it?

                            Murata have no clm_blob for cyw4339

                            Cypress package have no clm_blob for cyw4399

                            • 11. Re: cyw4339 murata driver
                              ZhengbaoZ_96

                              Yes, I check the readme file,  unfortunately 4339 is not supported in the list.

                              From my personal side , if you can switch to 43455 for the 11ac support  and DFS?

                               

                              Supported Features

                              -----------------

                              * Concurrent APSTA

                              * P2P

                              * Out-of-band (OOB) interrupt

                              * CLM download (43455/4343w/4354/4356/43012/89342/89359/4373)

                              * Wake on Wireless LAN

                              * Voice enterprise (43455)

                              * PMF

                              * WPA3 (43455)

                              * RSDB (89342/89359)

                              * Thermal throttling (4343w)

                              * Fast roaming (89342)

                              1 of 1 people found this helpful
                              • 12. Re: cyw4339 murata driver
                                user_15783651

                                So cyw4339 can't support dfs feature?

                                We have some product use cyw4339.

                                • 13. Re: cyw4339 murata driver
                                  ZhengbaoZ_96

                                  @Bill ,  Would you please help to check if Murata has a firmware to support 4339 dfs feature without newest CLM mode ?   now I can't find the support from formal linux release package.

                                  • 14. Re: cyw4339 murata driver
                                    user_15783651

                                    Is the output showing dfs enabled?

                                    # iw reg get

                                    global

                                    country 00: DFS-UNSET

                                            (2402 - 2472 @ 40), (6, 20), (N/A)

                                            (2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN

                                            (2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN

                                            (5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN

                                            (5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN

                                            (5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN

                                            (5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN

                                            (57240 - 63720 @ 2160), (N/A, 0), (N/A)

                                     

                                    # wl dfs_status

                                    state IDLE time elapsed 0ms radar channel cleared by dfs none

                                    # wl country

                                    US (US/0) UNITED STATES

                                     

                                    Here is my cyw43455 output log:

                                    brcmutil: loading out-of-tree module taints kernel.

                                    Loading modules backported from Linux version v4.14.77-2019_0503-0-g1dfe0a6

                                    Backport generated by backports.git v4.14-rc2-1-70-g694b78f

                                    brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006

                                    usbcore: registered new interface driver brcmfmac

                                    brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: May  2 2019 02:46:17 version 7.45.189 (r714228 CY) FWID 01-e1db26e2

                                    1 2 3 Previous Next