ATH11K Archive on lore.kernel.org
 help / color / mirror / Atom feed
* ath11k: QCN9074: low HE-MCS index
@ 2023-06-26 12:27 Tanguy Serrat
  2023-06-26 13:50 ` Linux regression tracking (Thorsten Leemhuis)
  2023-07-11  6:49 ` Kalle Valo
  0 siblings, 2 replies; 10+ messages in thread
From: Tanguy Serrat @ 2023-06-26 12:27 UTC (permalink / raw)
  To: ath11k

[-- Attachment #1: Type: text/plain, Size: 2398 bytes --]

Hi everyone,

In my quest to get 2x QCN9074 paired and achieving high throughput
data transfers, I am now facing issues with the AP configuration.

Specifically, I cannot get more than HE-MCS 5 (AP and client 50cm
apart) although SNR and RSSI are always very strong and supposedly in
specs (SNR > 40db or RSSI < -48db).

iw wlp6s0 link
Connected to 00:15:61:27:cd:dc (on wlp6s0)
SSID: Space
freq: 5745
RX: 1073584482 bytes (708567 packets)
TX: 355824214 bytes (256143 packets)
signal: -40 dBm
rx bitrate: 1729.3 MBit/s 160MHz HE-MCS 4 HE-NSS 4 HE-GI 0 HE-DCM 0
tx bitrate: 1729.3 MBit/s 160MHz HE-MCS 4 HE-NSS 4 HE-GI 0 HE-DCM 0

In this case iperf3 shows ~950Mbits/s transfer speed. I am hoping to
get at least twice as much.

It seems to me that either mac80211, ath11k or hostapd are not
advertising the available capabilities correctly. I have tried setting
hostapd he_basic_mcs_set=65530 or others but did not help.

I have added ieee80211_regdom=FR option to cfg80211 module on the AP
side. Channel selection is done with ACS survey. I also tried other
channels/frequencies without success eg. 5500Mhz.

iw reg get
global
country FR: DFS-ETSI
(2400 - 2483 @ 40), (N/A, 20), (N/A)
(5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
(5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
(5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
(5725 - 5875 @ 80), (N/A, 13), (N/A)
(5945 - 6425 @ 160), (N/A, 23), (N/A), NO-OUTDOOR
(57000 - 71000 @ 2160), (N/A, 40), (N/A)

phy#0 (self-managed)
country US: DFS-FCC
(2402 - 2472 @ 40), (6, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 30), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW
(5490 - 5730 @ 160), (N/A, 24), (0 ms), DFS, AUTO-BW
(5735 - 5895 @ 160), (N/A, 30), (N/A), AUTO-BW
(5945 - 7125 @ 160), (N/A, 27), (N/A), NO-OUTDOOR, AUTO-BW

Current setup is:
- Intel x86
- Ubuntu 22.04
- Kernel built from ath 6.4.0-rc6-wt-ath+ (commit:
c60d15f389ef9832a8da410e438d81b10327751f)
with commit reverted from the bug ticket I opened
(https://bugzilla.kernel.org/show_bug.cgi?id=217536).
- 1x QCN9074 as AP, 1x as managed client 50cm apart
- Both AP and Client are running with the latest 2.7.0 FW.

I have started from this ticket
(https://bugzilla.kernel.org/show_bug.cgi?id=217286) hostapd config
file, and adapted, please find attached.

Anyone seeing what could be my issue / how I could debug further ?

Thank you !
Tanguy

[-- Attachment #2: hostapd_ath11k.conf --]
[-- Type: application/octet-stream, Size: 1073 bytes --]

ctrl_interface=/var/run/hostapd
driver=nl80211
interface=wlp4s0
country_code=FR
#bridge=lbr0
ssid=Space
#ignore_broadcast_ssid=0
max_num_sta=256
dtim_period=4
wmm_enabled=1
ieee80211ax=1
ieee80211ac=1
ieee80211n=1
hw_mode=a
channel=0
he_oper_centr_freq_seg0_idx=
he_oper_chwidth=2

ieee80211d=1
ieee80211h=1
#freqlist=5500

he_su_beamformer=1
he_su_beamformee=1
he_mu_beamformer=1
#he_oper_centr_freq_seg0_idx=
#he_oper_centr_freq_seg1_idx=
he_bss_color=1
#he_default_pe_duration=0
#he_twt_required=0
#he_rts_threshold=0

#he_basic_mcs_nss_set=65530


ht_capab=[LDPC][SMPS-DYNAMIC][TX-STBC][RX-STBC-1][MAX-AMSDU-7935][DSSS_CCK-40][HT40+][SHORT-GI-40]
vht_capab=[MAX-MPDU-11454][VHT160-80PLUS80][RXLDPC][SHORT-GI-80][SHORT-GI-160][TX-STBC-2BY1][RX-STBC1][SU-BEAMFORMER][SOUNDING-DIMENSION-4][SU-BEAMFORMEE][MAX-A-MPDU-LEN-EXP7][MU-BEAMFORMER][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN]
auth_algs=1
wpa=2
wpa_key_mgmt=WPA-PSK  
wpa_pairwise=CCMP
ieee80211w=0
wpa_passphrase=12345678
#wps_independent=1
eap_server=1
#wps_state=2
#ap_setup_locked=0
#wps_rf_bands=a
#macaddr_acl=0

[-- Attachment #3: Type: text/plain, Size: 102 bytes --]

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-09-27  7:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-26 12:27 ath11k: QCN9074: low HE-MCS index Tanguy Serrat
2023-06-26 13:50 ` Linux regression tracking (Thorsten Leemhuis)
2023-07-10 11:01   ` Tanguy Serrat
2023-07-10 11:54     ` Thorsten Leemhuis
2023-07-11  6:49 ` Kalle Valo
2023-07-11  8:15   ` Tanguy Serrat
2023-07-11  8:39     ` Kalle Valo
2023-07-12  8:37       ` Tanguy Serrat
2023-09-26 11:05         ` Tanguy Serrat
2023-09-27  7:16           ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox