All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: AR6003 SDIO can't received data if you didn't send any date for a while
@ 2013-05-16 11:32 Randy Li
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Li @ 2013-05-16 11:32 UTC (permalink / raw)
  To: linux-wireless

About error number, it is -110. erro message is below
Compat-wireless backport release: compat-wireless-v3.5.4-1
Backport based on linux-stable.git v3.5.4
compat.git: linux-stable.git
cfg80211: Calling CRDA to update world regulatory domain
ath6kl: Unable to decrement the command credit count register: -110
ath6kl: Unable to send get target info: -110
ath6kl: Failed to init ath6kl core
ath6kl_sdio: probe of mmc0:0001:1 failed with error -110
cfg80211: World regulatory domain updated:
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain,
max_eirp)
cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

About sending large data problem, I add more kernel network buffer to fix
it, it seems work.
sysctl -w net.core.wmem_max=12582912

==============================
============================
I use this WNIC in a s3c6410 devboard called OK6410 made by
forlinx(http://www.forlinx.net/Other/6.htm)

The kernel is 3.0.1, the driver in the kernel source can't work. So I
tried compat-wireless-3.3-2-n and
compat-wireless-3.5.4-1. 3.3-2 is eaier to get -101 error when I load
the modules, in this time I have to replug WNIC card.

When networking is connected, I can't ping ar6003 in the other place,
if ar6003 didn't send any data
recently.Once ar6003 stoped sending, I can't send to ar6003 after a
very little while.

But if I send large data like video both of them still stop working
after a while, 3.3-2(about 5 minutes) seems to work more longer than
3.5.4-1(about 1 mintue). But both ip link and iw wlan0 link show my
link is up. I have to ifdown and ifup to use wireless again.

kvalo said it cause by irq problem.But when I compiled compat-wireless

^ permalink raw reply	[flat|nested] 2+ messages in thread

* AR6003 SDIO can't received data if you didn't send any date for a while
@ 2013-05-15 17:21 Randy Li
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Li @ 2013-05-15 17:21 UTC (permalink / raw)
  To: linux-wireless; +Cc: ath6kl-devel

I use this WNIC in a s3c6410 devboard called OK6410 made by
forlinx(http://www.forlinx.net/Other/6.htm)

The kernel is 3.0.1, the driver in the kernel source can't work. So I
tried compat-wireless-3.3-2-n and
compat-wireless-3.5.4-1. 3.3-2 is eaier to get -101 error when I load
the modules, in this time I have to replug WNIC card.

When networking is connected, I can't ping ar6003 in the other place,
if ar6003 didn't send any data
recently.Once ar6003 stoped sending, I can't send to ar6003 after a
very little while.

But if I send large data like video both of them still stop working
after a while, 3.3-2(about 5 minutes) seems to work more longer than
3.5.4-1(about 1 mintue). But both ip link and iw wlan0 link show my
link is up. I have to ifdown and ifup to use wireless again.

kvalo said it cause by irq problem.But when I compiled compat-wireless
with debug, I only have files in /sys/kernel/debug/ieee80211/
phy0/ , but there is ath6kl directory there. I have enabled all
debug_mask, but I don't get any irq infomation frome dmesg.

Could you tell me the correct way enable debug in compiling and load module?
P.S how to install compat-wireless? I can't use INSTALL_MOD_PATH, I
have to copy these directory and use find tool to remove .c .h .o
files.

Here is output of /proc/interrupts in ok6410

          CPU0
 16:          3  s3c-uart  s3c6400-uart
 18:        240  s3c-uart  s3c6400-uart
 20:          2  s3c-uart
 22:         48  s3c-uart
 35:          0       VIC  s3c-fimc0
 36:          0       VIC  s3c-fimc1
 40:          0       VIC  s3c-g3d
 41:          0       VIC  s3c-pp
 42:          0       VIC  s3c-rotator
 43:          0       VIC  s3c-g2d
 44:          0       VIC  TV_ENCODER
 45:          0       VIC  TV_SCALER
 47:          0       VIC  s3c-jpeg
 48:       4735       VIC  s3c-mfc
 54:          0       VIC  s3c-keypad
 58:          0       VIC  s3c2410-wdt
 62:     460074       VIC  s3c-lcd
 68:         26       VIC  AC97
 73:          0       VIC  DMA
 74:          0       VIC  DMA
 79:     177847       VIC  ohci_hcd:usb1
 82:        123       VIC  s3c2440-i2c.0
 88:      46540       VIC  mmc0
 94:          0       VIC  s3c_updown
 95:          0       VIC  adc, s3c_action
100:     727214  s3c-timer  S3C2410 Timer Tick
101:          0  s3c-eint  BUTTON1
102:          0  s3c-eint  BUTTON2
103:          0  s3c-eint  BUTTON3
104:          0  s3c-eint  BUTTON4
105:          0  s3c-eint  BUTTON5
106:          0  s3c-eint  BUTTON6
108:      59168  s3c-eint  eth0
Err:          0



-----
ayaka

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-16 11:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-16 11:32 AR6003 SDIO can't received data if you didn't send any date for a while Randy Li
  -- strict thread matches above, loose matches on Subject: below --
2013-05-15 17:21 Randy Li

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.