firmware: Use a vector for tmp_data7 and tmp_data9