2012-08-02 06:29:03

by Mohammed Shafi Shajakhan

[permalink] [raw]
Subject: [PATCH] ath9k: Add PID/VID support for AR1111

From: Mohammed Shafi Shajakhan <[email protected]>

AR1111 is same as AR9485. The h/w
difference between them is quite insignificant,
Felix suggests only very few baseband features
may not be available in AR1111. The h/w code for
AR9485 is already present, so AR1111 should
work fine with the addition of its PID/VID.

Cc: [email protected] [2.6.39+]
Cc: Felix Bitterli <[email protected]>
Reported-by: Tim and Alison Bentley <[email protected]>
Signed-off-by: Mohammed Shafi Shajakhan <[email protected]>
---
drivers/net/wireless/ath/ath9k/hw.c | 1 +
drivers/net/wireless/ath/ath9k/hw.h | 1 +
drivers/net/wireless/ath/ath9k/pci.c | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index cfa91ab..60b6a9d 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -730,6 +730,7 @@ int ath9k_hw_init(struct ath_hw *ah)
case AR9300_DEVID_QCA955X:
case AR9300_DEVID_AR9580:
case AR9300_DEVID_AR9462:
+ case AR9485_DEVID_AR1111:
break;
default:
if (common->bus_ops->ath_bus_type == ATH_USB)
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index dd0c146..ce7332c 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -49,6 +49,7 @@
#define AR9300_DEVID_AR9462 0x0034
#define AR9300_DEVID_AR9330 0x0035
#define AR9300_DEVID_QCA955X 0x0038
+#define AR9485_DEVID_AR1111 0x0037

#define AR5416_AR9100_DEVID 0x000b

diff --git a/drivers/net/wireless/ath/ath9k/pci.c b/drivers/net/wireless/ath/ath9k/pci.c
index 87b89d5..d455de9 100644
--- a/drivers/net/wireless/ath/ath9k/pci.c
+++ b/drivers/net/wireless/ath/ath9k/pci.c
@@ -37,6 +37,7 @@ static DEFINE_PCI_DEVICE_TABLE(ath_pci_id_table) = {
{ PCI_VDEVICE(ATHEROS, 0x0032) }, /* PCI-E AR9485 */
{ PCI_VDEVICE(ATHEROS, 0x0033) }, /* PCI-E AR9580 */
{ PCI_VDEVICE(ATHEROS, 0x0034) }, /* PCI-E AR9462 */
+ { PCI_VDEVICE(ATHEROS, 0x0037) }, /* PCI-E AR1111/AR9485 */
{ 0 }
};

--
1.7.0.4



2012-08-17 07:19:15

by Sunil Mehta

[permalink] [raw]
Subject: Re: [ath9k-devel] :

>
>Hi

We are using AR9331 and are currently using the device in - AP mode, and
Station mode.

We would like to use the device for a P2P application. Can you suggest
what we need to do.

Regards,
Sunil.



2012-08-02 17:43:43

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: [PATCH] ath9k: Add PID/VID support for AR1111

On Wed, Aug 1, 2012 at 11:28 PM, Mohammed Shafi Shajakhan
<[email protected]> wrote:
> From: Mohammed Shafi Shajakhan <[email protected]>
>
> AR1111 is same as AR9485. The h/w
> difference between them is quite insignificant,
> Felix suggests only very few baseband features
> may not be available in AR1111. The h/w code for
> AR9485 is already present, so AR1111 should
> work fine with the addition of its PID/VID.
>
> Cc: [email protected] [2.6.39+]
> Cc: Felix Bitterli <[email protected]>
> Reported-by: Tim and Alison Bentley <[email protected]>
> Signed-off-by: Mohammed Shafi Shajakhan <[email protected]>

Nice! I'd be happy with this going in once we get a Tested-by: report. Dan, Tim?

Luis

2012-08-21 05:13:47

by Mohammed Shafi Shajakhan

[permalink] [raw]
Subject: Re: [ath9k-devel] :

Hi,

On Friday 17 August 2012 12:42 PM, Sunil Mehta wrote:
>>
>> Hi
>
> We are using AR9331 and are currently using the device in - AP mode, and
> Station mode.
>
> We would like to use the device for a P2P application. Can you suggest
> what we need to do.

sorry for the delayed reply, i was on leave(did not check any mails!)
for the past 6 days.

please read this and check this out, if it helps and works for you
http://linuxwireless.org/en/developers/p2p/howto.

please let me know if there any basic configuration issues.

technical issues related to p2p are discussed in hostap mailing lists
http://lists.shmoo.com/mailman/listinfo/hostap



>
> Regards,
> Sunil.
>
>


--
thanks,
shafi



2012-08-06 05:50:19

by Mohammed Shafi Shajakhan

[permalink] [raw]
Subject: Re: [PATCH] ath9k: Add PID/VID support for AR1111

Hi Tim/Luis,

On Friday 03 August 2012 12:20 AM, Tim and Alison Bentley wrote:
> On 2 August 2012 19:13, John W. Linville <[email protected]> wrote:
>
>> On Thu, Aug 02, 2012 at 07:05:12PM +0100, Tim and Alison Bentley wrote:
>>> On 2 August 2012 18:43, Luis R. Rodriguez <[email protected]>
>> wrote:
>>>
>>>> On Wed, Aug 1, 2012 at 11:28 PM, Mohammed Shafi Shajakhan
>>>> <[email protected]> wrote:
>>>>> From: Mohammed Shafi Shajakhan <[email protected]>
>>>>>
>>>>> AR1111 is same as AR9485. The h/w
>>>>> difference between them is quite insignificant,
>>>>> Felix suggests only very few baseband features
>>>>> may not be available in AR1111. The h/w code for
>>>>> AR9485 is already present, so AR1111 should
>>>>> work fine with the addition of its PID/VID.
>>>>>
>>>>> Cc: [email protected] [2.6.39+]
>>>>> Cc: Felix Bitterli <[email protected]>
>>>>> Reported-by: Tim and Alison Bentley <[email protected]>
>>>>> Signed-off-by: Mohammed Shafi Shajakhan <[email protected]>
>>>>
>>>> Nice! I'd be happy with this going in once we get a Tested-by: report.
>>>> Dan, Tim?
>>>>
>>>>
>>>
>>> Will test tomorrow when I have time
>>
>> Hmmm...well, I just pushed it to wireless.git. I won't push it to
>> Dave until sometime tomorrow, to give a chance for some test.
>>
>> John
>> --
>> John W. Linville Someday the world will need a hero, and you
>> [email protected] might be all we have. Be ready.
>>
>
> Have tested patch and can confirm it is fine and works. (Connected now).
> Can you amend the reported by and Tested by lines to
> Tim Bentley <[email protected]>
> instead of the family email address.
> Sorry for any trouble.
>

thanks for testing this.


--
thanks,
shafi



2012-08-02 18:15:32

by John W. Linville

[permalink] [raw]
Subject: Re: [PATCH] ath9k: Add PID/VID support for AR1111

On Thu, Aug 02, 2012 at 07:05:12PM +0100, Tim and Alison Bentley wrote:
> On 2 August 2012 18:43, Luis R. Rodriguez <[email protected]> wrote:
>
> > On Wed, Aug 1, 2012 at 11:28 PM, Mohammed Shafi Shajakhan
> > <[email protected]> wrote:
> > > From: Mohammed Shafi Shajakhan <[email protected]>
> > >
> > > AR1111 is same as AR9485. The h/w
> > > difference between them is quite insignificant,
> > > Felix suggests only very few baseband features
> > > may not be available in AR1111. The h/w code for
> > > AR9485 is already present, so AR1111 should
> > > work fine with the addition of its PID/VID.
> > >
> > > Cc: [email protected] [2.6.39+]
> > > Cc: Felix Bitterli <[email protected]>
> > > Reported-by: Tim and Alison Bentley <[email protected]>
> > > Signed-off-by: Mohammed Shafi Shajakhan <[email protected]>
> >
> > Nice! I'd be happy with this going in once we get a Tested-by: report.
> > Dan, Tim?
> >
> >
>
> Will test tomorrow when I have time

Hmmm...well, I just pushed it to wireless.git. I won't push it to
Dave until sometime tomorrow, to give a chance for some test.

John
--
John W. Linville Someday the world will need a hero, and you
[email protected] might be all we have. Be ready.

2012-09-24 14:40:37

by Mohammed Shafi

[permalink] [raw]
Subject: Re: [ath9k-devel] :

On Thu, Sep 20, 2012 at 4:07 PM, Ravi Sharma <[email protected]> wrote:
> Hi,
>
> I am trying to setup concurrent mode for TL-WL722N (TP-LINK) (ath9k)
> and upgraded& used the driver with the latest compat release. I am
> trying to run STA & P2P concurrently with two supplicant. Is this
> configuration possible?

yes.
please note you goto add vif1 as a virtual STA interface using
interface add command

./wpa_supplicant -i vif1 -c wpa_supplicant/open-con.conf -N -i wlan1
-c ./wpa_supplicant/p2p.conf

http://wireless.kernel.org/en/developers/p2p/howto

PFA

>
>
>
> I am using Ubuntu with kernel 3.2

please use the latest compat, but there are issues with p2p concurrency
for p2p-go incase the STA scans

>
> Can you please share the setup you are using to validate the ath9k
> mac80211 for concurrent mode?
>
> Regards,
> Ravi
>
> On Tue, Aug 21, 2012 at 10:43 AM, Mohammed Shafi Shajakhan
> <[email protected]> wrote:
>> Hi,
>>
>>
>> On Friday 17 August 2012 12:42 PM, Sunil Mehta wrote:
>>>>
>>>>
>>>> Hi
>>>
>>>
>>> We are using AR9331 and are currently using the device in - AP mode, and
>>> Station mode.
>>>
>>> We would like to use the device for a P2P application. Can you suggest
>>> what we need to do.
>>
>>
>> sorry for the delayed reply, i was on leave(did not check any mails!) for
>> the past 6 days.
>>
>> please read this and check this out, if it helps and works for you
>> http://linuxwireless.org/en/developers/p2p/howto.
>>
>> please let me know if there any basic configuration issues.
>>
>> technical issues related to p2p are discussed in hostap mailing lists
>> http://lists.shmoo.com/mailman/listinfo/hostap
>>
>>
>>
>>>
>>> Regards,
>>> Sunil.
>>>
>>>
>>
>>
>> --
>> thanks,
>> shafi
>>
>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>> the body of a message to [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html



--
thanks,
shafi


Attachments:
open-con.conf (85.00 B)
p2p.conf (490.00 B)
Download all attachments

2012-09-24 05:15:57

by Mohammed Shafi Shajakhan

[permalink] [raw]
Subject: Re: [ath9k-devel] :

Hi Ravi,

I was on leave, will soon share the complete data that might help you..
p2p concurrency (having P2P go has some issues).

regards,
shafi

On Thursday 20 September 2012 04:07 PM, Ravi Sharma wrote:
> Hi,
>
> I am trying to setup concurrent mode for TL-WL722N (TP-LINK) (ath9k)
> and upgraded& used the driver with the latest compat release. I am
> trying to run STA & P2P concurrently with two supplicant. Is this
> configuration possible?
>
>
>
> I am using Ubuntu with kernel 3.2
>
> Can you please share the setup you are using to validate the ath9k
> mac80211 for concurrent mode?
>
> Regards,
> Ravi
>
> On Tue, Aug 21, 2012 at 10:43 AM, Mohammed Shafi Shajakhan
> <[email protected]> wrote:
>> Hi,
>>
>>
>> On Friday 17 August 2012 12:42 PM, Sunil Mehta wrote:
>>>>
>>>>
>>>> Hi
>>>
>>>
>>> We are using AR9331 and are currently using the device in - AP mode, and
>>> Station mode.
>>>
>>> We would like to use the device for a P2P application. Can you suggest
>>> what we need to do.
>>
>>
>> sorry for the delayed reply, i was on leave(did not check any mails!) for
>> the past 6 days.
>>
>> please read this and check this out, if it helps and works for you
>> http://linuxwireless.org/en/developers/p2p/howto.
>>
>> please let me know if there any basic configuration issues.
>>
>> technical issues related to p2p are discussed in hostap mailing lists
>> http://lists.shmoo.com/mailman/listinfo/hostap
>>
>>
>>
>>>
>>> Regards,
>>> Sunil.
>>>
>>>
>>
>>
>> --
>> thanks,
>> shafi
>>
>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>> the body of a message to [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html


--
thanks,
shafi



2012-09-20 10:37:48

by Ravi Sharma

[permalink] [raw]
Subject: Re: [ath9k-devel] :

Hi,

I am trying to setup concurrent mode for TL-WL722N (TP-LINK) (ath9k)
and upgraded& used the driver with the latest compat release. I am
trying to run STA & P2P concurrently with two supplicant. Is this
configuration possible?



I am using Ubuntu with kernel 3.2

Can you please share the setup you are using to validate the ath9k
mac80211 for concurrent mode?

Regards,
Ravi

On Tue, Aug 21, 2012 at 10:43 AM, Mohammed Shafi Shajakhan
<[email protected]> wrote:
> Hi,
>
>
> On Friday 17 August 2012 12:42 PM, Sunil Mehta wrote:
>>>
>>>
>>> Hi
>>
>>
>> We are using AR9331 and are currently using the device in - AP mode, and
>> Station mode.
>>
>> We would like to use the device for a P2P application. Can you suggest
>> what we need to do.
>
>
> sorry for the delayed reply, i was on leave(did not check any mails!) for
> the past 6 days.
>
> please read this and check this out, if it helps and works for you
> http://linuxwireless.org/en/developers/p2p/howto.
>
> please let me know if there any basic configuration issues.
>
> technical issues related to p2p are discussed in hostap mailing lists
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>
>
>>
>> Regards,
>> Sunil.
>>
>>
>
>
> --
> thanks,
> shafi
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html