ath10k: problem mac80211 tid?
김광민
gwondori at nimbus.kr
Sun Jan 15 17:00:42 PST 2017
Hi there,
I try to connection repeat test on ath10k. And I saw problem that broken(?) mac80211 TID in /sys/kernel/debug/.../stations/XX:XX:XX:XX:XX:XX/agg_status.
The test proceeded as follows.
1. AP - Hostapd is On, STA - wpa_supplicant is On. (Connection)
2. Confirm the connection, and keep the connection for 10 seconds.
3. AP - Hostapd is Off, STA - wpa_supplicant is Off. (Disconnection)
4. Repeat this. (yes... It is a very simple test.)
I try to change 0 at value of "wmm_enabled", I couldn't see the problem.
But I want to "wmm_enabled=1", because I don't want to loss bit-rate.
Is my setting wrong? Or is it a bug? (Tell me if you need more information.)
Here my configurations and debug message. (This is a message when a problem occurs. Wifi is connection. )
module name: WLE900VX-7AA(qca9880)
ath10k fw version:
ath10k_pci 0001:02:00.0: qca988x hw2.0 (0x4100016c, 0x043202ff sub 0000:0000) fw 10.2.4.70.59-2 fwapi 5 bdapi 1 htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1 features no-p2p,raw-mode
ath10k_pci 0001:02:00.0: debug 1 debugfs 1 tracing 0 dfs 1 testmode 0
backports-version:
[ 6.607768] Loading modules backported from Linux version v4.4.2-0-g1cb8570
/etc/hostapd.conf:
ctrl_interface=/var/run/hostapd
interface=wlan0
driver=nl80211
ht_capab=[HT40+]
channel=124
ssid=WiMi_0007C9
hw_mode=a
ieee80211n=1
country_code=US
ieee80211d=1
ieee80211h=1
chanlist=52 60 100 108 116 126 132
max_num_sta=32
macaddr_acl=0
wpa=3
wpa_key_mgmt=WPA-PSK
wpa_passphrase=xyjWiMi_0007C9
wpa_group_rekey=60
ap_max_inactivity=60
wpa_gmk_rekey=86400
wpa_pairwise=TKIP CCMP
/etc/wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
network={
scan_ssid=1
ssid="XXXX_SSID"
psk="XXXXXXXX"
priority=5
}
backports configs(cat .config grep "y" grep <KERNEL CONFIGS>):
# Automatically generated file; DO NOT EDIT.
CPTCFG_WIRELESS=y
CPTCFG_NET_CORE=y
CPTCFG_EXPERT=y
CPTCFG_BP_MODULES=y
CPTCFG_BPAUTO_BUILD_DMA_SHARED_HELPERS=y
CPTCFG_BPAUTO_CRYPTO_CCM=y
CPTCFG_BPAUTO_RHASHTABLE=y
CPTCFG_CFG80211_CERTIFICATION_ONUS=y
CPTCFG_CFG80211_DEFAULT_PS=y
CPTCFG_CFG80211_INTERNAL_REGDB=y
CPTCFG_CFG80211_CRDA_SUPPORT=y
CPTCFG_CFG80211_WEXT=y
CPTCFG_MAC80211_HAS_RC=y
CPTCFG_MAC80211_RC_MINSTREL=y
CPTCFG_MAC80211_RC_MINSTREL_HT=y
CPTCFG_MAC80211_RC_MINSTREL_VHT=y
CPTCFG_MAC80211_RC_DEFAULT_MINSTREL=y
CPTCFG_MAC80211_DEBUGFS=y
CPTCFG_MAC80211_DEBUG_MENU=y
CPTCFG_MAC80211_VERBOSE_DEBUG=y
CPTCFG_MAC80211_MLME_DEBUG=y
CPTCFG_MAC80211_STA_DEBUG=y
CPTCFG_MAC80211_HT_DEBUG=y
CPTCFG_MAC80211_OCB_DEBUG=y
CPTCFG_MAC80211_IBSS_DEBUG=y
CPTCFG_MAC80211_PS_DEBUG=y
CPTCFG_MAC80211_TDLS_DEBUG=y
CPTCFG_MAC80211_DEBUG_COUNTERS=y
CPTCFG_WLAN=y
CPTCFG_ATH_DEBUG=y
CPTCFG_ATH10K_DEBUG=y
CPTCFG_ATH10K_DEBUGFS=y
CPTCFG_ATH10K_DFS_CERTIFIED=y
CPTCFG_SSB_POSSIBLE=y
CPTCFG_BCMA_POSSIBLE=y
agg_status:
]#cat /sys/kernel/debug/ieee80211/phy0/netdev\:wlan0/stations/04\:f0\
:21\:2c\:69\:71/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
dmesg:
[ 2725.169402] wlan0: moving STA 04:f0:21:20:38:09 to state 3
[ 2725.169438] wlan0: moving STA 04:f0:21:20:38:09 to state 2
[ 2725.169460] wlan0: moving STA 04:f0:21:20:38:09 to state 1
[ 2725.169869] wlan0: Removed STA 04:f0:21:20:38:09
[ 2725.170127] wlan0: Destroyed STA 04:f0:21:20:38:09
[ 2725.174538] cfg80211: World regulatory domain updated:
[ 2725.174653] cfg80211: DFS Master region: unset
[ 2725.174753] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 2725.174798] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 2725.174826] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 2725.174853] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 2725.174885] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 180000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 2725.174919] cfg80211: (5250000 KHz - 5350000 KHz @ 80000 KHz, 180000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 2725.174949] cfg80211: (5470000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 2725.174977] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 2725.175004] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 2761.022673] ath10k_pci 0001:02:00.0: no channel configured; ignoring frame(s)!
[ 2765.172015] ath10k_pci 0001:02:00.0: no channel configured; ignoring frame(s)!
[ 2774.053554] wlan0: authenticate with 04:f0:21:20:38:09
[ 2774.053605] wlan0: Allocated STA 04:f0:21:20:38:09
[ 2774.063284] wlan0: Inserted STA 04:f0:21:20:38:09
[ 2774.063321] wlan0: send auth to 04:f0:21:20:38:09 (try 1/3)
[ 2774.065804] wlan0: authenticated
[ 2774.065841] wlan0: moving STA 04:f0:21:20:38:09 to state 2
[ 2774.068796] wlan0: associate with 04:f0:21:20:38:09 (try 1/3)
[ 2774.083386] wlan0: RX AssocResp from 04:f0:21:20:38:09 (capab=0x11 status=0 aid=1)
[ 2774.083446] wlan0: moving STA 04:f0:21:20:38:09 to state 3
[ 2774.083471] wlan0: moving STA 04:f0:21:20:38:09 to state 4
[ 2774.083515] wlan0: WMM AC=0 acm=0 aifs=2 cWmin=3 cWmax=7 txop=47 uapsd=0, downgraded=0
[ 2774.083917] wlan0: WMM AC=1 acm=0 aifs=2 cWmin=7 cWmax=15 txop=94 uapsd=0, downgraded=0
[ 2774.084354] wlan0: WMM AC=2 acm=0 aifs=3 cWmin=15 cWmax=1023 txop=0 uapsd=0, downgraded=0
[ 2774.084668] wlan0: WMM AC=3 acm=0 aifs=7 cWmin=15 cWmax=1023 txop=0 uapsd=0, downgraded=0
[ 2774.088267] wlan0: associated
[ 2775.057047] wlan0: Rx A-MPDU request on 04:f0:21:20:38:09 tid 0 result 0
[ 2813.885488] wlan0: deauthenticated from 04:f0:21:20:38:09 (Reason: 3=DEAUTH_LEAVING)
[ 2813.885877] wlan0: Rx BA session stop requested for 04:f0:21:20:38:09 tid 0 recipient reason: 36
[ 2813.887358] wlan0: moving STA 04:f0:21:20:38:09 to state 3
[ 2813.887393] wlan0: moving STA 04:f0:21:20:38:09 to state 2
[ 2813.887415] wlan0: moving STA 04:f0:21:20:38:09 to state 1
[ 2813.887829] wlan0: Removed STA 04:f0:21:20:38:09
[ 2813.888090] wlan0: Destroyed STA 04:f0:21:20:38:09
[ 2813.891283] cfg80211: World regulatory domain updated:
[ 2813.891374] cfg80211: DFS Master region: unset
[ 2813.891396] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 2813.891515] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 2813.891549] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 2813.891577] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 2813.891609] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 180000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 2813.891643] cfg80211: (5250000 KHz - 5350000 KHz @ 80000 KHz, 180000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 2813.891674] cfg80211: (5470000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 2813.891702] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 2813.891730] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 2822.770025] ath10k_pci 0001:02:00.0: no channel configured; ignoring frame(s)!
[ 2826.333585] wlan0: authenticate with 04:f0:21:20:38:09
[ 2826.333637] wlan0: Allocated STA 04:f0:21:20:38:09
[ 2826.341378] wlan0: Inserted STA 04:f0:21:20:38:09
[ 2826.341416] wlan0: send auth to 04:f0:21:20:38:09 (try 1/3)
[ 2826.343861] wlan0: authenticated
[ 2826.343900] wlan0: moving STA 04:f0:21:20:38:09 to state 2
[ 2826.344857] wlan0: associate with 04:f0:21:20:38:09 (try 1/3)
[ 2826.350868] wlan0: RX AssocResp from 04:f0:21:20:38:09 (capab=0x111 status=0 aid=1)
[ 2826.350930] wlan0: moving STA 04:f0:21:20:38:09 to state 3
[ 2826.350956] wlan0: moving STA 04:f0:21:20:38:09 to state 4
[ 2826.351002] wlan0: WMM AC=0 acm=0 aifs=2 cWmin=3 cWmax=7 txop=47 uapsd=0, downgraded=0
[ 2826.351459] wlan0: WMM AC=1 acm=0 aifs=2 cWmin=7 cWmax=15 txop=94 uapsd=0, downgraded=0
[ 2826.351844] wlan0: WMM AC=2 acm=0 aifs=3 cWmin=15 cWmax=1023 txop=0 uapsd=0, downgraded=0
[ 2826.352154] wlan0: WMM AC=3 acm=0 aifs=7 cWmin=15 cWmax=1023 txop=0 uapsd=0, downgraded=0
[ 2826.357207] wlan0: associated
[ 2826.357918] cfg80211: Regulatory domain changed to country: US
[ 2826.358116] cfg80211: DFS Master region: FCC
[ 2826.358143] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 2826.358176] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 2826.358208] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 180000 KHz AUTO), (N/A, 2400 mBm), (N/A)
[ 2826.358241] cfg80211: (5250000 KHz - 5350000 KHz @ 80000 KHz, 180000 KHz AUTO), (N/A, 2400 mBm), (0 s)
[ 2826.358275] cfg80211: (5470000 KHz - 5730000 KHz @ 160000 KHz, 260000 KHz AUTO), (N/A, 2400 mBm), (0 s)
[ 2826.358305] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 2826.358332] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 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
[ 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
----------------
Kim Kwang Min
Mobile +82 010-5521-6393
Mail gwondori at nimbus.kr
More information about the ath10k
mailing list