From: Greg KH <gregkh@linuxfoundation.org>
To: Oliver Neukum <oneukum@suse.com>
Cc: linux-usb@vger.kernel.org
Subject: Re: [PATCH 1/2] usb: uapi: add usb 3.0 authentication declarations
Date: Wed, 18 Mar 2026 16:10:07 +0100 [thread overview]
Message-ID: <2026031840-unfold-crouton-bc3b@gregkh> (raw)
In-Reply-To: <20260317092244.1464921-1-oneukum@suse.com>
On Tue, Mar 17, 2026 at 10:22:28AM +0100, Oliver Neukum wrote:
> This adds the USB authentication extensions to the
> uapi chapter 9 declarations, so that user space tools
> correctly operate on the descriptor and commands.
> This is necessary for sniffing and debugging in gadget
> mode to correctly work, even though the kernel
> does not use these requests in host mode.
>
> Signed-off-by: Oliver Neukum <oneukum@suse.com>
> ---
> include/uapi/linux/usb/ch9.h | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/include/uapi/linux/usb/ch9.h b/include/uapi/linux/usb/ch9.h
> index 8003243a4937..6f02dc39430a 100644
> --- a/include/uapi/linux/usb/ch9.h
> +++ b/include/uapi/linux/usb/ch9.h
> @@ -102,6 +102,8 @@
> #define USB_REQ_LOOPBACK_DATA_WRITE 0x15
> #define USB_REQ_LOOPBACK_DATA_READ 0x16
> #define USB_REQ_SET_INTERFACE_DS 0x17
> +#define USB_REQ_AUTH_IN 0x18
> +#define REQ_REQ_AUTH_OUT 0x19
This should be USB_REQ_AUTH_OUT, right?
thanks,
greg k-h
prev parent reply other threads:[~2026-03-18 15:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-17 9:22 [PATCH 1/2] usb: uapi: add usb 3.0 authentication declarations Oliver Neukum
2026-03-17 9:22 ` [PATCH 2/2] USB: uapi: add BULK_MAX_PACKET_UPDATE Oliver Neukum
2026-03-18 15:10 ` Greg KH
2026-03-19 13:06 ` Oliver Neukum
2026-03-19 13:19 ` Greg KH
2026-03-18 15:10 ` Greg KH [this message]
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=2026031840-unfold-crouton-bc3b@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=linux-usb@vger.kernel.org \
--cc=oneukum@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox