* How to access the CCA related operation @ 2015-08-24 6:21 Seowoo Jang 2015-08-24 16:32 ` Ben Greear 0 siblings, 1 reply; 5+ messages in thread From: Seowoo Jang @ 2015-08-24 6:21 UTC (permalink / raw) To: ath10k Hello, We are trying to evaluate our idea on 802.11ac protocol with Atheros qca9880 / ath10k driver. We would like to be able to access/know the result of the CCA (clear channel assessment) operation or the level of interference on the carrier when we need. We have dug into the driver files and concluded that the CCA related values are likely in the firmware or on the registers of the hardware. And please correct us if we are thinking wrong. We would appreciate the help if someone can give us some starting points, such as the address of the register that stores the carrier sensing values (CCA values) or the result of it (whether the carrier is busy or idle), to investigate. The chipset we are using is compex WLE900VX-7AA. We are currently using Ubuntu 14.04.03 with kernel version 4.1.5, but we can use any versions of OS and kernel if they support 802.11ac bandwidth. Thank you for help in advance. ------------------------------- Seowoo Jang, Ph.D. Ubiquitous Network Laboratory EECS, Seoul National University CEL +82-10-3723-3401 E-mail swjang@netlab.snu.ac.kr ------------------------------- _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to access the CCA related operation 2015-08-24 6:21 How to access the CCA related operation Seowoo Jang @ 2015-08-24 16:32 ` Ben Greear 2015-08-24 16:35 ` Adrian Chadd 2015-08-24 17:31 ` Peter Oh 0 siblings, 2 replies; 5+ messages in thread From: Ben Greear @ 2015-08-24 16:32 UTC (permalink / raw) To: Seowoo Jang, ath10k It is in firmware, and you cannot reliably poke it through the driver read/write register API because each time the radio resets (channel change, etc), it is liable to re-write the CCA registers back to default values. There is a large list of registers with 'CCA' in the name, but I don't know what they really mean, and I had hard time getting that info out of QCA. If you have any better luck, please post whatever you can share. Thanks, Ben On 08/23/2015 11:21 PM, Seowoo Jang wrote: > Hello, > > We are trying to evaluate our idea on 802.11ac protocol with Atheros qca9880 > / ath10k driver. > > We would like to be able to access/know the result of the CCA (clear channel > assessment) operation > or the level of interference on the carrier when we need. > > We have dug into the driver files and concluded that the CCA related values > are likely > in the firmware or on the registers of the hardware. > > And please correct us if we are thinking wrong. > > We would appreciate the help if someone can give us some starting points, > such as the address of the register that stores the carrier sensing values > (CCA values) > or the result of it (whether the carrier is busy or idle), to investigate. > > The chipset we are using is compex WLE900VX-7AA. > > We are currently using Ubuntu 14.04.03 with kernel version 4.1.5, > but we can use any versions of OS and kernel if they support 802.11ac > bandwidth. > > Thank you for help in advance. > > ------------------------------- > Seowoo Jang, Ph.D. > Ubiquitous Network Laboratory > EECS, Seoul National University > > CEL +82-10-3723-3401 > E-mail swjang@netlab.snu.ac.kr > ------------------------------- > > > _______________________________________________ > ath10k mailing list > ath10k@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/ath10k > -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to access the CCA related operation 2015-08-24 16:32 ` Ben Greear @ 2015-08-24 16:35 ` Adrian Chadd 2015-08-24 17:31 ` Peter Oh 1 sibling, 0 replies; 5+ messages in thread From: Adrian Chadd @ 2015-08-24 16:35 UTC (permalink / raw) To: Ben Greear; +Cc: Seowoo Jang, ath10k@lists.infradead.org There's TX_FRAME, RX_FRAME, RX_BUSY, etc state machine indications that you can break out via GPIO pins.. -adrian On 24 August 2015 at 09:32, Ben Greear <greearb@candelatech.com> wrote: > It is in firmware, and you cannot reliably poke it through the driver > read/write register API because each time the radio resets (channel change, > etc), it is > liable to re-write the CCA registers back to default values. > > There is a large list of registers with 'CCA' in the name, but I don't > know what they really mean, and I had hard time getting that info out > of QCA. If you have any better luck, please post whatever you can > share. > > Thanks, > Ben > > > > On 08/23/2015 11:21 PM, Seowoo Jang wrote: >> >> Hello, >> >> We are trying to evaluate our idea on 802.11ac protocol with Atheros >> qca9880 >> / ath10k driver. >> >> We would like to be able to access/know the result of the CCA (clear >> channel >> assessment) operation >> or the level of interference on the carrier when we need. >> >> We have dug into the driver files and concluded that the CCA related >> values >> are likely >> in the firmware or on the registers of the hardware. >> >> And please correct us if we are thinking wrong. >> >> We would appreciate the help if someone can give us some starting points, >> such as the address of the register that stores the carrier sensing values >> (CCA values) >> or the result of it (whether the carrier is busy or idle), to investigate. >> >> The chipset we are using is compex WLE900VX-7AA. >> >> We are currently using Ubuntu 14.04.03 with kernel version 4.1.5, >> but we can use any versions of OS and kernel if they support 802.11ac >> bandwidth. >> >> Thank you for help in advance. >> >> ------------------------------- >> Seowoo Jang, Ph.D. >> Ubiquitous Network Laboratory >> EECS, Seoul National University >> >> CEL +82-10-3723-3401 >> E-mail swjang@netlab.snu.ac.kr >> ------------------------------- >> >> >> _______________________________________________ >> ath10k mailing list >> ath10k@lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/ath10k >> > > -- > Ben Greear <greearb@candelatech.com> > Candela Technologies Inc http://www.candelatech.com > > > _______________________________________________ > ath10k mailing list > ath10k@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/ath10k _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: How to access the CCA related operation 2015-08-24 16:32 ` Ben Greear 2015-08-24 16:35 ` Adrian Chadd @ 2015-08-24 17:31 ` Peter Oh 2015-08-24 18:20 ` Ben Greear 1 sibling, 1 reply; 5+ messages in thread From: Peter Oh @ 2015-08-24 17:31 UTC (permalink / raw) To: 'Ben Greear', 'Seowoo Jang', ath10k There is WMI_10_x_SET_CCA_PARAMS_CMDID which to enable adaptive CCA in firmware supported since 10.2.4 and all the actual operations are done in firmware with registers as Ben addressed. But I'm not clear how much register doc or firmware doc are opened to public legally. Thanks, Peter -----Original Message----- From: ath10k [mailto:ath10k-bounces@lists.infradead.org] On Behalf Of Ben Greear Sent: Monday, August 24, 2015 9:33 AM To: Seowoo Jang; ath10k@lists.infradead.org Subject: Re: How to access the CCA related operation It is in firmware, and you cannot reliably poke it through the driver read/write register API because each time the radio resets (channel change, etc), it is liable to re-write the CCA registers back to default values. There is a large list of registers with 'CCA' in the name, but I don't know what they really mean, and I had hard time getting that info out of QCA. If you have any better luck, please post whatever you can share. Thanks, Ben On 08/23/2015 11:21 PM, Seowoo Jang wrote: > Hello, > > We are trying to evaluate our idea on 802.11ac protocol with Atheros > qca9880 / ath10k driver. > > We would like to be able to access/know the result of the CCA (clear > channel > assessment) operation > or the level of interference on the carrier when we need. > > We have dug into the driver files and concluded that the CCA related > values are likely in the firmware or on the registers of the hardware. > > And please correct us if we are thinking wrong. > > We would appreciate the help if someone can give us some starting > points, such as the address of the register that stores the carrier > sensing values (CCA values) or the result of it (whether the carrier > is busy or idle), to investigate. > > The chipset we are using is compex WLE900VX-7AA. > > We are currently using Ubuntu 14.04.03 with kernel version 4.1.5, but > we can use any versions of OS and kernel if they support 802.11ac > bandwidth. > > Thank you for help in advance. > > ------------------------------- > Seowoo Jang, Ph.D. > Ubiquitous Network Laboratory > EECS, Seoul National University > > CEL +82-10-3723-3401 > E-mail swjang@netlab.snu.ac.kr > ------------------------------- > > > _______________________________________________ > ath10k mailing list > ath10k@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/ath10k > -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to access the CCA related operation 2015-08-24 17:31 ` Peter Oh @ 2015-08-24 18:20 ` Ben Greear 0 siblings, 0 replies; 5+ messages in thread From: Ben Greear @ 2015-08-24 18:20 UTC (permalink / raw) To: Peter Oh, 'Seowoo Jang', ath10k On 08/24/2015 10:31 AM, Peter Oh wrote: > There is WMI_10_x_SET_CCA_PARAMS_CMDID which to enable adaptive CCA in > firmware supported since 10.2.4 and all the actual operations are done in > firmware with registers as Ben addressed. > But I'm not clear how much register doc or firmware doc are opened to public > legally. We have found no upstream firmware that actually seems to support that SET_CCA_PARAMS, and I have no idea what that feature actually does since I have no firmware source that supports that feature. Thanks, Ben > > Thanks, > Peter > > -----Original Message----- > From: ath10k [mailto:ath10k-bounces@lists.infradead.org] On Behalf Of Ben > Greear > Sent: Monday, August 24, 2015 9:33 AM > To: Seowoo Jang; ath10k@lists.infradead.org > Subject: Re: How to access the CCA related operation > > It is in firmware, and you cannot reliably poke it through the driver > read/write register API because each time the radio resets (channel change, > etc), it is liable to re-write the CCA registers back to default values. > > There is a large list of registers with 'CCA' in the name, but I don't know > what they really mean, and I had hard time getting that info out of QCA. If > you have any better luck, please post whatever you can share. > > Thanks, > Ben > > > On 08/23/2015 11:21 PM, Seowoo Jang wrote: >> Hello, >> >> We are trying to evaluate our idea on 802.11ac protocol with Atheros >> qca9880 / ath10k driver. >> >> We would like to be able to access/know the result of the CCA (clear >> channel >> assessment) operation >> or the level of interference on the carrier when we need. >> >> We have dug into the driver files and concluded that the CCA related >> values are likely in the firmware or on the registers of the hardware. >> >> And please correct us if we are thinking wrong. >> >> We would appreciate the help if someone can give us some starting >> points, such as the address of the register that stores the carrier >> sensing values (CCA values) or the result of it (whether the carrier >> is busy or idle), to investigate. >> >> The chipset we are using is compex WLE900VX-7AA. >> >> We are currently using Ubuntu 14.04.03 with kernel version 4.1.5, but >> we can use any versions of OS and kernel if they support 802.11ac >> bandwidth. >> >> Thank you for help in advance. >> >> ------------------------------- >> Seowoo Jang, Ph.D. >> Ubiquitous Network Laboratory >> EECS, Seoul National University >> >> CEL +82-10-3723-3401 >> E-mail swjang@netlab.snu.ac.kr >> ------------------------------- >> >> >> _______________________________________________ >> ath10k mailing list >> ath10k@lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/ath10k >> > > -- > Ben Greear <greearb@candelatech.com> > Candela Technologies Inc http://www.candelatech.com > > _______________________________________________ > ath10k mailing list > ath10k@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/ath10k > -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-08-24 18:20 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-08-24 6:21 How to access the CCA related operation Seowoo Jang 2015-08-24 16:32 ` Ben Greear 2015-08-24 16:35 ` Adrian Chadd 2015-08-24 17:31 ` Peter Oh 2015-08-24 18:20 ` Ben Greear
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.