Modify

Opened 8 years ago

Closed 7 years ago

Last modified 2 years ago

#4376 closed defect (fixed)

Atheros doens't work with Nokia phones

Reported by: iseeyou@… Owned by: nbd
Priority: highest Milestone: Barrier Breaker 14.07
Component: base system Version:
Keywords: Nokia, Atheros Cc:

Description

Atheros doens't work with Nokia phones properly. Normally mail and web work fine but VOIP and Internet Radio won't work.

Kamikaze 7.09, internet radio can be load to 68% -> freeze.
Kamikaze 8.09 RC1, internet radio can be load to 100% -> freeze.
DD-WRT 24 RC1, mail, web, VOIP and internet radio work fine.

Router, Fonera 2200. Phone, Nokia E65, E70.

Attachments (2)

workaround_make_sure_beacon_updates_correctly.patch (701 bytes) - added by steven+openwrt@… 7 years ago.
Workaround: remap beacon after every call to ieee80211_beacon_update() to make sure an updated beacon gets transmitted
fix_iv_ps_sta_count.patch (693 bytes) - added by steven+openwrt@… 7 years ago.
Modify ni_vap->iv_ps_sta appropriately on U-APSD state changes

Download all attachments as: .zip

Change History (15)

comment:1 Changed 8 years ago by iseeyou@…

This related to Nokia WLAN power saving feature. If the WLAN power saving is disabled then it works fine. Hopefully this will be fixed. Since DD-WRT, Tomato, Linksys, Buffalo and Telewell firmware work fine with Nokia WLAN power saving feature.

comment:2 Changed 8 years ago by nbd

Please try openwrt trunk.

comment:3 Changed 8 years ago by iseeyou@…

I have tried version 14338, taken 1.2.2009. WLAN power saving feature still doesn't work. This needs implementation rather than fix, I think. I don't know how DD-WRT works fine if the same soure is using in both!

comment:4 Changed 8 years ago by nbd

Do you have another device available for monitor mode capture?
If so, it would be helpful if you could capture the traffic between the AP and the Nokia between the moment of Assoc and the moment of Fail.

comment:5 Changed 8 years ago by iseeyou@…

Sorry that I don't have experience to capture data and I don't know how to do that. Hopefully some one helps this.

comment:6 Changed 8 years ago by iseeyou@…

Here is almost the same problem http://madwifi-project.org/ticket/1911 but Nokia N810 Internet tablet.

comment:7 Changed 7 years ago by iseeyou@…

It seems that madwifi has been fixed in trunk r4011. Please make update. More information here: http://madwifi-project.org/changeset/4011 and here http://madwifi-project.org/ticket/1911.

comment:8 Changed 7 years ago by steven+openwrt@…

There are at least two problems going on here:

(1) The beacon that's being sent out doesn't reliably reflect changes made by ieee80211_beacon_update(), so updates to the TIM bitmap and mcast bit aren't sent and the station never wakes up. Some sort of timing issue seems to be involved, because adding a printk() to ieee80211_beacon_update(), or forcing the beacon to be remapped after every update (instead of only when the length changes), works around the problem. (This one took quite a while to track down, because enabling power-save debugging adds a printk in ieee80211_beacon_update() when the TIM bitmap gets updated!)

(2) When U-APSD is enabled, the count of PS stations isn't being updated in all places where it should be; ni_vap->iv_ps_sta needs to be changed when a node becomes U-APSD triggerable (and vice versa), otherwise the rest of the stack gets confused.

-Steven Luo

Changed 7 years ago by steven+openwrt@…

Workaround: remap beacon after every call to ieee80211_beacon_update() to make sure an updated beacon gets transmitted

Changed 7 years ago by steven+openwrt@…

Modify ni_vap->iv_ps_sta appropriately on U-APSD state changes

comment:9 Changed 7 years ago by steven+openwrt@…

With the just-attached patches, my Nokia N800 works correctly in power-save mode with an AR5416-based AP and OpenWRT madwifi (r16642). I'm not sure the beacon update workaround is appropriate for merging, but hopefully someone with more knowledge of the code/hardware can find the actual problem ...

comment:10 Changed 7 years ago by iseeyou@…

nbd: Do this fix come to the next release Kamikaze 8.09.2?

comment:11 Changed 7 years ago by nbd

  • Owner changed from developers to nbd
  • Status changed from new to assigned

I will merge it before 8.09.2, yes

comment:12 Changed 7 years ago by nbd

  • Resolution set to fixed
  • Status changed from assigned to closed

fixes merged to trunk in r17312, to 8.09 in r17317

comment:13 Changed 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.