Commit Graph

37 Commits

Author SHA1 Message Date
sakumisu
13e4670f3d update: remove internal configs, you should get config from usb_config.h 2024-05-17 17:04:53 +08:00
sakumisu
490cac1a0f fix(class): change ifdef to if for LWIP_TCPIP_CORE_LOCKING_INPUT 2024-05-14 13:59:39 +08:00
sakumisu
207fb7b128 update(usbh_ncm/usbh_rndis): limit read size to 16K 2024-05-14 13:53:58 +08:00
sakumisu
074662a50d fix(class/wireless/usbh_rndis): when last data is dummy byte, ignore it 2024-05-12 20:47:33 +08:00
sakumisu
cdd308f3e8 fix typo 2024-05-04 15:48:45 +08:00
sakumisu
0ceb7ef885 zero copy when enables LWIP_TCPIP_CORE_LOCKING_INPUT 2024-05-03 19:53:22 +08:00
sakumisu
ae5a9d1e57 check if eth rx packet is overflow 2024-05-03 19:19:17 +08:00
sakumisu
5fec929b93 support id table for multi vid pid 2024-05-03 18:54:36 +08:00
sakumisu
6abe6befa8 fix rndis msg when mss is larger than rndis rx size 2024-04-28 19:54:53 +08:00
sakumisu
a24d2bdc07 fix rndis send dummy 2024-04-23 21:30:59 +08:00
sakumisu
8995cf9568 move rndis config macros into template 2024-04-18 21:27:34 +08:00
sakumisu
762c3cbb2f add get_connect_status api for rndis/cdc_ecm/asix 2024-02-24 10:49:11 +08:00
sakumisu
eeb304ae08 update log tag 2024-01-30 23:04:35 +08:00
sakumisu
e201439722 create lwip rx thread by user 2023-12-19 21:38:55 +08:00
sakumisu
d414fd21d8 add config for rndis & ecm thread 2023-12-01 20:43:13 +08:00
sakumisu
84299ce80b delete lwip rx thread in self 2023-11-24 21:11:05 +08:00
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
sakimisu
9029f8c5b1 fix warning 2023-08-27 13:38:13 +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
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
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
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
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