No subject
"enabled" in the device driver. I will scour the ath9k source code for this config.
=20
Thank you for your input.
=20
Hasan R.
=20
=20
From: [email protected] [mailto:adrian.chadd at gmail.com] On Behalf Of Adrian Chadd
Sent: Sunday, May 27, 2012 7:18 PM
To: Hasan Rashid
Cc: ath9k-devel at lists.ath9k.org
Subject: Re: [ath9k-devel] Atheros AR9382 W_DISABLE_L PIN 20 Mini-PCIe
=20
Hi,
=20
So the 30 second version of rfkill is this:
=20
* it can be software driven (ie, the driver implements rfkill by stopping TX/RX and baseband activity, possibly shutting down the NIC)
* it can be hardware driven (ie, there's an RFKill line to the NIC via= a
GPIO pin)
=20
The pin itself can be controlled by:
=20
* hardware - ie, a physical switch to the rfkill pin;
* software - ie, some ACPI controlled function maps to the rfkill pin.
=20
What you have above seems to be (2) and (1) respectively - ie, that pin is mapped to GPIO7 on the NIC, and now you need to program GPIO7 to be an RFkill pin. There's code in ath9k somewhere to configure the GPIO pin correctly to implement hardware rfkill.
=20
Good luck!
=20
=20
Adrian
This communication contains information that may be confidential or priv= ileged. The information is solely intended for the use of the addressee.=
If you are not the intended recipient, be advised that any disclosure,= copy, distribution, or use of the contents of this communication is pro=
hibited. If you have received this communication in
error, please immediately notify the sender by telephone or by electroni= c mail.
------_=_NextPart_001_01CD3DB5.D3C19EF1
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-m= icrosoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:= word" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns= =3D"http://www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Ty= pe content=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator cont= ent=3D"Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue=
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span sty=
le=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'= From your email I gather I have a RFKILL switch but it needs to be R= 20;enabled” in the device driver. I will scour the ath9k sou= rce code for this config.<o:p></o:p></span></p><p class=3DMsoNormal><spa= n style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F= 497D'><o:p> </o:p></span></p><p class=3DMsoNormal><span style=3D'fo= nt-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thank=
you for your input.<o:p></o:p></span></p><p class=3DMsoNormal><span sty=
le=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><= o:p> </o:p></span></p><p class=3DMsoNormal><span style=3D'font-size= :10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Hasan R.<o:p></o= :p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-= family:"Arial","sans-serif";color:#1F497D'> <o:p></o:p></span></p><= p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Arial",= "sans-serif";color:#1F497D'> </span><span style=3D'font-size:11.0pt= ;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p=
Quoted 1 line
<p class=3DMsoNormal style=3D'margin-left:.5in'><b><span style=3D'font-=
size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span sty= le=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> adrian.chadd@= gmail.com [mailto:adrian.chadd at gmail.com] <b>On Behalf Of </b>Adrian Cha= dd<br><b>Sent:</b> Sunday, May 27, 2012 7:18 PM<br><b>To:</b> Hasan Rash= id<br><b>Cc:</b> ath9k-devel at lists.ath9k.org<br><b>Subject:</b> Re: [ath= 9k-devel] Atheros AR9382 W_DISABLE_L PIN 20 Mini-PCIe<o:p></o:p></span><= /p><p class=3DMsoNormal style=3D'margin-left:.5in'><o:p> </o:p></p>= <p class=3DMsoNormal style=3D'margin-left:.5in'>Hi,<o:p></o:p></p><div><= p class=3DMsoNormal style=3D'margin-left:.5in'><o:p> </o:p></p></di= v><div><p class=3DMsoNormal style=3D'margin-left:.5in'>So the 30 second=
version of rfkill is this:<o:p></o:p></p></div><div><p class=3DMsoNorma=
l style=3D'margin-left:.5in'><o:p> </o:p></p></div><div><p class=3D= MsoNormal style=3D'margin-left:.5in'>* it can be software driven (ie,=
the driver implements rfkill by stopping TX/RX and baseband activity,= possibly shutting down the NIC)<o:p></o:p></p></div><div><p class=3DMso=
Normal style=3D'margin-left:.5in'>* it can be hardware driven (ie, there= 's an RFKill line to the NIC via a GPIO pin)<o:p></o:p></p></div><div><p=
class=3DMsoNormal style=3D'margin-left:.5in'><o:p> </o:p></p></div=
Quoted 1 line
<div><p class=3DMsoNormal style=3D'margin-left:.5in'>The pin itself can=
be controlled by:<o:p></o:p></p></div><div><p class=3DMsoNormal style=
=3D'margin-left:.5in'><o:p> </o:p></p></div><div><p class=3DMsoNorm= al style=3D'margin-left:.5in'>* hardware - ie, a physical switch to the=
rfkill pin;<o:p></o:p></p></div><div><p class=3DMsoNormal style=3D'marg=
in-left:.5in'>* software - ie, some ACPI controlled function maps to the=
rfkill pin.<o:p></o:p></p></div><div><p class=3DMsoNormal style=3D'marg=
in-left:.5in'><o:p> </o:p></p></div><div><p class=3DMsoNormal style= =3D'margin-left:.5in'>What you have above seems to be (2) and (1) respec= tively - ie, that pin is mapped to GPIO7 on the NIC, and now you need=
to program GPIO7 to be an RFkill pin. There's code in ath9k somewhere= to configure the GPIO pin correctly to implement hardware rfkill.<o:p><=
/o:p></p></div><div><p class=3DMsoNormal style=3D'margin-left:.5in'><o:p=
Quoted 1 line
</o:p></p></div><div><p class=3DMsoNormal style=3D'margin-left:.5=
in'>Good luck!<o:p></o:p></p></div><div><p class=3DMsoNormal style=3D'ma= rgin-left:.5in'><o:p> </o:p></p></div><div><p class=3DMsoNormal sty= le=3D'margin-left:.5in'><o:p> </o:p></p></div><div><p class=3DMsoNo= rmal style=3D'margin-left:.5in'>Adrian<o:p></o:p></p></div></div> <!-- Begin Ninja Disclaimer ID 06d1f63c-a7f2-4bdd-9832-359e6e93159e --> <P>This communication contains information that may be confidential or=
privileged. The information is solely intended for the use of the addre=
ssee. If you are not the intended recipient, be advised that any disclos= ure, copy, distribution, or use of the contents of this communication=
is prohibited. If you have received this communication in<BR>error, ple=
ase immediately notify the sender by telephone or by electronic mail.</P> <P>Export Notice: This email may contain technical data controlled under=
the International Traffic in Arms Regulations (ITAR) by the U.S.= Department of State (22 CFR 120-130) or under the U.S Export Administra=
tion Regulations (EAR) by the Department of Commerce (15 CFR 730-744).&n= bsp; Violations of these export laws are subject to severe criminal pena= lties. <BR></P>
</body></html>
------_=_NextPart_001_01CD3DB5.D3C19EF1--