[ath5k] Update for changes in kernel 2.6.31

This adds basic rfkill support for enabling the wireless card on certain
laptops, and changes miscellaneous other details that may help in obscure
cases.

Also change the error handling to not report CRC errors, which due to the
basic facts of wireless may happen even more frequently than valid packets.

Signed-off-by: Marty Connor <mdc@etherboot.org>
This commit is contained in:
Joshua Oreman
2009-09-12 09:01:47 -07:00
committed by Marty Connor
parent 224ef7f483
commit 489bd2f396
8 changed files with 147 additions and 5 deletions

View File

@@ -123,6 +123,11 @@ struct ath5k_softc {
unsigned int txbuf_len; /* buf count in txbuf list */
struct ath5k_txq txq; /* tx queue */
struct {
u16 gpio;
unsigned polarity;
} rf_kill;
int last_calib_ticks;
int power_level; /* Requested tx power in dbm */