mirror of
https://github.com/ipxe/ipxe
synced 2026-01-07 20:52:03 +03:00
[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:
committed by
Marty Connor
parent
224ef7f483
commit
489bd2f396
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user