On 10/14/2012 03:13 PM, Christian Lamparter wrote:
in_ep and in_ep_num should not be the same as
a device can have a different in_ep than "1".
Signed-off-by: Christian Lamparter <chunkeey@xxxxxxxxxxxxxx>
---
Note:
This patch is related to:
"[PATCH 3/9] rtlwifi: fix the selection of the bulk in endpoint"
However, it would be much better if we can get rid of
in_ep_num and define an in_ep array so the rtlwifi
frameworks knows which EPs to scan. But this could be
"too much" of an overkill, so another solution would
be to just have a single in_ep.
Larry, do you know of any hardware which has two in endpoints?
The RTL8188CU has the following:
Bus 004 Device 002: ID 0bda:8723 Realtek Semiconductor Corp.
bEndpointAddress 0x81 EP 1 IN
bEndpointAddress 0x02 EP 2 OUT
bEndpointAddress 0x82 EP 2 IN
bEndpointAddress 0x03 EP 3 OUT
bEndpointAddress 0x83 EP 3 IN
bEndpointAddress 0x03 EP 3 OUT
bEndpointAddress 0x83 EP 3 IN
bEndpointAddress 0x03 EP 3 OUT
bEndpointAddress 0x83 EP 3 IN
My SU device has the same layout. It seems that only EP 1 is used exclusively
for input operations.
Larry
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html