Commit Graph

20 Commits

Author SHA1 Message Date
Matthew Kennedy a5c37c7034 refactoring recv 2025-03-13 14:04:33 -07:00
Matthew Kennedy 92dbd39464 extract wifi_socket.cpp 2025-03-13 14:04:19 -07:00
Matthew Kennedy d93fc04df7 static 2025-03-13 13:34:41 -07:00
Matthew Kennedy c8d1bd0c28 Revert "dead isEndOfPacket"
This reverts commit 0f6076bad2.
2025-03-13 13:13:07 -07:00
Matthew Kennedy ff2288f459 multi-socket 2025-03-13 00:35:54 -07:00
Matthew Kennedy 7c626a9b8b linked list of server sockets 2025-03-13 00:05:54 -07:00
Matthew Kennedy d9059902db encapsulate wifi socket state 2025-03-12 23:58:31 -07:00
Matthew Kennedy 0f6076bad2 dead isEndOfPacket 2025-03-12 23:54:04 -07:00
Matthew Kennedy d8afff16ff move stuff in to statics 2025-03-12 23:53:40 -07:00
Matthew Kennedy 085b6cb4cd tsSocketReady is duplicated state 2025-03-12 23:48:53 -07:00
Matthew Kennedy b30b86968d wifi console refactoring 2025-03-12 23:18:46 -07:00
Matthew Kennedy 61788feb4a add UI to set Wi-Fi SSID/PSK 2025-02-03 17:53:54 -08:00
Matthew Kennedy 8a3b360c25 match ts defaults for IP/port 2025-02-03 17:27:41 -08:00
Matthew Kennedy 0026558824 chunked wifi writes to save transactions 2025-02-03 15:37:28 -08:00
Matthew Kennedy 5d6d17324d oooops, used max instead of min 2025-02-03 15:13:21 -08:00
Matthew Kennedy d9cf4c4e79 wifi init logic 2025-01-21 20:21:01 -08:00
Matthew Kennedy 058fd9f72d type tweak 2024-10-17 13:31:51 -07:00
Matthew Kennedy 512a2dfb81 wifi: chunk size simplify 2024-10-11 17:35:25 -07:00
Matthew Kennedy c9d4befc4d
WiFi tweaks (#374)
* batch all wifi in to one write

* writeCrcPacket already chunks the response, so we don't really need it, but limit maximum TCP write size

* format cleanup

* don't cache wifi stuff (for now)

* h7 fiddling
2024-03-12 16:14:04 -07:00
Matthew Kennedy 2436e7c105
implement TS console over ATWINC1500 WiFi (#373)
* experimenting with atwinc1500

* rename to cpp

* if/else without curly braces

* nullptr

* static asserts

* unused params

* stub basic bsp and wifi console

* misc c++ fixes

* it appears to compile?

* enable/disable ISR

* idk why this needs to get commented

* dead code

* more wifi plumbing

* move wifi init after hardware init

* wifi bsp

* bsp handles empty SPI read/write, pin init

* build spi_flash.cpp

* don't double-enable interrupts

* maybe no need for extern "C"

* faster SPI

* socket kinda connects?

* wifi updater tool?

* log wifi stuff to efiPrintf

* I'm not sure why you have to skip the reboot it says you have to do

* working tcp implementation

* use lock instead of actually cycling interrupts

* improve socket receive performance

* add firmware info

* avoid locking for spi select/unselect

* allow larger SPI ops

* wifi thread priority

* hooks for pins and SPI device

* guard

* build atlas with wifi

* don't unconditionally define EFI_WIFI, oops

* only build wifi if wifi

* typo

* H7 SPI

* typo
2024-03-01 12:37:55 -08:00