Posts by mbazdar

    Hello,


    I have connected dual band 2.4/5 GHz WiFi antenna to the efusA9X board and WLAN seems to be stable now! Both 2.4 and 5 GHz connections work with similar speeds. Signal level is also comparable:


    [SDMAC] BSSID=DC:A5:F4:43:92:E0 Ut=27568 Rk= 60 (hyst=(0 * 0) RSSI:44 => 38 => for 2.4 GHz

    [SDMAC] BSSID=DC:A5:F4:45:92:D0 Ut=30520 Rk= 76 (hyst=(0 * 0) RSSI:43 => 37 => for 5 GHz


    One more thing: when antenna is connected, we only get one notification over serial port (when connection is established). Without antenna WiFi debug info was being printed all the time.


    I am going to continue testing WiFi with antenna and let you know if any problem occurs. On your side, please try to investigate WLAN crashing in case of low RSSI.


    Thanks in advance,


    Miodrag Bazdar

    Hello,


    1. As for RSSI level, I suppose it may only be due to a lack of antenna, since the tests are done in our offices where we use WiFi network on a daily basis and signal level should be fairly good. I can only try to attach WiFi antenna to the efusA9X board (I see UFL connector on it, I suppose it is used for WiFi) and see if it will matter. Nevertheless, WLAN should not crash, no matter signal level.


    2. I have updated the complete BSP. As a matter of fact, I have binary compared old and new version of BSP, and used files from new BSP where ever differences occurred.


    3. AP with 2.4GHz band is the same office where 5GHz is, but the signal level is even worse in this case:


    [SDMAC] BSSID=DC:A5:F4:43:92:E0 Ut= 5350 Rk= 15 (hyst=(2 * 1) RSSI: 9 => 5 [SDMAC] mode:11g, pref:0, demerit:0 delta=281736 load:0)


    Again, it may be to the lack of antenna, since this network is also used in our office on a daily basis.


    What signal level is considered good or normal by your WiFi supplier? Do they recommend to use WiFi antenna?


    Best regards,


    Miodrag Bazdar

    And to mention that the before mentioned problem with 2.4GHz band still exists with the new version of driver. So, from my point of view, new driver is the same as old one.


    Best regards,


    Miodrag Bazdar

    Hello,


    I have got another WiFi crash, again during file upload. Test is done as following:


    - WiFi is connected on 5Ghz band, DHCP is used for IP address obtaining.

    - FTP session is opened over WiFi connection. File XIPiMX6SX_C7E_V140_BETA_201102.bin (about 50MB size) is used for FTP upload/download.

    - I am working on other tasks, and from time to time I use to upload/download mentioned file to/from the machine few times.

    - After some random time I get the crash (usually after few hours, even less sometimes), usually on file upload.


    Here are crash debug information from serial port:


    [SDMAC] BSSID=DC:A5:F4:45:92:D0 Ut=24660 Rk= 64 (hyst=(3 * 1) RSSI:19 => 16 [SDMAC] mode:11a, pref:0, demerit:0 delta=21287691 load:0) [SDMAC] StaFindBetterCandidateAP: Port=0 Unable to obtain better AP; 1 candidates, (CandidateAP == ActiveAP)=1 [SDMAC] Elapsed time too short; Elapsed= 42s ScanGap=32 Valid=60 [SDMAC] BSSID=DC:A5:F4:45:92:D0 Ut=24660 Rk= 64 (hyst=(3 * 1) RSSI:19 => 16 [SDMAC] mode:11a, pref:0, demerit:0 delta=21290864 load:0) [SDMAC] StaPerformRoam: Port=0 State=(3,11) ndisStatus=00000000 bMustRoam=0 bStrict=1 candidateAP=dc:a5:f4:45:92:d0 Candidat [SDMAC] BSSID=DC:A5:F4:45:92:D0 Ut=26580 Rk= 68 (hyst=(4 * 1) RSSI:20 => 18 [SDMAC] mode:11a, pref:0, demerit:0 delta=21305187 load:0) [SDMAC] StaPerformRoam: Port=0 State=(3,11) ndisStatus=00000000 bMustRoam=0 bStrict=1 candidateAP=dc:a5:f4:45:92:d0 Candidat [SDMAC] BSSID=DC:A5:F4:45:92:D0 Ut=26580 Rk= 68 (hyst=(4 * 1) RSSI:20 => 18 [SDMAC] mode:11a, pref:0, demerit:0 delta=21314311 load:0) [SDMAC] StaPerformRoam: Port=0 State=(3,11) ndisStatus=00000000 bMustRoam=0 bStrict=1 candidateAP=dc:a5:f4:45:92:d0 Candidat [SDMAC] BSSID=DC:A5:F4:45:92:D0 Ut=26580 Rk= 68 (hyst=(4 * 1) RSSI:20 => 18 [SDMAC] mode:11a, pref:0, demerit:0 delta=21347719 load:0) [SDMAC] StaFindBetterCandidateAP: Port=0 Unable to obtain better AP; 1 candidates, (CandidateAP == ActiveAP)=1 [SDMAC] Elapsed time too short; Elapsed= 39s ScanGap=2 Valid=60 [SDMAC] BSSID=DC:A5:F4:45:92:D0 Ut=27540 Rk= 70 (hyst=(4 * 1) RSSI:21 => 19 [SDMAC] mode:11a, pref:0, demerit:0 delta=21350891 load:0) [SDMAC] StaPerformRoam: Port=0 State=(3,11) ndisStatus=00000000 bMustRoam=0 bStrict=1 candidateAP=dc:a5:f4:45:92:d0 Candidat


    [SDMAC] Start to dump target 4455B0

    [SDMAC] [36] : 0x80932EF9

    [SDMAC] [37] : 0x0040EA88

    [SDMAC] [38] : 0x0040A050

    [SDMAC] [39] : 0x00000005

    [SDMAC] [40] : 0x809F2985

    [SDMAC] [41] : 0x0040EAB8

    [SDMAC] [42] : 0x00409E90

    [SDMAC] [43] : 0x00000004

    [SDMAC] [44] : 0x80911210

    [SDMAC] [45] : 0x0040EAE8

    [SDMAC] [46] : 0x00000003

    [SDMAC] [47] : 0x004040CC

    [SDMAC] [48] : 0x80911154

    [SDMAC] [49] : 0x0040EB28

    [SDMAC] [50] : 0x00400000

    [SDMAC] [51] : 0x00000000

    [SDMAC] [52] : 0x8091122D

    [SDMAC] [53] : 0x0040EB48

    [SDMAC] [54] : 0x00000000

    [SDMAC] [55] : 0x00400600

    [SDMAC] [56] : 0x40910024

    [SDMAC] [57] : 0x0040EB78

    [SDMAC] [58] : 0x0040AB98

    [SDMAC] [59] : 0x0040AB98

    [WLANAPI] Stopped waiting for notification because server returns error (0, 1818)

    [SDMAC] TXRX: Pause Tx Schedular queues except managment queue as we are going detach this peer

    DOT11MSM: Dot11MsmSecSendNotification: AcmNotify - Error: 87

    DOT11MSM: Dot11MsmSecSendNotification: AcmNotify - Error: 87

    [SDMAC] ol_ath_phyerr_detach: called [SDMAC] ol_ath_txbf_detach: called

    [SDMAC] Miniport Unload Driver


    Thanks for investigating this.


    Best regards,


    Miodrag Bazdar

    Hello,


    The crash yesterday happened on our hardware environment, during file copy. I will leave idle today to check if it will crash on its own.


    I confirm driver version in my image is the same as you specified. Here are some debug messages from boot process:


    Exception 'Raised Exception' (0x6ba): Thread-Id=03d2002e(pth=a305f270), Proc-Id=013f000e(pprc=a3013bf0) 'udevice.exe', VM-active=013<==== [SDMAC/QCA9377-3] 802.11ac SDIO driver v2.40.8eb91.pa built on Dec 9 2020 ====> f000e(pprc=a3013bf0) 'udevice.exe' PC=4002b544(coredll.dll+0x0001b544) RA=80257648(kernel.dll+0x0000e648) SP=002ff964, BVA=00000000 SDIO Interface : Set by busdriver : 24750000 (4-bit) [SDMAC] Debug Global Level 10, Components 0x00000000 [SDMAC] ol_transfer_bin_file: Configured board data file bdata_sxsdmac.bin [SDMAC] ol_transfer_bin_file: otp file otp_AR6320.bin [SDMAC] ol_transfer_bin_file: Firmware file athwlan_AR6320.bin ENETA: FULL-DUP, 100Mbps [SDMAC] ol_ath_service_ready_event: HW sub-version: QCA6174.


    I have not caught any debug output on crash (serial debug was off).


    I'll let you know if I get some more info.


    Thanks for help.


    Best regards,


    Miodrag Bazdar

    Hello,


    Yes, this fits our requirements perfectly.


    When you say that "the SDMAC driver can support either Station mode or AP mode, but not both together/concurrent", does it mean that single software image can support either AP or Station mode, so we would have to have two images for single hardware: one in which WiFi would act as AP, and one in which WiFi would act as Station (which is currently the case)?


    Best regards,


    Miodrag Bazdar

    Hello,


    Ok, thanks for the info.


    I have just discovered new problem related to WiFi. We have both 2.4GHz and 5GHz WLAN installed in our offices where I test efusA9X. Until today, all tests were done on 5GHz network. Today I tried 2.4GHz. Upload to the device is drastically slower that on 5GHz, but at least it is somehow working. On the other side, download from the device is completely useless. Speed is terrible, transfer breaks very quickly, and then for some time you cannot even connect to the device.


    Sometimes efusA9X fails to associate with 2.4GHz network, although it says signal strength is excellent.


    Can you please check this as well, as this seems as another big problem, maybe different than the original one?


    Best regards,


    Miodrag Bazdar

    Hello,


    Thanks for the updated BSP. I confirm the following issues are resolved:

    1) Big file copy to the device over wired LAN works without stalls.

    2) Big file copy from the device over wired LAN does not crash the connection anymore. It works without stalls.

    3) Disabling ETHNETB1 from Control Panel works correctly now.

    Wired LAN connection seems to be stable now. More tests will follow on our side.


    Unfortunately, as you have also confirmed, WLAN crash is still there. For me, it seems the same as before. I have produced the crash on my device fairly easily, just by copying NK.bin back and forth over WiFi and rebooting device few times.


    I have found in SDMAC_WiFi_BT.pdf from BSP the following info:


    Random crashes are seen in system components of the image on i.MX6 BSP. Disable SMP option to get rid

    of the errors.


    I have tried this (although it says it is related to SabreLite), but without success.


    Best regards,


    Miodrag Bazdar

    Ok, thanks for the info. Also, I would appreciate if you could push WiFi supplier to solve crash issue in WEC7. Good thing is that the issue is not present in WEC2013. Unfortunately, I don't have WEC2013.

    Hello,


    I've just got WiFi crash on starter kit with XIPiMX6SX_C7E_V140_BETA_201118.bin. System was up for 1h:40m when crash happened. No FTP transfer was active in that moment.


    Best regards,


    Miodrag Bazdar

    Dear Support Team,


    Problem with disabling ETHNETB1 from control panel is still present with XIPiMX6SX_C7E_V140_BETA_201118.bin, although network seems to be much more stable with this kernel.


    Can I please get patched BSP so I can build my own image and check behaviour on my hardware?


    Thanks in advance.


    Best regards,


    Miodrag Bazdar

    Hello,


    For now, I can confirm that XIPiMX6SX_C7E_V140_BETA_201118.bin resolves "copy" issues with ETHNETA1. I will continue to keep an eye on crashing WiFi issue. In the meantime, can you please send me patched binaries for BSP, so I can build my own image which will contain fixes from XIPiMX6SX_C7E_V140_BETA_201118.bin?


    Best regards,


    Miodrag Bazdar