Marius Strobl fecf9642ba - Probe UICLASS_CDC/UISUBCLASS_ABSTRACT_CONTROL_MODEL/0xff again. This
variant of Microsoft RNDIS, i. e. their unofficial version of CDC ACM,
  has been disabled in r261544 for resolving a conflict with umodem(4).
  Eventually, in r275790 that problem was dealt with in the right way.
  However, r275790 failed to put probing of RNDIS devices in question
  back.
- Initialize the device prior to querying it, as required by the RNDIS
  specification. Otherwise already determining the MAC address may fail
  rightfully.
- On detach, halt the device again.
- Use UCDC_SEND_ENCAPSULATED_{COMMAND,RESPONSE}. While these macros are
  resolving to the same values as UR_{CLEAR_FEATURE,GET_STATUS}, the
  former set is way more appropriate in this context.
- Report unknown - rather: unimplemented - events unconditionally and
  not just in debug mode. This ensures that we'll get some hint of what
  is going wrong instead of the driver silently failing.
- Deal with the Microsoft ActiveSync requirement of using an input buffer
  the size of the expected reply or larger - except for variably sized
  replies - when querying a device.
- Fix some pointless NULL checks, style bugs etc.

This changes allow urndis(4) to communicate with a Microsoft-certified
USB RNDIS test token.

MFC after:	3 days
Sponsored by:	genua mbh
2015-07-27 12:14:14 +00:00
..
2015-07-22 16:26:17 +00:00
2015-01-23 15:14:30 +00:00
2015-01-30 01:13:07 +00:00
2015-02-24 01:00:46 +00:00
2015-03-08 19:55:46 +00:00
2015-01-23 15:14:30 +00:00
2015-07-25 19:24:33 +00:00
2015-06-27 09:01:49 +00:00
2015-06-19 17:34:59 +00:00
2015-06-30 17:00:45 +00:00
2015-06-30 17:00:45 +00:00
2014-08-05 23:35:19 +00:00
2014-08-05 23:58:49 +00:00
2015-06-02 22:45:28 +00:00
2014-09-28 07:40:26 +00:00
2015-07-21 21:07:18 +00:00
2015-04-29 20:08:03 +00:00
2014-10-10 14:17:42 +00:00
2014-10-11 19:36:59 +00:00
2015-03-23 19:47:52 +00:00
2015-04-22 14:38:58 +00:00
2014-12-03 00:47:05 +00:00
2015-07-17 20:29:47 +00:00
2014-11-18 21:58:57 +00:00
2015-06-23 22:22:36 +00:00
2015-06-30 17:00:45 +00:00
2015-06-30 17:00:45 +00:00
2014-09-19 03:55:19 +00:00
2015-03-23 19:47:52 +00:00
2015-06-30 17:00:45 +00:00
2014-11-21 21:34:19 +00:00
2015-06-30 17:00:45 +00:00
2015-07-07 02:42:48 +00:00
2014-11-20 20:09:18 +00:00