hi! in this series i try to cleanup the antenna configuration somewhat... part of this is also necessary for the "iw phyX antenna" command i am working on. i send it here for review, before posting to linux-wireless.
question: does anyone have an idea if we have to set the antenna switchtable before we do the other things in reset? it seems superfluous to me, because it is set later anyhow. but i don't know - maybe some parts of the HW initialization need the switchtable setup before? so i left it there for now... bruno --- Bruno Randolf (4): ath5k: fix NULL pointer in antenna configuration ath5k: update AR5K_PHY_RESTART_DIV_GC values to match masks ath5k: new function for setting the antenna switch table ath5k: no need to save/restore the default antenna drivers/net/wireless/ath/ath5k/ath5k.h | 1 + drivers/net/wireless/ath/ath5k/phy.c | 43 +++++++++++++++++++++++++++++++- drivers/net/wireless/ath/ath5k/reset.c | 41 +++++-------------------------- 3 files changed, 49 insertions(+), 36 deletions(-) -- Signature _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel