1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] kernel problem with wifi rfkill?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20kernel%20problem%20with%20wifi%20rfkill%3F&In-Reply-To=%3C4DB007B6.4070705%40colin.guthr.ie%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="004123.html">
<LINK REL="Next" HREF="004125.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] kernel problem with wifi rfkill?</H1>
<B>Colin Guthrie</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20kernel%20problem%20with%20wifi%20rfkill%3F&In-Reply-To=%3C4DB007B6.4070705%40colin.guthr.ie%3E"
TITLE="[Mageia-dev] kernel problem with wifi rfkill?">mageia at colin.guthr.ie
</A><BR>
<I>Thu Apr 21 12:32:22 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="004123.html">[Mageia-dev] kernel problem with wifi rfkill?
</A></li>
<LI>Next message: <A HREF="004125.html">[Mageia-dev] Freeze push request: networkmanager
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4124">[ date ]</a>
<a href="thread.html#4124">[ thread ]</a>
<a href="subject.html#4124">[ subject ]</a>
<a href="author.html#4124">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>'Twas brillig, and Thomas Backlund at 21/04/11 11:07 did gyre and gimble:
>><i> iwlagn : Intel Corporation|PRO/Wireless 4965 AG or AGN [Kedron]
</I>>><i> Network Connection [NETWORK_OTHER] (vendor:8086 device:4229 subv:8086
</I>>><i> subd:1101) (rev: 61)
</I>>><i>
</I>><i>
</I>><i> I have this same, I'll test tonight/tomorrow...
</I>
Thanks.
>><i>
</I>>><i> I found this which seems like a likely candidate for a fix...
</I>>><i> <A HREF="http://ns.spinics.net/lists/linux-wireless/msg64176.html">http://ns.spinics.net/lists/linux-wireless/msg64176.html</A>
</I>>><i>
</I>>><i> but it's from February... is it really not in the .38.x kernel yet??
</I>><i>
</I>><i> That patch got merged in 2.6.38-rc1, so it is there.
</I>
I've been looking through the various commits:
<A HREF="http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.38.y.git;a=commitdiff;h=3dd823e6b86407aed1a025041d8f1df77e43a9c8">http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.38.y.git;a=commitdiff;h=3dd823e6b86407aed1a025041d8f1df77e43a9c8</A>
<A HREF="http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.38.y.git;a=commitdiff;h=554d1d027b19265c4aa3f718b3126d2b86e09a08">http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.38.y.git;a=commitdiff;h=554d1d027b19265c4aa3f718b3126d2b86e09a08</A>
<A HREF="http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.38.y.git;a=commitdiff;h=6cd0b1cb872b3bf9fc5de4536404206ab74bafdd">http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.38.y.git;a=commitdiff;h=6cd0b1cb872b3bf9fc5de4536404206ab74bafdd</A>
What is odd about the 3dd8 commit (i.e. the fix I mentioned in the first
mail) is there is code that says:
if (test_bit(STATUS_INT_ENABLED, &priv->status))
iwl_enable_interrupts(priv);
I presume test_bit returns "true" if the bit is set? If so, then the
call, is a little strange as iwl_enable_interrupts sets the bit again.
So it's only enabled if it's already set? Perhaps test_bit returns 0
when it's already set?
172 static inline void iwl_enable_interrupts(struct iwl_priv *priv)
173 {
174 IWL_DEBUG_ISR(priv, "Enabling interrupts\n");
175 set_bit(STATUS_INT_ENABLED, &priv->status);
176 iwl_write32(priv, CSR_INT_MASK, priv->inta_mask);
177 }
But I'm no kernel hacker, so all this could be rubbish.
Col
--
Colin Guthrie
mageia(at)colin.guthr.ie
<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>
Day Job:
Tribalogic Limited [<A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>]
Open Source:
Mageia Contributor [<A HREF="http://www.mageia.org/">http://www.mageia.org/</A>]
PulseAudio Hacker [<A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>]
Trac Hacker [<A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>]
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="004123.html">[Mageia-dev] kernel problem with wifi rfkill?
</A></li>
<LI>Next message: <A HREF="004125.html">[Mageia-dev] Freeze push request: networkmanager
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4124">[ date ]</a>
<a href="thread.html#4124">[ thread ]</a>
<a href="subject.html#4124">[ subject ]</a>
<a href="author.html#4124">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|