DDAM: Dynamic network condition detection and communication adaptation in Tactical Edge Networks