Created attachment 297761 [details]
Python script to join 200 multicast groups at once
> $ ethtool -i wlp58s0: | grep firmware
> firmware-version: 36.77d01142.0
Whenever I join or leave many (100 or so) multicast groups at once, I get an error "No space in command queue" from iwlwifi. On some hardware, this even caused the wifi to disconnect (I can figure out on what hardware but I need to ask my friend first).
Packages from those groups are not received properly (on what groups precisely I could try to investigate if needed).
`ip maddr` shows that the groups are joined.
I attached a simple python script to reproduce the bug and dmesg logs for 1. joining 200 multicast groups and then 2. leaving them again. Not that both events cause the command queue run full.
Created attachment 297763 [details]
Created attachment 297835 [details]
patch to fix the issue
I'll close this here, thanks for the report. We'll continue to track our internal version of the bug until the patch lands.