From: Brandon Combs <brmcombs@iusb.edu>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] adjust the CCA (Clear Channel Assessment) value for ath9k
Date: Fri, 18 Feb 2011 17:10:04 +0000 (UTC) [thread overview]
Message-ID: <loom.20110218T175443-505@post.gmane.org> (raw)
In-Reply-To: AANLkTimB8HvpALHwUPmqnepj=uYHRZSq5531xKUT+T-E@mail.gmail.com
> > I also need to adjust the CCA (Clear Channel Assessment)value. Does anyone
know
> > how to increase the CCA threshold so that one can get a node to send even
when
> > it senses an unclear channel? Here is the code segments from
> > /source/drivers/net/wireless/ath/ath9k/ar9002_phy.h which I believe I need
to
> > adjust to increase the CCA threshold but I am not quite sure how (thanks for
any help, Note: I am using AR9280 chip set):
> >
> > 127 #define AR_PHY_CCA ? ? ? ? ? ? ? ? ?0x9864
> > 128 #define AR_PHY_MINCCA_PWR ? ? ? ? ? 0x0FF80000
> > 129 #define AR_PHY_MINCCA_PWR_S ? ? ? ? 19
> > 130 #define AR_PHY_CCA_THRESH62 ? ? ? ? 0x0007F000
> > 131 #define AR_PHY_CCA_THRESH62_S ? ? ? 12
> > 132 #define AR9280_PHY_MINCCA_PWR ? ? ? 0x1FF00000
> > 133 #define AR9280_PHY_MINCCA_PWR_S ? ? 20
> > 134 #define AR9280_PHY_CCA_THRESH62 ? ? 0x000FF000
> > 135 #define AR9280_PHY_CCA_THRESH62_S ? 12
> > 581 #define AR_PHY_CCA_NOM_VAL_5416_2GHZ ? ? ? ? ? ?-90
> > 582 #define AR_PHY_CCA_NOM_VAL_5416_5GHZ ? ? ? ? ? ?-100
> > 583 #define AR_PHY_CCA_MIN_GOOD_VAL_5416_2GHZ ? ? -100
> > 584 #define AR_PHY_CCA_MIN_GOOD_VAL_5416_5GHZ ? ? -110
> > 585 #define AR_PHY_CCA_MAX_GOOD_VAL_5416_2GHZ ? ? -80
> > 586 #define AR_PHY_CCA_MAX_GOOD_VAL_5416_5GHZ ? ? -90
> > 587
> > 588 #define AR_PHY_CCA_NOM_VAL_9280_2GHZ ? ? ? ? -112
> > 589 #define AR_PHY_CCA_NOM_VAL_9280_5GHZ ? ? ? ? -112
> > 590 #define AR_PHY_CCA_MIN_GOOD_VAL_9280_2GHZ ?-127
> > 591 #define AR_PHY_CCA_MIN_GOOD_VAL_9280_5GHZ ?-122
> > 592 #define AR_PHY_CCA_MAX_GOOD_VAL_9280_2GHZ ?-97
> > 593 #define AR_PHY_CCA_MAX_GOOD_VAL_9280_5GHZ ?-102
> > 594
> > 595 #define AR_PHY_CCA_NOM_VAL_9285_2GHZ ? ? ? ? ? -118
> > 596 #define AR_PHY_CCA_MIN_GOOD_VAL_9285_2GHZ ? ?-127
> > 597 #define AR_PHY_CCA_MAX_GOOD_VAL_9285_2GHZ ? ?-108
> > 598
> > 599 #define AR_PHY_CCA_NOM_VAL_9271_2GHZ ? ? ? ? ? ? -118
> > 600 #define AR_PHY_CCA_MIN_GOOD_VAL_9271_2GHZ ? ? ?-127
> > 601 #define AR_PHY_CCA_MAX_GOOD_VAL_9271_2GHZ ? ? ?-116
> > 602
> > 603 #define AR_PHY_CCA_NOM_VAL_9287_2GHZ ? ? ? ? ? -120
> > 604 #define AR_PHY_CCA_MIN_GOOD_VAL_9287_2GHZ ? ?-127
> > 605 #define AR_PHY_CCA_MAX_GOOD_VAL_9287_2GHZ ? ?-110
> >
> > Sagar Bijwe <sag.bijwe <at> gmail.com> writes:
> >>
> >> I wish to disable CCA for ath9k. Can anyone tell me how this can be
achieved?
> > As far as I see it, modifying values of?AR9280_PHY_CCA_THRESH62
> > AR9280_PHY_CCA_THRESH62_S (present in phy.h)should do. -Sagar
> >>
>
> unfortunately its not a feature that we can simply disable it and I
> guess it requires a deeper understanding of hardware code to do this.
/////////////////////////////////////////////////////////////////////
I realize that "it requires a deeper understanding of hardware code to" increase
the CCA threshold. Is this maybe not the correct mailing list to ask this "deep"
of a question?
Can someone please point me in the right direction on where to learn this
information? I have throughly looked through linuxwireless.org documentation and
I searched the web for hours and I cannot find any reference to adjusting CCA.
Is it not just simply a matter of changing one of the "#define AR_PHY_...." and
recompiling the driver in order to increase the CCA threshold?
I really, really appreciate ANY info on adjusting the AR9280 CCA threshold!
next prev parent reply other threads:[~2011-02-18 17:10 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-12 8:52 [ath9k-devel] Disabling CCA for ath9k Sagar Bijwe
2011-02-15 19:49 ` [ath9k-devel] adjust the CCA (Clear Channel Assessment) value " Brandon Combs
2011-02-16 13:17 ` Mohammed Shafi
2011-02-16 14:04 ` Sagar Bijwe
2011-02-17 8:29 ` Mohammed Shafi
2011-02-18 17:10 ` Brandon Combs [this message]
2011-02-21 0:19 ` Wright, Brett
2011-02-21 3:55 ` [ath9k-devel] adjust the CCA (Clear Channel Assessment) value?for ath9k Peter Stuge
2011-02-21 17:09 ` Adrian Chadd
2011-02-22 5:47 ` [ath9k-devel] Open discussion, e.g. about ath9k PCI Peter Stuge
2011-02-22 5:56 ` Peter Stuge
2011-02-22 15:29 ` Adrian Chadd
2011-02-23 23:28 ` Peter Stuge
2011-02-24 1:04 ` Peter Stuge
2011-02-24 2:33 ` Peter Stuge
2011-02-24 3:21 ` Adrian Chadd
2011-02-24 2:12 ` Peter Stuge
2011-02-22 15:31 ` Adrian Chadd
2011-02-21 4:52 ` [ath9k-devel] adjust the CCA (Clear Channel Assessment) value for ath9k Mohammed Shafi
2014-03-24 11:53 ` Javi Jap
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=loom.20110218T175443-505@post.gmane.org \
--to=brmcombs@iusb.edu \
--cc=ath9k-devel@lists.ath9k.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: link
Be 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.