Eduards Bezverhijs | 13 Sep 21:05 2014
Picon

AR9382 spams syslog with loads of "Chip reset failed" messages

Hi!

I bought AR5BHB116 wifi which is half size mini pcie card with 2 antenas for use as an AP with hostapd. Till this moment I can not get that card working as it should work.
I tried multiple machines, kernels and distros and it's all the same, it spams logs with this no matter in what mode - AP or managed:
    [  140.993008] ath: phy0: Chip reset failed
    [  140.993083] ath: phy0: Unable to reset channel, reset status -22
    [  141.427312] ath: phy0: DMA failed to stop in 10 ms AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef DMADBG_7=0xdeadbeef
    [  141.427607] ath: phy0: Could not stop RX, we could be confusing the DMA engine when we start RX up

CPU is busy 100% as it's logging this really fast, although it's just an Atom 330 (dual core + ht).
Even this triggers spamming: ifconfig wlan0 up

What I've tried:
    distros: debian wheezy, archlinux, ubuntu 14.04
    kernels: 3.2, 3.12, 3.13, 3.15, 3.16
    machines: Acer 3610, D2500CCE
    tried nohwcrypt=1, tried power saving off (apparantly it's already off with AP mode)

Guys, what can I do to fix this? Is there anything I can help with debugging?

regards
Eduards
_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Rahul Panda | 11 Sep 07:20 2014
Picon

Information Elements

Hello,

I have been working on an iMX6 Sabrelite for some time now, and am using a AR9271 USB dongle to create two virtual interfaces. One as an AP and the other as a station. Everything seems to be working great.

Recently I have been trying to filter out my AP from a list of AP's from the "iw dev wlanX scan", figured out I need to add Vendor Specific information element so that they would be added to the beacon and probe response.

I read that it can be done both from kernel space and user space, added the vendor_elements=dd.. (default something copied from a post) to the hostapd config, and restarted it a few times but it did not have any effect on the scan output.

Any pointers as to where I can add it in Kernel space, or maybe the driver itself? Or any other directions I should look into?

Regards
Rahul Panda
Ahmedabad, India.

_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Charounson Saintilus | 10 Sep 02:05 2014
Picon

Modifying the data rate of the ath9k driver

Hi,

Forgive me, I am new to driver development. I am working on a project
which requires me to modify the data rate of the ath9k driver. It can be
found at kernel-top-directory/drivers/net/wireless/ath/ath9k. For testing
purposes, it's necessary to set the data rate really low (e.g. 6.5 Mb/s).

I've searched the source code of the driver extensively, but have come up
empty. I know where the RTS/CTS rate is set, but I'm having trouble finding
where the general data rate is set.

Any suggestions as to how and where I might modify the data rate? 

Thanks,

Char
_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Kamran Nishat | 9 Sep 19:43 2014
Picon

Channel width on packet level

Hi,
Is it possible to change channel width at the packet level in ath9k. For example if AP connected with a client on 40Mhz channel wants to send next packet on 20Mhz primary channel.

Kamran
_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Ed W | 9 Sep 00:38 2014

ath9K is not recognising AR9220 card (wlm200nx) on 3.15

Hi, I'm struggling to figure out how to debug this, grateful for advice

I have a PCEngines Alix with a wlm200nx wifi card. This should have an 
AR9220 chip in it and be detected by the ath9k driver.  I have built my 
own kernel using linux-3.15.10, however, the ath9k driver isn't 
"recognising" or otherwise appearing to bind to the hardware, even when 
ath9k is modprobe'd

lspci shows:

     00:0c.0 "Class 0280" "168c" "0029" "168c" "2096"

dmesg, shows very little in addition, just a boot time:
     pci 0000:00:0c.0: [168c:0029] type 00 class 0x028000

lsmod
ath9k                  46564  0
mac80211              198136  1 ath9k
ath9k_common            5364  1 ath9k
ath9k_hw              327804  2 ath9k,ath9k_common
ath                    11888  3 ath9k,ath9k_common,ath9k_hw
cfg80211              126984  4 ath9k,mac80211,ath9k_common,ath

Relevant bits of .config are:

CONFIG_ATH9K_HW=m
CONFIG_ATH9K_COMMON=m
CONFIG_ATH9K_BTCOEX_SUPPORT=y
CONFIG_ATH9K=m
CONFIG_ATH9K_PCI=y
CONFIG_ATH9K_AHB=y
CONFIG_ATH9K_DEBUGFS=y
# CONFIG_ATH9K_STATION_STATISTICS is not set
# CONFIG_ATH9K_WOW is not set
# CONFIG_ATH9K_HTC is not set

I see nothing in syslog when loading the module (well, just one line 
"Calling CRDA to ...").  I have tried adding debug=0xfffffff module 
parameter and that doesn't show anything additional.

I would be extremely grateful for help debugging this further. I'm not 
sure how to debug the module loading to see why it's not recognising the 
hardware.

Note, the same kernel is successfully loading and using a ralink USB 
wifi device, so I don't believe I have completely borked wifi. rfkill is 
disabled (but I don't believe that affects module loading and 
binding?).  Have I missed some firmware?  Do I need some additional 
module included?

Very grateful for any help

Thanks

Ed W
Matteo Danieletto | 8 Sep 01:28 2014
Picon

[Contention Window] current value

Hi everybody,

I am working on ath9k_htc and firmware. I modified the kernel linux on board a nexus 7 (2012) to retrieve some MAC layer parameters i.e. mac retransmission (long and short retransmission) .

Now, I have a few free time and I come back to retrieve the contention window.


Do you have any idea where I can find the current value? Is it in firmware source code or driver ? BTW, is it implemented in software?


Thanks a lot

Matteo

_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Matteo Danieletto | 8 Sep 01:20 2014
Picon

[CWmin-CWmax] Contention window current value

Hi everybody,
I am working on ath9k_htc and firmware. I modified the kernel linux on board a nexus 7 (2012) to retrieve some
MAC layer parameters i.e. mac retransmission (long and short retransmission) .
Now, I have a few free time and I come back to retrieve the contention window.

Do you have any idea where I can find the current value? Is it in firmware source code or driver ? BTW, is it
implemented in software?

Thanks a lot
Matteo
Ben Greear | 4 Sep 20:59 2014

I cannot disable RTS/CTS on ath9k.

My setup is thus:

ath9k station
ath10k AP (RTS not enabled)
ath9k monitor (on separate machine)

I tried enabling (value 1024) and and also disabling RTS on the station.

The station was forced to reconnect after setting the RTS value on
the phy.

But, we sniff RTS being sent by station regardless of the ath9k settings.

I verified RTS configured as requested using 'iw phy phy0 info' and looking
for RTS.

Is there something else that might cause RTS to be sent even when station
is not configured for RTS?

Thanks,
Ben

--

-- 
Ben Greear <greearb <at> candelatech.com>
Candela Technologies Inc  http://www.candelatech.com
xpzhao | 25 Aug 10:44 2014

PCI FATAL interrupt store on ATH93xx

Hi  guys,

     I am using AR9344 together with AR9390 as my external wifi chip.  
The kernel version I am using is linux-2.6.32.

     I am suffering the PCI FATAL interrupt storm.
     Seems it changed to OK after I reset the chip.
     I have searched it with Google, but had not find the reason why 
there are so many PCI FATAL interrupts, just give a reset to resume the 
chip from such many interrupts.

     Do you have new finds about the problem? Could anyone can tell me 
the reason of this issue?

     Very very thanks for any help.

-- Thanks Xianpeng Zhao
Sunil | 20 Aug 13:20 2014
Picon

Frequent disconnection with ath9k

Hi,

I am facing frequent wifi disconnections with ath9k driver. The messages 
received from the driver are "wlan0: No ack for nullfunc frame to AP". 

I saw that ath9k uses "IEEE80211_HW_REPORTS_TX_ACK_STATUS", so the ack status 
is set by hardware. 

The AP is up and running fine.

What could be the issue here?

Thanks,
Sunil
mahaveer gupta | 14 Aug 00:29 2014
Picon

Sending per packet feedback

Hello,

We need to send a per packet one bit information from the recover to the transmitter.

Ideally, would like to convey the information along with the acknowledgement. However, seems like ACK frames are not accessible in the driver.

I was thinking of sending the one bit information by setting the duration field to 1. Usually, duration field is 0 for acknowledgements but setting it to 1 should have negligible side effects.

Wondering if somebody tried something similar before. Is it possible to access the tx acknowledgement in the driver/mac80211 code?

I have other obvious alternatives like sending another response packet, but this not clean.

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

Gmane