carl9170 firmware: refactoring wlan_tx_ampdu