Add TxQLen support

I'm not very familiar with code, so sorry if I missed something.