Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#891060: Atheros AR9271 ath9k_htc USB WiFi connected but IP traffic stops

43 views
Skip to first unread message

Ben Caradoc-Davies

unread,
Feb 21, 2018, 9:20:03 PM2/21/18
to
Package: src:linux
Version: 4.15.4-1
Severity: normal

Dear Maintainer,

starting with 4.14.17-1 and also seen on 4.15.4-1, my USB Wifi adapter remains
connected to my WPA2/CCMP access point but, after some time, minutes to hours,
all IP traffic stops (or at least I see no responses). IP traffic remains
stopped until the ath9k_htc module is unloaded and reloaded or the adapter is
unplugged and replugged. Operation can be restored with "modprobe -r ath9k_htc;
modprobe ath9k_htc".

This failure was not seen on 4.14.13-1.

Configuration:

- TP-Link TL-WN722N adapter

- Atheros AR9271 chipset

- USB ID: 0cf3:9271

- Module: ath9k_htc

- firmware-atheros (20170823-1) (firmware ath9k_htc/htc_9271-1.4.0.fw)

When IP traffic stops, no web pages load, "dig google.com" fails, and I cannot
ping any WLAN hosts including the router:

$ ping -c 1 router
PING router (192.168.1.254) 56(84) bytes of data.
From ripley (192.168.1.1) icmp_seq=1 Destination Host Unreachable

--- router ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms


When IP traffic is stopped, "route" output is normal.

The adapter is still responding:

- NetworkManager applet shows connection with full details

- "iw dev wlan0 link" shows still connected and byte and packet counters keep
increasing

- "iw dev wlan0 station dump" shows byte and packet counters that keep
increasing

# iw dev wlan0 link
Connected to XX:XX:XX:XX:XX (on wlan0)
SSID: XXXXXXXX
freq: 2412
RX: 15588967 bytes (64499 packets)
TX: 811882 bytes (6877 packets)
signal: -75 dBm
tx bitrate: 72.2 MBit/s MCS 7 short GI

bss flags: short-slot-time
dtim period: 1
beacon int: 100

# iw dev wlan0 station dump
Station XX:XX:XX:XX:XX:XX (on wlan0)
inactive time: 320 ms
rx bytes: 15726309
rx packets: 65777
tx bytes: 819051
tx packets: 6967
tx retries: 0
tx failed: 9
beacon loss: 0
beacon rx: 27523
rx drop misc: 30
signal: -74 [-79] dBm
signal avg: -74 [-78] dBm
beacon signal avg: 182 dBm
tx bitrate: 72.2 MBit/s MCS 7 short GI
rx bitrate: 1.0 MBit/s
authorized: yes
authenticated: yes
associated: yes
preamble: long
WMM/WME: yes
MFP: no
TDLS peer: no
DTIM period: 1
beacon interval:100
short slot time:yes

(I am using net.ifnames=0 hence wlan0.)

Investigation:

- Testing a different modem of the exact same model does not fix so it is
unlikely to be a hardware failure

- ath9k_htc nohwcrypt=1 does not fix

- Switching to firmware-ath9k-htc (1.4.0-97-g75b3e59+dfsg-1) (firmware
ath9k_htc/htc_9271-1.dev.0.fw) does not fix

- NetworkManager debug logging had no output at the time of the hang: dbus-send
--system --print-reply --dest=org.freedesktop.NetworkManager
/org/freedesktop/NetworkManager org.freedesktop.NetworkManager.SetLogging
string:"debug" string:""

- Dropping iptables has no effect.

- linux-image-4.14.0-3-amd64 (4.14.13-1) not affected (or at least not yet
seen)

- linux-image-4.14.0-3-amd64 (4.14.17-1) AFFECTED

- linux-image-4.15.0-1-amd64 (4.15.4-1) AFFECTED

- pti=off has no effect

I have downgraded to 4.14.13-1, but booted into an affected kernel for the
purpose of this report. I needed to reload the ath9k_htc module twice while
submitting this report!

Kind regards,
Ben.



-- Package-specific info:
** Version:
Linux version 4.15.0-1-amd64 (debian...@lists.debian.org) (gcc version 7.3.0 (Debian 7.3.0-3)) #1 SMP Debian 4.15.4-1 (2018-02-18)

** Command line:
BOOT_IMAGE=/vmlinuz-4.15.0-1-amd64 root=/dev/mapper/vg-root ro quiet net.ifnames=0 apparmor=0 splash

** Tainted: W (512)
* Taint on warning.

** Kernel log:
Unable to read kernel log; any relevant messages should be attached

** Model information
sys_vendor: System manufacturer
product_name: System Product Name
product_version: System Version
chassis_vendor: Default string
chassis_version: Default string
bios_vendor: American Megatrends Inc.
bios_version: 3601
board_vendor: ASUSTeK COMPUTER INC.
board_name: H110I-PLUS
board_version: Rev X.0x

** Loaded modules:
ath9k_htc
ath9k_common
ath9k_hw
ath
mac80211
cfg80211
ctr
ccm
arc4
ip6t_REJECT
nf_reject_ipv6
nf_conntrack_ipv6
nf_defrag_ipv6
ip6table_filter
ip6_tables
ipt_REJECT
nf_reject_ipv4
xt_tcpudp
nf_conntrack_ipv4
nf_defrag_ipv4
xt_conntrack
nf_conntrack
iptable_filter
snd_hda_codec_hdmi
binfmt_misc
snd_hda_codec_realtek
snd_hda_codec_generic
nls_ascii
nls_cp437
vfat
fat
intel_rapl
x86_pkg_temp_thermal
intel_powerclamp
coretemp
snd_hda_intel
kvm_intel
snd_hda_codec
kvm
irqbypass
intel_cstate
snd_hda_core
eeepc_wmi
snd_hwdep
efi_pstore
intel_uncore
asus_wmi
sparse_keymap
joydev
intel_rapl_perf
efivars
snd_pcm
rfkill
wmi_bmof
snd_timer
sg
mei_me
pcspkr
iTCO_wdt
snd
iTCO_vendor_support
mei
soundcore
shpchp
evdev
acpi_pad
parport_pc
ppdev
lp
parport
efivarfs
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
fscrypto
ecb
btrfs
zstd_decompress
zstd_compress
xxhash
algif_skcipher
af_alg
dm_crypt
dm_mod
hid_generic
usbhid
hid
raid10
raid456
async_raid6_recov
async_memcpy
async_pq
async_xor
async_tx
xor
raid6_pq
libcrc32c
crc32c_generic
raid1
raid0
multipath
linear
md_mod
sd_mod
crct10dif_pclmul
crc32_pclmul
crc32c_intel
ghash_clmulni_intel
mxm_wmi
pcbc
i915
aesni_intel
ahci
i2c_algo_bit
aes_x86_64
libahci
crypto_simd
glue_helper
xhci_pci
drm_kms_helper
cryptd
xhci_hcd
libata
r8169
i2c_i801
mii
usbcore
scsi_mod
drm
usb_common
fan
thermal
wmi
video
button

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation Intel Kaby Lake Host Bridge [8086:591f] (rev 05)
Subsystem: ASUSTeK Computer Inc. Intel Kaby Lake Host Bridge [1043:8694]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0
Capabilities: <access denied>

00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 630 [8086:5912] (rev 04) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. HD Graphics 630 [1043:8694]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 123
Region 0: Memory at f6000000 (64-bit, non-prefetchable) [size=16M]
Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at f000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915

00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31) (prog-if 30 [XHCI])
Subsystem: ASUSTeK Computer Inc. Sunrise Point-H USB 3.0 xHCI Controller [1043:8694]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 120
Region 0: Memory at f7110000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31)
Subsystem: ASUSTeK Computer Inc. Sunrise Point-H CSME HECI [1043:8694]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 124
Region 0: Memory at f712d000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: mei_me
Kernel modules: mei_me

00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] [8086:a102] (rev 31) (prog-if 01 [AHCI 1.0])
Subsystem: ASUSTeK Computer Inc. Sunrise Point-H SATA controller [AHCI mode] [1043:8694]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 121
Region 0: Memory at f7128000 (32-bit, non-prefetchable) [size=8K]
Region 1: Memory at f712c000 (32-bit, non-prefetchable) [size=256]
Region 2: I/O ports at f090 [size=8]
Region 3: I/O ports at f080 [size=4]
Region 4: I/O ports at f060 [size=32]
Region 5: Memory at f712b000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci

00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #5 [8086:a114] (rev f1) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: c8000000-c81fffff
Prefetchable memory behind bridge: 00000000c8200000-00000000c83fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #9 [8086:a118] (rev f1) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: c8400000-c85fffff
Prefetchable memory behind bridge: 00000000c8600000-00000000c87fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1d.1 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #10 [8086:a119] (rev f1) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 17
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: f7000000-f70fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a143] (rev 31)
Subsystem: ASUSTeK Computer Inc. Sunrise Point-H LPC Controller [1043:8694]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a121] (rev 31)
Subsystem: ASUSTeK Computer Inc. Sunrise Point-H PMC [1043:8694]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Region 0: Memory at f7124000 (32-bit, non-prefetchable) [disabled] [size=16K]

00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio [8086:a170] (rev 31)
Subsystem: ASUSTeK Computer Inc. Sunrise Point-H HD Audio [1043:86c7]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 125
Region 0: Memory at f7120000 (64-bit, non-prefetchable) [size=16K]
Region 4: Memory at f7100000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 31)
Subsystem: ASUSTeK Computer Inc. Sunrise Point-H SMBus [1043:8694]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 16
Region 0: Memory at f712a000 (64-bit, non-prefetchable) [size=256]
Region 4: I/O ports at f040 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801

03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:8677]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 122
Region 0: I/O ports at e000 [size=256]
Region 2: Memory at f7004000 (64-bit, non-prefetchable) [size=4K]
Region 4: Memory at f7000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169


** USB devices:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 001 Device 003: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-4.15.0-1-amd64 depends on:
ii initramfs-tools [linux-initramfs-tool] 0.130
ii kmod 25-1
ii linux-base 4.5

Versions of packages linux-image-4.15.0-1-amd64 recommends:
ii apparmor 2.12-2
ii firmware-linux-free 3.4
ii irqbalance 1.3.0-0.1

Versions of packages linux-image-4.15.0-1-amd64 suggests:
pn debian-kernel-handbook <none>
ii extlinux 3:6.03+dfsg1-2
ii grub-efi-amd64 2.02+dfsg1-1
pn linux-doc-4.15 <none>

Versions of packages linux-image-4.15.0-1-amd64 is related to:
ii firmware-amd-graphics 20170823-1
ii firmware-atheros 20170823-1
pn firmware-bnx2 <none>
pn firmware-bnx2x <none>
ii firmware-brcm80211 20170823-1
pn firmware-cavium <none>
pn firmware-intel-sound <none>
pn firmware-intelwimax <none>
pn firmware-ipw2x00 <none>
pn firmware-ivtv <none>
pn firmware-iwlwifi <none>
pn firmware-libertas <none>
ii firmware-linux-nonfree 20170823-1
ii firmware-misc-nonfree 20170823-1
pn firmware-myricom <none>
pn firmware-netxen <none>
pn firmware-qlogic <none>
ii firmware-realtek 20170823-1
pn firmware-samsung <none>
pn firmware-siano <none>
pn firmware-ti-connectivity <none>
pn xen-hypervisor <none>

-- no debconf information

Ben Caradoc-Davies

unread,
Feb 21, 2018, 9:40:03 PM2/21/18
to
It is also worth noting that, in addition to the packet and byte
counters increasing, the activity LED on the adapter continues to blink
while IP traffic is stopped.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand

Ben Caradoc-Davies

unread,
Feb 25, 2018, 4:30:04 PM2/25/18
to
I have identified he problematic commit as
7b6ddeaf27eca72795ceeae2f0f347db1b5f9a30 ("mac80211: use QoS NDP for AP
probing") on torvalds/master and linux-stable/linux-4.15.y. On
linux-stable/linux-4.14.y: e23090a7d8f05f03cf564148472130286f5ca9bf.

Attached patch reverts this commit. I have submitted the patch upstream.
It applies (with a little fuzz) against Debian 4.15.4-1.

From the patch:

The above commit causes an Atheros AR9271 ath9k_htc USB WiFi adapter
connected to an AP with QoS/WME enabled to lose all IP connectivity after
something like 10 to 90 minutes. The adapter remains up and associated
and "iw dev wlan0 station dump" shows byte and packet counters that keep
increasing, but all IP connectivity fails, including ping, DNS, and web.
The host cannot be pinged by other hosts on the WLAN. Network can be
restored by unloading and reloading the ath9k_htc module, or physically
unplugging and replugging the adapter, triggering NetworkManager to
reconnect.

[...]

Problem confirmed on Debian linux-image-4.14.0-3-amd64 4.14.17-1 and
Debian linux-image-4.15.0-1-amd64 4.15.4-1 and vanilla 4.14.16
(git e23090a7d8f0 from linux-stable/linux-4.14.y) and vanilla 4.16.0-rc2
(git 3664ce2d9309 from torvalds/master).

Fix tested by reverting the commit on vanilla 4.16.0-rc2 (git 3664ce2d9309
from torvalds/master) and applying the patch to Debian
linux-image-4.15.0-1-amd64 4.15.4-1. Both tests resulted in stable IP
connectivity.
revert-mac80211-use-qos-ndp-for-ap-probing.patch

Ben Caradoc-Davies

unread,
Mar 17, 2018, 5:20:03 PM3/17/18
to
My first patch ("Revert "mac80211: use QoS NDP for AP probing"")
<https://patchwork.kernel.org/patch/10241109/>, a simple revert of the
commit that causes the failure, was rejected upstream. I have submitted
a new patch ("mac80211: add ieee80211_hw flag for QoS NDP support")
<https://patchwork.kernel.org/patch/10290959/>. I have attached this
patch, made against torvalds/master, and also a backport for v4.15.4
from linux-stable that can be used to rebuild linux-image-4.15.0-1-amd64
4.15.4-1.
mac80211-add-ieee80211-hw-flag-for-qos-ndp-support.patch
mac80211-add-ieee80211-hw-flag-for-qos-ndp-support-backport.patch

Ben Caradoc-Davies

unread,
Mar 18, 2018, 8:10:02 PM3/18/18
to
Patch revised to add debugfs support for the new flag:
https://patchwork.kernel.org/patch/10291439/

Revised patches for master and 4.15.4 attached.
mac80211-add-ieee80211-hw-flag-for-qos-ndp-support.patch
mac80211-add-ieee80211-hw-flag-for-qos-ndp-support-backport.patch

Ben Caradoc-Davies

unread,
Mar 21, 2018, 7:40:03 PM3/21/18
to
Modified patch accepted upstream:

mac80211: add ieee80211_hw flag for QoS NDP support
https://patchwork.kernel.org/patch/10299025/

Also requires a new one-line patch from the module maintainer to turn on
the new flag:

ath9k_htc: use non-QoS NDP for AP probing
https://patchwork.kernel.org/patch/10299031/

Patches attached. Note that the mac80211 patch for master will not apply
to 4.15.x source which lacks TDLS_BUFFER_STA change; please use the
backport version ("...-backport.patch) of the mac80211 patch, also
attached, for 4.15.x, where it applies cleanly.
ath9k_htc-use-non-QoS-NDP-for-AP-probing.patch
mac80211-add-ieee80211_hw-flag-for-QoS-NDP-support.patch
mac80211-add-ieee80211_hw-flag-for-QoS-NDP-support-backport.patch

Ben Caradoc-Davies

unread,
Mar 23, 2018, 6:50:03 PM3/23/18
to
On 22/03/18 12:38, Ben Caradoc-Davies wrote:
> Modified patch accepted upstream:
> mac80211: add ieee80211_hw flag for QoS NDP support
> https://patchwork.kernel.org/patch/10299025/
> Also requires a new one-line patch from the module maintainer to turn on
> the new flag:
> ath9k_htc: use non-QoS NDP for AP probing
> https://patchwork.kernel.org/patch/10299031/
> Patches attached. Note that the mac80211 patch for master will not apply
> to 4.15.x source which lacks TDLS_BUFFER_STA change; please use the
> backport version ("...-backport.patch) of the mac80211 patch, also
> attached, for 4.15.x, where it applies cleanly.

These two patches have been merged into mainline torvalds/master and
should be included in 4.16-rc7:

mac80211: add ieee80211_hw flag for QoS NDP support
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c181f4fcdc62e5dc7a87fd33387d322262c3b52

ath9k_htc: use non-QoS NDP for AP probing
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=60b01bcce97191f473fa869df2713143936d6ef4
0 new messages