This is close to what I need as well. I dropped the script on my 300M, changing to BTN_1 but it’s not quite right so I pulled it out.

When I slide the switch to the right, what I need is to bridge the wireless port and the LAN port so that there is no NAT or DHCP. Any device plugged into the Ethernet LAN port should simply look like another wireless device and get an IP address via DHCP from the WiFi router. I don’t care if the 300M gets an IP address for itself. Possible?

When I slide it to the left, I’d like the router to work in WISP mode NATted to 198.11.8.1 and passing out DCHP addresses as normal.