All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] About the video problem of ath9k_htc
@ 2010-08-21  6:53 LvEric
  2010-08-21 11:41 ` Peter Stuge
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: LvEric @ 2010-08-21  6:53 UTC (permalink / raw)
  To: ath9k-devel


Hi All,

 

I am using the ath9k_htc driver for TL -WN721N on my Linux Set top box.

after insmod all moudles,  plugin the TL-WN721N ,and run  "wlist wlan0 scan",

It can works,but the video output became sharking when scaning, when it finish the scaning,

the video back to normal. why? This driver oprate some video output? Or something is same as the video driver?

Any body known what is the reason of this?

 

Thanks.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100821/85794822/attachment.htm 

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

* [ath9k-devel] About the video problem of ath9k_htc
  2010-08-21  6:53 [ath9k-devel] About the video problem of ath9k_htc LvEric
@ 2010-08-21 11:41 ` Peter Stuge
  2010-08-21 13:23 ` Helmut Schaa
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 16+ messages in thread
From: Peter Stuge @ 2010-08-21 11:41 UTC (permalink / raw)
  To: ath9k-devel

LvEric wrote:
> but the video output became sharking when scaning, when it finish
> the scaning the video back to normal. why?

It sounds like a signal integrity issue in the set top box; ie. a
hardware bug in the highlevel product. But it's impossible to
diagnose further without more information.

I suggest that you look for some experts with experience from the
particular set top box product you're using.


//Peter

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

* [ath9k-devel] About the video problem of ath9k_htc
  2010-08-21  6:53 [ath9k-devel] About the video problem of ath9k_htc LvEric
  2010-08-21 11:41 ` Peter Stuge
@ 2010-08-21 13:23 ` Helmut Schaa
  2010-08-22  6:22   ` LvEric
  2010-08-22  7:53   ` LvEric
  2010-08-23  3:25 ` Senthilkumar Balasubramanian
  2010-08-27  5:14 ` Alan
  3 siblings, 2 replies; 16+ messages in thread
From: Helmut Schaa @ 2010-08-21 13:23 UTC (permalink / raw)
  To: ath9k-devel

Hi,

Am Saturday 21 August 2010 schrieb LvEric:
> I am using the ath9k_htc driver for TL -WN721N on my Linux Set top box.
> 
> after insmod all moudles,  plugin the TL-WN721N ,and run  "wlist wlan0 scan",
> 
> It can works,but the video output became sharking when scaning, when it finish the scaning,
> 
> the video back to normal. why? This driver oprate some video output? Or something is same as the video driver?
> 
> Any body known what is the reason of this?

One possible explanation would be because the scanning involves changing
the channel and as a result the wifi card cannot exchange data with the AP
during that time (I just assume your set top box is configured as wireless
STA and associates with an AP since otherwise you wouldn't need to scan).

However, the software scan implementation in mac80211 uses the configured qos
requiremenets to determine how many channels to scan at once. In order to
reduce the average latency at the cost of a longer wireless scan duration you
can use something like the attached python script (this will set the qos
latency to 300ms while running, however not sure if the script is still up to
date). This should advise mac80211 to not leave the operating channel for
longer periods of time than 300ms (or by a different value you put in there).

And one more thing: the scan implementation in mac80211 does not respect
DTIM beacons at all and thus won't work nicely with mutli- and boradcast
traffic at all. Not sure if that applies to your issue.

HTH,
Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: set_network_latency.py
Type: text/x-python
Size: 230 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100821/66818d15/attachment.py 

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

* [ath9k-devel] About the video problem of ath9k_htc
  2010-08-21 13:23 ` Helmut Schaa
@ 2010-08-22  6:22   ` LvEric
  2010-08-22  9:59     ` Helmut Schaa
  2010-08-22  7:53   ` LvEric
  1 sibling, 1 reply; 16+ messages in thread
From: LvEric @ 2010-08-22  6:22 UTC (permalink / raw)
  To: ath9k-devel


Hi Helmut
 

Very thanks for your replay.

It seems not only scaning make the video shaking,also initialization when TL-WN721N plugin.

And it seems that all time when TL-WN721N start to work, the video will shaking.

 

yestoday,I add some printk in the during of initialization in ath9k_htc, and found the video became shaking near to eeprom start.

and after that,video shaking when TL-WN721N is working,even "ifconfig wlan0 up" ,video will shake in short.

 

Eric
 
> From: helmut.schaa at googlemail.com
> To: eric_lvjun at hotmail.com
> Subject: Re: [ath9k-devel] About the video problem of ath9k_htc
> Date: Sat, 21 Aug 2010 15:23:08 +0200
> CC: ath9k-devel at lists.ath9k.org
> 
> Hi,
> 
> Am Saturday 21 August 2010 schrieb LvEric:
> > I am using the ath9k_htc driver for TL -WN721N on my Linux Set top box.
> > 
> > after insmod all moudles, plugin the TL-WN721N ,and run "wlist wlan0 scan",
> > 
> > It can works,but the video output became sharking when scaning, when it finish the scaning,
> > 
> > the video back to normal. why? This driver oprate some video output? Or something is same as the video driver?
> > 
> > Any body known what is the reason of this?
> 
> One possible explanation would be because the scanning involves changing
> the channel and as a result the wifi card cannot exchange data with the AP
> during that time (I just assume your set top box is configured as wireless
> STA and associates with an AP since otherwise you wouldn't need to scan).
> 
> However, the software scan implementation in mac80211 uses the configured qos
> requiremenets to determine how many channels to scan at once. In order to
> reduce the average latency at the cost of a longer wireless scan duration you
> can use something like the attached python script (this will set the qos
> latency to 300ms while running, however not sure if the script is still up to
> date). This should advise mac80211 to not leave the operating channel for
> longer periods of time than 300ms (or by a different value you put in there).
> 
> And one more thing: the scan implementation in mac80211 does not respect
> DTIM beacons at all and thus won't work nicely with mutli- and boradcast
> traffic at all. Not sure if that applies to your issue.
> 
> HTH,
> Helmut
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100822/7777e1fa/attachment.htm 

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

* [ath9k-devel] About the video problem of ath9k_htc
  2010-08-21 13:23 ` Helmut Schaa
  2010-08-22  6:22   ` LvEric
@ 2010-08-22  7:53   ` LvEric
  1 sibling, 0 replies; 16+ messages in thread
From: LvEric @ 2010-08-22  7:53 UTC (permalink / raw)
  To: ath9k-devel


Hi 

 

Today,I check it with HDMI output.It works normal,have no Video problem with HDMI output.

And find two problem:

1 :Video from AV output is shaking when TL-WN721N working.

2: It seems that when TL-WN721N working,the remote control can not working in normal,some time can not get the key,and some time get error key.

 

What's the conceivable reason of these?

 

TL-WN721N take much more resouce to run? 

 

I wish its hardware problem of  my TL-WN721N.

 

And when TL-WN721N is working, many information is outputing like the following, Could you get some information for them?

 

Added BSSID 00:18:39:5d:94:4d into blacklist
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
WPA: 4-Way Handshake failed - pre-shared key may be incorrect
Setting scan request: 0 sec 100000 usec
Added BSSID 00:18:39:5d:94:4d into blacklist
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
RTM_NEWLINK: operstate=1 ifi_flags=0x1043 ([UP][RUNNING])
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Setting scan request: 0 sec 100000 usec
Added BSSID 00:18:39:5d:94:4d into blacklist
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
cfg80211: Callinioctl[SIOCSIWMLME]: Invalid arg CRDA to update world regulatory domain
gument
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
State: 4WAY_HANDSHAKE -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
State: 4WAY_HANDSHAKE -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=40
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
State: COMPLETED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=40
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=40
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
ioctl[SIOCSIWSCAN]: Device or resource busy
Scan requested (ret=-1) - scan timeout 30 seconds
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
ioctl[SIOCSIWSCAN]: Device or resource busy
Scan requested (ret=-1) - scan timeout 30 seconds
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
Authentication with 00:00:00:00:00:00 timed out.
BSSID 00:00:00:00:00:00 blacklist count incremented to 2
No keys have been configured - skip key clearing
State: SCANNING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
Setting scan request: 0 sec 0 usec
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=40
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=40
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
ioctl[SIOCSIWSCAN]: Device or resource busy
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
No keys have been configured - skip key clearing
State: ASSOCIATED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
Scan requested (ret=-1) - scan timeout 30 seconds
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
ioctl[SIOCSIWSCAN]: Device or resource busy
Scan requested (ret=-1) - scan timeout 30 seconds
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=40
Authentication with 00:00:00:00:00:00 timed out.
BSSID 00:00:00:00:00:00 blacklist count incremented to 2
No keys have been configured - skip key clearing
State: SCANNING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
ioctl[SIOCSIWSCAN]: Device or resource busy
Scan requested (ret=-1) - scan timeout 30 seconds
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
Setting scan request: 0 sec 0 usec
RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
BSSID 00:00:00:00:00:00 blacklist count incremented to 2
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=40
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=40
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
ioctl[SIOCSIWSCAN]: Device or resource busy
Scan requested (ret=-1) - scan timeout 30 seconds
Failed to initiate AP scan.
No keys have been configured - skip key clearing
State: 4WAY_HANDSHAKE -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
Setting scan request: 10 sec 0 usec
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
Setting scan request: 0 sec 0 usec
RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
BSSID 00:00:00:00:00:00 blacklist count incremented to 2
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=40
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=40
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
ioctl[SIOCSIWSCAN]: Device or resource busy
Scan requested (ret=-1) - scan timeout 30 seconds
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 1 sec 0 usec
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 1 sec 0 usec
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 1 sec 0 usec
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 1 sec 0 usec
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 1 sec 0 usec
Starting AP scan (broadcast SSID)
ioctl[SIOCSIWSCAN]: Device or resource busy
Scan requested (ret=-1) - scan timeout 30 seconds
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
Starting AP scan (broadcast SSID)
ioctl[SIOCSIWSCAN]: Device or resource busy
Scan requested (ret=-1) - scan timeout 30 seconds
Starting AP scan (broadcast SSID)

 


 
> From: helmut.schaa at googlemail.com
> To: eric_lvjun at hotmail.com
> Subject: Re: [ath9k-devel] About the video problem of ath9k_htc
> Date: Sat, 21 Aug 2010 15:23:08 +0200
> CC: ath9k-devel at lists.ath9k.org
> 
> Hi,
> 
> Am Saturday 21 August 2010 schrieb LvEric:
> > I am using the ath9k_htc driver for TL -WN721N on my Linux Set top box.
> > 
> > after insmod all moudles, plugin the TL-WN721N ,and run "wlist wlan0 scan",
> > 
> > It can works,but the video output became sharking when scaning, when it finish the scaning,
> > 
> > the video back to normal. why? This driver oprate some video output? Or something is same as the video driver?
> > 
> > Any body known what is the reason of this?
> 
> One possible explanation would be because the scanning involves changing
> the channel and as a result the wifi card cannot exchange data with the AP
> during that time (I just assume your set top box is configured as wireless
> STA and associates with an AP since otherwise you wouldn't need to scan).
> 
> However, the software scan implementation in mac80211 uses the configured qos
> requiremenets to determine how many channels to scan at once. In order to
> reduce the average latency at the cost of a longer wireless scan duration you
> can use something like the attached python script (this will set the qos
> latency to 300ms while running, however not sure if the script is still up to
> date). This should advise mac80211 to not leave the operating channel for
> longer periods of time than 300ms (or by a different value you put in there).
> 
> And one more thing: the scan implementation in mac80211 does not respect
> DTIM beacons at all and thus won't work nicely with mutli- and boradcast
> traffic at all. Not sure if that applies to your issue.
> 
> HTH,
> Helmut
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100822/5410fd8b/attachment-0001.htm 

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

* [ath9k-devel] About the video problem of ath9k_htc
  2010-08-22  6:22   ` LvEric
@ 2010-08-22  9:59     ` Helmut Schaa
  0 siblings, 0 replies; 16+ messages in thread
From: Helmut Schaa @ 2010-08-22  9:59 UTC (permalink / raw)
  To: ath9k-devel

Am Sunday 22 August 2010 schrieb LvEric:
> It seems not only scaning make the video shaking,also initialization when TL-WN721N plugin.
> And it seems that all time when TL-WN721N start to work, the video will shaking.
> 
> yestoday,I add some printk in the during of initialization in ath9k_htc, and found the video became shaking near to eeprom start.
> and after that,video shaking when TL-WN721N is working,even "ifconfig wlan0 up" ,video will shake in short.

Ok, I interpreted your mail as if you've got problems while streaming a video
over wifi. But you're issue seems to be different. Hence, you can ignore my
previous suggestion.

Helmut

> > From: helmut.schaa at googlemail.com
> > To: eric_lvjun at hotmail.com
> > Subject: Re: [ath9k-devel] About the video problem of ath9k_htc
> > Date: Sat, 21 Aug 2010 15:23:08 +0200
> > CC: ath9k-devel at lists.ath9k.org
> > 
> > Hi,
> > 
> > Am Saturday 21 August 2010 schrieb LvEric:
> > > I am using the ath9k_htc driver for TL -WN721N on my Linux Set top box.
> > > 
> > > after insmod all moudles, plugin the TL-WN721N ,and run "wlist wlan0 scan",
> > > 
> > > It can works,but the video output became sharking when scaning, when it finish the scaning,
> > > 
> > > the video back to normal. why? This driver oprate some video output? Or something is same as the video driver?
> > > 
> > > Any body known what is the reason of this?
> > 
> > One possible explanation would be because the scanning involves changing
> > the channel and as a result the wifi card cannot exchange data with the AP
> > during that time (I just assume your set top box is configured as wireless
> > STA and associates with an AP since otherwise you wouldn't need to scan).
> > 
> > However, the software scan implementation in mac80211 uses the configured qos
> > requiremenets to determine how many channels to scan at once. In order to
> > reduce the average latency at the cost of a longer wireless scan duration you
> > can use something like the attached python script (this will set the qos
> > latency to 300ms while running, however not sure if the script is still up to
> > date). This should advise mac80211 to not leave the operating channel for
> > longer periods of time than 300ms (or by a different value you put in there).
> > 
> > And one more thing: the scan implementation in mac80211 does not respect
> > DTIM beacons at all and thus won't work nicely with mutli- and boradcast
> > traffic at all. Not sure if that applies to your issue.
> > 
> > HTH,
> > Helmut
>  		 	   		  

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

* [ath9k-devel] About the video problem of ath9k_htc
  2010-08-21  6:53 [ath9k-devel] About the video problem of ath9k_htc LvEric
  2010-08-21 11:41 ` Peter Stuge
  2010-08-21 13:23 ` Helmut Schaa
@ 2010-08-23  3:25 ` Senthilkumar Balasubramanian
  2010-08-23  5:58   ` LvEric
  2010-08-26 17:30   ` LvEric
  2010-08-27  5:14 ` Alan
  3 siblings, 2 replies; 16+ messages in thread
From: Senthilkumar Balasubramanian @ 2010-08-23  3:25 UTC (permalink / raw)
  To: ath9k-devel

2010/8/21 LvEric <eric_lvjun@hotmail.com>

> Hi All,
>
> I am using the ath9k_htc driver for TL -WN721N on my Linux Set top box.
> after insmod all moudles,  plugin the TL-WN721N ,and run  "wlist wlan0
> scan",
> It can works,but the video output became sharking when scaning, when it
> finish the scaning,
>

AR9271 consumes more CPU during scanning and also the scan time higher and
we are addressing this isssue.. From the symptoms, it looks to me that it
may be an issue related to scaning.. We should be sending out the fixes
soon..


> the video back to normal. why? This driver oprate some video output? Or
> something is same as the video driver?
> Any body known what is the reason of this?
>
> Thanks.
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100823/c061d9e8/attachment.htm 

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

* [ath9k-devel] About the video problem of ath9k_htc
  2010-08-23  3:25 ` Senthilkumar Balasubramanian
@ 2010-08-23  5:58   ` LvEric
  2010-08-23 14:48     ` pat-lkml
  2010-08-26 17:30   ` LvEric
  1 sibling, 1 reply; 16+ messages in thread
From: LvEric @ 2010-08-23  5:58 UTC (permalink / raw)
  To: ath9k-devel


Hi Friend,

 

    In my case, the video Shaking all the time when TL -WN721N is wroking. 

 

It means not only scaning. maybe it consumes more resource when AR9271 working not only scaning.

 

Please send me the solution when you fix,I can test it on my box and feedbak.

 

Thanks very much,wish it will be fixed soon.
 


Date: Mon, 23 Aug 2010 08:55:06 +0530
Subject: Re: [ath9k-devel] About the video problem of ath9k_htc
From: senthil.balasubramanian@gmail.com
To: eric_lvjun at hotmail.com
CC: ath9k-devel at lists.ath9k.org




2010/8/21 LvEric <eric_lvjun@hotmail.com>


Hi All,
 
I am using the ath9k_htc driver for TL -WN721N on my Linux Set top box.
after insmod all moudles,  plugin the TL-WN721N ,and run  "wlist wlan0 scan",
It can works,but the video output became sharking when scaning, when it finish the scaning,
 
AR9271 consumes more CPU during scanning and also the scan time higher and we are addressing this isssue.. From the symptoms, it looks to me that it may be an issue related to scaning.. We should be sending out the fixes soon..
 

the video back to normal. why? This driver oprate some video output? Or something is same as the video driver?
Any body known what is the reason of this?
 
Thanks.

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


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100823/aa9ee329/attachment.htm 

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

* [ath9k-devel] About the video problem of ath9k_htc
  2010-08-23  5:58   ` LvEric
@ 2010-08-23 14:48     ` pat-lkml
  2010-08-23 16:14       ` Lv追风
  0 siblings, 1 reply; 16+ messages in thread
From: pat-lkml @ 2010-08-23 14:48 UTC (permalink / raw)
  To: ath9k-devel

An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100823/65dbb727/attachment.htm 

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

* [ath9k-devel] About the video problem of ath9k_htc
  2010-08-23 14:48     ` pat-lkml
@ 2010-08-23 16:14       ` Lv追风
  2010-08-23 16:19         ` pat-lkml
  2010-08-23 21:17         ` Peter Stuge
  0 siblings, 2 replies; 16+ messages in thread
From: Lv追风 @ 2010-08-23 16:14 UTC (permalink / raw)
  To: ath9k-devel


Hi Friend,

 

     I use the normal AV line, connect to my USB EasyCap,and capture the video by my PC. 

It also shaking... So I think the shaking happened when the video is outputed.  

 

And it also make my remote control works in error, Do you have this experience? 

 

 

Eric

 


Date: Mon, 23 Aug 2010 10:48:26 -0400
From: pat-lkml@erley.org
To: eric_lvjun at hotmail.com
CC: ath9k-devel at lists.ath9k.org
Subject: Re: [ath9k-devel] About the video problem of ath9k_htc


I've experienced similar, the fixes were to: Use higher quality video cables (non-hdmi case), add space between the wireless card and the TV (crappy CRT Tv).  replacing the cables with better shielded ones will likely solve it for you, as switching to HDMI fixed it.

Pat



On 8/23/2010 1:58 AM, LvEric wrote: 


Hi Friend,
 
    In my case, the video Shaking all the time when TL -WN721N is wroking. 
 
It means not only scaning. maybe it consumes more resource when AR9271 working not only scaning.
 
Please send me the solution when you fix,I can test it on my box and feedbak.
 
Thanks very much,wish it will be fixed soon.
 


Date: Mon, 23 Aug 2010 08:55:06 +0530
Subject: Re: [ath9k-devel] About the video problem of ath9k_htc
From: senthil.balasubramanian@gmail.com
To: eric_lvjun at hotmail.com
CC: ath9k-devel at lists.ath9k.org




2010/8/21 LvEric <eric_lvjun@hotmail.com>


Hi All,
 
I am using the ath9k_htc driver for TL -WN721N on my Linux Set top box.
after insmod all moudles,  plugin the TL-WN721N ,and run  "wlist wlan0 scan",
It can works,but the video output became sharking when scaning, when it finish the scaning,
 
AR9271 consumes more CPU during scanning and also the scan time higher and we are addressing this isssue.. From the symptoms, it looks to me that it may be an issue related to scaning.. We should be sending out the fixes soon..
 

the video back to normal. why? This driver oprate some video output? Or something is same as the video driver?
Any body known what is the reason of this?
 
Thanks.

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



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

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100824/30e89473/attachment.htm 

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

* [ath9k-devel] About the video problem of ath9k_htc
  2010-08-23 16:14       ` Lv追风
@ 2010-08-23 16:19         ` pat-lkml
  2010-08-23 21:17         ` Peter Stuge
  1 sibling, 0 replies; 16+ messages in thread
From: pat-lkml @ 2010-08-23 16:19 UTC (permalink / raw)
  To: ath9k-devel

An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100823/2d2d2242/attachment.htm 

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

* [ath9k-devel] About the video problem of ath9k_htc
  2010-08-23 16:14       ` Lv追风
  2010-08-23 16:19         ` pat-lkml
@ 2010-08-23 21:17         ` Peter Stuge
  1 sibling, 0 replies; 16+ messages in thread
From: Peter Stuge @ 2010-08-23 21:17 UTC (permalink / raw)
  To: ath9k-devel

Lv?? wrote:
> I use the normal AV line, connect to my USB EasyCap,and capture the
> video by my PC. 

Ok, so both video and wifi runs over USB.

Are you using a USB hub? Any other USB devices? I suggest removing as
many USB devices as possible, and testing again with *only* the wifi
and the video connected directly to USB ports in the computer.

If you are using a USB hub it can definately cause problems. If
everything works when wifi and video are connected directly to the PC
then you have to experiment with different hubs to find one that
works for you.

I have encountered many hubs which do not work well at all,
especially with isochronous transfers used by audio and video
devices.


//Peter

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

* [ath9k-devel] About the video problem of ath9k_htc
  2010-08-23  3:25 ` Senthilkumar Balasubramanian
  2010-08-23  5:58   ` LvEric
@ 2010-08-26 17:30   ` LvEric
  2010-08-26 17:36     ` pat-lkml
  1 sibling, 1 reply; 16+ messages in thread
From: LvEric @ 2010-08-26 17:30 UTC (permalink / raw)
  To: ath9k-devel


Hi Friends,

 

These days I try to move to zd1211rw for my wireless.And buy a device.

It works more better.But also find video shaking problem happened when the device was initing and iwlist wlan0 scan.

And when it is working,some time make the video smoll shaking. But it works much more better than Ath9k_htc.

zd1211rw also have this problem, if it means compat have some problem of this too?

My wireless is working now, but wish somebody can fix this problem.

Let the wireless can be working everywhere.

 

Thanks.
 


Date: Mon, 23 Aug 2010 08:55:06 +0530
Subject: Re: [ath9k-devel] About the video problem of ath9k_htc
From: senthil.balasubramanian@gmail.com
To: eric_lvjun at hotmail.com
CC: ath9k-devel at lists.ath9k.org




2010/8/21 LvEric <eric_lvjun@hotmail.com>


Hi All,
 
I am using the ath9k_htc driver for TL -WN721N on my Linux Set top box.
after insmod all moudles,  plugin the TL-WN721N ,and run  "wlist wlan0 scan",
It can works,but the video output became sharking when scaning, when it finish the scaning,
 
AR9271 consumes more CPU during scanning and also the scan time higher and we are addressing this isssue.. From the symptoms, it looks to me that it may be an issue related to scaning.. We should be sending out the fixes soon..
 

the video back to normal. why? This driver oprate some video output? Or something is same as the video driver?
Any body known what is the reason of this?
 
Thanks.

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


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100827/5a37f108/attachment.htm 

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

* [ath9k-devel] About the video problem of ath9k_htc
  2010-08-26 17:30   ` LvEric
@ 2010-08-26 17:36     ` pat-lkml
  2010-08-26 18:25       ` LvEric
  0 siblings, 1 reply; 16+ messages in thread
From: pat-lkml @ 2010-08-26 17:36 UTC (permalink / raw)
  To: ath9k-devel

An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100826/49935c1a/attachment.htm 

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

* [ath9k-devel] About the video problem of ath9k_htc
  2010-08-26 17:36     ` pat-lkml
@ 2010-08-26 18:25       ` LvEric
  0 siblings, 0 replies; 16+ messages in thread
From: LvEric @ 2010-08-26 18:25 UTC (permalink / raw)
  To: ath9k-devel


Hi Pat,

 

I try your suggestion, move the wireless device far from my box and TV by an extern USB line (about 2m length).

But it have the same problem.TL-WN721N make the video shaking when it is working,and zd1211rw shaking when it scan the network.

 
 


Date: Thu, 26 Aug 2010 13:36:04 -0400
From: pat-lkml@erley.org
To: eric_lvjun at hotmail.com
CC: senthil.balasubramanian at gmail.com; ath9k-devel at lists.ath9k.org
Subject: Re: [ath9k-devel] About the video problem of ath9k_htc


On 8/26/2010 1:30 PM, LvEric wrote: 


Hi Friends,
 
These days I try to move to zd1211rw for my wireless.And buy a device.
It works more better.But also find video shaking problem happened when the device was initing and iwlist wlan0 scan.
And when it is working,some time make the video smoll shaking. But it works much more better than Ath9k_htc.
zd1211rw also have this problem, if it means compat have some problem of this too?
My wireless is working now, but wish somebody can fix this problem.
Let the wireless can be working everywhere.
 
Thanks.
 
There is no way a driver can fix RF interference in a case like this.  The only solutions involve changing your physical environment (or the laws of physics).  Replace the tv cables, and/or move the wireless card away from them.  a 2m USB Extension cable to move the wireless card away from the computer will not be expensive, will not affect performance, and will very likely fix the problem.

Pat Erley
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100827/c17c9e3b/attachment.htm 

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

* [ath9k-devel] About the video problem of ath9k_htc
  2010-08-21  6:53 [ath9k-devel] About the video problem of ath9k_htc LvEric
                   ` (2 preceding siblings ...)
  2010-08-23  3:25 ` Senthilkumar Balasubramanian
@ 2010-08-27  5:14 ` Alan
  3 siblings, 0 replies; 16+ messages in thread
From: Alan @ 2010-08-27  5:14 UTC (permalink / raw)
  To: ath9k-devel

Does the video cable have a ferrite ring?
If not, I think you could try buying one and putting it close to the
end of the cable that goes into the monitor / tv.

http://en.wikipedia.org/wiki/Ferrite_bead

2010/8/21 LvEric <eric_lvjun@hotmail.com>:
> Hi All,
>
> I am using the ath9k_htc driver for TL -WN721N on my Linux Set top box.
> after insmod all moudles,? plugin the TL-WN721N ,and run? "wlist wlan0
> scan",
> It can works,but the video output became sharking when scaning, when it
> finish the scaning,
> the video back to normal. why? This driver oprate some video output? Or
> something is same as the video driver?
> Any body known what is the reason of this?
>
> Thanks.

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

end of thread, other threads:[~2010-08-27  5:14 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-21  6:53 [ath9k-devel] About the video problem of ath9k_htc LvEric
2010-08-21 11:41 ` Peter Stuge
2010-08-21 13:23 ` Helmut Schaa
2010-08-22  6:22   ` LvEric
2010-08-22  9:59     ` Helmut Schaa
2010-08-22  7:53   ` LvEric
2010-08-23  3:25 ` Senthilkumar Balasubramanian
2010-08-23  5:58   ` LvEric
2010-08-23 14:48     ` pat-lkml
2010-08-23 16:14       ` Lv追风
2010-08-23 16:19         ` pat-lkml
2010-08-23 21:17         ` Peter Stuge
2010-08-26 17:30   ` LvEric
2010-08-26 17:36     ` pat-lkml
2010-08-26 18:25       ` LvEric
2010-08-27  5:14 ` Alan

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.