Srinivas Kandala | 29 Jul 19:56 2015

Support for multicast rates

Hello,

I see that this question was asked in the past. I would like to set the
multicast rate to a higher rate (than 6 Mbps on 5G).  The following is
failing

root <at> imx6qsabreauto:~# iw wlan0 set mcast_rate 24

command failed: Operation not supported (-95)

Even though setting mcast_rate is supported by iw. Can someone help?

Thanks.
Regards,
srini
Srinivas Kandala | 29 Jul 00:15 2015

Support for multi-cast rates

Hello,

I see that this question was asked in the past. I would like to set the multicast rate to a higher rate (than 6
Mbps on 5G).  The following is failing

root <at> imx6qsabreauto:~# iw wlan0 set mcast_rate 24

command failed: Operation not supported (-95)

Even though setting mcast_rate is supported by iw. Can someone help?

Thanks.
Regards,
srini
ferran | 27 Jul 20:20 2015
Picon

hardware queue

Hi there,

I am monitoring the debugfs ath9k_htc/queue file to detect high use of
an AR9271 wifi dongle.  When I inject traffic through it, I see that
Best-Effort queue gets constantly filled and emptied, while the other
queues remain empty. My problem is that the value "Data BE endpoint"
keeps going down to zero, and it makes a false-negative for my watchdog.
I also could code a simple memory system, but before that I am trying to
get the best data source.

As a detail, I am polling debugfs every 100ms, but it doesn't look to
update that fast.

So, is there any way to get more accurate info on the occupancy of the
queues? If not, my aim is to detect a full-load of the dongle, so any
suggestions in this direction are more than welcome.

Regards,
Ferran
Joe Qiao | 22 Jul 08:20 2015

how to get frequency on AP mode

Dear experts,

 

I’m running latest version of ath9k driver with AP mode. And usually get current frequency with ioctl SIOCGIWFREQ via monitor interface. After upgrade kernel, the monitor interface disappear. It lead me to never can get frequency at all.

 

I checked the function of cfg80211_wext_giwfreq, which only support STATION, ADHOC and MONITOR mode to get frequency.

 

static int cfg80211_wext_giwfreq(struct net_device *dev,

                                                                struct iw_request_info *info,

                                                                struct iw_freq *freq, char *extra)

{

                switch (wdev->iftype) {

                case NL80211_IFTYPE_STATION:

                                …

                case NL80211_IFTYPE_ADHOC:

                                …

                case NL80211_IFTYPE_MONITOR:

                                …

}

 

I’d like to ask, is there any other way to get frequency info on AP mode?

 

High appreciate if any help!

 

Thanks,

-Joe

_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Богдан Осинный | 21 Jul 00:54 2015
Picon

ath9k arch-linux

Have following output when tried to start hostapd

nl80211: Could not configure driver mode
nl80211: deinit ifname=wlp6s0 disabled_11b_rates=0

There is an dvice to reinstall driver, but it's implemented right in jernel, so what to do?
Thanks.

http://unix.stackexchange.com/q/217217/91378
--
С Уважением, Богдан.
_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Adrien Decostre | 14 Jul 16:31 2015
Picon

Wi-Fi Direct multi-role support in ath9k

Dear all,

 

I am experimenting a bit with Wi-Fi Direct on top of the ath9k driver and I am wondering if it is possible to operate at the same moment, on the same IEEE802.11n module, a software AP for an infrastructure Wi-Fi network (e.g. by using hostapd) and a soft AP for a Wi-Fi Direct link.

As far as I understand, for this, the driver needs to support the “multi-role” feature. Is it right?

Is this feature already supported by the ath9k driver?

 

Many thanks in advance for any help.

 

Best regards


Adrien

_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Gyujin Lee | 13 Jul 16:16 2015
Picon

A bug about for multicast power save transmitting

Hi all,

Firstly, I want to apologize for any mistakes I make this mail.
This is the first mail I have posted

My WiFi chipset:
Qualcomm Atheros AR9380/HB112

Device driver: ath9k (backports-4.1-rc1-1)


In power save multicast transmission, I want to increase the number of transmitted multicast packets at a time.
So, I extend the max_duration of "ath_tx_cabq" function in the file /drivers/net/wireless/ath/ath9k/xmit.c

void ath_tx_cabq{ 
...
line 2437      sc->cur_chan->beacon.dtim_period / ATH_BCBUF
              => sc->cur_chan->beacon.dtim_period                           // Eliminate ATH_BCBUF
...
}

Then, multicast packets can be transmitted over one beacon interval. (DTIM interval is not zero)

In this case, some of next multicast packets are transmitted before next DTIM beacon.
(If multicast transmission ends in a beacon interval, all of next multicast packets are transmitted after next DTIM beacon)

For example, if PHY rate for multicast transmission is 6Mb/s, 3 multicast packets are transmitted before DTIM beacon and other packets are transmitted after DTIM beacon.


Is this phenomenon an error of this chipset?

Can I fix this error via modifying device driver?


Thank you.

Regards,
Gyujin Lee

-- 
_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Jeon | 8 Jul 16:16 2015
Picon

Handling received ACK frame in ath9k_htc

I am trying to timestamp when a ACK frame is received in ath9k_htc module.
WLAN card is TL-WN722N from TP-LINK

I've modified a function `ath9k_rx_tasklet()` in `ath/ath9k/htc_drv_txrx.c` like [this](https://gist.github.com/gsongsong/991705f9c38ce6a9cda7#file-gistfile1-txt-L37)

When I build and install the modified  kernel source, however, that `printk` message does not appear in the `dmesg` log.

After some search, I've found [a thread](https://www.mail-archive.com/ath9k-devel%40lists.ath9k.org/msg12280.html). It says, ACK is processed by hardware itself and is not passed to ath9k_htc kernel module. Is it right? Then, isn't there a way to check whether an ACK frame is received in a ath9k_htc kernel module?

Regards,
Jeon.
_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Mathieu Slabbinck | 30 Jun 15:59 2015
Picon

Re: Fwd: TX99 rate control

On Tue, Jun 30, 2015 at 3:51 PM, Jonathan Bagg <jbagg <at> lenbrook.com> wrote:
> Mathieu,
>
> Did you ever get a higher rate working?  I am trying to do Specific
> Absorption Rate (SAR) testing with an AR9485.  I have enabled tx99 in the
> kernel and I see the ath9k tx99 entries in the debugfs.  Googling I found
> the below commands.  Our CM has tried these without success.  I am in the
> process of renting a spectrum analyser to debug.  Maybe I only the slowest
> rate works like your issue?
>
>
> iw dev mon0 set channel 6 HT40+
> iw dev mon0 set bitrates legacy-2.4 54
> echo 10 > /sys/kernel/debug/ieee80211/phy0/ath9k/tx99_power
> echo 1  > /sys/kernel/debug/ieee80211/phy0/ath9k/tx99
>
> iw version = 3.15
> kernel = 3.19 on arm with tx99 enabled
>
> Our CM is using a testing house called SGS (http://www.sgsap.com/)  Anyone
> put a ath9k through SAR at SGS?
>
>
>
> On 15-06-08 11:02 AM, Mathieu Slabbinck wrote:
>>
>> Hi all,
>>
>> I'm trying to figure out how to get rate control working in TX99.
>> Currently it's forced in code to rate = &tx_info->control.rates[0];
>>
>> Every time I force/try anything besides "0" (which is the value of
>> tx_info->control.rates[0]) the module won't start radiating.
>>
>> Can anyone provide any help with this subject?
>>
>> Kind regards
>>
>> Mathieu
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-wireless"
>> in
>> the body of a message to majordomo <at> vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>
>
> --
> Jonathan Bagg
> Embedded Systems Developer
> NAD Electronics | Lenbrook Industries Limited
> 633 Granite Court, Pickering, Ontario, Canada L1W 3K1 | 905-831-0799 ext
> 4478 | http://www.nadelectronics.com
>

Yes, but I hacked my way around it to force it to work...
So by default it didn't allow me to get a higher rate.
I wasn't able to pinpoint the exact root cause of this tough. IW does
everything fine, and it reaches MAC80211 but it doesn't get picked up
further.
ramesh | 27 Jun 14:59 2015

ath9k backports-4.0.1-1

Hi,

Recently I have downloaded ath9k backports-4.0.1-1 driver source code. I 
don't know
from where I should start analyse code. So can anyone please tell me 
from where I
can start analysing code.

Thanks,
Ramesh
Amna Waqar | 26 Jun 13:50 2015
Picon

Fw: AR9382 Ath9k driver 802.11r and 802.11k support

 
Regards

Amna

----- Forwarded Message -----
From: Amna Waqar <amna.waqar1 <at> yahoo.com>
To: "ath9k-devel <at> lists.ath9k.org" <ath9k-devel <at> lists.ath9k.org>
Sent: Friday, June 26, 2015 3:01 PM
Subject: AR9382 Ath9k driver 802.11r and 802.11k support

Hello everyone,
Does Ath9k driver for AR9382 wlan chip support 802.11r/k modes? Does radio of AR9382 support 802.11r mode?
 
Regards

Amna


_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Gmane