ath9k: clean up hardware code for beacon handling