* Re: rtl8187 rate control doesn't work [not found] <477F9890.5050107@hauke-m.de> @ 2008-01-05 21:54 ` Luis R. Rodriguez 2008-01-07 16:02 ` Hauke Mehrtens 0 siblings, 1 reply; 10+ messages in thread From: Luis R. Rodriguez @ 2008-01-05 21:54 UTC (permalink / raw) To: Hauke Mehrtens; +Cc: Michael Wu, linux-kernel, Stefano Brivio, linux-wireless On Jan 5, 2008 9:47 AM, Hauke Mehrtens <hauke@hauke-m.de> wrote: > Hi > > Now the compat-wireless-2.6 package is working and I get an Internet > connection with my rtl8187 based card. (It's on an ASUS P5B Deluxe) > > I used the compat-wireless-2.6 package for this log, but I have the same > problem with the version integrated in kernel 2.6.24-rc6 > > The Access Point is some rooms away so the signal is not the best at my > location. When starting the device with no fixed rate it wants to > connect with 54MBit/s and as iwconfig says it was successful but I can't > ping any device in the wireless LAN. (it's the first part of the log) > The rate will not be slowed down it stays fixed at 54MBit/s. > > After starting the device with rate fixed to 11M I get a connection to > the Access Point and iwconfig's output looks the same as without fixed > rate, but I'm able to ping the all devices in the network. (second part > of the log) > Now it slows down the rate to 1MBit/s Seems to be the new PID rate control algorithm. I believe Stephano (CC'd) was sending some patches for this. Please try changing in config.mk >From this value: CONFIG_MAC80211_RC_DEFAULT=pid To this: CONFIG_MAC80211_RC_DEFAULT=simple and let us know how that goes. Oh and linux-kernel is the wrong list to use, please just use linux-wireless for future e-mails. Luis ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: rtl8187 rate control doesn't work 2008-01-05 21:54 ` rtl8187 rate control doesn't work Luis R. Rodriguez @ 2008-01-07 16:02 ` Hauke Mehrtens 2008-01-07 17:42 ` Luis R. Rodriguez 0 siblings, 1 reply; 10+ messages in thread From: Hauke Mehrtens @ 2008-01-07 16:02 UTC (permalink / raw) To: Luis R. Rodriguez Cc: Michael Wu, linux-kernel, Stefano Brivio, linux-wireless There is an other Problem. iwconfig shows me "Bit Rate=1 Mb/s" the hole time, but I'm able to download with an average of 440K/s as wget says. It's with PID rate control algorithm. -- Hauke Mehrtens Luis R. Rodriguez wrote: > On Jan 5, 2008 9:47 AM, Hauke Mehrtens <hauke@hauke-m.de> wrote: >> Hi >> >> Now the compat-wireless-2.6 package is working and I get an Internet >> connection with my rtl8187 based card. (It's on an ASUS P5B Deluxe) >> >> I used the compat-wireless-2.6 package for this log, but I have the same >> problem with the version integrated in kernel 2.6.24-rc6 >> >> The Access Point is some rooms away so the signal is not the best at my >> location. When starting the device with no fixed rate it wants to >> connect with 54MBit/s and as iwconfig says it was successful but I can't >> ping any device in the wireless LAN. (it's the first part of the log) >> The rate will not be slowed down it stays fixed at 54MBit/s. >> >> After starting the device with rate fixed to 11M I get a connection to >> the Access Point and iwconfig's output looks the same as without fixed >> rate, but I'm able to ping the all devices in the network. (second part >> of the log) >> Now it slows down the rate to 1MBit/s > > Seems to be the new PID rate control algorithm. I believe Stephano > (CC'd) was sending some patches for this. Please try changing in > config.mk > > From this value: > > CONFIG_MAC80211_RC_DEFAULT=pid > > To this: > > CONFIG_MAC80211_RC_DEFAULT=simple > > and let us know how that goes. Oh and linux-kernel is the wrong list > to use, please just use linux-wireless for future e-mails. > > Luis ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: rtl8187 rate control doesn't work 2008-01-07 16:02 ` Hauke Mehrtens @ 2008-01-07 17:42 ` Luis R. Rodriguez 2008-01-11 22:39 ` Hauke Mehrtens 0 siblings, 1 reply; 10+ messages in thread From: Luis R. Rodriguez @ 2008-01-07 17:42 UTC (permalink / raw) To: Hauke Mehrtens; +Cc: Michael Wu, linux-kernel, Stefano Brivio, linux-wireless On Jan 7, 2008 11:02 AM, Hauke Mehrtens <hauke@hauke-m.de> wrote: > There is an other Problem. > > iwconfig shows me "Bit Rate=1 Mb/s" the hole time, but I'm able to > download with an average of 440K/s as wget says. > > It's with PID rate control algorithm. Thanks for reporting this, how'd it go with simple rate control algorithm instead? Luis ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: rtl8187 rate control doesn't work 2008-01-07 17:42 ` Luis R. Rodriguez @ 2008-01-11 22:39 ` Hauke Mehrtens 2008-01-12 14:44 ` Hauke Mehrtens 2008-01-14 19:26 ` Luis R. Rodriguez 0 siblings, 2 replies; 10+ messages in thread From: Hauke Mehrtens @ 2008-01-11 22:39 UTC (permalink / raw) To: Luis R. Rodriguez Cc: Michael Wu, linux-kernel, Stefano Brivio, linux-wireless Luis R. Rodriguez wrote: > On Jan 7, 2008 11:02 AM, Hauke Mehrtens <hauke@hauke-m.de> wrote: > > Thanks for reporting this, how'd it go with simple rate control > algorithm instead? How do I change from pid to simple rate control algorithm? I have tried to set the CONFIG_MAC80211_RC_DEFAULT variable but it doesn't change the dmesg output. On kernel 2.6.22 simple rate control algorithm is used as default but on 2.6.24 pid is the default on. Can you please send me a config.mk On kernel 2.4.24 with pid the rate shown by iwconfig stays at the starting on, also if I change it with "sudo iwconfig wlan0 rate 11M", on kernel 2.6.22 with simple rate control algorithm it shows the right rate. If I change the rate to something smaller than 11M I am able to ping the Access Point and if it is bigger that 11M I can't ping it. If no fixed rate is entered it stays at 54MBit/s and I can't ping the AP. The network speed is at ~1MBit/s and "Link Quality=53/64 Signal level=25/65" I have a AMD64 System and I am using the compat-wireless-2.6 of today. Hauke Mehrtens ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: rtl8187 rate control doesn't work 2008-01-11 22:39 ` Hauke Mehrtens @ 2008-01-12 14:44 ` Hauke Mehrtens 2008-01-12 15:21 ` Stefano Brivio 2008-01-14 19:26 ` Luis R. Rodriguez 1 sibling, 1 reply; 10+ messages in thread From: Hauke Mehrtens @ 2008-01-12 14:44 UTC (permalink / raw) To: Luis R. Rodriguez Cc: Michael Wu, linux-kernel, Stefano Brivio, linux-wireless I have tested kernel 2.6.24-rc7-git4 with the build in rtl8187 module and I have the same problem. I can't ping the AP if the rate is set to auto or to something higher than 11M. I have to set it to something less than 11M to be able to ping the AP. iwconfig shows a successful connection in both cases. I am using Ubuntu 7.10 with vanilla kernel 2.6.24-rc7-git4 on AMD64 system with wpa_supplicant v0.5.8 -- Hauke ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: rtl8187 rate control doesn't work 2008-01-12 14:44 ` Hauke Mehrtens @ 2008-01-12 15:21 ` Stefano Brivio 2008-01-12 18:23 ` Hauke Mehrtens 0 siblings, 1 reply; 10+ messages in thread From: Stefano Brivio @ 2008-01-12 15:21 UTC (permalink / raw) To: Hauke Mehrtens Cc: Luis R. Rodriguez, Michael Wu, linux-kernel, linux-wireless On Sat, 12 Jan 2008 15:44:30 +0100 Hauke Mehrtens <hauke@hauke-m.de> wrote: > I have tested kernel 2.6.24-rc7-git4 with the build in rtl8187 module > and I have the same problem. Could you please try the wireless-2.6 kernel tree? I think it's fixed there. Details on how to download that can be found here: http://linuxwireless.org/en/developers/Documentation/git-guide -- Ciao Stefano ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: rtl8187 rate control doesn't work 2008-01-12 15:21 ` Stefano Brivio @ 2008-01-12 18:23 ` Hauke Mehrtens 2008-01-12 19:28 ` Stefano Brivio 0 siblings, 1 reply; 10+ messages in thread From: Hauke Mehrtens @ 2008-01-12 18:23 UTC (permalink / raw) To: Stefano Brivio Cc: Luis R. Rodriguez, Michael Wu, linux-kernel, linux-wireless I have tried wireless-2.6 and I have the same problem. If the rate goes over 11M no TCP/IP traffic goes through the wireless connecting. If rate is set to auto and the rate control algorithm changes it to something less than 11M TCP/IP traffic goes through, but if it is more than 11M no TCP/IP traffic goes through the wireless link. with "iwconfig wlan0 rate 11M" everything works. -- Hauke Mehrtens Stefano Brivio wrote: > On Sat, 12 Jan 2008 15:44:30 +0100 > Hauke Mehrtens <hauke@hauke-m.de> wrote: > >> I have tested kernel 2.6.24-rc7-git4 with the build in rtl8187 module >> and I have the same problem. > > Could you please try the wireless-2.6 kernel tree? I think it's fixed > there. Details on how to download that can be found here: > http://linuxwireless.org/en/developers/Documentation/git-guide > > > -- > Ciao > Stefano > - > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: rtl8187 rate control doesn't work 2008-01-12 18:23 ` Hauke Mehrtens @ 2008-01-12 19:28 ` Stefano Brivio [not found] ` <478F8CFF.2060105@hauke-m.de> 0 siblings, 1 reply; 10+ messages in thread From: Stefano Brivio @ 2008-01-12 19:28 UTC (permalink / raw) To: Hauke Mehrtens Cc: Luis R. Rodriguez, Michael Wu, linux-kernel, linux-wireless On Sat, 12 Jan 2008 19:23:53 +0100 Hauke Mehrtens <hauke@hauke-m.de> wrote: > I have tried wireless-2.6 and I have the same problem. If the rate goes > over 11M no TCP/IP traffic goes through the wireless connecting. If rate > is set to auto and the rate control algorithm changes it to something > less than 11M TCP/IP traffic goes through, but if it is more than 11M no > TCP/IP traffic goes through the wireless link. And this is a problem if the rate control algorithm often sets the rate to more than 11M even if connection is unreliable at that rate. Does this actually happen? Are you currently using 'pid'? Also, it would be fine to have a dump of the PID events. In order to get this, you need to: - build a kernel with debugfs enabled; - mount debugfs (mount -t debugfs foo /mnt/debug) Then, before testing: cat /mnt/debug/ieee80211/phy0/stations/*/rc_pid_events > events_dump You can even make a graph out of that, with a python script which Mattias posted on this list some time ago, but a dump would be just fine. -- Ciao Stefano ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <478F8CFF.2060105@hauke-m.de>]
[parent not found: <20080118210452.50c84d13@morte>]
[parent not found: <479109B7.5030808@hauke-m.de>]
* Re: rtl8187 rate control doesn't work [not found] ` <479109B7.5030808@hauke-m.de> @ 2008-01-18 20:26 ` Stefano Brivio 0 siblings, 0 replies; 10+ messages in thread From: Stefano Brivio @ 2008-01-18 20:26 UTC (permalink / raw) To: Hauke Mehrtens, Andrea Merello, Michael Wu; +Cc: linux-wireless [CC'ing rtl8187 maintainers again - please don't strip CC's off] On Fri, 18 Jan 2008 21:19:03 +0100 Hauke Mehrtens <hauke@hauke-m.de> wrote: > Stefano Brivio wrote: > > Are you using an 802.11b only access point, or an access point configured > > to support 802.11b only? > > My Access Point is using 802.11g and 802.11b in mixed mode. With my > notebook (b43 driver) I am getting a good connection to the Access Point. Should I assume that this happens with the same kernel setup? > If the Access Point is configured to support 802.11b only I have no > problems with the rtl8187 card, because the card doesn't try to set the > rate above 11M. Then it looks like for some reason frames sent with rtl8187 using OFDM rates silently fail, no errors are reported even if they aren't getting ACKed. Andrea, Michael, any clue? -- Ciao Stefano ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: rtl8187 rate control doesn't work 2008-01-11 22:39 ` Hauke Mehrtens 2008-01-12 14:44 ` Hauke Mehrtens @ 2008-01-14 19:26 ` Luis R. Rodriguez 1 sibling, 0 replies; 10+ messages in thread From: Luis R. Rodriguez @ 2008-01-14 19:26 UTC (permalink / raw) To: Hauke Mehrtens; +Cc: Michael Wu, linux-kernel, Stefano Brivio, linux-wireless On Jan 11, 2008 5:39 PM, Hauke Mehrtens <hauke@hauke-m.de> wrote: > Luis R. Rodriguez wrote: > > On Jan 7, 2008 11:02 AM, Hauke Mehrtens <hauke@hauke-m.de> wrote: > > > > Thanks for reporting this, how'd it go with simple rate control > > algorithm instead? > > How do I change from pid to simple rate control algorithm? In config.mk replace this line: CONFIG_MAC80211_RC_DEFAULT=pid with: CONFIG_MAC80211_RC_DEFAULT=simple although I am planning on changing the config stuff soon. Luis ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-01-18 20:33 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <477F9890.5050107@hauke-m.de>
2008-01-05 21:54 ` rtl8187 rate control doesn't work Luis R. Rodriguez
2008-01-07 16:02 ` Hauke Mehrtens
2008-01-07 17:42 ` Luis R. Rodriguez
2008-01-11 22:39 ` Hauke Mehrtens
2008-01-12 14:44 ` Hauke Mehrtens
2008-01-12 15:21 ` Stefano Brivio
2008-01-12 18:23 ` Hauke Mehrtens
2008-01-12 19:28 ` Stefano Brivio
[not found] ` <478F8CFF.2060105@hauke-m.de>
[not found] ` <20080118210452.50c84d13@morte>
[not found] ` <479109B7.5030808@hauke-m.de>
2008-01-18 20:26 ` Stefano Brivio
2008-01-14 19:26 ` Luis R. Rodriguez
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).