From: Arend van Spriel <arend@broadcom.com>
To: Kalle Valo <kvalo@qca.qualcomm.com>
Cc: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>,
"John W . Linville" <linville@tuxdriver.com>,
<linux-wireless@vger.kernel.org>, <wil6210@qca.qualcomm.com>
Subject: Re: [PATCH 2/2] wil6210: atomic I/O for the card memory
Date: Fri, 14 Nov 2014 15:31:54 +0100 [thread overview]
Message-ID: <5466125A.7090001@broadcom.com> (raw)
In-Reply-To: <87fvdlsyen.fsf@kamboji.qca.qualcomm.com>
On 11/14/14 14:29, Kalle Valo wrote:
> Vladimir Kondratiev<qca_vkondrat@qca.qualcomm.com> writes:
>
>> Introduce netdev IOCTLs, to be used by the debug tools.
>>
>> Allows to read/write single dword value or
>> memory block, aligned to dword
>> Different address modes supported:
>> - BAR offset
>> - Firmware "linker" address
>> - target's AHB bus
>>
>> Signed-off-by: Vladimir Kondratiev<qca_vkondrat@qca.qualcomm.com>
>
> An ioctl interface for a wireless driver? IMHO that would have been ok
> in 2004, but not in 2014. Isn't there really better way to implement
> this?
If this is really driver/device specific debug tool stuff, you should
probably consider the vendor commands through nl80211 API.
Regards,
Arend
>> +/* Numbers SIOCDEVPRIVATE and SIOCDEVPRIVATE + 1
>> + * are used by Android devices to implement PNO (preferred network offload).
>> + * Albeit it is temporary solution, use different numbers to avoid conflicts
>> + */
>
> Comments like this make me even more worried that that this is just yet
> another way to implement wext iwpriv interface.
>
next prev parent reply other threads:[~2014-11-14 14:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-01 12:05 [PATCH 0/2] wil6210 patches Vladimir Kondratiev
2014-10-01 12:05 ` [PATCH 1/2] wil6210: manual FW error recovery mode Vladimir Kondratiev
2014-10-01 12:05 ` [PATCH 2/2] wil6210: atomic I/O for the card memory Vladimir Kondratiev
2014-11-14 13:29 ` Kalle Valo
2014-11-14 14:31 ` Arend van Spriel [this message]
2014-11-14 14:54 ` Kalle Valo
2014-11-16 8:55 ` Vladimir Kondratiev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5466125A.7090001@broadcom.com \
--to=arend@broadcom.com \
--cc=kvalo@qca.qualcomm.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=qca_vkondrat@qca.qualcomm.com \
--cc=wil6210@qca.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.