Commit Graph

33 Commits

Author SHA1 Message Date
sakumisu
b7d02b7125 reset rx length when pbuf allocs failed 2023-11-22 21:43:57 +08:00
sakumisu
18eed18413 add some delay to avoid too much error log when device is disconnected 2023-11-22 19:28:30 +08:00
sakumisu
03db11f4af add ecm and rndis thread delete for dynamic netif 2023-11-22 19:28:30 +08:00
sakumisu
5bbe2a97f2 refactor urb, add ep & hport in urb to make hardware pipe more reusable 2023-11-16 19:56:52 +08:00
sakumisu
9ce7b0ceb7 fix rndis query & set msg wLength, only support one rndis device 2023-11-13 20:03:35 +08:00
sakumisu
0f2cb9f900 fix warning 2023-08-30 20:03:18 +08:00
sakimisu
9029f8c5b1 fix warning 2023-08-27 13:38:13 +08:00
sakimisu
94505f9e41 change rndis_encapsulated_resp_buffer size to 156 2023-08-05 11:11:03 +08:00
Zhihong Chen
d3aa9449e1 class: rndis: host: fix function name
- fix function name

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2023-08-05 11:05:44 +08:00
sakimisu
3057f41020 use static memory to malloc & free class 2023-07-12 22:48:18 +08:00
sakimisu
c540080c96 format class struct and global variable name 2023-06-21 20:43:06 +08:00
sakimisu
a26d8b602c use usbh_hport_activate_epx to alloc rndis intin pipe 2023-05-24 20:22:34 +08:00
Zhihong Chen
0c36483b40 class: rndis host: fix buffer size and pointer error
- fix buffer size and pointer error

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2023-05-24 19:47:53 +08:00
sakimisu
9172223fe6 call usbh_xxx_stop when class enumerates completely 2023-05-17 20:43:23 +08:00
sakumisu
75ddfc8e4d move hub and hport variable into common ram to reduce nocache ram usage 2023-02-18 15:19:52 +08:00
sakimisu
68c9779898 add some log for rndis rx tx 2023-01-28 22:23:35 +08:00
Zhihong Chen
2e7c4953ce fix hpm/usb_dc_hpm.c warning.
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2023-01-02 12:53:42 +08:00
sakimisu
512de54d33 add host class run and stop callback 2022-11-26 23:52:58 +08:00
sakimisu
9ef2988f6a fix rndis pipe config and move cmd & resp into no cache ram 2022-11-19 21:51:38 +08:00
sakumisu
dca8b4cfed remove intf malloc 2022-10-20 21:22:08 +08:00
sakumisu
ead74525ea fix rndis mps 2022-10-07 12:16:18 +08:00
sakumisu
36de428845 update rndis device driver and template 2022-10-06 22:55:23 +08:00
sakumisu
fdfc885fa3 update rndis device driver 2022-09-17 21:58:27 +08:00
sakumisu
b25b0f0b6c add interface altsetting struct 2022-09-14 20:33:13 +08:00
sakumisu
62d0000926 refactor usb host stack: hcd api, hub process and usb no cache ram process 2022-09-09 19:09:22 +08:00
sakumisu
cb2510f121 remove custom handler, split class handler into interface and endpoint
handler
2022-09-08 21:44:56 +08:00
sakumisu
607a057162 delete ununsed comment 2022-08-19 23:27:41 +08:00
sakumisu
7377b5183d Simplify the license rows, standardize header macro name 2022-08-18 21:41:19 +08:00
sakumisu
458ed326d2 fix -Wformat warning 2022-05-22 17:26:32 +08:00
sakumisu
56364f2903 alloc class name after the necessary commands are completed 2022-05-22 17:09:47 +08:00
sakumisu
12849228d5 add usb rndis host driver 2022-04-04 15:46:22 +08:00
aozima
3cce9e7d78 clean compiler warning. 2022-03-27 14:58:25 +08:00
sakumisu
3db0d15f1a add usb rndis device 2022-03-15 10:56:39 +08:00