This post is about DIY and install 3rd party firmware. This guide is given as is and DDWRT firmware is not supported by us. Please refer to DDWRT for support.
You can use ddwrt in GL-MT300N and GL-MT300A. Here is one firmware that works, ddwrt for buffalo whr 300hp2
http://www.dd-wrt.com/site/support/other-downloads?path=betas%2F2016%2F03-07-2016-r29218%2Fbuffalo_whr_300hp2%2F
The firmware with name “firmware.uimage” is tested.
Steps to install DDWRT:
swconfig dev switch0 vlan 1 set ports '1 2 3 4 5 6t' swconfig dev switch0 vlan 2 set ports '0 6t' swconfig dev switch0 set apply nvram set lan_ifnames='vlan1 ra0 ba0' nvram commit

Steps to use DDWRT:
Enjoy DDWRT!
{"one"=>"Wählen Sie 2 oder 3 Artikel zum Vergleichen aus", "other"=>"{{ count }} von 3 Elementen ausgewählt"}
Wählen Sie das erste zu vergleichende Element aus
Wählen Sie das zweite zu vergleichende Element aus
Wählen Sie das dritte Element zum Vergleichen aus