Skip to contentSkip to conversation

How to access the CCA related operation

DISCUSSION Seowoo Jang 4 participants 5 messages Aug 24, 2015 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

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 [email protected]
-------------------------------

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#1 lore raw

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

Quoted 43 lines · Seowoo Jang

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 [email protected]
-------------------------------

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

Signature · 7 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#2 lore raw

There's TX_FRAME, RX_FRAME, RX_BUSY, etc state machine indications that you can break out via GPIO pins..

-adrian

Quoted 69 lines · Ben Greear

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

Quoted 42 lines · Seowoo Jang

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 [email protected]
-------------------------------

Quoted 5 lines

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com

Quoted 4 lines

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#3 lore raw
In reply to Ben Greear

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:[email protected]] On Behalf Of Ben Greear
Sent: Monday, August 24, 2015 9:33 AM
To: Seowoo Jang; [email protected]
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

Quoted 38 lines · Seowoo Jang

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 [email protected]
-------------------------------

Quoted 5 lines

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#4 lore raw
Quoted 5 lines · Peter Oh

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

Quoted 77 lines

Thanks,
Peter

-----Original Message-----
From: ath10k [mailto:[email protected]] On Behalf Of Ben Greear
Sent: Monday, August 24, 2015 9:33 AM
To: Seowoo Jang; [email protected]
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

Quoted 38 lines · Seowoo Jang

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 [email protected]
-------------------------------

Quoted 5 lines

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

Signature · 7 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k