ath9k: use common API to avoid code duplication