* Re: All '0' in agg_status
@ 2017-01-18 7:40 Adrian Chadd
[not found] ` <328523ea1b53d27f8a72b776481c15dc@cvweb05.wmail.nhnsystem.com>
0 siblings, 1 reply; 6+ messages in thread
From: Adrian Chadd @ 2017-01-18 7:40 UTC (permalink / raw)
To: 김광민; +Cc: 강경완, ath10k
hiya
which firmware, chipset, driver version is this with?
-adrian
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: All '0' in agg_status
[not found] ` <328523ea1b53d27f8a72b776481c15dc@cvweb05.wmail.nhnsystem.com>
@ 2017-01-19 10:26 ` Kwang Min Kim
2017-02-14 8:26 ` Kwang Min Kim
0 siblings, 1 reply; 6+ messages in thread
From: Kwang Min Kim @ 2017-01-19 10:26 UTC (permalink / raw)
To: Adrian Chadd, ath10k
[-- Attachment #1.1: Type: text/plain, Size: 525 bytes --]
hi, adrian
firmware: 10.2.4.59-2
chipset: qca9880
driver version: backports-4.4.2
Thanks.
---------------
Kim Kwang Min
Mobile +82 010-5521-6393
Mail gwondori@nimbus.kr
-----Original Message-----
From: "Adrian Chadd"<adrian@freebsd.org>
To: "김광민"<gwondori@nimbus.kr>;
Cc: "ath10k@lists.infradead.org"<ath10k@lists.infradead.org>; "강경완"<bigskang@nimbus.kr>;
Sent: 2017-01-18 (수) 16:40:26
Subject: Re: All '0' in agg_status
hiya
which firmware, chipset, driver version is this with?
-adrian
[-- Attachment #2: Type: text/plain, Size: 146 bytes --]
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: All '0' in agg_status
2017-01-19 10:26 ` Kwang Min Kim
@ 2017-02-14 8:26 ` Kwang Min Kim
2017-02-14 15:09 ` Valo, Kalle
0 siblings, 1 reply; 6+ messages in thread
From: Kwang Min Kim @ 2017-02-14 8:26 UTC (permalink / raw)
To: ath10k; +Cc: 강경완
[-- Attachment #1.1: Type: text/plain, Size: 5731 bytes --]
I have two questions.
1. As a result of debugging 'ath10k' and 'mac80211', if there is a problem, ADDBA request and DELBA request are receive at 'station' side at the same time.
Could it be this?
2. The code below seems to fix the problem. (I did not consider the impact elsewhere.)
Is it the correct code? How do I fix the incorrect code?
--- net/mac80211/iface.c
+++ net/mac80211/iface.c
@@ -1260,10 +1265,14 @@
mutex_lock(&local->sta_mtx);
sta = sta_info_get_bss(sdata, rx_agg->addr);
if (sta)
+ {
+/*
__ieee80211_stop_rx_ba_session(sta,
rx_agg->tid,
WLAN_BACK_RECIPIENT, 0,
false);
+ */
+ }
mutex_unlock(&local->sta_mtx);
} else if (ieee80211_is_action(mgmt->frame_control) &&
mgmt->u.action.category == WLAN_CATEGORY_BACK) {
---------------
Kim Kwang Min
Mobile +82 010-5521-6393
Mail gwondori@nimbus.kr
-----Original Message-----
From: "Kwang Min Kim"<gwondori@nimbus.kr>
To: "Adrian Chadd"<adrian@freebsd.org>; <ath10k@lists.infradead.org>;
Cc:
Sent: 2017-01-19 (목) 19:26:44
Subject: Re: All '0' in agg_status
hi, adrian
firmware: 10.2.4.59-2
chipset: qca9880
driver version: backports-4.4.2
Thanks.
---------------
Kim Kwang Min
Mobile +82 010-5521-6393
Mail gwondori@nimbus.kr
-----Original Message-----
From: "Adrian Chadd"<adrian@freebsd.org>
To: "김광민"<gwondori@nimbus.kr>;
Cc: "ath10k@lists.infradead.org"<ath10k@lists.infradead.org>; "강경완"<bigskang@nimbus.kr>;
Sent: 2017-01-18 (수) 16:40:26
Subject: Re: All '0' in agg_status
hiya
which firmware, chipset, driver version is this with?
-adrian
-----Original Message-----
From: "김광민"<gwondori@nimbus.kr>
To: <ath10k@lists.infradead.org>;
Cc: "강경완"<bigskang@nimbus.kr>;
Sent: 2017-01-17 (화) 20:30:22
Subject: All '0' in agg_status
Very rarely, I experience the problem that packets are serious dropped even though all wireless states(iwconfig, iw wlan0 info, fw_stats, etc.) are OK.
This problem occurs only after the AP and station are badly(?) connected, and once the connection is established normally, this problem does not occur on the good connection. And once this problem occurred, it won't be fixed by itself until the AP and the station are reconnected.
I have investigated and I have found two differences between the good connection and the bad connection.
The one is the error messages on dmesg,
<...>
[ 2826.432784] wlan0: Limiting TX power to 21 (24 - 3) dBm as advertised by 04:f0:21:20:38:09
[ 2827.296925] wlan0: Rx A-MPDU request on 04:f0:21:20:38:09 tid 0 result 0
[ 2827.297483] wlan0: Rx BA session stop requested for 04:f0:21:20:38:09 tid 0 recipient reason: 0 <--- from this line
[ 2827.297578] wlan0: Rx A-MPDU request on 04:f0:21:20:38:09 tid 0 result 0
[ 2827.298694] wlan0: Rx BA session stop requested for 04:f0:21:20:38:09 tid 0 recipient reason: 0
[ 2829.074439] wlan0: Rx A-MPDU request on 04:f0:21:20:38:09 tid 6 result 0 <-- to this line
<...>
The another difference is in "agg_status" file on Station side (/sys/kernel/debug/ieee80211/phy0/netdev:wlan0/stations/XX:XX:XX:XX:XX:XX/agg_status).
As my investigation, the file of the AP side always have one or two '1' at the second column. And the file of the station side without problem also have one or two '1'. But, there is no '1' in the file on the station where the problem occurred.
#more /sys/kernel/debug/ieee80211/phy0/netdev\:wlan0/stations/*/agg_status
next dialog_token: 0x1
TID RX DTKN SSN TX DTKN pending
00 0 0x00 0x000 0 0x00 000
01 0 0x00 0x000 0 0x00 000
02 0 0x00 0x000 0 0x00 000
03 0 0x00 0x000 0 0x00 000
04 0 0x00 0x000 0 0x00 000
05 0 0x00 0x000 0 0x00 000
06 0 0x00 0x000 0 0x00 000
07 0 0x00 0x000 0 0x00 000
08 0 0x00 0x000 0 0x00 000
09 0 0x00 0x000 0 0x00 000
10 0 0x00 0x000 0 0x00 000
11 0 0x00 0x000 0 0x00 000
12 0 0x00 0x000 0 0x00 000
13 0 0x00 0x000 0 0x00 000
14 0 0x00 0x000 0 0x00 000
15 0 0x00 0x000 0 0x00 000
Could you tell me what I have to do?
Should one more '1' exist at the second columns of "agg_status"? In other words, is it problem if there is no '1' in the second column of agg_status?
If you know how to fix this, please let me know that.
---------------
Kim Kwang Min
Mobile +82 010-5521-6393
Mail gwondori@nimbus.kr
[-- Attachment #2: Type: text/plain, Size: 146 bytes --]
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: All '0' in agg_status
2017-02-14 8:26 ` Kwang Min Kim
@ 2017-02-14 15:09 ` Valo, Kalle
2017-02-15 10:36 ` Kwang Min Kim
0 siblings, 1 reply; 6+ messages in thread
From: Valo, Kalle @ 2017-02-14 15:09 UTC (permalink / raw)
To: Kwang Min Kim; +Cc: 강경완, ath10k
Kwang Min Kim <gwondori@nimbus.kr> writes:
> I have two questions.
>
> 1. As a result of debugging 'ath10k' and 'mac80211', if there is a problem, ADDBA request and DELBA request are receive at 'station' side at the same time.
> Could it be this?
>
>
> 2. The code below seems to fix the problem. (I did not consider the impact elsewhere.)
> Is it the correct code? How do I fix the incorrect code?
>
> --- net/mac80211/iface.c
> +++ net/mac80211/iface.c
For mac80211 changes you should ask about that in linux-wireless mailing
list, but better also CC the ath10k list.
https://wireless.wiki.kernel.org/en/developers/mailinglists
--
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: All '0' in agg_status
2017-02-14 15:09 ` Valo, Kalle
@ 2017-02-15 10:36 ` Kwang Min Kim
0 siblings, 0 replies; 6+ messages in thread
From: Kwang Min Kim @ 2017-02-15 10:36 UTC (permalink / raw)
To: Valo,Kalle; +Cc: 강경완, ath10k
[-- Attachment #1.1: Type: text/plain, Size: 1116 bytes --]
I understand.
I have found several related patches that have been applied to solve the problem.
Thanks.
--
Kim Kwang Min
Mobile +82 010-5521-6393
Mail gwondori@nimbus.kr
-----Original Message-----
From: "Valo, Kalle"<kvalo@qca.qualcomm.com>
To: "Kwang Min Kim"<gwondori@nimbus.kr>;
Cc: "ath10k@lists.infradead.org"<ath10k@lists.infradead.org>; "강경완"<bigskang@nimbus.kr>;
Sent: 2017-02-15 (수) 00:09:18
Subject: Re: All '0' in agg_status
Kwang Min Kim <gwondori@nimbus.kr> writes:
> I have two questions.
>
> 1. As a result of debugging 'ath10k' and 'mac80211', if there is a problem, ADDBA request and DELBA request are receive at 'station' side at the same time.
> Could it be this?
>
>
> 2. The code below seems to fix the problem. (I did not consider the impact elsewhere.)
> Is it the correct code? How do I fix the incorrect code?
>
> --- net/mac80211/iface.c
> +++ net/mac80211/iface.c
For mac80211 changes you should ask about that in linux-wireless mailing list, but better also CC the ath10k list.
https://wireless.wiki.kernel.org/en/developers/mailinglists
--
Kalle Valo
[-- Attachment #2: Type: text/plain, Size: 146 bytes --]
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* All '0' in agg_status
[not found] <65667ea2aa7e867acb684cb64c1d07@cvweb11.wmail.nhnsystem.com>
@ 2017-01-17 11:30 ` 김광민
0 siblings, 0 replies; 6+ messages in thread
From: 김광민 @ 2017-01-17 11:30 UTC (permalink / raw)
To: ath10k; +Cc: 강경완
[-- Attachment #1.1: Type: text/plain, Size: 3566 bytes --]
Very rarely, I experience the problem that packets are serious dropped even though all wireless states(iwconfig, iw wlan0 info, fw_stats, etc.) are OK.
This problem occurs only after the AP and station are badly(?) connected, and once the connection is established normally, this problem does not occur on the good connection. And once this problem occurred, it won't be fixed by itself until the AP and the station are reconnected.
I have investigated and I have found two differences between the good connection and the bad connection.
The one is the error messages on dmesg,
<...>
[ 2826.432784] wlan0: Limiting TX power to 21 (24 - 3) dBm as advertised by 04:f0:21:20:38:09
[ 2827.296925] wlan0: Rx A-MPDU request on 04:f0:21:20:38:09 tid 0 result 0
[ 2827.297483] wlan0: Rx BA session stop requested for 04:f0:21:20:38:09 tid 0 recipient reason: 0 <--- from this line
[ 2827.297578] wlan0: Rx A-MPDU request on 04:f0:21:20:38:09 tid 0 result 0
[ 2827.298694] wlan0: Rx BA session stop requested for 04:f0:21:20:38:09 tid 0 recipient reason: 0
[ 2829.074439] wlan0: Rx A-MPDU request on 04:f0:21:20:38:09 tid 6 result 0 <-- to this line
<...>
The another difference is in "agg_status" file on Station side (/sys/kernel/debug/ieee80211/phy0/netdev:wlan0/stations/XX:XX:XX:XX:XX:XX/agg_status).
As my investigation, the file of the AP side always have one or two '1' at the second column. And the file of the station side without problem also have one or two '1'. But, there is no '1' in the file on the station where the problem occurred.
#more /sys/kernel/debug/ieee80211/phy0/netdev\:wlan0/stations/*/agg_status
next dialog_token: 0x1
TID RX DTKN SSN TX DTKN pending
00 0 0x00 0x000 0 0x00 000
01 0 0x00 0x000 0 0x00 000
02 0 0x00 0x000 0 0x00 000
03 0 0x00 0x000 0 0x00 000
04 0 0x00 0x000 0 0x00 000
05 0 0x00 0x000 0 0x00 000
06 0 0x00 0x000 0 0x00 000
07 0 0x00 0x000 0 0x00 000
08 0 0x00 0x000 0 0x00 000
09 0 0x00 0x000 0 0x00 000
10 0 0x00 0x000 0 0x00 000
11 0 0x00 0x000 0 0x00 000
12 0 0x00 0x000 0 0x00 000
13 0 0x00 0x000 0 0x00 000
14 0 0x00 0x000 0 0x00 000
15 0 0x00 0x000 0 0x00 000
Could you tell me what I have to do?
Should one more '1' exist at the second columns of "agg_status"? In other words, is it problem if there is no '1' in the second column of agg_status?
If you know how to fix this, please let me know that.
---------------
Kim Kwang Min
Mobile +82 010-5521-6393
Mail gwondori@nimbus.kr
[-- Attachment #2: Type: text/plain, Size: 146 bytes --]
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-02-15 10:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-18 7:40 All '0' in agg_status Adrian Chadd
[not found] ` <328523ea1b53d27f8a72b776481c15dc@cvweb05.wmail.nhnsystem.com>
2017-01-19 10:26 ` Kwang Min Kim
2017-02-14 8:26 ` Kwang Min Kim
2017-02-14 15:09 ` Valo, Kalle
2017-02-15 10:36 ` Kwang Min Kim
[not found] <65667ea2aa7e867acb684cb64c1d07@cvweb11.wmail.nhnsystem.com>
2017-01-17 11:30 ` 김광민
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.