We are using WL1801 on our board, please see below.
CPU: SH based custom board OS: Linux Kernel 2.4.31 WiLink8 Module: Murata LBEP5CLWTC-601TEMP WiLink8 Driver Version: MCP-8.0.0.52_Release (MCP 8.5 SP2) WiLink8 Firmware Version: Rev 8.9.0.0.76 and Rev 8.9.0.0.79 (included in MCP 8.5 SP3)We are having a trouble of RX packets delay and loss.
The trouble occurs when our device transmits and receives data with WL1801 continuously.
The time it takes to occur the trouble is variable within a few hours to a few days.
Once the trouble occurs, any wireless communication doesn't work until reconnecting to the AP.
Our verification procedure is as following:
(1) Configure the power management mode
defaultPowerLevel = 2 BeaconListenInterval = 1 DtimListenInterval = 1 psTimeOut = 150 powerSaveDozeMode = 1 ReAuthActivePriority = 1 BeaconReceiveTime = 50(2) Start capturing packets with Wireshark
(3) Connect to the AP
Authentication: WPA2-PSK or WPA-PSK
Encryption: AES
Channel: 11 (HT20)
(4) Perform ping from our device to AP
Outputs of ping before the trouble are:
64 bytes from 192.168.64.1: icmp_seq=4480 ttl=255 time=1.6 ms 64 bytes from 192.168.64.1: icmp_seq=4481 ttl=255 time=2.1 ms 64 bytes from 192.168.64.1: icmp_seq=4482 ttl=255 time=3.8 ms 64 bytes from 192.168.64.1: icmp_seq=4483 ttl=255 time=2.0 msOutputs of ping after the trouble are:
64 bytes from 192.168.64.1: icmp_seq=4485 ttl=255 time=1023.5 ms 64 bytes from 192.168.64.1: icmp_seq=4486 ttl=255 time=1032.1 ms 64 bytes from 192.168.64.1: icmp_seq=4487 ttl=255 time=1141.0 ms 64 bytes from 192.168.64.1: icmp_seq=4488 ttl=255 time=276.4 msA part of sniffer log after the trouble is:
No. Time SrcMAC DstMAC Source Destination Protocol Length Info 61286 2020-10-13 11:47:04.933153040 a8:1b:6a:ae:89:5e 00:1b:8b:6e:b6:22 192.168.64.130 192.168.64.1 ICMP 190 Echo (ping) request id=0xdb03, seq=4520/43025, ttl=64 (no response found!) 61287 2020-10-13 11:47:04.933161647 TexasIns_ae:89:5e (a8:1b:6a:ae:89:5e) (RA) 802.11 70 Acknowledgement, Flags=........C 61288 2020-10-13 11:47:04.964827073 00:1b:8b:6e:b6:24 ff:ff:ff:ff:ff:ff NECPlatf_6e:b6:24 Broadcast 802.11 324 Beacon frame, SN=1961, FN=0, Flags=........C, BI=100, SSID=ap51 61289 2020-10-13 11:47:05.067198025 00:1b:8b:6e:b6:24 ff:ff:ff:ff:ff:ff NECPlatf_6e:b6:24 Broadcast 802.11 324 Beacon frame, SN=1962, FN=0, Flags=........C, BI=100, SSID=ap51 61290 2020-10-13 11:47:05.169764252 00:1b:8b:6e:b6:24 ff:ff:ff:ff:ff:ff NECPlatf_6e:b6:24 Broadcast 802.11 324 Beacon frame, SN=1963, FN=0, Flags=........C, BI=100, SSID=ap51 61291 2020-10-13 11:47:05.272073658 00:1b:8b:6e:b6:24 ff:ff:ff:ff:ff:ff NECPlatf_6e:b6:24 Broadcast 802.11 324 Beacon frame, SN=1964, FN=0, Flags=........C, BI=100, SSID=ap51 61292 2020-10-13 11:47:05.374179148 00:1b:8b:6e:b6:24 ff:ff:ff:ff:ff:ff NECPlatf_6e:b6:24 Broadcast 802.11 324 Beacon frame, SN=1965, FN=0, Flags=........C, BI=100, SSID=ap51 61293 2020-10-13 11:47:05.476838972 00:1b:8b:6e:b6:24 ff:ff:ff:ff:ff:ff NECPlatf_6e:b6:24 Broadcast 802.11 324 Beacon frame, SN=1966, FN=0, Flags=........C, BI=100, SSID=ap51 61294 2020-10-13 11:47:05.579234724 00:1b:8b:6e:b6:24 ff:ff:ff:ff:ff:ff NECPlatf_6e:b6:24 Broadcast 802.11 324 Beacon frame, SN=1967, FN=0, Flags=........C, BI=100, SSID=ap51 61295 2020-10-13 11:47:05.683244617 00:1b:8b:6e:b6:24 ff:ff:ff:ff:ff:ff NECPlatf_6e:b6:24 Broadcast 802.11 324 Beacon frame, SN=1968, FN=0, Flags=........C, BI=100, SSID=ap51 61296 2020-10-13 11:47:05.784061081 00:1b:8b:6e:b6:24 ff:ff:ff:ff:ff:ff NECPlatf_6e:b6:24 Broadcast 802.11 324 Beacon frame, SN=1969, FN=0, Flags=........C, BI=100, SSID=ap51 61297 2020-10-13 11:47:05.886188142 00:1b:8b:6e:b6:24 ff:ff:ff:ff:ff:ff NECPlatf_6e:b6:24 Broadcast 802.11 324 Beacon frame, SN=1970, FN=0, Flags=........C, BI=100, SSID=ap51At No.61286)
Our device sets the power management bit in the Frame Control Field, goes into sleep mode.
Frame 61286: 190 bytes on wire (1520 bits), 190 bytes captured (1520 bits) on interface mon0, id 0 Radiotap Header v0, Length 52 802.11 radio information IEEE 802.11 QoS Data, Flags: .p.P...TC Type/Subtype: QoS Data (0x0028) Frame Control Field: 0x8851 .... ..00 = Version: 0 .... 10.. = Type: Data frame (2) 1000 .... = Subtype: 8 Flags: 0x51 .... ..01 = DS status: Frame from STA to DS via an AP (To DS: 1 From DS: 0) (0x1) .... .0.. = More Fragments: This is the last fragment .... 0... = Retry: Frame is not being retransmitted ...1 .... = PWR MGT: STA will go to sleep ..0. .... = More Data: No data buffered .1.. .... = Protected flag: Data is protected 0... .... = Order flag: Not strictly ordered .000 0000 0010 1100 = Duration: 44 microseconds Receiver address: NECPlatf_6e:b6:24 (00:1b:8b:6e:b6:24) Transmitter address: TexasIns_ae:89:5e (a8:1b:6a:ae:89:5e) Destination address: NECPlatf_6e:b6:22 (00:1b:8b:6e:b6:22) Source address: TexasIns_ae:89:5e (a8:1b:6a:ae:89:5e) BSS Id: NECPlatf_6e:b6:24 (00:1b:8b:6e:b6:24) STA address: TexasIns_ae:89:5e (a8:1b:6a:ae:89:5e) .... .... .... 0000 = Fragment number: 0 1001 1010 1000 .... = Sequence number: 2472 Frame check sequence: 0xdbd13c88 [unverified] [FCS Status: Unverified] Qos Control: 0x0000 CCMP parameters Logical-Link Control Internet Protocol Version 4, Src: 192.168.64.130, Dst: 192.168.64.1 Internet Control Message ProtocolAt No.61288-61297)
The AP has buffered the ping packets for our device, sets the bit in the Traffic Indication Map.
But our device stays in sleep mode for a while.
Frame 61288: 324 bytes on wire (2592 bits), 324 bytes captured (2592 bits) on interface mon0, id 0 Radiotap Header v0, Length 56 802.11 radio information IEEE 802.11 Beacon frame, Flags: ........C IEEE 802.11 Wireless Management Fixed parameters (12 bytes) Tagged parameters (228 bytes) Tag: SSID parameter set: ap51 Tag: Supported Rates 1(B), 2(B), 5.5(B), 11(B), 6, 9, 12, 18, [Mbit/sec] Tag: DS Parameter set: Current Channel: 11 Tag: Traffic Indication Map (TIM): DTIM 0 of 0 bitmap Tag Number: Traffic Indication Map (TIM) (5) Tag length: 4 DTIM count: 0 DTIM period: 1 Bitmap control: 0x00 Partial Virtual Bitmap: 02 Association ID: 0x01 Tag: ERP Information Tag: Extended Supported Rates 24, 36, 48, 54, [Mbit/sec] Tag: Vendor Specific: Microsoft Corp.: WMM/WME: Parameter Element Tag: Vendor Specific: Epigram, Inc.: HT Capabilities (802.11n D1.10) Tag: HT Capabilities (802.11n D1.10) Tag: Vendor Specific: Epigram, Inc.: HT Additional Capabilities (802.11n D1.00) Tag: HT Information (802.11n D1.10) Tag: Vendor Specific: Atheros Communications, Inc.: Advanced Capability Tag: Vendor Specific: Atheros Communications, Inc.: Unknown Tag: Vendor Specific: NEC Platforms, Ltd. Tag: Vendor Specific: Microsoft Corp.: WPA Information ElementWe would like to resolve the trouble.
Do you have relevant known issues, etc.
Best regards,
Kenichi.