linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ath9k: Add PID/VID support for AR1111
@ 2012-08-02  6:28 Mohammed Shafi Shajakhan
  2012-08-02 17:43 ` Luis R. Rodriguez
  2012-08-17  7:12 ` [ath9k-devel] : Sunil Mehta
  0 siblings, 2 replies; 9+ messages in thread
From: Mohammed Shafi Shajakhan @ 2012-08-02  6:28 UTC (permalink / raw)
  To: John W. Linville
  Cc: linux-wireless, Rodriguez Luis, ath9k-devel,
	Mohammed Shafi Shajakhan, Felix Bitterli

From: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>

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: stable@vger.kernel.org [2.6.39+]
Cc: Felix Bitterli <felixb@qca.qualcomm.com>
Reported-by: Tim and Alison Bentley <Home@trarbentley.net>
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
---
 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


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH] ath9k: Add PID/VID support for AR1111
  2012-08-02  6:28 [PATCH] ath9k: Add PID/VID support for AR1111 Mohammed Shafi Shajakhan
@ 2012-08-02 17:43 ` Luis R. Rodriguez
       [not found]   ` <CAAT9HshKC9+YiP2YzVGO_nuRsyvbgBeUvj2+r2Wzj1wU-QV7-A@mail.gmail.com>
  2012-08-17  7:12 ` [ath9k-devel] : Sunil Mehta
  1 sibling, 1 reply; 9+ messages in thread
From: Luis R. Rodriguez @ 2012-08-02 17:43 UTC (permalink / raw)
  To: Mohammed Shafi Shajakhan
  Cc: John W. Linville, linux-wireless, ath9k-devel, Felix Bitterli,
	Tim and Alison Bentley, Dan Williams

On Wed, Aug 1, 2012 at 11:28 PM, Mohammed Shafi Shajakhan
<mohammed@qca.qualcomm.com> wrote:
> From: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
>
> 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: stable@vger.kernel.org [2.6.39+]
> Cc: Felix Bitterli <felixb@qca.qualcomm.com>
> Reported-by: Tim and Alison Bentley <Home@trarbentley.net>
> Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>

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

 Luis

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ath9k: Add PID/VID support for AR1111
       [not found]   ` <CAAT9HshKC9+YiP2YzVGO_nuRsyvbgBeUvj2+r2Wzj1wU-QV7-A@mail.gmail.com>
@ 2012-08-02 18:13     ` John W. Linville
       [not found]       ` <CAAT9HsjQ9abXWEy4Jp86HH9HUEOhSbQG_jn2Hnwk8_QX=oqfag@mail.gmail.com>
  0 siblings, 1 reply; 9+ messages in thread
From: John W. Linville @ 2012-08-02 18:13 UTC (permalink / raw)
  To: Tim and Alison Bentley
  Cc: Luis R. Rodriguez, Mohammed Shafi Shajakhan, linux-wireless,
	ath9k-devel, Felix Bitterli, Dan Williams

On Thu, Aug 02, 2012 at 07:05:12PM +0100, Tim and Alison Bentley wrote:
> On 2 August 2012 18:43, Luis R. Rodriguez <rodrigue@qca.qualcomm.com> wrote:
> 
> > On Wed, Aug 1, 2012 at 11:28 PM, Mohammed Shafi Shajakhan
> > <mohammed@qca.qualcomm.com> wrote:
> > > From: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
> > >
> > > 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: stable@vger.kernel.org [2.6.39+]
> > > Cc: Felix Bitterli <felixb@qca.qualcomm.com>
> > > Reported-by: Tim and Alison Bentley <Home@trarbentley.net>
> > > Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
> >
> > 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
linville@tuxdriver.com			might be all we have.  Be ready.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ath9k: Add PID/VID support for AR1111
       [not found]       ` <CAAT9HsjQ9abXWEy4Jp86HH9HUEOhSbQG_jn2Hnwk8_QX=oqfag@mail.gmail.com>
@ 2012-08-06  5:50         ` Mohammed Shafi Shajakhan
  0 siblings, 0 replies; 9+ messages in thread
From: Mohammed Shafi Shajakhan @ 2012-08-06  5:50 UTC (permalink / raw)
  To: Tim and Alison Bentley
  Cc: John W. Linville, Luis R. Rodriguez, linux-wireless, ath9k-devel,
	Felix Bitterli, Dan Williams

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 <linville@tuxdriver.com> 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 <rodrigue@qca.qualcomm.com>
>> wrote:
>>>
>>>> On Wed, Aug 1, 2012 at 11:28 PM, Mohammed Shafi Shajakhan
>>>> <mohammed@qca.qualcomm.com> wrote:
>>>>> From: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
>>>>>
>>>>> 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: stable@vger.kernel.org [2.6.39+]
>>>>> Cc: Felix Bitterli <felixb@qca.qualcomm.com>
>>>>> Reported-by: Tim and Alison Bentley <Home@trarbentley.net>
>>>>> Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
>>>>
>>>> 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
>> linville@tuxdriver.com                  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 <Tim.Bentley@Gmail.com>
> instead of the family email address.
> Sorry for any trouble.
>

thanks for testing this.


-- 
thanks,
shafi



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ath9k-devel] :
  2012-08-02  6:28 [PATCH] ath9k: Add PID/VID support for AR1111 Mohammed Shafi Shajakhan
  2012-08-02 17:43 ` Luis R. Rodriguez
@ 2012-08-17  7:12 ` Sunil Mehta
  2012-08-21  5:13   ` Mohammed Shafi Shajakhan
  1 sibling, 1 reply; 9+ messages in thread
From: Sunil Mehta @ 2012-08-17  7:12 UTC (permalink / raw)
  To: Mohammed Shafi Shajakhan, John W. Linville
  Cc: linux-wireless, Mohammed, Rodriguez Luis, ath9k-devel,
	Felix Bitterli

>
>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.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ath9k-devel] :
  2012-08-17  7:12 ` [ath9k-devel] : Sunil Mehta
@ 2012-08-21  5:13   ` Mohammed Shafi Shajakhan
  2012-09-20 10:37     ` Ravi Sharma
  0 siblings, 1 reply; 9+ messages in thread
From: Mohammed Shafi Shajakhan @ 2012-08-21  5:13 UTC (permalink / raw)
  To: Sunil Mehta
  Cc: John W. Linville, linux-wireless, Mohammed, Rodriguez Luis,
	ath9k-devel, Felix Bitterli

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ath9k-devel] :
  2012-08-21  5:13   ` Mohammed Shafi Shajakhan
@ 2012-09-20 10:37     ` Ravi Sharma
  2012-09-24  5:15       ` Mohammed Shafi Shajakhan
  2012-09-24 14:40       ` Mohammed Shafi
  0 siblings, 2 replies; 9+ messages in thread
From: Ravi Sharma @ 2012-09-20 10:37 UTC (permalink / raw)
  To: Mohammed Shafi Shajakhan
  Cc: Sunil Mehta, John W. Linville, linux-wireless, Mohammed,
	Rodriguez Luis, ath9k-devel, Felix Bitterli

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
<mohammed@qca.qualcomm.com> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ath9k-devel] :
  2012-09-20 10:37     ` Ravi Sharma
@ 2012-09-24  5:15       ` Mohammed Shafi Shajakhan
  2012-09-24 14:40       ` Mohammed Shafi
  1 sibling, 0 replies; 9+ messages in thread
From: Mohammed Shafi Shajakhan @ 2012-09-24  5:15 UTC (permalink / raw)
  To: Ravi Sharma
  Cc: Sunil Mehta, John W. Linville, linux-wireless, Mohammed,
	Rodriguez Luis, ath9k-devel, Felix Bitterli

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
> <mohammed@qca.qualcomm.com> 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 majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html


-- 
thanks,
shafi



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ath9k-devel] :
  2012-09-20 10:37     ` Ravi Sharma
  2012-09-24  5:15       ` Mohammed Shafi Shajakhan
@ 2012-09-24 14:40       ` Mohammed Shafi
  1 sibling, 0 replies; 9+ messages in thread
From: Mohammed Shafi @ 2012-09-24 14:40 UTC (permalink / raw)
  To: Ravi Sharma
  Cc: Mohammed Shafi Shajakhan, Sunil Mehta, John W. Linville,
	linux-wireless, Mohammed, Rodriguez Luis, ath9k-devel,
	Felix Bitterli

[-- Attachment #1: Type: text/plain, Size: 2182 bytes --]

On Thu, Sep 20, 2012 at 4:07 PM, Ravi Sharma <sharmaravi.lx@gmail.com> 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
> <mohammed@qca.qualcomm.com> 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 majordomo@vger.kernel.org
>> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
thanks,
shafi

[-- Attachment #2: open-con.conf --]
[-- Type: application/octet-stream, Size: 85 bytes --]

ctrl_interface=/var/run/wpa_supplicant
network={
	ssid="ATH9K-5G"
	key_mgmt=NONE
}



[-- Attachment #3: p2p.conf --]
[-- Type: application/octet-stream, Size: 490 bytes --]

ctrl_interface=/var/run/wpa_supplicant
ap_scan=1

device_name=Nadal-p2p-device
device_type=1-0050F204-1

# If you need to modify the group owner intent, 0-15, the higher
# number indicates preference to become the GO. You can also set
# this on p2p_connect commands.
#p2p_go_intent=8

# optional, can be useful for monitoring, forces
# wpa_supplicant to use only channel 1 rather than
# 1, 6 and 11:
#p2p_listen_reg_class=81
#p2p_listen_channel=1
#p2p_oper_reg_class=81
#p2p_oper_channel=1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-09-24 14:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-02  6:28 [PATCH] ath9k: Add PID/VID support for AR1111 Mohammed Shafi Shajakhan
2012-08-02 17:43 ` Luis R. Rodriguez
     [not found]   ` <CAAT9HshKC9+YiP2YzVGO_nuRsyvbgBeUvj2+r2Wzj1wU-QV7-A@mail.gmail.com>
2012-08-02 18:13     ` John W. Linville
     [not found]       ` <CAAT9HsjQ9abXWEy4Jp86HH9HUEOhSbQG_jn2Hnwk8_QX=oqfag@mail.gmail.com>
2012-08-06  5:50         ` Mohammed Shafi Shajakhan
2012-08-17  7:12 ` [ath9k-devel] : Sunil Mehta
2012-08-21  5:13   ` Mohammed Shafi Shajakhan
2012-09-20 10:37     ` Ravi Sharma
2012-09-24  5:15       ` Mohammed Shafi Shajakhan
2012-09-24 14:40       ` Mohammed Shafi

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).