Re: [ath9k-devel] AR9280 TX99 Control TX Power Output

2017-01-08 Thread Thomas Hühn
Hi Luiz, I am working on per packet power control and introduce therfore additional data structureswithin the mac80211 ieee80211_tx_info struct to have the power control algorith running in the mac layer, I had also to change the drivers in order to set the power level in the driver

Re: [ath9k-devel] AR9280 TX99 Control TX Power Output

2017-01-08 Thread Thomas Hühn
Hi Luiz, I am working on per packet power control and introduce therfore additional data structureswithin the mac80211 ieee80211_tx_info struct to have the power control algorith running in the mac layer, I had also to change the drivers in order to set the power level in the driver

[ath9k-devel] Release of RegMon - a fast in-kernel phy/mac dmonitoring tool for QCA/Atheros WiFi cards

2015-08-31 Thread Thomas Hühn
Hi all, Today I’ve released my WiFi register monitoring tool RegMon on GitHub: https://github.com/thuehn/RegMon RegMon consists of Atheros driver patches to monitor arbitrary registers under ath9k, ath5k and madwifi from user space with high sampling rates (up to ~20kHz). My common research

Re: [ath9k-devel] AR9462 problems connecting again..

2015-02-25 Thread Thomas Hühn
Hi Jouni, In case of ath9k, the driver in xmit.c allocates in function ath_tx_fill_desc() a struct ath_tx_info info by memset(info, 0, sizeof(info)) .. so all info-rates[xy].Rate == 0. Than function ath_buf_set_rate() sets all info-rates[xy].Rate to those values specified in the rate

Re: [ath9k-devel] AR9462 problems connecting again..

2015-02-24 Thread Thomas Hühn
Hi Jouni, Currently Minstrel_HT just skips EAPOL packets for its rate sampling on non-mrr chips by testing: (info-control.flags IEEE80211_TX_CTRL_PORT_CTRL_PROTO) On mrr hardware it uses them for probing. But the general MRR-chain should look like this for ath5k and ath9k chips that support 4

Re: [ath9k-devel] AR9462 problems connecting again..

2015-02-24 Thread Thomas Hühn
Hi Jouni, Currently Minstrel_HT just skips EAPOL packets for its rate sampling on non-mrr chips by testing: (info http://lxr.free-electrons.com/ident?i=info-control.flags http://lxr.free-electrons.com/ident?i=flags IEEE80211_TX_CTRL_PORT_CTRL_PROTO) On mrr hardware it uses them for probing.

Re: [ath9k-devel] AR9462 problems connecting again..

2015-02-24 Thread Thomas Hühn
Hi Jouni, Where is that mrr[3] part implemented? I did not find it when reviewing the design (hw-max_rates = 3 is used, but not = 4) and this does not match my experiments either when printing out all four values from ath9k. In every single case I observed, the last entry was unused (idx =

Re: [ath9k-devel] queue priority mapping

2014-11-30 Thread Thomas Hühn
Hi Hubert, From my point of view the call-path of the functions look like this: ath9k_init_queues http://lxr.free-electrons.com/ident?i=ath9k_init_queues(struct ath_softc http://lxr.free-electrons.com/ident?i=ath_softc *sc http://lxr.free-electrons.com/ident?i=sc) - ath_txq_setup

Re: [ath9k-devel] queue priority mapping

2014-11-30 Thread Thomas Hühn
Hi Sergey, You are right, the wrong mapping was caused by the call order. Felix has already sent 3 patches to fix that bug. So lets test. Greetings from Berlin Thomas Am 30.11.2014 um 19:18 schrieb Sergey Ryazanov ryazanov@gmail.com: Hi Thomas, 2014-11-30 14:30 GMT+03:00 Thomas

Re: [ath9k-devel] [PATCH] ath9k: set up tx power into the MRR

2014-07-16 Thread Thomas Hühn
Hi Lozenro, As I am shaping up my TPC code and might comment as well :) What about defining just: #define AR_XmitPower0x003f #define AR_XmitPower_S 16 #define AR_XmitPower2 0x3f00 #define AR_XmitPower2_S24 .. as AR_XmitPower1 == AR_XmitPower2 ==

Re: [ath9k-devel] [RFC 03/10] ath9k: add dynamic ack timeout estimation

2014-07-07 Thread Thomas Hühn
Hi Lorenzo, My comments are inline. Add dynamic ack timeout estimation algorithm based on ack frame RX timestamp, TX frame timestamp and frame duration. Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com --- drivers/net/wireless/ath/ath.h | 2 +

Re: [ath9k-devel] QCA9558 problems for MCS 14/15

2013-11-23 Thread Thomas Hühn
Hi Simon, You said that even manually setting MC14 or MC15 as static rate fails. So seems that it is not an issue at the mac layer rather than the phy layer. I had once something similar on ath5k, where the power curves got not properly assigned to high rates. So just in case, could you check

Re: [ath9k-devel] In case anyone wants to work on per-packet TPC..

2013-04-22 Thread Thomas Hühn
HI Adrian, Thx for those TPC info. I am currently adapting my Minstrel-Blues to include ath9k. Bye Thomas On 20.04.2013, at 16:46, Adrian Chadd adr...@freebsd.org wrote: Hi all, The idea of correct per-packet TPC for ath9k chips has come up from time to time. I decided to get it

Re: [ath9k-devel] Enabling tx-power-per-vif in ath9k?

2013-03-04 Thread Thomas Hühn
Hi Ben, Any idea how feasible it is to do per-vif tx-power in ath9k? I think it would come down to putting the desired tx-power into each packet (as the VIF sends it towards the driver) and then changing the power as packets were transmitted in the NIC... No need for 'changing the power as