Skip to contentSkip to conversation

ath9k-devel Digest, Vol 79, Issue 6

ath9k-devel 杨铁军 2 participants 4 messages Jan 9, 2015 – Jan 10, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

杨铁军

author
#1 lore raw

Hi Arend,

I had ATH9k hardware, my wireless device is WLE350NX, it is AR9580 chip.

Please send me your code to test!

I am new to LINUX.

Regards,

David Yang

------------------ Original ------------------
From: "ath9k-devel-request"<[email protected]>;
Date: Thu, Jan 8, 2015 07:00 PM
To: "ath9k-devel"<[email protected]>;

Subject: ath9k-devel Digest, Vol 79, Issue 6

Send ath9k-devel mailing list submissions to
ath9k-devel at lists.ath9k.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
or, via email, send a message with subject or body 'help' to ath9k-devel-request at lists.ath9k.org

You can reach the person managing the list at
ath9k-devel-owner at lists.ath9k.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of ath9k-devel digest..."

Today's Topics:

1. Re: [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries (Kalle Valo)
2. Re: [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries (Sujith Manoharan)

----------------------------------------------------------------------

Message: 1
Date: Wed, 07 Jan 2015 20:05:00 +0200
From: Kalle Valo <[email protected]>
Subject: Re: [ath9k-devel] [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries
To: Arend van Spriel <[email protected]>
Cc: ath9k-devel at lists.ath9k.org, linux-wireless <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Quoted 10 lines · Arend van Spriel

Use the helper to get rid of the file operations per debugfs file. The device driver data contains struct ieee80211_hw pointer and the struct ath9k_softc pointer is assigned to ieee80211_hw::priv so it can be accessed in the seq_file read operation.

Cc ath9k-devel at lists.ath9k.org

---
Hi Kalle,

Quoted 8 lines

This patch was reverted in the driver-core repository as I overlooked the use of driver data and caused ath9k driver to crash. I believe this revised patch properly uses it now although I have no ath9k hardware to test this. So I hope some ath9k developers out there can give this patch a run for its money. It compiles and no checkpatch or sparse warnings.

The patch applies to the master branch of the wireless-drivers-next repository.

Can someone with ath9k hardware test this, please? I'm hesitant to apply this without testing.

Signature · 16 lines
Kalle Valo


------------------------------

Message: 2
Date: Thu, 8 Jan 2015 08:49:00 +0530
From: Sujith Manoharan <[email protected]>
Subject: Re: [ath9k-devel] [PATCH] ath: ath9k: use
debugfs_create_devm_seqfile() helper for seq_file entries
To: Kalle Valo <[email protected]>
Cc: Arend van Spriel <[email protected]>,
ath9k-devel at lists.ath9k.org, linux-wireless
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Quoted 9 lines
Quoted 7 lines · Arend van Spriel

Use the helper to get rid of the file operations per debugfs file. The device driver data contains struct ieee80211_hw pointer and the struct ath9k_softc pointer is assigned to ieee80211_hw::priv so it can be accessed in the seq_file read operation.

Cc ath9k-devel at lists.ath9k.org

Thanks for the patch.

Quoted 2 lines

Can someone with ath9k hardware test this, please? I'm hesitant to apply this without testing.

I tested it and there were no crashes.

Sujith

------------------------------

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

End of ath9k-devel Digest, Vol 79, Issue 6
******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150109/f06322d8/attachment.htm

#2 lore raw
Quoted 4 lines · ???

Hi Arend,
I had ATH9k hardware, my wireless device is WLE350NX, it is AR9580 chip. Please send me your code to test!
I am new to LINUX.

Ok. The patch can be found on patchwork [1]. That page contains download links to get the patch. _mbox_ link can be used with 'git am' command. _patch_ link can be used with 'patch' command.

Regards,
Arend

[1] https://patchwork.kernel.org/patch/5544621/

Quoted 115 lines

Regards,
David Yang
------------------ Original ------------------
*From: * "ath9k-devel-request"<[email protected]>; *Date: * Thu, Jan 8, 2015 07:00 PM
*To: * "ath9k-devel"<[email protected]>; *Subject: * ath9k-devel Digest, Vol 79, Issue 6
Send ath9k-devel mailing list submissions to
ath9k-devel at lists.ath9k.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
or, via email, send a message with subject or body 'help' to ath9k-devel-request at lists.ath9k.org

You can reach the person managing the list at
ath9k-devel-owner at lists.ath9k.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of ath9k-devel digest..."

Today's Topics:

1. Re: [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries (Kalle Valo)
2. Re: [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries (Sujith Manoharan)

----------------------------------------------------------------------

Message: 1
Date: Wed, 07 Jan 2015 20:05:00 +0200
From: Kalle Valo <[email protected]>
Subject: Re: [ath9k-devel] [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries
To: Arend van Spriel <[email protected]>
Cc: ath9k-devel at lists.ath9k.org, linux-wireless <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Quoted 10 lines · Arend van Spriel

Use the helper to get rid of the file operations per debugfs file. The device driver data contains struct ieee80211_hw pointer and the struct ath9k_softc pointer is assigned to ieee80211_hw::priv so it can be accessed in the seq_file read operation.

Cc ath9k-devel at lists.ath9k.org

---
Hi Kalle,

Quoted 8 lines

This patch was reverted in the driver-core repository as I overlooked the use of driver data and caused ath9k driver to crash. I believe this revised patch properly uses it now although I have no ath9k hardware to test this. So I hope some ath9k developers out there can give this patch a run for its money. It compiles and no checkpatch or sparse warnings.

The patch applies to the master branch of the wireless-drivers-next repository.

Can someone with ath9k hardware test this, please? I'm hesitant to apply this without testing.

--
Kalle Valo

------------------------------

Message: 2
Date: Thu, 8 Jan 2015 08:49:00 +0530
From: Sujith Manoharan <[email protected]>
Subject: Re: [ath9k-devel] [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries
To: Kalle Valo <[email protected]>
Cc: Arend van Spriel <[email protected]>, ath9k-devel at lists.ath9k.org, linux-wireless <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Quoted 9 lines
Quoted 7 lines · Arend van Spriel

Use the helper to get rid of the file operations per debugfs file. The device driver data contains struct ieee80211_hw pointer and the struct ath9k_softc pointer is assigned to ieee80211_hw::priv so it can be accessed in the seq_file read operation.

Cc ath9k-devel at lists.ath9k.org

Thanks for the patch.

Quoted 2 lines

Can someone with ath9k hardware test this, please? I'm hesitant to apply this without testing.

I tested it and there were no crashes.

Sujith

------------------------------

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

End of ath9k-devel Digest, Vol 79, Issue 6
******************************************

author
#3 lore raw

Hi Arend

My development environment is LINUX 2.26.31 Kernel, and I could not use new version kernel (The whole project work in Kernel 2.26.31, and the 2.26.31 is provided by my device manufactuer, I had no power to update to new kernel). Could you give a suggestion how to test your patch in LINUX 2.26.31? I am new to LINUX.

Thanks,

David

------------------ Original ------------------
From: "Arend van Spriel"<[email protected]>;
Date: Fri, Jan 9, 2015 06:01 PM
To: "???"<[email protected]>;
Cc: "ath9k-devel"<[email protected]>;
Subject: Re: ath9k-devel Digest, Vol 79, Issue 6

Quoted 4 lines · ???

Hi Arend,
I had ATH9k hardware, my wireless device is WLE350NX, it is AR9580 chip. Please send me your code to test!
I am new to LINUX.

Ok. The patch can be found on patchwork [1]. That page contains download links to get the patch. _mbox_ link can be used with 'git am' command. _patch_ link can be used with 'patch' command.

Regards,
Arend

[1] https://patchwork.kernel.org/patch/5544621/

Quoted 107 lines

Regards,
David Yang
------------------ Original ------------------
*From: * "ath9k-devel-request"<[email protected]>; *Date: * Thu, Jan 8, 2015 07:00 PM
*To: * "ath9k-devel"<[email protected]>; *Subject: * ath9k-devel Digest, Vol 79, Issue 6
Send ath9k-devel mailing list submissions to
ath9k-devel at lists.ath9k.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
or, via email, send a message with subject or body 'help' to ath9k-devel-request at lists.ath9k.org

You can reach the person managing the list at
ath9k-devel-owner at lists.ath9k.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of ath9k-devel digest..."

Today's Topics:

1. Re: [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries (Kalle Valo)
2. Re: [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries (Sujith Manoharan)

----------------------------------------------------------------------

Message: 1
Date: Wed, 07 Jan 2015 20:05:00 +0200
From: Kalle Valo <[email protected]>
Subject: Re: [ath9k-devel] [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries
To: Arend van Spriel <[email protected]>
Cc: ath9k-devel at lists.ath9k.org, linux-wireless <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Quoted 10 lines · Arend van Spriel

Use the helper to get rid of the file operations per debugfs file. The device driver data contains struct ieee80211_hw pointer and the struct ath9k_softc pointer is assigned to ieee80211_hw::priv so it can be accessed in the seq_file read operation.

Cc ath9k-devel at lists.ath9k.org

---
Hi Kalle,

Quoted 8 lines

This patch was reverted in the driver-core repository as I overlooked the use of driver data and caused ath9k driver to crash. I believe this revised patch properly uses it now although I have no ath9k hardware to test this. So I hope some ath9k developers out there can give this patch a run for its money. It compiles and no checkpatch or sparse warnings.

The patch applies to the master branch of the wireless-drivers-next repository.

Can someone with ath9k hardware test this, please? I'm hesitant to apply this without testing.

--
Kalle Valo

------------------------------

Message: 2
Date: Thu, 8 Jan 2015 08:49:00 +0530
From: Sujith Manoharan <[email protected]>
Subject: Re: [ath9k-devel] [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries
To: Kalle Valo <[email protected]>
Cc: Arend van Spriel <[email protected]>, ath9k-devel at lists.ath9k.org, linux-wireless <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Quoted 9 lines
Quoted 7 lines · Arend van Spriel

Use the helper to get rid of the file operations per debugfs file. The device driver data contains struct ieee80211_hw pointer and the struct ath9k_softc pointer is assigned to ieee80211_hw::priv so it can be accessed in the seq_file read operation.

Cc ath9k-devel at lists.ath9k.org

Thanks for the patch.

Quoted 2 lines

Can someone with ath9k hardware test this, please? I'm hesitant to apply this without testing.

I tested it and there were no crashes.

Sujith

------------------------------

Quoted 8 lines

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

End of ath9k-devel Digest, Vol 79, Issue 6
******************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150110/0c3b31a8/attachment.htm

#4 lore raw
Quoted 6 lines · ???

Hi Arend
My development environment is LINUX 2.26.31 Kernel, and I could not use new version kernel (The whole project work in Kernel 2.26.31, and the 2.26.31 is provided by my device manufactuer, I had no power to update to new kernel). Could you give a suggestion how to test your patch in LINUX 2.26.31? I am new to LINUX.

I see. Well, you could grab this backports package [1] and apply the patch there. There is a twiki [2] containing info how to build, etc.

Regards,
Arend

[1]
http://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.19-rc1/backports-3.19-rc1-1.tar.xz
[2] https://backports.wiki.kernel.org/

Quoted 142 lines

Thanks,
David
------------------ Original ------------------ *From: * "Arend van Spriel"<[email protected]>; *Date: * Fri, Jan 9, 2015 06:01 PM
*To: * "???"<[email protected]>;
*Cc: * "ath9k-devel"<[email protected]>; *Subject: * Re: ath9k-devel Digest, Vol 79, Issue 6

Quoted 4 lines · ???

Hi Arend,
I had ATH9k hardware, my wireless device is WLE350NX, it is AR9580 chip. Please send me your code to test!
I am new to LINUX.

Ok. The patch can be found on patchwork [1]. That page contains download links to get the patch. _mbox_ link can be used with 'git am' command. _patch_ link can be used with 'patch' command.

Regards,
Arend

[1] https://patchwork.kernel.org/patch/5544621/

Quoted 43 lines

Regards,
David Yang
------------------ Original ------------------
*From: * "ath9k-devel-request"<[email protected]>; *Date: * Thu, Jan 8, 2015 07:00 PM
*To: * "ath9k-devel"<[email protected]>; *Subject: * ath9k-devel Digest, Vol 79, Issue 6
Send ath9k-devel mailing list submissions to
ath9k-devel at lists.ath9k.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
or, via email, send a message with subject or body 'help' to ath9k-devel-request at lists.ath9k.org

You can reach the person managing the list at
ath9k-devel-owner at lists.ath9k.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of ath9k-devel digest..."

Today's Topics:

1. Re: [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries (Kalle Valo)
2. Re: [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries (Sujith Manoharan)

----------------------------------------------------------------------

Message: 1
Date: Wed, 07 Jan 2015 20:05:00 +0200
From: Kalle Valo <[email protected]>
Subject: Re: [ath9k-devel] [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries
To: Arend van Spriel <[email protected]>
Cc: ath9k-devel at lists.ath9k.org, linux-wireless <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Quoted 16 lines
Quoted 14 lines · Arend van Spriel

Use the helper to get rid of the file operations per debugfs file. The device driver data contains struct ieee80211_hw pointer and the struct ath9k_softc pointer is assigned to ieee80211_hw::priv so it can be accessed in the seq_file read operation.

Cc ath9k-devel at lists.ath9k.org

---
Hi Kalle,

This patch was reverted in the driver-core repository as I overlooked the use of driver data and caused ath9k driver to crash. I believe this revised patch properly uses it now although I have no ath9k hardware to test this. So I hope some ath9k developers out there can give this

patch

Quoted 14 lines
Quoted 4 lines

a run for its money. It compiles and no checkpatch or sparse warnings.

The patch applies to the master branch of the wireless-drivers-next repository.

Can someone with ath9k hardware test this, please? I'm hesitant to apply this without testing.

--
Kalle Valo

------------------------------

Quoted 15 lines

Message: 2
Date: Thu, 8 Jan 2015 08:49:00 +0530
From: Sujith Manoharan <[email protected]>
Subject: Re: [ath9k-devel] [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries
To: Kalle Valo <[email protected]>
Cc: Arend van Spriel <[email protected]>, ath9k-devel at lists.ath9k.org, linux-wireless <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Quoted 3 lines
Quoted 1 line · Arend van Spriel

Use the helper to get rid of the file operations per debugfs

file. The

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

device driver data contains struct ieee80211_hw pointer and the struct ath9k_softc pointer is assigned to ieee80211_hw::priv so

it can

Quoted 8 lines
Quoted 4 lines
Quoted 4 lines

be accessed in the seq_file read operation.

Cc ath9k-devel at lists.ath9k.org

Thanks for the patch.

Quoted 1 line

Can someone with ath9k hardware test this, please? I'm hesitant to

apply

Quoted 17 lines
Quoted 1 line

this without testing.

I tested it and there were no crashes.

Sujith

------------------------------

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

End of ath9k-devel Digest, Vol 79, Issue 6
******************************************