aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test/vusb_uac2
Commit message (Collapse)AuthorAgeFilesLines
* sys/linux: expand uac1/2/3 and midi seedsBerk Cem Goksel14 days1-3/+1
|
* sys/linux: replace broken uac1/2/3 and midi seedsBerk Cem Goksel14 days1-9/+1
|
* sys/linux: replace trivial vusb_uac* and vusb_midi testsBerk Cem Goksel14 days1-2/+9
|
* sys/linux: add UAC2, UAC3, and MIDI USB audio class descriptionsBerk Cem Goksel14 days1-0/+4
This patch extends the USB audio fuzzing support by adding syzlang descriptions for: - UAC2 (USB Audio Class 2.0) devices with clock management units, interface association descriptors, and extended format types. - UAC3 (USB Audio Class 3.0) devices including power domain descriptors and cluster information segments. - USB MIDI devices with jack descriptors and streaming endpoints. A new generateAudioDeviceDescriptor function patches in both auto-extracted USB IDs from the kernel driver matching rules and hardcoded quirk IDs from the USB audio driver sources (sound/usb/). This approach follows the pattern established for the HID and printer classes, allowing exercising driver quirks that cannot be automatically extracted. The config descriptor template now includes an EXTRA field to support Interface Association Descriptors required by UAC2/UAC3. This also requires adjusting the interface field index in patchUsbDeviceID.