Skip to content

IBSS mesh and client mode doesn't work in parallel with ath10k-ct #1584

Closed

Description

@oliver

After the general 5GHz wifi problems with AC7 and 2018.1.1+bremen1 firmware were solved (in #1561), we found out that meshing on 5GHz still does not work.

This affects all FFHB 2018.1 firmwares so far, and has (only) been tested on Archer C7 v2 so far.

Symptoms are that a 5GHz-only device (eg. CPE510) does not create a working wifi mesh connection to the AC7.

Example device: http://og-ac7-testing-2.nodes.ffhb.de (https://map.ffhb.de/#!/en/map/f4f26d70b277).
The AC7 is in the same room as a CPE510 (https://map.ffhb.de/#!/en/map/c4e984b0a84a) and a WDR3600 (https://map.ffhb.de/#!/en/map/c4e984d5138e), both with 2017.1.8+bremen1 (ie. stable) firmware.
The Stable-FW devices are meshing nicely. The AC7 is meshing only via 2.4GHz. As result, the WDR3600 meshes with both other devices while the CPE510 meshes only with WDR3600.

Interestingly the devices appear to see each other via IBSS, but still don't get a mesh connection working:

root@cpe510-og-1:~# iw dev ibss0 station dump
Station aa:85:d3:37:f0:5e (on ibss0)
	inactive time:	0 ms
	rx bytes:	167231521
	rx packets:	1267310
	tx bytes:	15690420
	tx packets:	65650
	tx retries:	2531
	tx failed:	0
	rx drop misc:	0
	signal:  	-58 [-60, -62] dBm
	signal avg:	-59 [-61, -63] dBm
	tx bitrate:	144.4 MBit/s MCS 15 short GI
	rx bitrate:	144.4 MBit/s MCS 15 short GI
	expected throughput:	46.875Mbps
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	0
	beacon interval:100
	short slot time:yes
	connected time:	5629 seconds
Station 0e:9e:42:44:91:aa (on ibss0)
	inactive time:	30 ms
	rx bytes:	73632280
	rx packets:	567327
	tx bytes:	0
	tx packets:	0
	tx retries:	0
	tx failed:	0
	rx drop misc:	0
	signal:  	-61 [-63, -65] dBm
	signal avg:	-60 [-63, -63] dBm
	tx bitrate:	6.0 MBit/s
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	0
	beacon interval:100
	short slot time:yes
	connected time:	2544 seconds

Nothing strange in batctl if:

root@og-ac7-testing-2:~# batctl if
mesh-vpn: active
ibss1: active
ibss0: active
primary0: active

I'm AFK now for a while; will post dmesg etc. later, but there's not much to see there. What info would be useful to debug this?

Activity

  1. mweinelt commented on Nov 25, 2018

    @mweinelt
    Contributor

    Please post the output of batctl n

  2. oliver commented on Nov 25, 2018

    @oliver
    Author
    root@og-ac7-testing-2:~# batctl n
    Error - no valid command or debug table specified: n
    [...]
    root@og-ac7-testing-2:~# batctl -v
    batctl 2013.4.0 [batman-adv: 2013.4.0]
    
  3. oliver commented on Nov 25, 2018

    @oliver
    Author

    Various command results of an AC7 v2 with 2018.1.1+bremen2:

    Command results of another AC7 v2 with (edit) 2017.1.8+bremen1:

  4. oliver commented on Nov 25, 2018

    @oliver
    Author
    root@og-ac7-testing-2:~# modinfo batman-adv
    module:		/lib/modules/4.4.153/batman-adv.ko
    version:	2013.4.0
    description:	B.A.T.M.A.N. advanced
    author:		Marek Lindner <lindner_marek@yahoo.de>, Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
    license:	GPL
    depends:	
    
    root@og-ac7-testing-2:~# lsmod | grep batman
    batman_adv            106595  0 
    
    root@og-ac7-testing-2:~# lsmod | wc -l
    18
    

    On 2018.1.1+bremen2 there are 18 modules loaded; on 2017.1.8+bremen1 there are 117 modules loaded! This is probably related to #1580, but I don't know whether it actually causes these problems.

    Anyway, here's lsmod output for old and new firmware:

  5. mweinelt commented on Nov 25, 2018

    @mweinelt
    Contributor

    On 2018.1.1+bremen2 there are 18 modules loaded; on 2017.1.8+bremen1 there are 117 modules loaded! This is probably related to #1580, but I don't know whether it actually causes these problems.

    Sounds like it. Please retry with the latest v2018.1.x commit and report back if that fixes the issue.

  6. neocturne commented on Nov 25, 2018

    @neocturne
    Member

    The low number of loaded module is expected, we started building as much as possible into the kernel.

  7. neocturne commented on Nov 30, 2018

    @neocturne
    Member

    To check whether the issue is in ath10k or in batadv, try if a simple ping (over IPv6 link-local) on ibss0 works.

    Unfortunately, the logs don't show anything unusual. Does the issue only occur between ath9k and ath10k devices, or is it reproducible with two ath10k devices as well?

  8. neocturne commented on Nov 30, 2018

    @neocturne
    Member

    One more thing to test: Since v2018.1, we set the htmode of 11ac devices to 'VHT20' in /etc/config/wireless, in older versions, it was always set to 'HT20'.

  9. blocktrron commented on Nov 30, 2018

    @blocktrron
    Member

    rx_bitrate is missing on iw dev ibss0 station dump, this may be a hint.

  10. oliver commented on Dec 7, 2018

    @oliver
    Author

    (sorry for the silence on my side, I'm not online a lot at the moment and will probably get to this issue in 2019. Thanks for the comments, I will try these hints)

  11. rotanid commented on Dec 7, 2018

    @rotanid
    Member

    @oliver we will close this ticket now. feel free to reopen as soon as you can provide additional information like requested

  12. oszilloskop commented on Dec 9, 2018

    @oszilloskop
    Contributor

    Same behavior with Gluon 2018.1.3 in combination with ibss, an Ubiquiti Loco M5 XW and an Ubiquiti UniFi-AC-MESH are here.

    Hint:
    rx_bitrate are missing at both devices after iw dev ibss0 station dump.
    tx_bitrate are at both just 6.0 MBit/s (same as oliver's).

    Our sites are here: https://github.com/freifunk-ffm/site-ffffm/tree/test

  13. 23 remaining items

  14. blocktrron commented on Jan 7, 2019

    @blocktrron
    Member

    @oszilloskop
    This is expected behavior. ath9k is by far more open as ath10k. If the ath10k firmware does not support the service-set combination we need, we are - simply put - out of luck.

    Maybe you can try an mt76 based device, apparently this driver sports IBSS support for 11ac (as it's "comparably libre" to ath9k), but it is flagged as broken for IBSS as it is untested.

  15. oszilloskop commented on Jan 8, 2019

    @oszilloskop
    Contributor

    I only affirmation the test results which were already reported by @oliver and @mortzu.
    In my case, the result "not at the same time" is very important. ath10k can do 5GHz ibss mesh, but not simultaneously with client network. This is different for me than "it does not work".

  16. changed the title [-]5GHz Mesh doesn't work with 2018.1[/-] [+]5 GHz IBSS mesh and client mode doesn't work[/+] on Jan 8, 2019
  17. changed the title [-]5 GHz IBSS mesh and client mode doesn't work[/-] [+]5 GHz IBSS mesh and client mode doesn't work in parallel with ath10k[/+] on Jan 8, 2019
  18. rotanid commented on Jan 8, 2019

    @rotanid
    Member

    i adjusted the title of this issue accordingly.

  19. changed the title [-]5 GHz IBSS mesh and client mode doesn't work in parallel with ath10k[/-] [+]5 GHz IBSS mesh and client mode doesn't work in parallel with ath10k-ct[/+] on Jan 8, 2019
  20. changed the title [-]5 GHz IBSS mesh and client mode doesn't work in parallel with ath10k-ct[/-] [+]IBSS mesh and client mode doesn't work in parallel with ath10k-ct[/+] on Jan 8, 2019
  21. CodeFetch commented on Jun 16, 2019

    @CodeFetch
    Contributor

    IBSS support will be dropped as described in #1747. This issue will likely not be resolved in Gluon. The issue I've opened in ath10-ct still remains open. Thus it might get fixed at some point, but there won't be a Gluon-release with this fix.

    Thus I think this can be closed now.

  22. rotanid commented on Jun 18, 2019

    @rotanid
    Member

    @CodeFetch for now it's a known issue in the current and next Gluon release.

  23. CodeFetch commented on Jun 18, 2019

    @CodeFetch
    Contributor

    Okay. I've thought that it won't get fixed is a reason for closing it as "won't fix".

  24. mweinelt commented on Jun 18, 2019

    @mweinelt
    Contributor

    "Won't fix" is a reasonable assumption, so let me tag it like this.

  25. mweinelt commented on Sep 25, 2019

    @mweinelt
    Contributor

    With the deprecation of IBSS meshing in the v2019.2 release cycle this issue is out of scope for Gluon.

    Please migrate to 802.11s in a timely fashion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. type: bugThis is a bug2. status: wontfixThe issue raised is out of scope for this project9. meta: known issueKnown issue which should be mentioned in release notes

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions