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#776 - ath9k wds mode station break off #7102
Comments
cvbkf: I can confirm this report. i have multiple TP-Link WR1043ND v3.0 which exhibit the same behavior.
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11ng'
option path 'platform/qca955x_wmac'
list ht_capab 'LDPC'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'TX-STBC'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'
option noscan '1'
option channel '3'
option txpower '17'
option country 'DE'
option htmode 'HT40'
|
ycsunjane: I have checked wpa2 wpa and none encryption. When use none encryption, everything is ok. |
ycsunjane: I have catched the log info when rx error with: echo 0xffffffff > /sys/kernel/debug/ieee80211/phy0/ath9k/debug log info: [ 524.921114] ath: phy0: enable IER the log is normal interrupt and ANI debug info. I suppose think there should have some other debug info. |
ycsunjane: With debug 0x82: ATH_DBG_XMIT | ATH_DBG_QUEUE. station ping ap: root@LingKe:/sys/kernel/debug/ieee80211/phy0/ath9k# ping 192.168.1.8 |
ycsunjane: Add some debug info in mac80211, i can get data packet in 4053 if (ieee80211_is_mgmt(fc)) { 4083 } else if (ieee80211_is_data(fc)) { with ping packet log: [ 8996.617367] mac80211 data packet And station will deauth from ap with PRE_AUTH_NOT_VALID: [ 8998.621385] wlan0: deauthenticated from c8:ee:a6:2d:cc:6c (Reason: I think some bug in auth cause data packet drop. |
ycsunjane: I have found the bug position: mac80211 rx [ 1248.968407] mac80211 with out of date seq number: 2551 2547 2552 head_seq_num will out-of-order. But i can not find why will out of order. |
ycsunjane: I am sure its block ack seq num error bug. I am not familier with ath9k. Anybody continue...... |
lynxis: @JIANXI can you create a trace (.pcap file) using a wifi monitor interface? |
bers: Hi, Often, even immediately after reboot, I see this: Consistently, my FritzBox says this: Can I do anything to help investigate this? I have installed a snapshot build, but without Luci, I find it hard to check what is going on (Windows person with basic Linux knowledge). |
ycsunjane:
atheros ar9331
Linux version 4.4.61 (gcc version 5.4.0 (LEDE GCC 5.4.0 r4099-4c3953b) )
wds ap:
config wifi-device 'radio0' option type 'mac80211' option hwmode '11g' option path 'platform/ar933x_wmac' option distance '3000' option txpower '18' option country '00' option channel '1' option htmode 'HT40'
config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option encryption 'psk2'
option key '12345600'
option max_inactivity '20'
option wds '1'
option ssid 'LK-M2-Jianxi'
wds station:
config wifi-device 'radio0' option type 'mac80211' option channel '1' option hwmode '11g' option path 'platform/ar933x_wmac' option htmode 'HT20' option distance '3000' option txpower '19' option country '00'
config wifi-iface
option device 'radio0'
option network 'lan'
option encryption 'psk2'
option key '12345600'
option max_inactivity '20'
option wds '1'
option mode 'sta'
option ssid 'LK-M2-Jianxi'
When the station break off, ping can not reach ap. wifi still connect. kernel have no error info. iwinfo signal still change.
ap with the other station still alive.
Use wpa_cli scan command, will awake station, and ping alive.
wifi command also work.
/proc/interrupts ath9k still alive.
The text was updated successfully, but these errors were encountered: