Skip to contentSkip to conversation

iwl3945 in 2.6.31-rc0: ad-hoc mode broken?

DISCUSSION Pavel Machek 2 participants 10 messages Jun 19, 2009 – Jul 21, 2009 2 messages not in the archive Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

Hi!

I tried using ad-hoc mode (against t-mobile G1) on -rc0, and was unsuccessful -- never got dhcp. I had to reboot back to 2.6.30... Should I try it few more times or is something broken?

(Also wifi LED stopped working on x60, but that's older issue).

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw

Hi Pavel,

Quoted 8 lines · Pavel Machek

Hi!

I tried using ad-hoc mode (against t-mobile G1) on -rc0, and was unsuccessful -- never got dhcp. I had to reboot back to 2.6.30... Should I try it few more times or is something broken?

(Also wifi LED stopped working on x60, but that's older issue).

Are you testing Linus's repo here? Should we not maybe wait with testing until -rc1 is released?

Reinette

#2 lore raw
Quoted 9 lines · reinette chatre

Hi Pavel,

Quoted 6 lines · Pavel Machek

Hi!

I tried using ad-hoc mode (against t-mobile G1) on -rc0, and was unsuccessful -- never got dhcp. I had to reboot back to 2.6.30... Should I try it few more times or is something broken?

Quoted 5 lines
Quoted 2 lines

(Also wifi LED stopped working on x60, but that's older issue).

Are you testing Linus's repo here? Should we not maybe wait with testing until -rc1 is released?

WTF? Yes, I am testing Linus' tree (hence 2.6.31-rc0). I thought 2.6. stable series is expected to work at all times, and it is bug if it does not (otherwise git bisect is useless). Did you intentionally break the tree or what? Or do you have fixes pending?
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#3 lore raw
Quoted 13 lines · Pavel Machek
Quoted 12 lines · reinette chatre

Hi Pavel,

Quoted 8 lines · Pavel Machek

Hi!

I tried using ad-hoc mode (against t-mobile G1) on -rc0, and was unsuccessful -- never got dhcp. I had to reboot back to 2.6.30... Should I try it few more times or is something broken?

(Also wifi LED stopped working on x60, but that's older issue).

Quoted 7 lines
Quoted 2 lines

Are you testing Linus's repo here? Should we not maybe wait with testing until -rc1 is released?

WTF? Yes, I am testing Linus' tree (hence 2.6.31-rc0). I thought 2.6. stable series is expected to work at all times, and it is bug if it does not (otherwise git bisect is useless). Did you intentionally break the tree or what?

No. We include adhoc testing in our weekly tests on different hardware (3945) and have not seen any issues. We have not yet done any official testing on 2.6.31 as we usually do so only after -rc1 is released.

Quoted 1 line

Or do you have fixes pending?

All our fixes targeting 2.6.31 have been pushed. We do not have anything else pending.

This is our first report of an issue in 2.6.31 and we will take a look.

Reinette

#4 lore raw
In reply to Pavel Machek

Hi Pavel,

Quoted 3 lines · Pavel Machek

I tried using ad-hoc mode (against t-mobile G1) on -rc0, and was unsuccessful -- never got dhcp. I had to reboot back to 2.6.30... Should I try it few more times or is something broken?

I have tried ad-hoc mode in 2.6.31-rc1 (52989765629e7d182b4f146050ebba0abf2cb0b7) and did not have issues. I tested ad-hoc between 3945 (iwl3945) and 5100 (iwlagn), testing that both are able to create the IBSS network and both are able to join another IBSS network.

Do you get any errors? Is it just the dhcp that fails (does association succeed?) mac80211 does have extra debugging for ad-hoc that can be enabled with CONFIG_MAC80211_IBSS_DEBUG=y. Could you please try that?

Quoted 2 lines

(Also wifi LED stopped working on x60, but that's older issue).

Is there a bug report for this?

Reinette

#7 lore raw

iwl3945: fix LED config option

In reply to a message not in the archive
Quoted 8 lines · reinette chatre
Quoted 7 lines · Pavel Machek
Quoted 4 lines
Quoted 2 lines

(Also wifi LED stopped working on x60, but that's older issue).

Is there a bug report for this?

Well... I thought that was known issue?

Quoted 7 lines
Quoted 3 lines

Anyway, wifi LED used to work on x60 before driver rewrite. Now it is broken. I thought it is known/missing functionality? ...but I'd like to get it back :-).

Sorry ... but I have to ask ... did you compile with CONFIG_IWLWIFI_LEDS ? If you still have issues - please do submit a bug report.

Aha, this explains it:

Enable LED support in iwlagn and iwl3945 drivers (IWLWIFI_LEDS) [N/y] (NEW) ?

Sorry, no help available for this option yet.

...maybe LEDS should be default Y?
Pavel

---

IWLWIFI_LEDS option should certainly have help comment, and should default to y. Actually I wonder if it should be user configurable at all, is there good reason?

drivers/net/wireless/iwlwifi/Kconfig +4 -0
index e092af0..95d9aa5 100644
@@ -9,6 +9,10 @@ config IWLWIFI
 config IWLWIFI_LEDS
 	bool "Enable LED support in iwlagn and iwl3945 drivers"
 	depends on IWLWIFI
+	default y
+	---help---
+	  Useful to get Wifi LED working at least on Thinkpad notebooks.
+
 
 config IWLWIFI_SPECTRUM_MEASUREMENT
 	bool "Enable Spectrum Measurement in iwlagn driver"
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#8 lore raw

Re: iwl3945: fix LED config option

Hi Pavel,

Quoted 21 lines · Pavel Machek
Quoted 8 lines · reinette chatre
Quoted 7 lines · Pavel Machek
Quoted 4 lines
Quoted 2 lines

(Also wifi LED stopped working on x60, but that's older issue).

Is there a bug report for this?

Well... I thought that was known issue?

Quoted 7 lines
Quoted 3 lines

Anyway, wifi LED used to work on x60 before driver rewrite. Now it is broken. I thought it is known/missing functionality? ...but I'd like to get it back :-).

Sorry ... but I have to ask ... did you compile with CONFIG_IWLWIFI_LEDS ? If you still have issues - please do submit a bug report.

Aha, this explains it:

Enable LED support in iwlagn and iwl3945 drivers (IWLWIFI_LEDS) [N/y] (NEW) ?

Quoted 8 lines

Sorry, no help available for this option yet.

...maybe LEDS should be default Y?
Pavel

---

IWLWIFI_LEDS option should certainly have help comment,

Currently is reads (as you also have below) "Enable LED support in iwlagn and iwl3945 drivers". This seems clear to me.

Quoted 2 lines

and should
default to y.

This makes sense.

Quoted 2 lines

Actually I wonder if it should be user configurable at all, is there good reason?

Some users find the LED annoying and like to have a way to disable it.

drivers/net/wireless/iwlwifi/Kconfig config IWLWIFI · line 12

Quoted 12 lines
drivers/net/wireless/iwlwifi/Kconfig +1 -0
index e092af0..95d9aa5 100644
@@ -9,6 +9,10 @@ config IWLWIFI
 config IWLWIFI_LEDS
 	bool "Enable LED support in iwlagn and iwl3945 drivers"
 	depends on IWLWIFI
+	default y

This is reasonable.

drivers/net/wireless/iwlwifi/Kconfig config IWLWIFI · line 14

Quoted 2 lines
drivers/net/wireless/iwlwifi/Kconfig +2 -0
+	---help---
+	  Useful to get Wifi LED working at least on Thinkpad notebooks.

I do not think this says more than what we already have. I actually think noting something about a particular platform will increase confusion (as in "so where is the option if I have an acer laptop?") because this option is needed to get LED support on all platforms. I do think what is currently written is sufficient, but if you insist on having some text there I think it should be simpler. Something like "Select this if you want LED support."

Reinette

#9 lore raw

Re: iwl3945: fix LED config option

Quoted 12 lines

drivers/net/wireless/iwlwifi/Kconfig config IWLWIFI · line 12

Quoted 9 lines
drivers/net/wireless/iwlwifi/Kconfig +1 -0
index e092af0..95d9aa5 100644
@@ -9,6 +9,10 @@ config IWLWIFI
 config IWLWIFI_LEDS
 	bool "Enable LED support in iwlagn and iwl3945 drivers"
 	depends on IWLWIFI
+	default y

This is reasonable.

Quoted 10 lines

drivers/net/wireless/iwlwifi/Kconfig config IWLWIFI · line 14

Quoted 2 lines
drivers/net/wireless/iwlwifi/Kconfig +2 -0
+	---help---
+	  Useful to get Wifi LED working at least on Thinkpad notebooks.

I do not think this says more than what we already have. I actually think noting something about a particular platform will increase confusion (as in "so where is the option if I have an acer laptop?") because this option is needed to get LED support on all platforms. I do think what is currently written is sufficient, but if you insist on having some text there I think it should be simpler. Something like "Select this if you want LED support."

Sounds good. (I really believe it should have _some_ text). Will you just modify/apply the patch, or should I resent?
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#10 lore raw

Re: iwl3945: fix LED config option

Hi Pavel,

Quoted 23 lines · Pavel Machek
Quoted 12 lines

drivers/net/wireless/iwlwifi/Kconfig config IWLWIFI · line 12

Quoted 9 lines
drivers/net/wireless/iwlwifi/Kconfig +1 -0
index e092af0..95d9aa5 100644
@@ -9,6 +9,10 @@ config IWLWIFI
 config IWLWIFI_LEDS
 	bool "Enable LED support in iwlagn and iwl3945 drivers"
 	depends on IWLWIFI
+	default y

This is reasonable.

Quoted 10 lines

drivers/net/wireless/iwlwifi/Kconfig config IWLWIFI · line 14

Quoted 2 lines
drivers/net/wireless/iwlwifi/Kconfig +2 -0
+	---help---
+	  Useful to get Wifi LED working at least on Thinkpad notebooks.

I do not think this says more than what we already have. I actually think noting something about a particular platform will increase confusion (as in "so where is the option if I have an acer laptop?") because this option is needed to get LED support on all platforms. I do think what is currently written is sufficient, but if you insist on having some text there I think it should be simpler. Something like "Select this if you want LED support."

Quoted 2 lines

Sounds good. (I really believe it should have _some_ text). Will you just modify/apply the patch, or should I resent?

Sure, I can take this patch and will send it through our usual route (via linux-wireless).

Reinette

#11 lore raw

Re: iwl3945: fix LED config option

Quoted 26 lines · reinette chatre

Hi Pavel,

Quoted 23 lines · Pavel Machek
Quoted 22 lines

drivers/net/wireless/iwlwifi/Kconfig config IWLWIFI · line 12

Quoted 9 lines
drivers/net/wireless/iwlwifi/Kconfig +1 -0
index e092af0..95d9aa5 100644
@@ -9,6 +9,10 @@ config IWLWIFI
 config IWLWIFI_LEDS
 	bool "Enable LED support in iwlagn and iwl3945 drivers"
 	depends on IWLWIFI
+	default y

This is reasonable.

drivers/net/wireless/iwlwifi/Kconfig config IWLWIFI · line 14

Quoted 2 lines
drivers/net/wireless/iwlwifi/Kconfig +2 -0
+	---help---
+	  Useful to get Wifi LED working at least on Thinkpad notebooks.

I do not think this says more than what we already have. I actually think noting something about a particular platform will increase confusion (as in "so where is the option if I have an acer laptop?") because this option is needed to get LED support on all platforms. I do think what is currently written is sufficient, but if you insist on having some text there I think it should be simpler. Something like "Select this if you want LED support."

Quoted 5 lines
Quoted 2 lines

Sounds good. (I really believe it should have _some_ text). Will you just modify/apply the patch, or should I resent?

Sure, I can take this patch and will send it through our usual route (via linux-wireless).

thanks!

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html