sakumisu
|
44d92be013
|
update(platform): remove net class weak api, check CONFIG_USBHOST_PLATFORM_* macro is defined or not in usbh_lwip.c
Signed-off-by: sakumisu <1203593632@qq.com>
|
2026-01-05 21:31:41 +08:00 |
|
sakumisu
|
d68064e4e3
|
feat(class): support more match flags for cdc acm & rndis
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-11-25 15:29:01 +08:00 |
|
sakumisu
|
605a967282
|
style: remove some logs
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-07-16 22:17:19 +08:00 |
|
sakumisu
|
bff8a632a9
|
feat(class): add usb_osal_thread_schedule_other to allow the applications which use the struct usbh_xxx to exit properly before free struct usbh_xxx
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-06-03 22:43:35 +08:00 |
|
sakumisu
|
dd8ec4bbcf
|
fix wformat warning
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-04-19 23:01:59 +08:00 |
|
sakumisu
|
9a26c50900
|
fix: fix wformat warnings
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-03-28 22:39:30 +08:00 |
|
sakumisu
|
83695e77cf
|
update: add usb align up for every buffer when use dcache clean&invalid api
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-03-28 13:29:04 +08:00 |
|
sakumisu
|
95baa7845c
|
chore: fix wformat warning
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-01-26 13:18:50 +08:00 |
|
sakumisu
|
6769eac6e0
|
feat(osal): add argument macro for different os, especially for nuttx
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-01-20 18:23:59 +08:00 |
|
electretmike
|
149fb046bc
|
fix: rename class to class_code, for c++ compatibility (#269)
Co-authored-by: Michiel van Leeuwen <michiel@embeddedacoustics.com>
|
2024-10-30 15:11:46 +08:00 |
|
sakumisu
|
df888eb9bc
|
update(class/wireless/usbh_rndis): reduce rndis control buffer
|
2024-09-28 14:32:13 +08:00 |
|
sakumisu
|
02340e0f44
|
chore: static code analysis
|
2024-09-19 09:50:18 +08:00 |
|
sakumisu
|
35da8d6747
|
fix: fix -Wunused-parameter warning with -Wextra cflag
|
2024-08-21 20:08:47 +08:00 |
|
sakumisu
|
eb147d7276
|
fix: fix typo
|
2024-07-13 10:13:37 +08:00 |
|
sakumisu
|
6c92681e48
|
refactor(platform): add usbh_xxx_get_eth_txbuf api, especially for lwip pbuf list
|
2024-06-25 17:18:19 +08:00 |
|
sakumisu
|
755d067650
|
update: check class->hport validity
|
2024-06-23 14:16:57 +08:00 |
|
sakumisu
|
8a4f210ee7
|
fix memcpy to strncpy
|
2024-06-16 23:40:15 +08:00 |
|
sakumisu
|
3429f73a65
|
update: add comments for net process, support len > 16K for ncm/rndis/asix/rtl8152
|
2024-06-01 18:54:51 +08:00 |
|
sakumisu
|
ba098529af
|
update(class/wireless/usbd_rndis): print max pkts and size in init msg resp
|
2024-05-31 22:44:19 +08:00 |
|
sakumisu
|
2d63b52d0b
|
feat: use fast memcpy for net
|
2024-05-31 22:31:43 +08:00 |
|
sakumisu
|
865d2f5d96
|
refactor(platform): update platform support
|
2024-05-24 22:49:18 +08:00 |
|
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 |
|