* ath10k mesh + ap + encryption?
@ 2016-09-13 8:00 Simon Wunderlich
2016-09-13 10:59 ` Valo, Kalle
0 siblings, 1 reply; 13+ messages in thread
From: Simon Wunderlich @ 2016-09-13 8:00 UTC (permalink / raw)
To: ath10k@lists.infradead.org; +Cc: openwrt-devel, linux-wireless
[-- Attachment #1.1: Type: text/plain, Size: 1111 bytes --]
Hi,
we have done some experiments last week on ath10k, trying to run mesh
(802.11s) and access point at the same time, both encrypted.
We have tested a recent LEDE (reboot-1519-g42f559e) but with
firmware-5.bin_10.2.4.70.42-2 and the included wpa_supplicant, which gave us a
working encrypted 802.11s network. However, starting an AP at the same time
didn't work (AP doesn't beacon). This wasn't a problem when 802.11s was
running unencrypted.
We also tested version 10.2.4.97 (from codeaurora), which is now default in
LEDE. However, this version apparently doesn't support 11s mesh at all
(WMI_SERVICE_MESH_11S is disabled in the service map, but cfg/mac80211
advertises support).
So here are my questions:
* Did anyone succesfully run AP and mesh, both encrypted at the same time?
* Do you have any pointers how we could fix this? Could it be fixable in the
driver (i.e. not in firmware)?
* Does anyone have an idea if 11s will be supported in future versions? I
didn't find any changelogs, but having 11s mode no longer in the service map
does not make me optimistic.
Thanks,
Simon
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
[-- Attachment #2: Type: text/plain, Size: 146 bytes --]
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: ath10k mesh + ap + encryption? 2016-09-13 8:00 ath10k mesh + ap + encryption? Simon Wunderlich @ 2016-09-13 10:59 ` Valo, Kalle 2016-09-13 11:13 ` Simon Wunderlich 0 siblings, 1 reply; 13+ messages in thread From: Valo, Kalle @ 2016-09-13 10:59 UTC (permalink / raw) To: Simon Wunderlich Cc: openwrt-devel@lists.openwrt.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Simon Wunderlich <sw@simonwunderlich.de> writes: > we have done some experiments last week on ath10k, trying to run mesh > (802.11s) and access point at the same time, both encrypted. > > We have tested a recent LEDE (reboot-1519-g42f559e) but with > firmware-5.bin_10.2.4.70.42-2 and the included wpa_supplicant, which gave us a > working encrypted 802.11s network. However, starting an AP at the same time > didn't work (AP doesn't beacon). This wasn't a problem when 802.11s was > running unencrypted. > > We also tested version 10.2.4.97 (from codeaurora), which is now default in > LEDE. However, this version apparently doesn't support 11s mesh at all > (WMI_SERVICE_MESH_11S is disabled in the service map, but cfg/mac80211 > advertises support). > > So here are my questions: > > * Did anyone succesfully run AP and mesh, both encrypted at the same time? > * Do you have any pointers how we could fix this? Could it be fixable in the > driver (i.e. not in firmware)? > * Does anyone have an idea if 11s will be supported in future versions? I > didn't find any changelogs, but having 11s mode no longer in the service map > does not make me optimistic. Why is LEDE using 10.2.4.97? It seems to be a quite old release and I have no knowledge if anyone even tests that firmware branch with ath10k. I recommend to only use firmware releases from ath10k-firmware.git as we use those internally with ath10k. In any case, don't make any assumptions about future from that firmware branch as it's so old. -- Kalle Valo _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ath10k mesh + ap + encryption? 2016-09-13 10:59 ` Valo, Kalle @ 2016-09-13 11:13 ` Simon Wunderlich 2016-09-13 11:25 ` Valo, Kalle 2016-09-13 18:54 ` Martin Blumenstingl 0 siblings, 2 replies; 13+ messages in thread From: Simon Wunderlich @ 2016-09-13 11:13 UTC (permalink / raw) To: Valo, Kalle Cc: Martin Blumenstingl, openwrt-devel@lists.openwrt.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org [-- Attachment #1.1: Type: text/plain, Size: 2398 bytes --] On Tuesday, September 13, 2016 10:59:31 AM CEST Valo, Kalle wrote: > Simon Wunderlich <sw@simonwunderlich.de> writes: > > we have done some experiments last week on ath10k, trying to run mesh > > (802.11s) and access point at the same time, both encrypted. > > > > We have tested a recent LEDE (reboot-1519-g42f559e) but with > > firmware-5.bin_10.2.4.70.42-2 and the included wpa_supplicant, which gave > > us a working encrypted 802.11s network. However, starting an AP at the > > same time didn't work (AP doesn't beacon). This wasn't a problem when > > 802.11s was running unencrypted. > > > > We also tested version 10.2.4.97 (from codeaurora), which is now default > > in > > LEDE. However, this version apparently doesn't support 11s mesh at all > > (WMI_SERVICE_MESH_11S is disabled in the service map, but cfg/mac80211 > > advertises support). > > > > So here are my questions: > > * Did anyone succesfully run AP and mesh, both encrypted at the same > > time? > > * Do you have any pointers how we could fix this? Could it be fixable in > > the> > > driver (i.e. not in firmware)? > > > > * Does anyone have an idea if 11s will be supported in future versions? I > > > > didn't find any changelogs, but having 11s mode no longer in the service > > map does not make me optimistic. > > Why is LEDE using 10.2.4.97? It seems to be a quite old release and I > have no knowledge if anyone even tests that firmware branch with ath10k. > I recommend to only use firmware releases from ath10k-firmware.git as we > use those internally with ath10k. In any case, don't make any > assumptions about future from that firmware branch as it's so old. This was introduced in December 25th, 2015 after some firmware-related problems. I'm CC'ing Martin Blumenstingl who suggested this change. Since then, ath10k is pulling firmware from here (unless ct firmware is used): https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/plain/ 10.2.4/firmware-5.bin_10.2.4.97-1 However, I don't understand the numbering? 10.2.4.97 > 10.2.4.70, but you say 10.2.4.70.42-2 is more recent? I would have assumed otherwise from the numbers. However, 10.2.4.70 has much more sub-revisions. Is there any document describing the revisions? I don't understand it at least from this wiki page [1]. Thanks! Simon [1] https://wireless.wiki.kernel.org/en/users/Drivers/ath10k/firmware [-- Attachment #1.2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 801 bytes --] [-- Attachment #2: Type: text/plain, Size: 146 bytes --] _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ath10k mesh + ap + encryption? 2016-09-13 11:13 ` Simon Wunderlich @ 2016-09-13 11:25 ` Valo, Kalle 2016-09-13 11:38 ` Sebastian Gottschall 2016-09-13 12:30 ` Simon Wunderlich 2016-09-13 18:54 ` Martin Blumenstingl 1 sibling, 2 replies; 13+ messages in thread From: Valo, Kalle @ 2016-09-13 11:25 UTC (permalink / raw) To: Simon Wunderlich Cc: Martin Blumenstingl, openwrt-devel@lists.openwrt.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Simon Wunderlich <sw@simonwunderlich.de> writes: > On Tuesday, September 13, 2016 10:59:31 AM CEST Valo, Kalle wrote: >> Simon Wunderlich <sw@simonwunderlich.de> writes: >> > we have done some experiments last week on ath10k, trying to run mesh >> > (802.11s) and access point at the same time, both encrypted. >> > >> > We have tested a recent LEDE (reboot-1519-g42f559e) but with >> > firmware-5.bin_10.2.4.70.42-2 and the included wpa_supplicant, which gave >> > us a working encrypted 802.11s network. However, starting an AP at the >> > same time didn't work (AP doesn't beacon). This wasn't a problem when >> > 802.11s was running unencrypted. >> > >> > We also tested version 10.2.4.97 (from codeaurora), which is now default >> > in >> > LEDE. However, this version apparently doesn't support 11s mesh at all >> > (WMI_SERVICE_MESH_11S is disabled in the service map, but cfg/mac80211 >> > advertises support). >> > >> > So here are my questions: >> > * Did anyone succesfully run AP and mesh, both encrypted at the same >> > time? >> > * Do you have any pointers how we could fix this? Could it be fixable in >> > the> >> > driver (i.e. not in firmware)? >> > >> > * Does anyone have an idea if 11s will be supported in future versions? I >> > >> > didn't find any changelogs, but having 11s mode no longer in the service >> > map does not make me optimistic. >> >> Why is LEDE using 10.2.4.97? It seems to be a quite old release and I >> have no knowledge if anyone even tests that firmware branch with ath10k. >> I recommend to only use firmware releases from ath10k-firmware.git as we >> use those internally with ath10k. In any case, don't make any >> assumptions about future from that firmware branch as it's so old. > > This was introduced in December 25th, 2015 after some firmware-related > problems. I'm CC'ing Martin Blumenstingl who suggested this change. > > Since then, ath10k is pulling firmware from here (unless ct firmware is used): > > https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/plain/ > 10.2.4/firmware-5.bin_10.2.4.97-1 > > However, I don't understand the numbering? 10.2.4.97 > 10.2.4.70, but you say > 10.2.4.70.42-2 is more recent? I would have assumed otherwise from the > numbers. However, 10.2.4.70 has much more sub-revisions. As I said before, I just deliver the firmware files to the community and the firmware team creates the actual releases. But my understanding is that these are from different branches which are built independently (and might have different features, like in this case the mesh support) so I would not make any conclusions if any firmware is "better" just from the numbers alone. -- Kalle Valo _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ath10k mesh + ap + encryption? 2016-09-13 11:25 ` Valo, Kalle @ 2016-09-13 11:38 ` Sebastian Gottschall 2016-09-13 12:30 ` Simon Wunderlich 1 sibling, 0 replies; 13+ messages in thread From: Sebastian Gottschall @ 2016-09-13 11:38 UTC (permalink / raw) To: Valo, Kalle, Simon Wunderlich Cc: Martin Blumenstingl, openwrt-devel@lists.openwrt.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Am 13.09.2016 um 13:25 schrieb Valo, Kalle: > Simon Wunderlich <sw@simonwunderlich.de> writes: > >> On Tuesday, September 13, 2016 10:59:31 AM CEST Valo, Kalle wrote: >>> Simon Wunderlich <sw@simonwunderlich.de> writes: >>>> we have done some experiments last week on ath10k, trying to run mesh >>>> (802.11s) and access point at the same time, both encrypted. >>>> >>>> We have tested a recent LEDE (reboot-1519-g42f559e) but with >>>> firmware-5.bin_10.2.4.70.42-2 and the included wpa_supplicant, which gave >>>> us a working encrypted 802.11s network. However, starting an AP at the >>>> same time didn't work (AP doesn't beacon). This wasn't a problem when >>>> 802.11s was running unencrypted. >>>> >>>> We also tested version 10.2.4.97 (from codeaurora), which is now default >>>> in >>>> LEDE. However, this version apparently doesn't support 11s mesh at all >>>> (WMI_SERVICE_MESH_11S is disabled in the service map, but cfg/mac80211 >>>> advertises support). >>>> >>>> So here are my questions: >>>> * Did anyone succesfully run AP and mesh, both encrypted at the same >>>> time? >>>> * Do you have any pointers how we could fix this? Could it be fixable in >>>> the> >>>> driver (i.e. not in firmware)? >>>> >>>> * Does anyone have an idea if 11s will be supported in future versions? I >>>> >>>> didn't find any changelogs, but having 11s mode no longer in the service >>>> map does not make me optimistic. >>> Why is LEDE using 10.2.4.97? It seems to be a quite old release and I >>> have no knowledge if anyone even tests that firmware branch with ath10k. >>> I recommend to only use firmware releases from ath10k-firmware.git as we >>> use those internally with ath10k. In any case, don't make any >>> assumptions about future from that firmware branch as it's so old. >> This was introduced in December 25th, 2015 after some firmware-related >> problems. I'm CC'ing Martin Blumenstingl who suggested this change. >> >> Since then, ath10k is pulling firmware from here (unless ct firmware is used): >> >> https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/plain/ >> 10.2.4/firmware-5.bin_10.2.4.97-1 >> >> However, I don't understand the numbering? 10.2.4.97 > 10.2.4.70, but you say >> 10.2.4.70.42-2 is more recent? I would have assumed otherwise from the >> numbers. However, 10.2.4.70 has much more sub-revisions. > As I said before, I just deliver the firmware files to the community and > the firmware team creates the actual releases. But my understanding is > that these are from different branches which are built independently > (and might have different features, like in this case the mesh support) > so I would not make any conclusions if any firmware is "better" just > from the numbers alone. would be good to have changelogs so see what has been changed to test what they have changed in the fw > -- Mit freundlichen Grüssen / Regards Sebastian Gottschall / CTO NewMedia-NET GmbH - DD-WRT Firmensitz: Berliner Ring 101, 64625 Bensheim Registergericht: Amtsgericht Darmstadt, HRB 25473 Geschäftsführer: Peter Steinhäuser, Christian Scheele http://www.dd-wrt.com email: s.gottschall@dd-wrt.com Tel.: +496251-582650 / Fax: +496251-5826565 _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ath10k mesh + ap + encryption? 2016-09-13 11:25 ` Valo, Kalle 2016-09-13 11:38 ` Sebastian Gottschall @ 2016-09-13 12:30 ` Simon Wunderlich 2016-09-13 17:54 ` Pedersen, Thomas 1 sibling, 1 reply; 13+ messages in thread From: Simon Wunderlich @ 2016-09-13 12:30 UTC (permalink / raw) To: Valo, Kalle Cc: Martin Blumenstingl, openwrt-devel@lists.openwrt.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org [-- Attachment #1.1: Type: text/plain, Size: 3543 bytes --] On Tuesday, September 13, 2016 11:25:21 AM CEST Valo, Kalle wrote: > Simon Wunderlich <sw@simonwunderlich.de> writes: > > On Tuesday, September 13, 2016 10:59:31 AM CEST Valo, Kalle wrote: > >> Simon Wunderlich <sw@simonwunderlich.de> writes: > >> > we have done some experiments last week on ath10k, trying to run mesh > >> > (802.11s) and access point at the same time, both encrypted. > >> > > >> > We have tested a recent LEDE (reboot-1519-g42f559e) but with > >> > firmware-5.bin_10.2.4.70.42-2 and the included wpa_supplicant, which > >> > gave > >> > us a working encrypted 802.11s network. However, starting an AP at the > >> > same time didn't work (AP doesn't beacon). This wasn't a problem when > >> > 802.11s was running unencrypted. > >> > > >> > We also tested version 10.2.4.97 (from codeaurora), which is now > >> > default > >> > in > >> > LEDE. However, this version apparently doesn't support 11s mesh at all > >> > (WMI_SERVICE_MESH_11S is disabled in the service map, but cfg/mac80211 > >> > advertises support). > >> > > >> > So here are my questions: > >> > * Did anyone succesfully run AP and mesh, both encrypted at the same > >> > time? > >> > * Do you have any pointers how we could fix this? Could it be fixable > >> > in > >> > the> > >> > > >> > driver (i.e. not in firmware)? > >> > > >> > * Does anyone have an idea if 11s will be supported in future > >> > versions? I > >> > > >> > didn't find any changelogs, but having 11s mode no longer in the > >> > service > >> > map does not make me optimistic. > >> > >> Why is LEDE using 10.2.4.97? It seems to be a quite old release and I > >> have no knowledge if anyone even tests that firmware branch with ath10k. > >> I recommend to only use firmware releases from ath10k-firmware.git as we > >> use those internally with ath10k. In any case, don't make any > >> assumptions about future from that firmware branch as it's so old. > > > > This was introduced in December 25th, 2015 after some firmware-related > > problems. I'm CC'ing Martin Blumenstingl who suggested this change. > > > > Since then, ath10k is pulling firmware from here (unless ct firmware is > > used): > > > > https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/plain > > / > > 10.2.4/firmware-5.bin_10.2.4.97-1 > > > > However, I don't understand the numbering? 10.2.4.97 > 10.2.4.70, but you > > say 10.2.4.70.42-2 is more recent? I would have assumed otherwise from > > the numbers. However, 10.2.4.70 has much more sub-revisions. > > As I said before, I just deliver the firmware files to the community and > the firmware team creates the actual releases. But my understanding is > that these are from different branches which are built independently > (and might have different features, like in this case the mesh support) > so I would not make any conclusions if any firmware is "better" just > from the numbers alone. you are right ... those numbers are not a good pointer. I found this repo, and from the checkin dates it looks like 10.2.4.97 is indeed way older (from September 2015) than 10.2.4.70.42 (April 2016): https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/log/10.2.4 I would agree that Changelogs would be helpful. Thanks for the clarification. We will then stick to the 70's branch then. Does anyone have pointers for the other questions? :) I would believe hat many people would be interested in running AP + Mesh encrypted at the same time (at least in the open source community ...). Thanks, Simon [-- Attachment #1.2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 801 bytes --] [-- Attachment #2: Type: text/plain, Size: 146 bytes --] _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ath10k mesh + ap + encryption? 2016-09-13 12:30 ` Simon Wunderlich @ 2016-09-13 17:54 ` Pedersen, Thomas 2016-09-19 6:43 ` Simon Wunderlich 0 siblings, 1 reply; 13+ messages in thread From: Pedersen, Thomas @ 2016-09-13 17:54 UTC (permalink / raw) To: Simon Wunderlich, Valo, Kalle Cc: Martin Blumenstingl, openwrt-devel@lists.openwrt.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org On Tue, 2016-09-13 at 14:30 +0200, Simon Wunderlich wrote: > On Tuesday, September 13, 2016 11:25:21 AM CEST Valo, Kalle wrote: > > > > Simon Wunderlich <sw@simonwunderlich.de> writes: > > > > > > On Tuesday, September 13, 2016 10:59:31 AM CEST Valo, Kalle > > > wrote: > > > > > > > > Simon Wunderlich <sw@simonwunderlich.de> writes: > > > > > > > > > > we have done some experiments last week on ath10k, trying to > > > > > run mesh > > > > > (802.11s) and access point at the same time, both encrypted. > > > > > > > > > > We have tested a recent LEDE (reboot-1519-g42f559e) but with > > > > > firmware-5.bin_10.2.4.70.42-2 and the included > > > > > wpa_supplicant, which > > > > > gave > > > > > us a working encrypted 802.11s network. However, starting an > > > > > AP at the > > > > > same time didn't work (AP doesn't beacon). This wasn't a > > > > > problem when > > > > > 802.11s was running unencrypted. > > > > > > > > > > We also tested version 10.2.4.97 (from codeaurora), which is > > > > > now > > > > > default > > > > > in > > > > > LEDE. However, this version apparently doesn't support 11s > > > > > mesh at all > > > > > (WMI_SERVICE_MESH_11S is disabled in the service map, but > > > > > cfg/mac80211 > > > > > advertises support). > > > > > > > > > > So here are my questions: > > > > > * Did anyone succesfully run AP and mesh, both encrypted at > > > > > the same > > > > > time? > > > > > * Do you have any pointers how we could fix this? Could it > > > > > be fixable > > > > > in > > > > > the> > > > > > > > > > > driver (i.e. not in firmware)? > > > > > > > > > > * Does anyone have an idea if 11s will be supported in > > > > > future > > > > > versions? I > > > > > > > > > > didn't find any changelogs, but having 11s mode no longer in > > > > > the > > > > > service > > > > > map does not make me optimistic. > > > > > > > > Why is LEDE using 10.2.4.97? It seems to be a quite old release > > > > and I > > > > have no knowledge if anyone even tests that firmware branch > > > > with ath10k. > > > > I recommend to only use firmware releases from ath10k- > > > > firmware.git as we > > > > use those internally with ath10k. In any case, don't make any > > > > assumptions about future from that firmware branch as it's so > > > > old. > > > > > > This was introduced in December 25th, 2015 after some firmware- > > > related > > > problems. I'm CC'ing Martin Blumenstingl who suggested this > > > change. > > > > > > Since then, ath10k is pulling firmware from here (unless ct > > > firmware is > > > used): > > > > > > https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmw > > > are/plain > > > / > > > 10.2.4/firmware-5.bin_10.2.4.97-1 > > > > > > However, I don't understand the numbering? 10.2.4.97 > 10.2.4.70, > > > but you > > > say 10.2.4.70.42-2 is more recent? I would have assumed otherwise > > > from > > > the numbers. However, 10.2.4.70 has much more sub-revisions. > > > > As I said before, I just deliver the firmware files to the > > community and > > the firmware team creates the actual releases. But my understanding > > is > > that these are from different branches which are built > > independently > > (and might have different features, like in this case the mesh > > support) > > so I would not make any conclusions if any firmware is "better" > > just > > from the numbers alone. > > you are right ... those numbers are not a good pointer. I found this > repo, and > from the checkin dates it looks like 10.2.4.97 is indeed way older > (from > September 2015) than 10.2.4.70.42 (April 2016): > > https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/ > log/10.2.4 > > I would agree that Changelogs would be helpful. > > Thanks for the clarification. We will then stick to the 70's branch > then. > > Does anyone have pointers for the other questions? :) I would believe > hat many > people would be interested in running AP + Mesh encrypted at the same > time (at > least in the open source community ...). We're testing encrypted AP + Mesh quite successfully right now with this firmware: https://github.com/kvalo/ath10k-firmware/commit/307cb46b 06661ebd3186723b5002de769c7add83, of course that is for a QCA4019 chip. Which chip are you using? I can poke the firmware guys for possibility of getting a 10.4.3.2 firmware build for it. thomas _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ath10k mesh + ap + encryption? 2016-09-13 17:54 ` Pedersen, Thomas @ 2016-09-19 6:43 ` Simon Wunderlich 2016-09-19 9:34 ` [OpenWrt-Devel] " Sven Eckelmann 2016-09-23 22:18 ` Pedersen, Thomas 0 siblings, 2 replies; 13+ messages in thread From: Simon Wunderlich @ 2016-09-19 6:43 UTC (permalink / raw) To: ath10k Cc: Martin Blumenstingl, Pedersen, Thomas, openwrt-devel@lists.openwrt.org, linux-wireless@vger.kernel.org, Valo, Kalle [-- Attachment #1.1: Type: text/plain, Size: 1106 bytes --] On Tuesday, September 13, 2016 5:54:38 PM CEST Pedersen, Thomas wrote: > On Tue, 2016-09-13 at 14:30 +0200, Simon Wunderlich wrote: > > > [...] > > > > Thanks for the clarification. We will then stick to the 70's branch > > then. > > > > Does anyone have pointers for the other questions? :) I would believe > > hat many > > people would be interested in running AP + Mesh encrypted at the same > > time (at > > least in the open source community ...). > > > We're testing encrypted AP + Mesh quite successfully right now with > this firmware: https://github.com/kvalo/ath10k-firmware/commit/307cb46b > 06661ebd3186723b5002de769c7add83, of course that is for a QCA4019 chip. > Which chip are you using? I can poke the firmware guys for possibility > of getting a 10.4.3.2 firmware build for it. Hi Thomas, thanks for the hint! We are using an older QCA9882. I assume your firmware will not work for this one? If you can poke the firmware guys, that would be great. :) We also want to test the 70.52 firmware version next, maybe there were some changes since the .42 we used. Thanks, Simon [-- Attachment #1.2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 801 bytes --] [-- Attachment #2: Type: text/plain, Size: 146 bytes --] _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [OpenWrt-Devel] ath10k mesh + ap + encryption? 2016-09-19 6:43 ` Simon Wunderlich @ 2016-09-19 9:34 ` Sven Eckelmann 2017-01-24 16:41 ` Sven Eckelmann 2016-09-23 22:18 ` Pedersen, Thomas 1 sibling, 1 reply; 13+ messages in thread From: Sven Eckelmann @ 2016-09-19 9:34 UTC (permalink / raw) To: openwrt-devel Cc: Pedersen, Thomas, linux-wireless@vger.kernel.org, Valo, Kalle, ath10k, Simon Wunderlich [-- Attachment #1.1: Type: text/plain, Size: 1114 bytes --] On Montag, 19. September 2016 08:43:56 CEST Simon Wunderlich wrote: [...] > > We're testing encrypted AP + Mesh quite successfully right now with > > this firmware: https://github.com/kvalo/ath10k-firmware/commit/307cb46b > > 06661ebd3186723b5002de769c7add83, of course that is for a QCA4019 chip. > > Which chip are you using? I can poke the firmware guys for possibility > > of getting a 10.4.3.2 firmware build for it. > > Hi Thomas, > > thanks for the hint! We are using an older QCA9882. I assume your firmware > will not work for this one? If you can poke the firmware guys, that would > be great. > :) > > We also want to test the 70.52 firmware version next, maybe there were some > changes since the .42 we used. I have just checked it with 10.2.4.70.54: | 802.11s encrypted | 802.11s unencrypted ---------------+-------------------+-------------------- AP encrypted | AP doesn't beacon | works AP unencrypted | AP doesn't beacon | works I've also checked 10.2.4.70.12-2 (doesn't seem to support encrypted mesh at all) and with rawmode=1 (makes no difference). Kind regards, Sven [-- Attachment #1.2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 819 bytes --] [-- Attachment #2: Type: text/plain, Size: 146 bytes --] _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [OpenWrt-Devel] ath10k mesh + ap + encryption? 2016-09-19 9:34 ` [OpenWrt-Devel] " Sven Eckelmann @ 2017-01-24 16:41 ` Sven Eckelmann 0 siblings, 0 replies; 13+ messages in thread From: Sven Eckelmann @ 2017-01-24 16:41 UTC (permalink / raw) To: openwrt-devel Cc: Simon Wunderlich, linux-wireless@vger.kernel.org, ath10k, Valo, Kalle, Pedersen, Thomas, Felix Fietkau [-- Attachment #1.1.1: Type: text/plain, Size: 2695 bytes --] On Montag, 19. September 2016 11:34:00 CET Sven Eckelmann wrote: > On Montag, 19. September 2016 08:43:56 CEST Simon Wunderlich wrote: > [...] > > > We're testing encrypted AP + Mesh quite successfully right now with > > > this firmware: https://github.com/kvalo/ath10k-firmware/commit/307cb46b > > > 06661ebd3186723b5002de769c7add83, of course that is for a QCA4019 chip. > > > Which chip are you using? I can poke the firmware guys for possibility > > > of getting a 10.4.3.2 firmware build for it. [...] > | 802.11s encrypted | 802.11s unencrypted > ---------------+-------------------+-------------------- > AP encrypted | AP doesn't beacon | works > AP unencrypted | AP doesn't beacon | works > > I've also checked 10.2.4.70.12-2 (doesn't seem to support encrypted mesh at > all) and with rawmode=1 (makes no difference). I just tested it with a IPQ4019 with the (10.4-)3.2.1-00050 image. And I see a similar problem with it. But the AP was not actually active (device was in AP mode but no channel was set and it didn't beacon). So we end up again with an incomplete initialized AP but hostapd was running. I've simply disabled the LEDE wifi stuff and ran the attached autostart.sh manually. This seemed to work fine. This is rather odd because the same configuration for wpa_supplicant and hostapd was used. It also works fine with the normal LEDE setup scripts when encryption on the mesh device is disabled and it also works fine with ath9k. With the LEDE scripts/netifd, hostapd thought that the AP went up: root@lede:/# hostapd_cli status Selected interface 'wlan0-1' state=ENABLED phy=phy0 freq=2462 num_sta_non_erp=0 num_sta_no_short_slot_time=0 num_sta_no_short_preamble=0 olbc=0 num_sta_ht_no_gf=0 num_sta_no_ht=0 num_sta_ht_20_mhz=0 num_sta_ht40_intolerant=0 olbc_ht=1 ht_op_mode=0x11 cac_time_seconds=0 cac_time_left_seconds=N/A channel=11 secondary_channel=0 ieee80211n=1 ieee80211ac=0 bss[0]=wlan0-1 bssid[0]=ac:86:74:00:0e:35 ssid[0]=LEDE3-1 num_sta[0]=0 iw dev didn't think so: Interface wlan0-1 ifindex 13 wdev 0x5 addr ac:86:74:00:0e:35 type AP txpower 30.00 dBm Interestingly, it sometimes (randomly) started to work when the AP interface was switched to psk2 for encryption instead of using an unencrypted AP. Right now, it looks like an odd timing problem. Has someone else a good idea what to test? Btw. we never received any (10.4-)3.2 based firmware for QCA988X from QCA. But I am also not sure if I find time to retest it again with QCA988x. Kind regards, Sven [-- Attachment #1.1.2: wpa_supplicant.conf --] [-- Type: text/plain, Size: 164 bytes --] network={ ssid="openmesh" key_mgmt=SAE mode=5 frequency=2462 psk="9f0a965af38f2d0a13b66d8b46ab962c" mcast_rate=18 } [-- Attachment #1.1.3: hostapd.conf --] [-- Type: text/plain, Size: 459 bytes --] driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 hw_mode=g channel=11 ieee80211n=1 ht_coex=0 ht_capab=[LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935][DSSS_CCK-40] interface=wlan0-1 ctrl_interface=/var/run/hostapd ap_isolate=1 disassoc_low_ack=1 preamble=1 wmm_enabled=1 ignore_broadcast_ssid=0 uapsd_advertisement_enabled=1 auth_algs=1 wpa=0 ssid=LEDE3-1 bridge=br-lan bssid=00:11:22:33:17:02 [-- Attachment #1.1.4: wifi.lede.config --] [-- Type: text/plain, Size: 1246 bytes --] config wifi-device 'radio0' option type 'mac80211' option channel '11' option hwmode '11g' option path 'platform/soc/a000000.wifi' option htmode 'HT20' option disabled '0' config wifi-iface 'extra_radio0' option device 'radio0' option network 'lan' option mode 'ap' option ssid 'LEDE3-1' option encryption 'none' option disabled 0 option macaddr 'ac:86:74:00:0e:35' config wifi-iface 'default_radio0' option device 'radio0' option network 'lan' option mode 'ap' option ssid 'LEDE2-1' option encryption 'psk2' option key 'testtest' option macaddr 'ac:86:74:00:0e:36' option disabled 1 config wifi-iface 'wmesh0' option device 'radio0' option ifname 'mesh0' option network 'lan' option mode 'mesh' option mesh_id 'openmesh' option disabled '0' option mcast_rate '18000' option macaddr 'ac:86:74:00:0e:37' option mesh_ttl 1 option mesh_fwding 0 # option encryption 'none' option ieee80211w 1 option encryption 'psk2+aes' option key '9f0a965af38f2d0a13b66d8b46ab962c' [-- Attachment #1.1.5: autostart.sh --] [-- Type: application/x-shellscript, Size: 1039 bytes --] [-- Attachment #1.2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 833 bytes --] [-- Attachment #2: Type: text/plain, Size: 146 bytes --] _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ath10k mesh + ap + encryption? 2016-09-19 6:43 ` Simon Wunderlich 2016-09-19 9:34 ` [OpenWrt-Devel] " Sven Eckelmann @ 2016-09-23 22:18 ` Pedersen, Thomas 2016-09-25 20:16 ` Simon Wunderlich 1 sibling, 1 reply; 13+ messages in thread From: Pedersen, Thomas @ 2016-09-23 22:18 UTC (permalink / raw) To: Simon Wunderlich Cc: Martin Blumenstingl, Valo, Kalle, openwrt-devel@lists.openwrt.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org On Mon, 2016-09-19 at 08:43 +0200, Simon Wunderlich wrote: > On Tuesday, September 13, 2016 5:54:38 PM CEST Pedersen, Thomas wrote: > > On Tue, 2016-09-13 at 14:30 +0200, Simon Wunderlich wrote: > > > > > [...] > > > > > > Thanks for the clarification. We will then stick to the 70's branch > > > then. > > > > > > Does anyone have pointers for the other questions? :) I would believe > > > hat many > > > people would be interested in running AP + Mesh encrypted at the same > > > time (at > > > least in the open source community ...). > > > > > > We're testing encrypted AP + Mesh quite successfully right now with > > this firmware: https://github.com/kvalo/ath10k-firmware/commit/307cb46b > > 06661ebd3186723b5002de769c7add83, of course that is for a QCA4019 chip. > > Which chip are you using? I can poke the firmware guys for possibility > > of getting a 10.4.3.2 firmware build for it. > > Hi Thomas, > > thanks for the hint! We are using an older QCA9882. I assume your firmware will > not work for this one? If you can poke the firmware guys, that would be great. > :) Hi Simon, According to firmware guys the latest code can actually compile down to any chipset, so it should simply be a matter of getting builds released. _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ath10k mesh + ap + encryption? 2016-09-23 22:18 ` Pedersen, Thomas @ 2016-09-25 20:16 ` Simon Wunderlich 0 siblings, 0 replies; 13+ messages in thread From: Simon Wunderlich @ 2016-09-25 20:16 UTC (permalink / raw) To: Pedersen, Thomas Cc: Martin Blumenstingl, Valo, Kalle, openwrt-devel@lists.openwrt.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org [-- Attachment #1.1: Type: text/plain, Size: 1609 bytes --] On Friday, September 23, 2016 10:18:49 PM CEST Pedersen, Thomas wrote: > On Mon, 2016-09-19 at 08:43 +0200, Simon Wunderlich wrote: > > > On Tuesday, September 13, 2016 5:54:38 PM CEST Pedersen, Thomas wrote: > > > > > On Tue, 2016-09-13 at 14:30 +0200, Simon Wunderlich wrote: > > > > > > > > > > [...] > > > > > > > > > > > > > > > > Thanks for the clarification. We will then stick to the 70's branch > > > > then. > > > > > > > > Does anyone have pointers for the other questions? :) I would believe > > > > hat many > > > > people would be interested in running AP + Mesh encrypted at the same > > > > time (at > > > > least in the open source community ...). > > > > > > > > > > > > We're testing encrypted AP + Mesh quite successfully right now with > > > this firmware: https://github.com/kvalo/ath10k-firmware/commit/307cb46b > > > 06661ebd3186723b5002de769c7add83, of course that is for a QCA4019 chip. > > > Which chip are you using? I can poke the firmware guys for possibility > > > of getting a 10.4.3.2 firmware build for it. > > > > > > Hi Thomas, > > > > thanks for the hint! We are using an older QCA9882. I assume your firmware > > will not work for this one? If you can poke the firmware guys, that > > would be great.> > > :) > > > Hi Simon, > > According to firmware guys the latest code can actually compile down to > any chipset, so it should simply be a matter of getting builds released. Hi Thomas, thats great news, thanks for the heads up! How are we going to get those builds released? Who can I ask, or do you want to take care of that? Thanks, Simon [-- Attachment #1.2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 801 bytes --] [-- Attachment #2: Type: text/plain, Size: 146 bytes --] _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ath10k mesh + ap + encryption? 2016-09-13 11:13 ` Simon Wunderlich 2016-09-13 11:25 ` Valo, Kalle @ 2016-09-13 18:54 ` Martin Blumenstingl 1 sibling, 0 replies; 13+ messages in thread From: Martin Blumenstingl @ 2016-09-13 18:54 UTC (permalink / raw) To: Simon Wunderlich Cc: Valo, Kalle, openwrt-devel@lists.openwrt.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Hi Simon, On Tue, Sep 13, 2016 at 1:13 PM, Simon Wunderlich <sw@simonwunderlich.de> wrote: > On Tuesday, September 13, 2016 10:59:31 AM CEST Valo, Kalle wrote: >> Simon Wunderlich <sw@simonwunderlich.de> writes: >> > we have done some experiments last week on ath10k, trying to run mesh >> > (802.11s) and access point at the same time, both encrypted. >> > >> > We have tested a recent LEDE (reboot-1519-g42f559e) but with >> > firmware-5.bin_10.2.4.70.42-2 and the included wpa_supplicant, which gave >> > us a working encrypted 802.11s network. However, starting an AP at the >> > same time didn't work (AP doesn't beacon). This wasn't a problem when >> > 802.11s was running unencrypted. >> > >> > We also tested version 10.2.4.97 (from codeaurora), which is now default >> > in >> > LEDE. However, this version apparently doesn't support 11s mesh at all >> > (WMI_SERVICE_MESH_11S is disabled in the service map, but cfg/mac80211 >> > advertises support). >> > >> > So here are my questions: >> > * Did anyone succesfully run AP and mesh, both encrypted at the same >> > time? >> > * Do you have any pointers how we could fix this? Could it be fixable in >> > the> >> > driver (i.e. not in firmware)? >> > >> > * Does anyone have an idea if 11s will be supported in future versions? I >> > >> > didn't find any changelogs, but having 11s mode no longer in the service >> > map does not make me optimistic. >> >> Why is LEDE using 10.2.4.97? It seems to be a quite old release and I >> have no knowledge if anyone even tests that firmware branch with ath10k. >> I recommend to only use firmware releases from ath10k-firmware.git as we >> use those internally with ath10k. In any case, don't make any >> assumptions about future from that firmware branch as it's so old. Thanks for clarifying this. > This was introduced in December 25th, 2015 after some firmware-related > problems. I'm CC'ing Martin Blumenstingl who suggested this change. > > Since then, ath10k is pulling firmware from here (unless ct firmware is used): > > https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/plain/ > 10.2.4/firmware-5.bin_10.2.4.97-1 I initially updated to version 10.2.4.70.13-2, but we decided to update to the "latest" firmware back then (see the thread at [0]) With the explanation from Kalle it makes sense to only use the firmware binaries distributed in his repo (to ensure that the firmware is tested by QCA's internal team). > However, I don't understand the numbering? 10.2.4.97 > 10.2.4.70, but you say > 10.2.4.70.42-2 is more recent? I would have assumed otherwise from the > numbers. That looks strange to me as well as a side-note: I am currently preparing and testing a patch to update the ath10k-firmware in LEDE to 10.2.4.70.52 Regards, Martin [0] https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg35623.html _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2017-01-24 16:42 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-09-13 8:00 ath10k mesh + ap + encryption? Simon Wunderlich 2016-09-13 10:59 ` Valo, Kalle 2016-09-13 11:13 ` Simon Wunderlich 2016-09-13 11:25 ` Valo, Kalle 2016-09-13 11:38 ` Sebastian Gottschall 2016-09-13 12:30 ` Simon Wunderlich 2016-09-13 17:54 ` Pedersen, Thomas 2016-09-19 6:43 ` Simon Wunderlich 2016-09-19 9:34 ` [OpenWrt-Devel] " Sven Eckelmann 2017-01-24 16:41 ` Sven Eckelmann 2016-09-23 22:18 ` Pedersen, Thomas 2016-09-25 20:16 ` Simon Wunderlich 2016-09-13 18:54 ` Martin Blumenstingl
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox