From: chenjin_cj Date: Wed, 28 Dec 2011 20:05:55 +0800 Subject: [ath9k-devel] Help!!! TX/RX antenna, CCA mode and ED threshold about the atheros driver? Message-ID: <5a4318b8.88f02.134848fbb63.Coremail.chenjin_cj@yeah.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi, everyone. I am new to atheros linux driver and 802.11. These days, my boss requires me to modify some code in the driver to implement several features listed below: 1. Set and get both the TX and RX antenna 2. Get the current CCA mode 3. Get current ED threshold But some questions have puzzled me. They are: 1. It seems that antenna can not be set/get while the mode is 11n. 2. I can not find any marco, function or variable to let me get the CCA mode, and I am not sure what CCA mode are supported by Atheros chips. In fact, the embedded board that I develop has two PCI solts, so the chip will greatly depend on which wireless card the user will use, and I can not find the uniform interface to get the CCA mode. 3. In the driver, I find something like CCA threshold. I am not sure whether it is the ED threshold, for I am not sure whether the CCA mode ED is always supported by the atheros chips. Well, can someone good at the ath9k atheros driver help me to solve these problems? I will thanks him or her very much. At last, I am sorry to tell you that I am not good at English, so it may be diffcult for you to understand what I have said, except you a Chinese, though I have try my best to avoid Chines-style English, aha ... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20111228/1db96c96/attachment.htm