4129c7e9c7
run wifi every 8µs. improves performance.
2022-09-04 14:48:08 +02:00
4c62c009c5
fix more wifi shittiness (mainly don't try to receive shit while sending a frame)
2022-09-04 14:22:05 +02:00
f41cfd70ab
fix some of the shittiness when trying to connect more than two players
2022-09-04 02:00:12 +02:00
3758062101
remove some cruft
2022-09-04 00:48:13 +02:00
f8b20a0920
move RX-finish to its own function. more accurate filtering. implement RXFILTER.
2022-09-04 00:04:46 +02:00
fc4beabab2
don't transmit shit if RXCNT.bit15 isn't set
2022-09-03 19:07:54 +02:00
906a87e84d
kind of a rollback... we're gonna work out a compromise on this, I guess
2022-09-03 12:11:13 +02:00
705355d12e
there are problems with this scheduler thing. committing it anyway
2022-09-03 00:04:30 +02:00
d04879298c
add enough TX functionality that online wifi is a possibility again.
2022-09-02 22:43:13 +02:00
e51b8d9997
begin work on receiving frames. for now it can just receive melonAP beacons, but hey, it's a start.
2022-09-02 00:44:58 +02:00
ab084fcf08
add the RF wakeup thing
2022-09-01 23:14:02 +02:00
f380a53404
implement the shitty timers
2022-09-01 22:58:40 +02:00
cc68017f52
* begin adding POWCNT2, only applies to wifi for now
...
* begin work on wifi scheduler
2022-09-01 22:24:20 +02:00
fb73b80674
attempt at making the connection process smoother for weird games
2022-08-28 16:41:53 +02:00
22d9f3edad
BAHAHAHAHAHAHAHAHHHH
...
THE SNEAKY BASTARDS
so, when the DS receives a beacon with the right BSSID
that beacon's timestamp is copied to USCOUNTER
2022-08-28 12:25:37 +02:00
b858114c48
more graceful handling of disconnects
2022-08-27 13:17:15 +02:00
47bc7bb323
set wifi time interval to 34 cycles instead of 33. games seem sensitive to the general timing of wifi vs the rest of the system, and this seems to make things run better, atleast until I rewrite this to use a proper scheduler.
2022-08-27 11:42:43 +02:00
728eb38b88
remove a bunch of cruft
2022-08-26 23:40:59 +02:00
f0452ca149
* when entering power-saving mode, be sure to finish transferring the current frame first
...
* fix misc bug due to old cruft leftover
makes for a more stable connection
2022-08-26 00:43:53 +02:00
da4acab0bd
somewhat better exchange/sync method
2022-08-25 00:36:31 +02:00
8c4b756068
* add MP-reply error counters
...
* feeble attempt at fixing slowdown/desync/etc problems
2022-08-21 15:08:20 +02:00
639ed7b150
start implementing MP-comm error handling
2022-08-21 13:37:31 +02:00
5db8499787
leave client sync mode when host deauths. makes download play actually work.
2022-08-21 00:51:28 +02:00
40ceb207e9
get this somewhat good
2022-08-20 19:53:05 +02:00
5a10807f91
shared-memory IPC that actually works (albeit Windows-only for now)
2022-08-20 02:29:42 +02:00
d8b735822a
as you wish, Sorer
...
(starting work on shared-memory system)
2022-08-19 22:56:01 +02:00
5f77ad3394
remove some stupid cruft
2022-08-19 18:38:45 +02:00
ab15d7402a
attempt at betterer wifi
...
* add preliminary sync mechanism
* fix gaps in wifi implementation
2022-08-18 19:47:01 +02:00
bb67e186df
comment out debug printfs
2022-02-25 14:35:45 +01:00
0a1fb5ae50
Wifi power saving, hopefully enough!
2022-02-25 14:25:19 +01:00
35cc79787d
update copyright headers
2022-01-09 02:15:50 +01:00
2ff065e5ea
Fix some compiler warnings
2021-05-03 13:40:44 +01:00
436b3c4c1d
update copyright year and add missing GPL headers
2021-03-12 20:07:40 +01:00
6b306e18a5
handle edge cases properly
2021-01-09 22:06:15 +01:00
c475372372
mask off upper bits when incrementing RX addr
...
fixes #931
2021-01-09 18:31:12 +01:00
7d448d911d
use C++ style structs everywhere
2021-01-02 11:38:06 +01:00
9772201345
remove some UB
...
- savestates used to read a four bytes from a single byte value
- a few unassigned variables
- some other things
- also make the ROR macro an inline function
2020-09-04 20:37:14 +02:00
660792d64b
wifi:
...
* don't receive packets if the RX buffer is zero-sized
* avoid potential out-of-bound writes
2020-08-19 19:16:09 +02:00
e43a216ab5
take care of some minor details
2020-06-21 11:02:42 +02:00
c6dc5dfc4b
get it to atleast finish a scan without shitting itself
2020-06-15 14:35:02 +02:00
fc5eedc716
* take nwifi forward some
...
* shut up CP15 printf's for Fx0
* fix bugs
2020-06-15 13:39:33 +02:00
83f8e11bc1
update copyright years
2020-02-14 20:18:08 +01:00
1e108ad7fb
start differenciating between direct and indirect LAN modes.
...
indirect mode will use regular sockets and not pcap.
2019-03-04 20:52:29 +01:00
93d51b0cbc
start work on non-direct mode. reply to DHCP discover frame.
2019-02-23 13:41:51 +01:00
b0efde8bf7
also, update copyright name
2019-01-22 15:58:29 +01:00
669247e8c8
redesign main emu loop to use timestamps instead of being a trainwreck
...
* cleaner code
* faster in some cases
* more accurate (on-demand compensation for timers and GPU)
* less prone to desyncs
* overall betterer
2019-01-05 05:28:58 +01:00
20862b7daf
aight, wifi done
2018-10-18 03:22:53 +02:00
fea7955675
fixor copyright years.
2018-09-15 02:32:13 +02:00
981661a36d
wifi: implement increment for txheader[4]
2018-01-04 00:10:35 +01:00
5fe30d306f
wifi:
...
* fix BSSID/MAC check when receiving packets
* safeguard AP auth/deauth so local MP doesn't trigger it
2017-12-19 00:33:09 +01:00