Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#803 - NL80211_STA_INFO_INACTIVE_TIME incorrect value for IBSS mode with a10k-ct. #5762

Open
openwrt-bot opened this issue May 25, 2017 · 0 comments
Labels
core packages pull request/issue for core (in-tree) packages flyspray

Comments

@openwrt-bot
Copy link

klukonin:

  • 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@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@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@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@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@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@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@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

@aparcar aparcar added the core packages pull request/issue for core (in-tree) packages label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core packages pull request/issue for core (in-tree) packages flyspray
Projects
None yet
Development

No branches or pull requests

2 participants