Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-08-06 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by thx):

 I am seeing a problem with the EA3500 which might be related or have the
 same underlying cause.  For what it's worth, I am looking at this from a
 different perspective, so might be useful.  I have several laptops that
 associate with the EA3500 which seem to work normally, but then I have
 one, a Toshiba Satellite running a Realtek RTL8188CE using the rtl8192ce
 and nl80211 drivers, which reacts badly.  I note that the dmesg log has
 [   11.638789] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
 and I'm not sure where that rate control is operating, in the firmware, or
 in some kernel module, or in userspace.

 The problem is easiest to see running ping from a machine with a wire
 connection to the access point, pinging the laptop.  Every four to eight
 seconds, the ping response hangs for about four seconds, and then all the
 ping replies are returned in a burst.  No pings are dropped.  On the
 access point, "iw wlan0 station dump" shows "tx retries: 0" and "tx
 failed:  0".  Running tcpdump on the laptop, it seems to respond
 immediately whenever it receives an echo request.  It just does not get
 the request during the "hangs".  But running tcpdump on the access point,
 the echo requests are seen passing through wlan0 at regular intervals.  I
 have not looked at the actual RF, so I don't know if the packets are
 really going over the air or not.  Still, it is as if there were a buffer
 of echo requests filling-up at the access point, and then "dumping" after
 four seconds or so.

 Now, it seems there is an effective and inexplicable workaround for this
 periodic "hang".  If I run ping on the *laptop*, and at the same time ping
 from the remote machine, the ping hangs at the remote machine completely
 disappear, and all the ping times average around 1ms.

 The EA3500 is running the Marvell 88W8366 Integrated MAC/Baseband MIMO SoC
 with the 88W8063 MIMO RF Transceiver, and the driver is the mwl8k, which
 then depends upon mac80211 and cfg80211, and then upon the compat module.
 The 88W8366 firmware does its own rate control.  It is hard to say if the
 "problem" is in the access point or in the laptop, since they mostly act
 badly together.  But I did try the same ping test using the older Belkin
 N1, "F5D8231-4 v2" radio, which also has a Marvel chip set, the 88W8361,
 but running their own driver.  There is a similar effect, except that the
 "hangs" are all on the order of about 900ms instead of 4000ms, and still
 completely disappear when running ping from the laptop.  Perhaps there is
 some common problem in the Marvell firmware?

 I hope all that might spark some ideas, since my workaround is such a
 hack.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-07-24 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by lordgilman):

 Ok, did some more testing with stock hostapd but wpa_group_rekey turned
 down to 15 seconds.  I classified the rekeys as bad (where it exhausts all
 of the rekey timeouts and disconnects), good (rekeys on the first try) and
 slow (takes more than one rekey).

 The baseline:
 Bad: 5 (12%)
 Good: 18 (44%)
 Slow: 18 (44%)

 While doing this test I noticed that it seemed like a timeout that was
 going to be bad (disconnect) might turn into a slow rekey if data was sent
 over the network.  So I tried the test again, but with video streaming on
 the phone so there would be constant data being sent:

 Constant data:
 Bad: 0
 Good: 25 (77%)
 Slow: 9 (26%)

 So a much better improvement.  Seems to be related to some sort of
 buffering on the phone - something about the AP + the phone is making it
 aggressively buffer data and not wake up to respond to these EAPOLs.  I
 might try to see if disconnects keep happening without any WPA encryption
 at all next.  I did dig around in the offending phone and there isn't any
 sort of low power or power saving functionality enabled that I could see
 causing it to buffer like this.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-07-24 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by wooshcz@…):

 I have rebuilt the hostapd with eapol_key_timeout_subseq = 10s yesterday,
 but the timeouts/drops did not disappear. The issue persists on two
 Android phones - OnePlus X and LG Nexus 5X. Both devices behave a bit
 differently. It seems that the OnePlus now works almost without a glitch,
 but the Nexus' WiFi still timeouts and stops working completely for a few
 minutes.

 I'm running build 49871 with modified hostapd since yesterday. I'll try to
 post more info after some more testing.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-07-18 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 Hi,

 I also have issues with my ea4500. Just had a look at my stock bootlog,
 and as far as I can see, the stock fw uses ap8x module instead of mwl8k. I
 don't really see any package definition for ap8x. any thoughts what ap8x
 is?

 {{{
 ~ # lsmod
 Module  Size  Used byTainted: P
 usb_libusual8021  0
 ehci_hcd   29681  0
 usbcore   101523  3 usb_libusual,ehci_hcd
 ap8x 2836073  1
 nf_nat_ftp  1120  0
 nf_conntrack_ftp4497  1 nf_nat_ftp
 nls_iso8859_1   2934  0
 nls_cp437   4466  0
 sd_mod 23819  0
 scsi_mod   66170  1 sd_mod
 orion_wdt   5567  0
 mod_bdutil 16566  2

 }}}

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-07-13 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 I have the same issue with my EA3500 and my Samsung Galaxy S6 phone.
 I tried to sniff wifi communication between my phone and the router and
 tried to log hostapd messages and got the same result as above (EAPOL-Key
 timeout).

 When the router says it is sending "1/2 msg of Group Key Handshake"
 there's no communication between the router and the phone.


 {{{
 ### syslog ###
 2016-07-13T15:10:00+02:00 CiscoJH hostapd: wlan1: WPA rekeying GTK
 2016-07-13T15:10:00+02:00 CiscoJH hostapd: wlan1: STA  WPA:
 sending 1/2 msg of Group Key Handshake
 2016-07-13T15:10:01+02:00 CiscoJH hostapd: wlan1: STA  WPA:
 EAPOL-Key timeout
 2016-07-13T15:10:01+02:00 CiscoJH hostapd: wlan1: STA  WPA:
 sending 1/2 msg of Group Key Handshake
 2016-07-13T15:10:02+02:00 CiscoJH hostapd: wlan1: STA  WPA:
 EAPOL-Key timeout
 2016-07-13T15:10:02+02:00 CiscoJH hostapd: wlan1: STA  WPA:
 sending 1/2 msg of Group Key Handshake
 2016-07-13T15:10:03+02:00 CiscoJH hostapd: wlan1: STA  WPA:
 EAPOL-Key timeout
 2016-07-13T15:10:03+02:00 CiscoJH hostapd: wlan1: STA  WPA:
 sending 1/2 msg of Group Key Handshake
 2016-07-13T15:10:04+02:00 CiscoJH hostapd: wlan1: STA  WPA:
 EAPOL-Key timeout
 2016-07-13T15:10:04+02:00 CiscoJH hostapd: wlan1: STA  WPA:
 WPA_PTK: sm->Disconnect
 2016-07-13T15:10:04+02:00 CiscoJH hostapd: wlan1: STA  WPA:
 event 3 notification
 2016-07-13T15:10:04+02:00 CiscoJH hostapd: wlan1: STA  IEEE
 802.1X: unauthorizing port
 2016-07-13T15:10:06+02:00 CiscoJH hostapd: wlan1: STA  MLME:
 MLME-DEAUTHENTICATE.indication(, 2)
 2016-07-13T15:10:06+02:00 CiscoJH hostapd: wlan1: STA  MLME:
 MLME-DELETEKEYS.request()
 2016-07-13T15:10:09+02:00 CiscoJH hostapd: wlan1: STA  IEEE
 802.11: deauthenticated due to local deauth request
 2016-07-13T15:10:15+02:00 CiscoJH hostapd: wlan1: STA  IEEE
 802.11: authentication OK (open system)
 2016-07-13T15:10:15+02:00 CiscoJH hostapd: wlan1: STA  MLME:
 MLME-AUTHENTICATE.indication(, OPEN_SYSTEM)
 2016-07-13T15:10:15+02:00 CiscoJH hostapd: wlan1: STA  MLME:
 MLME-DELETEKEYS.request()
 2016-07-13T15:10:15+02:00 CiscoJH hostapd: wlan1: STA  IEEE
 802.11: authenticated
 2016-07-13T15:10:15+02:00 CiscoJH hostapd: wlan1: STA  IEEE
 802.11: association OK (aid 1)
 2016-07-13T15:10:15+02:00 CiscoJH hostapd: wlan1: STA  IEEE
 802.11: associated (aid 1)
 2016-07-13T15:10:15+02:00 CiscoJH hostapd: wlan1: STA  MLME:
 MLME-ASSOCIATE.indication()
 2016-07-13T15:10:15+02:00 CiscoJH hostapd: wlan1: STA  MLME:
 MLME-DELETEKEYS.request()
 2016-07-13T15:10:15+02:00 CiscoJH hostapd: wlan1: STA  IEEE
 802.11: binding station to interface 'wlan1'
 2016-07-13T15:10:15+02:00 CiscoJH hostapd: wlan1: STA  WPA:
 event 1 notification
 2016-07-13T15:10:15+02:00 CiscoJH hostapd: wlan1: STA  WPA:
 start authentication
 2016-07-13T15:10:15+02:00 CiscoJH hostapd: wlan1: STA  IEEE
 802.1X: unauthorizing port
 2016-07-13T15:10:15+02:00 CiscoJH hostapd: wlan1: STA  WPA:
 sending 1/4 msg of 4-Way Handshake
 2016-07-13T15:10:15+02:00 CiscoJH hostapd: wlan1: STA  WPA:
 received EAPOL-Key frame (2/4 Pairwise)
 2016-07-13T15:10:15+02:00 CiscoJH hostapd: wlan1: STA  WPA:
 sending 3/4 msg of 4-Way Handshake
 2016-07-13T15:10:15+02:00 CiscoJH hostapd: wlan1: STA  WPA:
 received EAPOL-Key frame (4/4 Pairwise)

 ### wifi packets ###
 No. Time   Time   Source
 Destination   Protocol Length Info
   29686 1694.12859515:10:00.085926Cisco-Li_72:35:d9 Broadcast
 802.11   207Beacon frame, SN=1408, FN=0, Flags=C, BI=100,
 SSID=JH5
   29687 1694.23111315:10:00.188444Cisco-Li_72:35:d9 Broadcast
 802.11   207Beacon frame, SN=1409, FN=0, Flags=C, BI=100,
 SSID=JH5
   29688 1694.33351615:10:00.290847Cisco-Li_72:35:d9 Broadcast
 802.11   207Beacon frame, SN=1410, FN=0, Flags=C, BI=100,
 SSID=JH5
   29689 1694.43597415:10:00.393305Cisco-Li_72:35:d9 Broadcast
 802.11   207Beacon frame, SN=1411, FN=0, Flags=C, BI=100,
 SSID=JH5
   29690 1694.53840115:10:00.495732Cisco-Li_72:35:d9 Broadcast
 802.11   207Beacon frame, SN=1412, FN=0, Flags=C, BI=100,
 SSID=JH5
   29691 1694.64079215:10:00.598123Cisco-Li_72:35:d9 Broadcast
 802.11   207Beacon frame, SN=1413, FN=0, Flags=C, BI=100,
 SSID=JH5
   29692 1694.74318815:10:00.700519Cisco-Li_72:35:d9 Broadcast
 802.11   207Beacon frame, SN=1414, FN=0, Flags=C, BI=100,
 SSID=JH5
   29693 1694.84558315:10:00.802914Cisco-Li_72:35:d9 Broadcast
 802.11   207Beacon frame, SN=

Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-07-11 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by molocho):

 yea, thanks for your work on this, lordgilman. All i can offer at this
 time is to do some excessive testing. And #35 is right, the 6S also has
 the problem.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-07-10 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 thanks for following up on this, lordgilman.  I've been seeing the same
 thing on my EA4500, DD trunk, using 2013 MacBook Pro and iPhone 6s as
 clients ("tx ring drained", "Command BASTREAM error 0x1", etc.).  I tried
 disabling encryption but still got the dropouts.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-07-10 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by lordgilman):

 Ok, I built wpad with increased timeouts.  I also brought down the
 interval between GTK rekeys to make this easier to test.  The rekey
 success rate was pretty good but there were still a few nasty drops.  I
 managed to get this capture for one of them.  The syslog with timestamps
 is first, the hostapd debug log is second:

 {{{
 Sun Jul 10 06:00:12 2016 daemon.debug hostapd: wlan1: WPA rekeying GTK
 Sun Jul 10 06:00:12 2016 daemon.debug hostapd: wlan1: STA (bad phone) WPA:
 sending 1/2 msg of Group Key Handshake
 Sun Jul 10 06:00:13 2016 daemon.debug hostapd: wlan1: STA (bad phone) WPA:
 EAPOL-Key timeout
 Sun Jul 10 06:00:13 2016 daemon.debug hostapd: wlan1: STA (bad phone) WPA:
 sending 1/2 msg of Group Key Handshake
 Sun Jul 10 06:00:15 2016 daemon.debug hostapd: wlan1: STA (bad phone) WPA:
 EAPOL-Key timeout
 Sun Jul 10 06:00:15 2016 daemon.debug hostapd: wlan1: STA (bad phone) WPA:
 sending 1/2 msg of Group Key Handshake
 Sun Jul 10 06:00:17 2016 daemon.debug hostapd: wlan1: STA (bad phone) WPA:
 EAPOL-Key timeout
 Sun Jul 10 06:00:17 2016 daemon.debug hostapd: wlan1: STA (bad phone) WPA:
 sending 1/2 msg of Group Key Handshake
 Sun Jul 10 06:00:19 2016 daemon.debug hostapd: wlan1: STA (bad phone) WPA:
 EAPOL-Key timeout
 Sun Jul 10 06:00:19 2016 daemon.debug hostapd: wlan1: STA (bad phone) WPA:
 WPA_PTK: sm->Disconnect
 Sun Jul 10 06:00:19 2016 daemon.debug hostapd: wlan1: STA (bad phone) WPA:
 event 3 notification
 Sun Jul 10 06:00:19 2016 daemon.debug hostapd: wlan1: STA (bad phone) IEEE
 802.1X: unauthorizing port
 Sun Jul 10 06:00:19 2016 daemon.debug hostapd: wlan1: STA (bad phone)
 MLME: MLME-DEAUTHENTICATE.indication((bad phone), 2)
 Sun Jul 10 06:00:19 2016 daemon.debug hostapd: wlan1: STA (bad phone)
 MLME: MLME-DELETEKEYS.request((bad phone))
 Sun Jul 10 06:00:19 2016 kern.debug kernel: [110316.263312] ieee80211
 phy1: Deleted BA stream index 0
 Sun Jul 10 06:00:19 2016 kern.debug kernel: [110316.263422] ieee80211
 phy1: Remove stream for (bad phone) 0
 Sun Jul 10 06:00:24 2016 daemon.info hostapd: wlan1: STA (bad phone) IEEE
 802.11: deauthenticated due to local deauth request

 wlan1: WPA rekeying GTK
 WPA: group state machine entering state SETKEYS (VLAN-ID 0)
 GTK - hexdump(len=16): [REMOVED]
 WPA: (bad phone) WPA_PTK_GROUP entering state REKEYNEGOTIATING
 wlan1: STA (bad phone) WPA: sending 1/2 msg of Group Key Handshake
 WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0
 kde_len=24 keyidx=2 encr=1)
 WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 10
 Plaintext EAPOL-Key Key Data - hexdump(len=32): [REMOVED]
 WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 1)
 wpa_group_setkeys: GKeyDoneStations=1
 wlan1: STA (bad phone) WPA: EAPOL-Key timeout
 WPA: (bad phone) WPA_PTK_GROUP entering state REKEYNEGOTIATING
 wlan1: STA (bad phone) WPA: sending 1/2 msg of Group Key Handshake
 WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0
 kde_len=24 keyidx=2 encr=1)
 WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 11
 Plaintext EAPOL-Key Key Data - hexdump(len=32): [REMOVED]
 WPA: Use EAPOL-Key timeout of 2000 ms (retry counter 2)
 wlan1: STA (bad phone) WPA: EAPOL-Key timeout
 WPA: (bad phone) WPA_PTK_GROUP entering state REKEYNEGOTIATING
 wlan1: STA (bad phone) WPA: sending 1/2 msg of Group Key Handshake
 WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0
 kde_len=24 keyidx=2 encr=1)
 WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 12
 Plaintext EAPOL-Key Key Data - hexdump(len=32): [REMOVED]
 WPA: Use EAPOL-Key timeout of 2000 ms (retry counter 3)
 nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
 nl80211: RX frame sa=cc:95:d7:d9:3d:95 freq=5180 ssi_signal=-67 fc=0x40
 seq_ctrl=0x2c0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=68
 nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
 nl80211: RX frame sa=cc:95:d7:d9:3d:95 freq=5180 ssi_signal=-67 fc=0x40
 seq_ctrl=0x2d0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=175
 nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
 nl80211: RX frame sa=cc:95:d7:d9:3d:95 freq=5180 ssi_signal=-68 fc=0x40
 seq_ctrl=0x2e0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=42
 nl80211: send_mlme - da= cc:95:d7:d9:3d:95 noack=1 freq=0 no_cck=0
 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
 nl80211: send_mlme -> send_frame
 nl80211: send_frame - Use bss->freq=5180
 nl80211: send_frame -> send_frame_cmd
 nl80211: Drop oldest pending send action cookie 0x0
 nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for w

Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-07-08 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by lordgilman):

 I've been working with the author of the EA3500's wireless driver on the
 linux-wireless mailing list.  You can see the latest message in our
 correspondence here:

 http://marc.info/?l=linux-wireless&m=146752644907945

 I've recompiled hostapd with full debugging support and captured the logs
 in that email for when the disconnects happen.  No drop ever looks exactly
 the same but they all look like the WiFi device is unable to respond to
 the EAPOL message in time.  This would explain why certain devices work
 fine on the same hardware while others are perpetually dropping
 connections, and why molocho's findings in comment 32 show that switching
 to a quiet channel doesn't help out here.

 The timeouts for all of this stuff are hardcoded in hostapd, in
 src/ap/wpa_auth.c.  I am tempted to get a patch to change these, but the
 fact that they're not configurable at runtime makes me a bit wary that
 there might be a good reason for those constants.  I'd appreciate it if
 anyone from the OpenWRT project who's familiar with the workings of WPA
 could give some opinion here.  If this patch isn't a bad idea it might be
 a good idea to ship the Audi Kirkwood binaries with a patched hostapd.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-06-20 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by molocho):

 Testing for an hour confirms: using unused channels won't fix this for
 longer than a couple of minutes. Although all of the wireless traffic
 seems to work fine shortly after reboot, the connection gets horribly
 unstable after a few minutes uptime. On some links you'll wait 20sec until
 it starts loading, on other clicks you sometimes instantly get a "device
 not connected to internet" message. Interestingly, in my case it mainly
 affects four Apple iOS devices older than the iPhone 6s, which perfectly
 fits to the report made in comment #8. The 6s, and Intel wifi chipsets on
 a lenovo machine als well as an ath9k USB wifi Chip work flawless as
 clients, which might be the reason this problem never has been seen and
 adressed  so far from whoever maintains the driver.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-06-20 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by molocho):

 I have also faced this issue on an EA4500. I tried every OpenWrt trunk
 from the past 2 weeks, as well as the first releases to support this
 Router, the stable Chaos Calmer release and the Candyhouse mod. First i
 thought it is a problem with MTU PPPoE setting, so i tinkered with that
 and set MSS Clamping. None brought success. Trying to tamper with RTS/CTS
 / Threshold in wifi settings also brought no success. As for now, finding
 an unused WiFi channel seems to do it for now, but i am not convinced that
 this will do it from now on. My log looks the same than comment 9 starting
 time index 6+. I strongly believe this is a driver issue.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-06-20 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by lm@…):

 Replying to [comment:29 lm@…]:
 > Same here. Installed kirkwood audi from snapshot from 2016.06.14. Wifi
 disconnects every couple of seconds:
 >

 I finally changed config to use different SSID for 11g and 11n networks. I
 also changed 11g channel and problem disappeared. There was another 11g
 network on channel and I think that was main reason for those
 disconnections.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-06-17 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by lm@…):

 Same here. Installed kirkwood audi from snapshot from 2016.06.14. Wifi
 disconnects every couple of seconds:


 {{{
 [95626.434003] ieee80211 phy0: Started stream for 00:21:6a:49:37:e6 0
 [95626.445770] ieee80211 phy0: tx rings drained
 [95626.450122] ieee80211 phy0: Command BASTREAM error 0x1
 [95627.465449] ieee80211 phy0: Command BASTREAM error 0x1
 [95628.475476] ieee80211 phy0: Command BASTREAM error 0x1
 [95629.489810] ieee80211 phy0: Created a BA stream for 00:21:6a:49:37:e6 :
 tid 0
 [95668.879720] ieee80211 phy0: Deleted BA stream index 0
 [95668.879747] ieee80211 phy0: Remove stream for 00:21:6a:49:37:e6 0
 [95670.831094] ieee80211 phy0: Added a new stream for 00:21:6a:49:37:e6 0

 }}}

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-05-28 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by lordgilman):

 The audi package was upgraded to kernel 4.4 on March 14th.  I've upgraded
 to a trunk build that has the 4.4 kernel but I'm still experiencing the
 disconnects.  :(

 I also have multiple WiFi devices that regularly use this access point.
 One's a Nexus 4 and it works great, never gets these disconnects.  The
 other two devices are Samsung Galaxy phones of different models and they
 both get the disconnects.  Wondering if there's some corner case behavior
 those wireless chips are exposing here that the maintainers of the kernel
 driver didn't account for.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-05-22 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by Kate6):

 Replying to [comment:25 Lynx]:
 > Running r49166 on an ea4200v2. Had to manually
 >  create the wireless configuration by editing /etc/conf/wireless. Added
 an explicit name for each 'wifi-iface' section and set the hwmode to '11g'
 for radio0.

 Thank you for this!

 Running r49377 on an ea3500.  2.4GHz radio wasn't enabling.  After
 manually editing the configuration LuCI had left at /etc/config/wireless
 and changing hwmode from '11a' to '11g' the radio has enabled.  Also seems
 to work if I put '11n' in that field so I've left it with that value.

 Would this be a bug in LuCI or a bug in the wifi driver?

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-04-27 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 Replying to [comment:12 anonymous]:
 > I am experienced with openwrt (6 Years) and wrote the parts of wiki-
 ea4500. (how to install without serial). I am sure wifi setup is correct.
 Tested some settings ht20/ht40, lower txpower etc. Stock firmware works
 correctly for me.(just tested it one day)
 >
 > There is "something" with the driver/firmware.
 > sta mode works correctly by the way, only saw this in ap mode

 Maybe it is a firmware/driver issue. As you can see in the logs of other
 users, the version of AP firmware is 5.2.8.17. However, the latest
 
[http://downloads.linksys.com/downloads/firmware/FW_EA3500_1.1.40.162464_prod.zip
 EA3500 stock firmware] includes AP firmware version 5.3.0.6.
 Unfortunately, I'm not a programmer so I'm not able to adapt mac80211 to
 work with the stock AP firmware 5.3.0.6 or change the stock GPL wlan
 driver to work with OpenWrt.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-04-18 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by Lynx):

 Running r49166 on an ea4200v2. Had to manually
  create the wireless configuration by editing /etc/conf/wireless. Added an
 explicit name for each 'wifi-iface' section and set the hwmode to '11g'
 for radio0.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-04-18 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by BenjaminH):

 Replying to [comment:23 anonymous]:
 > hmm... i have an ea4500 on r49096 since april 1st.  radio seems stable
 on both 2.4ghz and 5ghz.  i noticed sometimes i'm not able to enable
 2.4Ghz radio via LuCI and had to manually create the wireless
 configuration.  for now i'm staying with this build until there's a good
 reason for me to update.  who is maintaining the mwl8k driver?
 How did you create the configuration manually? Did you just set
 /etc/config/wireless or did you write the hostapd config in /tmp/run
 /hostapd-phy0.conf yourself? Either way, how exactly did you do it?

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-04-11 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 hmm... i have an ea4500 on r49096 since april 1st.  radio seems stable on
 both 2.4ghz and 5ghz.  i noticed sometimes i'm not able to enable 2.4Ghz
 radio via LuCI and had to manually create the wireless configuration.  for
 now i'm staying with this build until there's a good reason for me to
 update.  who is maintaining the mwl8k driver?

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-04-10 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by BenjaminH):

 Forgot to add, I'm on r49114.
 Replying to [comment:21 BenjaminH]

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-04-10 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by BenjaminH):

 Same issue here, 5ghz works fine. 2.4 Ghz fails. Relevant kernel log (most
 relevant starting 298.558331):
 {{{
 [7.649446] Marvell TOPDOG(R) 802.11 Wireless Network Driver version
 0.13
 [7.656340] pci :00:01.0: enabling device (0140 -> 0142)
 [8.373708] ieee80211 phy0: Command RF_ANTENNA error 0x2
 [8.379095] ieee80211 phy0: failed to set # of RX antennas
 [8.384642] ieee80211 phy0: Command RF_ANTENNA error 0x2
 [8.390003] ieee80211 phy0: failed to set # of TX antennas
 [8.395546] ieee80211 phy0: 88w8366 v48, 20aa4b7e3281, STA firmware
 4.1.0.3
 [8.406269] pci :00:02.0: enabling device (0140 -> 0142)
 [9.066300] ieee80211 phy1: Command RF_ANTENNA error 0x2
 [9.071650] ieee80211 phy1: failed to set # of RX antennas
 [9.077224] ieee80211 phy1: Command RF_ANTENNA error 0x2
 [9.082567] ieee80211 phy1: failed to set # of TX antennas
 [9.088115] ieee80211 phy1: 88w8366 v48, 20aa4b7e3283, STA firmware
 4.1.0.3
 [   17.403926] ieee80211 phy1: 88w8366 v7, 20aa4b7e3283, AP firmware
 5.2.8.17
 [   17.452398] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
 [   17.459930] device wlan1 entered promiscuous mode
 [   20.855368] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
 [  260.456672] ieee80211 phy1: tx rings drained
 [  298.558331] :01:00.0: unable to load firmware helper image
 [  298.564274] ieee80211 phy0: Cannot start firmware
 [  298.569109] ieee80211 phy0: Trying to reload the firmware again
 [  299.036221] ieee80211 phy0: 88w8366 v7, 20aa4b7e3281, AP firmware
 5.2.8.17
 [  299.085116] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
 [  299.089917] device wlan0 entered promiscuous mode
 [  299.105871] device wlan0 left promiscuous mode
 [  299.105971] br-lan: port 3(wlan0) entered disabled state

 }}}

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-03-25 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 I'm having the same issue.
 r49086

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-01-09 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by julioviegas@…):

 I'm having the same problem too. Any news about this?

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-01-06 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by wooshcz@…):

 I'm having this problem as well. Currently on r48072 + EA3500. I'm able to
 provide logs and other information if needed.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2016-01-03 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 I'm having this problem too, surfing internet is very annoying, I have to
 keep reloading every two or three times due connection lost errors...

 My router is an e4200v2 and this problem started to happen recently.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2015-12-03 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by leitec):

 I see, thanks. That does predate the recent backport of mac80211.

 mwl8k doesn't seem to be an actively-maintained driver so I'm not sure
 what the appropriate course of action would be. There are two OpenWrt-
 specific patches for it but I don't believe they are at all related.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2015-12-02 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 I have this since day one.
 Using this device since ~ 01.09.2015

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2015-12-02 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by leitec):

 Replying to [comment:12 anonymous]:
 > I am experienced with openwrt (6 Years) and wrote the parts of wiki-
 ea4500. (how to install without serial). I am sure wifi setup is correct.
 Tested some settings ht20/ht40, lower txpower etc. Stock firmware works
 correctly for me.(just tested it one day)
 >
 > There is "something" with the driver/firmware.
 > sta mode works correctly by the way, only saw this in ap mode

 But did it previously work in AP mode in older revisions of OpenWrt? There
 aren't any recent changes to the mwl8k driver but there was a mac80211
 update not that long ago.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2015-12-02 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 I am experienced with openwrt (6 Years) and wrote the parts of wiki-
 ea4500. (how to install without serial). I am sure wifi setup is correct.
 Tested some settings ht20/ht40, lower txpower etc. Stock firmware works
 correctly for me.(just tested it one day)

 There is "something" with the driver/firmware.
 sta mode works correctly by the way, only saw this in ap mode

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2015-12-01 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 First time before, i'm install 15.05 final from oem stock, then router
 bricked. I follow wiki to try install Candyhouse project, and back to
 trunk.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2015-12-01 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by leitec):

 Did it previously work for either of you and recently started working
 poorly, or are you new to OpenWrt on these models?

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2015-12-01 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 After about 18h testing, wifi still unstable:

 [  356.632570] ieee80211 phy0: Added a new stream for d0:22:be:ce:e5:62 1
 [  356.639200] ieee80211 phy0: Started stream for d0:22:be:ce:e5:62 1
 [  356.646041] ieee80211 phy0: tx rings drained
 [  356.697334] ieee80211 phy0: Created a BA stream for d0:22:be:ce:e5:62 :
 tid 1
 [  356.705646] ieee80211 phy0: Deleted BA stream index 0
 [  356.710775] ieee80211 phy0: Remove stream for d0:22:be:ce:e5:62 1
 [  607.800757] ieee80211 phy1: Added a new stream for d0:22:be:ce:e5:62 1
 [  607.807379] ieee80211 phy1: Started stream for d0:22:be:ce:e5:62 1
 [  607.818660] ieee80211 phy1: Created a BA stream for d0:22:be:ce:e5:62 :
 tid 1
 [  608.711340] ieee80211 phy1: Added a new stream for d0:22:be:ce:e5:62 0
 [  608.717958] ieee80211 phy1: Started stream for d0:22:be:ce:e5:62 0
 [  608.726972] ieee80211 phy1: Created a BA stream for d0:22:be:ce:e5:62 :
 tid 0
 [  627.826948] ieee80211 phy1: tx rings drained
 [  627.831406] ieee80211 phy1: Deleted BA stream index 1
 [  627.836613] ieee80211 phy1: Remove stream for d0:22:be:ce:e5:62 0
 [  627.843221] ieee80211 phy1: Deleted BA stream index 0
 [  627.848302] ieee80211 phy1: Remove stream for d0:22:be:ce:e5:62 1
 [34755.804092] ieee80211 phy0: Started stream for 48:5a:3f:3f:99:f9 1
 [34755.810409] ieee80211 phy0: Command BASTREAM error 0x1
 [34756.820609] ieee80211 phy0: Command BASTREAM error 0x1
 [34757.830624] ieee80211 phy0: Command BASTREAM error 0x1
 [34758.840640] ieee80211 phy0: Command BASTREAM error 0x1
 [34759.850650] ieee80211 phy0: Command BASTREAM error 0x1
 [34760.860621] ieee80211 phy0: Stream for tid 1 busy after 5 attempts
 [34760.866839] ieee80211 phy0: Remove stream for 48:5a:3f:3f:99:f9 1
 [57936.583888] ieee80211 phy0: Deleted BA stream index 0
 [57936.588976] ieee80211 phy0: Remove stream for 00:22:fa:c9:ec:be 1
 [61768.543338] ieee80211 phy0: Started stream for 00:22:fa:c9:ec:be 0
 [61768.555213] ieee80211 phy0: Created a BA stream for 00:22:fa:c9:ec:be :
 tid 0
 [61797.232342] ieee80211 phy0: Deleted BA stream index 0
 [61797.237803] ieee80211 phy0: Remove stream for 00:22:fa:c9:ec:be 0
 [61797.850008] ieee80211 phy0: Added a new stream for 00:22:fa:c9:ec:be 0
 [61797.856621] ieee80211 phy0: Started stream for 00:22:fa:c9:ec:be 0
 [61797.863258] ieee80211 phy0: Command BASTREAM error 0x1
 [61798.876026] ieee80211 phy0: Command BASTREAM error 0x1
 [61799.886029] ieee80211 phy0: Command BASTREAM error 0x1
 [61800.900234] ieee80211 phy0: Created a BA stream for 00:22:fa:c9:ec:be :
 tid 0
 [61810.370663] ieee80211 phy0: Deleted BA stream index 0
 [61810.375753] ieee80211 phy0: Remove stream for 00:22:fa:c9:ec:be 0
 [61812.017030] ieee80211 phy0: Added a new stream for 00:22:fa:c9:ec:be 0
 [61812.023621] ieee80211 phy0: Started stream for 00:22:fa:c9:ec:be 0
 [61812.030377] ieee80211 phy0: Command BASTREAM error 0x1
 [61813.036183] ieee80211 phy0: Command BASTREAM error 0x1
 [61814.050587] ieee80211 phy0: Created a BA stream for 00:22:fa:c9:ec:be :
 tid 0
 [61829.742939] ieee80211 phy0: Deleted BA stream index 0
 [61829.748057] ieee80211 phy0: Remove stream for 00:22:fa:c9:ec:be 0
 [61834.687894] ieee80211 phy0: Added a new stream for 00:22:fa:c9:ec:be 0
 [61834.694489] ieee80211 phy0: Started stream for 00:22:fa:c9:ec:be 0
 [61834.709227] ieee80211 phy0: Created a BA stream for 00:22:fa:c9:ec:be :
 tid 0
 [61842.427391] ieee80211 phy0: Deleted BA stream index 0
 [61842.432479] ieee80211 phy0: Remove stream for 00:22:fa:c9:ec:be 0

 I tested with two device, one laptop (intel 5100agn) & one galaxy note 3.
 Here are openwrt bootlog:

 U-Boot 1.1.4 (Jan  2 2012 - 19:59:08) Marvell version: 3.5.9

 U-Boot code: 0060 -> 0067FFF0  BSS: -> 006CFB20

 Soc: 88F6282 A1CPU running @ 800Mhz L2 running @ 400Mhz
 SysClock = 400Mhz , TClock = 200Mhz

 DRAM (DDR2) CAS Latency = 5 tRP = 6 tRAS = 18 tRCD=6
 DRAM CS[0] base 0x   size  64MB
 DRAM Total size  64MB  16bit width
 Addresses 8M - 0M are saved for the U-Boot usage.
 Mem malloc Initialization (8M - 7M): Done
 NAND:64 MB
 Flash:  0 kB

 CPU : Marvell Feroceon (Rev 1)
 u_env Offset: 0008
 s_env Offset: 00084000

 Streaming disabled
 Write allocate disabled

 Module 0 is RGMII

 USB 0: host mode
 PEX 0: PCI Express Root Complex Interface
 PEX interface detected Link X1
 PEX 1: PCI Express Root Complex Interface
 PEX interface detected Link X1

 Updating boot_count ... done

 Net:   egiga0 [PRIME], egiga1
 Hit any key to stop autoboot:  0

 NAND read: device 0 offset 0x160, size 0x30

 Reading data from 0x

Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2015-12-01 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by stephan.oelze@…):

 I am facing same behavior on ea4500. Had ea3500 tested also -same.
 Surfing on iPad is really Bad. Webpage loading breaks ever second/third
 click.

 Log shows same lines as in this ticket.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2015-11-30 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 Great, after add "bootpart 1", sysupgrade work well, thanks for suggestion
 !

 I upgraded to r47670, reconfig router & see wifi will stable or unstable.

 Tks.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2015-11-30 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 I have followed the wiki openwrt. Ok, I will try set bootpart & change
 eth1addr. Report soon.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2015-11-30 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by leitec):

 Some other values look a bit weird, too. ethaddr and eth1addr are the
 same. I haven't seen that yet on any EA3500's. Normally eth1addr is
 ethaddr + 1. I don't think that could affect the wifi or anything but I'm
 curious as to how this happened.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2015-11-30 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 You're missing "boot_part" for some reason. How did you load this firmware
 and what were you running before?

 You can try to set it manually:

 fw_setenv boot_part 1

 that should match your current bootcmd 'run nandboot'

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2015-11-30 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 Revision r47663.

 Here fw_printenv output:

 bootdelay=0
 baudrate=115200
 loads_echo=0
 ipaddr=192.168.1.10
 serverip=192.168.1.254
 rootpath=/mnt/ARM_FS
 netmask=255.255.255.0
 run_diag=yes
 stdin=serial
 stdout=serial
 stderr=serial
 console=console=ttyS0,115200
 badcount=0
 bootbadcount=0
 uenvbadcount=0
 senvbadcount=0
 buffbadcount=0
 fs_bootargs=unused
 
mtdparts=mtdparts=nand_mtd:512k(uboot)ro,16k@512k(u_env),16k@528k(s_env),20m@2m(kernel),20m@2m(rootfs)fs,20m@2
 2m(alt_kernel),20m@22m(alt_rootfs)fs,22m@42m(syscfg)
 
mfg_mtdparts=mtdparts=nand_mtd:512k(uboot)ro,16k@512k(u_env),16k@528k(s_env),20m@2m(kernel),20m@2m(rootfs)fs,2
 
0m@22m(alt_kernel),20m@22m(alt_rootfs)fs,20m@42m(mfg_kernel),20m@42m(mfg_rootfs)fs,2m@62m(syscfg)
 mainlineLinux=no
 enaMonExt=no
 enaCpuStream=no
 enaWrAllo=no
 pexMode=RC
 disL2Cache=no
 setL2CacheWT=yes
 disL2Prefetch=yes
 enaICPref=yes
 enaDCPref=yes
 sata_dma_mode=yes
 ethprime=egiga0
 netbsd_en=no
 vxworks_en=no
 bootargs_root=root=/dev/nfs rw
 fs_bootargs_root=root=/dev/mtdblock4 ro rootfstype=jffs2
 alt_fs_bootargs_root=root=/dev/mtdblock6 ro rootfstype=jffs2
 mfg_fs_bootargs_root=root=/dev/mtdblock8 ro rootfstype=jffs2
 usb_fs_bootargs_root=root=/dev/sda1 rw rootfstype=ext2
 bootargs_end=:::DB88FXX81:eth0:none
 image_name=uImage
 bootcmd=run nandboot
 nfsboot=tftp 0x200 uImage; setenv bootargs $(console) $(mfg_mtdparts)
 $(bootargs_root) nfsroot=$(serverip):$(rootpath)
 ip=$(ipaddr):$(serverip)$(bootargs_end); bootm 0x200;
 nandboot=nand read.e 0x200 0x20 0x30; setenv bootargs
 $(console) $(mtdparts) $(fs_bootargs_root) serial_number=$(sn)
 uuid=$(uuid) hw_version=$(hw) device_mac=$(mac) factory_date=$(date)
 wps_pin=$(wps); bootm 0x200;
 altnandboot=nand read.e 0x200 0x160 0x30; setenv bootargs
 $(console) $(mtdparts) $(alt_fs_bootargs_root) serial_number=$(sn)
 uuid=$(uuid) hw_version=$(hw) device_mac=$(mac) factory_date=$(date)
 wps_pin=$(wps); bootm 0x200;
 mfgboot=nand read.e 0x200 0x2a0 0x30; setenv bootargs
 $(console) $(mfg_mtdparts) $(mfg_fs_bootargs_root)
 serial_number=$(sn) uuid=$(uuid) hw_version=$(hw) device_mac=$(mac)
 factory_date=$(date) wps_pin=$(wps); bootm 0x200;
 usbboot=usb start;ext2load usb 0:1 200 /uImage; setenv bootargs
 $(console) $(mtdparts) $(usb_fs_bootargs_root) rootdelay=10; bootm
 0x200;
 standalone=fsload 0x200 $(image_name);setenv bootargs $(console)
 root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end)
 $(mvPhoneConfig); bootm 0x200;
 lcd0_enable=0
 lcd0_params=640x480-16@60
 disaMvPnp=no
 ethaddr=00:50:43:00:02:02
 ethmtu=1500
 eth1addr=00:50:43:00:02:02
 eth1mtu=1500
 mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
 mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
 usb0Mode=host
 yuk_ethaddr=00:00:00:EE:51:81
 nandEcc=1bit
 netretry=no
 rcvrip=169.254.100.100
 loadaddr=0x0200
 autoload=no
 image_multi=yes
 enaAutoRecovery=yes
 mtdparts_version=2
 envsaved=yes
 auto_recovery=yes

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2015-11-30 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 excuse me, that should be r47457

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


Re: [OpenWrt-Tickets] [OpenWrt] #21284: EA3500 (Audi Kirkwood) wifi unstable.

2015-11-30 Thread OpenWrt
#21284: EA3500 (Audi Kirkwood) wifi unstable.
+---
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  Designated Driver (Trunk)
 Component:  kernel |Version:  Trunk
Resolution: |   Keywords:
+---

Comment (by anonymous):

 For the sysupgrade bit, what revision are you running? There was a bug in
 the very first supported builds before r45457 that made sysupgrade
 impossible. Check that 'fw_printenv' works.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets