[FS#803] NL80211_STA_INFO_INACTIVE_TIME incorrect value for IBSS mode with a10k-ct.
LEDE Bugs
lede-bugs at lists.infradead.org
Thu May 25 04:38:42 PDT 2017
A new Flyspray task has been opened. Details are below.
User who did this - Kirill Lukonin (klukonin)
Attached to Project - LEDE Project
Summary - NL80211_STA_INFO_INACTIVE_TIME incorrect value for IBSS mode with a10k-ct.
Task Type - Bug Report
Category - Packages
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details -
- ar71xx affected
- latest LEDE trunk affected and may be older versions
- Steps to reproduce
Buid current LEDE trunk with a10k-ct driver and CT firmware for QCA988x.
Flash devices with firmware.
Create IBSS interface for 2 or more ath10k devices and connect them.
iwinfo shows negative value for last activity. Value is rising. TX traffic can't pass through interface.
All incoming packets come with "unknown" bitrate.
root at LEDE:~# iwinfo mesh5_0 assoclist
84:16:F9:B1:A0:3E -39 dBm / -103 dBm (SNR 64) -230820 ms ago
RX: unknown 794 Pkts.
TX: 6.0 MBit/s 0 Pkts.
root at LEDE:~# iwinfo mesh5_0 assoclist
84:16:F9:B1:A0:3E -39 dBm / -103 dBm (SNR 64) -127810 ms ago
RX: unknown 2828 Pkts.
TX: 6.0 MBit/s
0 Pkts.
root at LEDE:~# iwinfo mesh5_0 assoclist
84:16:F9:B1:A0:3E -40 dBm / -103 dBm (SNR 63) -117860 ms ago
RX: unknown 3022 Pkts.
TX: 6.0 MBit/s 0 Pkts.
According to iw output this value is close to th "unsigned long" value limit
root at LEDE:~# iw mesh5_0 station dump
Station 18:a6:f7:3e:b4:de (on mesh5_0)
inactive time: 4294805756 ms
rx bytes: 152352
rx packets: 2208
tx bytes: 0
tx packets: 0
tx retries: 0
tx failed: 0
rx drop misc: 0
signal: -39 dBm
signal avg: -37 dBm
tx bitrate: 6.0 MBit/s
authorized: yes
authenticated: yes
associated: yes
preamble: long
WMM/WME: yes
MFP: no
TDLS peer: no
DTIM period: 0
beacon interval:100
short slot time:yes
connected time: 113 seconds
root at LEDE:~# iw mesh5_0 station dump
Station 18:a6:f7:3e:b4:de (on mesh5_0)
inactive time: 4294878176 ms
rx bytes: 250056
rx packets: 3624
tx bytes: 0
tx packets: 0
tx retries: 0
tx failed: 0
rx drop misc: 0
signal: -40 dBm
signal avg: -39 dBm
tx bitrate: 6.0 MBit/s
authorized: yes
authenticated: yes
associated: yes
preamble: long
WMM/WME: yes
MFP: no
TDLS peer: no
DTIM period: 0
beacon interval:100
short slot time:yes
connected time: 185 seconds
After some time (3-5 minutes) the value overflows and starting from zero with normal values.
root at LEDE:~# iwinfo mesh5_0 assoclist
84:16:F9:B1:A0:3E -38 dBm / -103 dBm (SNR 65) 80 ms ago
RX: unknown 5732 Pkts.
TX: 6.0 MBit/s 0 Pkts.
root at LEDE:~# iw mesh5_0 station dump
Station 18:a6:f7:3e:b4:de (on mesh5_0)
inactive time: 50 ms
rx bytes: 399372
rx packets: 5788
tx bytes: 0
tx packets: 0
tx retries: 0
tx failed: 0
rx drop misc: 0
signal: -41 dBm
signal avg: -39 dBm
tx bitrate: 6.0 MBit/s
authorized: yes
authenticated: yes
associated: yes
preamble: long
WMM/WME: yes
MFP: no
TDLS peer: no
DTIM period: 0
beacon interval:100
short slot time:yes
connected time: 296 seconds
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=803
More information about the lede-bugs
mailing list