From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qt0-f175.google.com ([209.85.216.175]:48319 "EHLO mail-qt0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752323AbdKOKNV (ORCPT ); Wed, 15 Nov 2017 05:13:21 -0500 Received: by mail-qt0-f175.google.com with SMTP id f8so33118444qta.5 for ; Wed, 15 Nov 2017 02:13:20 -0800 (PST) Subject: Re: mesh point and ap mode on same interface To: Kalle Valo , Peter Oh References: <43bf6a27-be58-35e4-26fa-5e6b380353ac@bowerswilkins.com> <7dc592a5-9381-f715-6ea7-0a8b8deee311@tu-bs.de> <5c04c7fe-8cf8-ddd8-d6a7-f42629586a63@bowerswilkins.com> <067d234a-59f0-4175-55af-9354617057b9@tu-bs.de> <61192d3b-b4c7-f47e-2ff9-44e17595d6a9@bowerswilkins.com> <03700343-7b5c-b21e-8b7b-2ac8c7d3258b@bowerswilkins.com> <87po8jhncx.fsf@kamboji.qca.qualcomm.com> Cc: "Harms, Hannes" , Ben Greear , "ath10k@lists.infradead.org" , "linux-wireless@vger.kernel.org" From: Arend van Spriel Message-ID: <5A0C133E.8080305@broadcom.com> (sfid-20171115_111325_840658_9A1DF4EF) Date: Wed, 15 Nov 2017 11:13:18 +0100 MIME-Version: 1.0 In-Reply-To: <87po8jhncx.fsf@kamboji.qca.qualcomm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: On 11/15/2017 11:01 AM, Kalle Valo wrote: > (adding linux-wireless for a cfg80211 question) > > Peter Oh writes: >> On 11/08/2017 04:49 AM, Harms, Hannes wrote: >> >>> I found a solution for the problem: >>> >>> When joining the mesh with beacon interval set to 100 >>> both mesh and ap interface are coming up. >>> >>>> iw mesh0 mesh join my_mesh beacon-interval 100 >>> >>> The default beacon interval is 1000 for mesh interfaces. >>> It seems that QCA9880 is not working >>> with different beacon intervals for ap + mesh. >> >> Good to hear that working. But mesh beacon interval 1000 which is >> default value should work. Any mesh beacon intervals of multiple of AP >> beacon intervals are supposed to work. >> >> (In other words, mesh beacon intervals that are not aligned by >> multiple of AP beacon intervals won't work). These are valid for both >> of QCA9880 and QCA4019 as far as I know. > > It would be nice if ath10k could print a warning if the beacon intervals > are not compatible. Or is there a way to enforce the beacon interval > with help of cfg80211 or mac80211? There is beacon interval checking in utility function cfg80211_check_combinations() -> cfg80211_iter_combinations() -> cfg80211_calculate_bi_data() for that. However, it seems brcmfmac is the only user of that function according to lxr (or elixir). Regards, Arend From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qt0-x230.google.com ([2607:f8b0:400d:c0d::230]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eEuhT-0001RK-MM for ath10k@lists.infradead.org; Wed, 15 Nov 2017 10:13:45 +0000 Received: by mail-qt0-x230.google.com with SMTP id e19so28292527qte.8 for ; Wed, 15 Nov 2017 02:13:21 -0800 (PST) Subject: Re: mesh point and ap mode on same interface References: <43bf6a27-be58-35e4-26fa-5e6b380353ac@bowerswilkins.com> <7dc592a5-9381-f715-6ea7-0a8b8deee311@tu-bs.de> <5c04c7fe-8cf8-ddd8-d6a7-f42629586a63@bowerswilkins.com> <067d234a-59f0-4175-55af-9354617057b9@tu-bs.de> <61192d3b-b4c7-f47e-2ff9-44e17595d6a9@bowerswilkins.com> <03700343-7b5c-b21e-8b7b-2ac8c7d3258b@bowerswilkins.com> <87po8jhncx.fsf@kamboji.qca.qualcomm.com> From: Arend van Spriel Message-ID: <5A0C133E.8080305@broadcom.com> Date: Wed, 15 Nov 2017 11:13:18 +0100 MIME-Version: 1.0 In-Reply-To: <87po8jhncx.fsf@kamboji.qca.qualcomm.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Kalle Valo , Peter Oh Cc: "Harms, Hannes" , Ben Greear , "linux-wireless@vger.kernel.org" , "ath10k@lists.infradead.org" On 11/15/2017 11:01 AM, Kalle Valo wrote: > (adding linux-wireless for a cfg80211 question) > > Peter Oh writes: >> On 11/08/2017 04:49 AM, Harms, Hannes wrote: >> >>> I found a solution for the problem: >>> >>> When joining the mesh with beacon interval set to 100 >>> both mesh and ap interface are coming up. >>> >>>> iw mesh0 mesh join my_mesh beacon-interval 100 >>> >>> The default beacon interval is 1000 for mesh interfaces. >>> It seems that QCA9880 is not working >>> with different beacon intervals for ap + mesh. >> >> Good to hear that working. But mesh beacon interval 1000 which is >> default value should work. Any mesh beacon intervals of multiple of AP >> beacon intervals are supposed to work. >> >> (In other words, mesh beacon intervals that are not aligned by >> multiple of AP beacon intervals won't work). These are valid for both >> of QCA9880 and QCA4019 as far as I know. > > It would be nice if ath10k could print a warning if the beacon intervals > are not compatible. Or is there a way to enforce the beacon interval > with help of cfg80211 or mac80211? There is beacon interval checking in utility function cfg80211_check_combinations() -> cfg80211_iter_combinations() -> cfg80211_calculate_bi_data() for that. However, it seems brcmfmac is the only user of that function according to lxr (or elixir). Regards, Arend _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k