From: Kalle Valo <kvalo@codeaurora.org> To: ssreeela@codeaurora.org Cc: Lei Wang <leiwa@codeaurora.org>, Rick Wu <rwu@codeaurora.org>, linux-wireless@vger.kernel.org, Sebastian Gottschall <s.gottschall@dd-wrt.com>, ath10k@lists.infradead.org Subject: Re: [PATCH] ath10k: enable VHT160 and VHT80+80 modes Date: Fri, 27 Mar 2020 13:25:10 +0200 [thread overview] Message-ID: <87bloi2g6h.fsf@kamboji.qca.qualcomm.com> (raw) In-Reply-To: <812e84a585ed3aeda9aa54f7d2b14e93@codeaurora.org> (ssreeela@codeaurora.org's message of "Thu, 26 Mar 2020 18:45:06 +0530") ssreeela@codeaurora.org writes: > On 2020-03-26 15:29, Kalle Valo wrote: >> Sowmiya Sree Elavalagan <ssreeela@codeaurora.org> wrote: >> >>> From: Lei Wang <leiwa@codeaurora.org> >>> >>> Set right channel frequencies in VHT160 mode according to the VHT160 >>> interoperability workaround added as part of IEEE Std 802.11™-2016 in >>> "Table 9-252—VHT Operation Information subfields", band_center_freq2 >>> corresponds to CCFS1 in Table 9-253. Previous implementation >>> (band_center_freq2 = 0 for VHT160) is only deprecated. >>> >>> Enable VHT80+80 mode and set the proper peer RX nss value for >>> VHT160 and >>> VHT80+80 mode. >>> >>> Based on patches by Sebastian Gottschall: >>> >>> https://lkml.kernel.org/r/20180704095444.662-1-s.gottschall@dd-wrt.com >>> >>> https://lkml.kernel.org/r/20180704120519.6479-1-s.gottschall@dd-wrt.com >>> >>> Tested: qca9984 with firmware ver 10.4-3.10-00047 >>> >>> Co-developed-by: Sebastian Gottschall <s.gottschall@dd-wrt.com> >>> Signed-off-by: Sebastian Gottschall <s.gottschall@dd-wrt.com> >>> Co-developed-by: Rick Wu <rwu@codeaurora.org> >>> Signed-off-by: Rick Wu <rwu@codeaurora.org> >>> Signed-off-by: Lei Wang <leiwa@codeaurora.org> >>> Signed-off-by: Sowmiya Sree Elavalagan <ssreeela@codeaurora.org> >> >> Fails to build on GCC 8.1. Did you test this? >> >> In file included from ./include/asm-generic/bug.h:5, >> from ./arch/x86/include/asm/bug.h:83, >> from ./include/linux/bug.h:5, >> from ./include/net/mac80211.h:16, >> from drivers/net/wireless/ath/ath10k/mac.h:10, >> from drivers/net/wireless/ath/ath10k/mac.c:8: >> In function 'ath10k_peer_assoc_h_vht', >> inlined from 'ath10k_peer_assoc_prepare' at >> drivers/net/wireless/ath/ath10k/mac.c:2790:2: >> ./include/linux/compiler.h:350:38: error: call to >> '__compiletime_assert_2631' declared with attribute error: [...] > I checked the build. Build was successful with GCC version 4.8. > Will fix the error and update the patch. Great, thanks. Here's how I installed GCC 8.1 from crosstool: listings: https://www.kernel.org/pub/tools/crosstool/ wget https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/8.1.0/x86_64-gcc-8.1.0-nolibc-x86_64-linux.tar.xz pushd /opt/cross/ tar -xf ~/tmp/crosstool/x86_64-gcc-8.1.0-nolibc-x86_64-linux.tar.xz In top level create GNUMakefile: CROSS_COMPILE=/opt/cross/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- include Makefile -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
WARNING: multiple messages have this Message-ID (diff)
From: Kalle Valo <kvalo@codeaurora.org> To: ssreeela@codeaurora.org Cc: Lei Wang <leiwa@codeaurora.org>, Rick Wu <rwu@codeaurora.org>, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, Sebastian Gottschall <s.gottschall@dd-wrt.com> Subject: Re: [PATCH] ath10k: enable VHT160 and VHT80+80 modes Date: Fri, 27 Mar 2020 13:25:10 +0200 [thread overview] Message-ID: <87bloi2g6h.fsf@kamboji.qca.qualcomm.com> (raw) In-Reply-To: <812e84a585ed3aeda9aa54f7d2b14e93@codeaurora.org> (ssreeela@codeaurora.org's message of "Thu, 26 Mar 2020 18:45:06 +0530") ssreeela@codeaurora.org writes: > On 2020-03-26 15:29, Kalle Valo wrote: >> Sowmiya Sree Elavalagan <ssreeela@codeaurora.org> wrote: >> >>> From: Lei Wang <leiwa@codeaurora.org> >>> >>> Set right channel frequencies in VHT160 mode according to the VHT160 >>> interoperability workaround added as part of IEEE Std 802.11™-2016 in >>> "Table 9-252—VHT Operation Information subfields", band_center_freq2 >>> corresponds to CCFS1 in Table 9-253. Previous implementation >>> (band_center_freq2 = 0 for VHT160) is only deprecated. >>> >>> Enable VHT80+80 mode and set the proper peer RX nss value for >>> VHT160 and >>> VHT80+80 mode. >>> >>> Based on patches by Sebastian Gottschall: >>> >>> https://lkml.kernel.org/r/20180704095444.662-1-s.gottschall@dd-wrt.com >>> >>> https://lkml.kernel.org/r/20180704120519.6479-1-s.gottschall@dd-wrt.com >>> >>> Tested: qca9984 with firmware ver 10.4-3.10-00047 >>> >>> Co-developed-by: Sebastian Gottschall <s.gottschall@dd-wrt.com> >>> Signed-off-by: Sebastian Gottschall <s.gottschall@dd-wrt.com> >>> Co-developed-by: Rick Wu <rwu@codeaurora.org> >>> Signed-off-by: Rick Wu <rwu@codeaurora.org> >>> Signed-off-by: Lei Wang <leiwa@codeaurora.org> >>> Signed-off-by: Sowmiya Sree Elavalagan <ssreeela@codeaurora.org> >> >> Fails to build on GCC 8.1. Did you test this? >> >> In file included from ./include/asm-generic/bug.h:5, >> from ./arch/x86/include/asm/bug.h:83, >> from ./include/linux/bug.h:5, >> from ./include/net/mac80211.h:16, >> from drivers/net/wireless/ath/ath10k/mac.h:10, >> from drivers/net/wireless/ath/ath10k/mac.c:8: >> In function 'ath10k_peer_assoc_h_vht', >> inlined from 'ath10k_peer_assoc_prepare' at >> drivers/net/wireless/ath/ath10k/mac.c:2790:2: >> ./include/linux/compiler.h:350:38: error: call to >> '__compiletime_assert_2631' declared with attribute error: [...] > I checked the build. Build was successful with GCC version 4.8. > Will fix the error and update the patch. Great, thanks. Here's how I installed GCC 8.1 from crosstool: listings: https://www.kernel.org/pub/tools/crosstool/ wget https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/8.1.0/x86_64-gcc-8.1.0-nolibc-x86_64-linux.tar.xz pushd /opt/cross/ tar -xf ~/tmp/crosstool/x86_64-gcc-8.1.0-nolibc-x86_64-linux.tar.xz In top level create GNUMakefile: CROSS_COMPILE=/opt/cross/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- include Makefile -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k
next prev parent reply other threads:[~2020-03-27 11:25 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-03-25 14:56 [PATCH] ath10k: enable VHT160 and VHT80+80 modes Sowmiya Sree Elavalagan 2020-03-25 14:56 ` Sowmiya Sree Elavalagan 2020-03-26 9:59 ` Kalle Valo 2020-03-26 9:59 ` Kalle Valo [not found] ` <20200326095907.5326BC433BA@smtp.codeaurora.org> 2020-03-26 13:15 ` ssreeela 2020-03-26 13:15 ` ssreeela 2020-03-27 11:25 ` Kalle Valo [this message] 2020-03-27 11:25 ` Kalle Valo 2020-03-30 9:22 ` ssreeela 2020-03-30 9:22 ` ssreeela
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=87bloi2g6h.fsf@kamboji.qca.qualcomm.com \ --to=kvalo@codeaurora.org \ --cc=ath10k@lists.infradead.org \ --cc=leiwa@codeaurora.org \ --cc=linux-wireless@vger.kernel.org \ --cc=rwu@codeaurora.org \ --cc=s.gottschall@dd-wrt.com \ --cc=ssreeela@codeaurora.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.