diff options
author | Kolekar, Abhijeet <abhijeet.kolekar@intel.com> | 2008-12-18 21:37:18 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:59:03 -0500 |
commit | 5747d47fb469613901e76a1380daf14901e76092 (patch) | |
tree | 0e870726ffbff966e06f374528459a364c77fc63 /drivers/net/wireless/iwlwifi/iwl3945-base.c | |
parent | eaa686c37d12aac37f955eb7643a62370c84ee12 (diff) |
iwl3945: include iwl-core.h
Use iwl-core.h instead of iwl-3945-core.h.
Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 52 |
1 files changed, 1 insertions, 51 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 063ee65e7ec7..c3fd7c651ba2 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -48,11 +48,11 @@ | |||
48 | 48 | ||
49 | #define DRV_NAME "iwl3945" | 49 | #define DRV_NAME "iwl3945" |
50 | 50 | ||
51 | #include "iwl-3945-core.h" | ||
52 | #include "iwl-commands.h" | 51 | #include "iwl-commands.h" |
53 | #include "iwl-3945.h" | 52 | #include "iwl-3945.h" |
54 | #include "iwl-3945-fh.h" | 53 | #include "iwl-3945-fh.h" |
55 | #include "iwl-helpers.h" | 54 | #include "iwl-helpers.h" |
55 | #include "iwl-core.h" | ||
56 | #include "iwl-dev.h" | 56 | #include "iwl-dev.h" |
57 | 57 | ||
58 | static int iwl3945_tx_queue_update_write_ptr(struct iwl3945_priv *priv, | 58 | static int iwl3945_tx_queue_update_write_ptr(struct iwl3945_priv *priv, |
@@ -491,56 +491,6 @@ static inline int iwl3945_is_ready_rf(struct iwl3945_priv *priv) | |||
491 | /*************** HOST COMMAND QUEUE FUNCTIONS *****/ | 491 | /*************** HOST COMMAND QUEUE FUNCTIONS *****/ |
492 | 492 | ||
493 | #define IWL_CMD(x) case x: return #x | 493 | #define IWL_CMD(x) case x: return #x |
494 | |||
495 | static const char *get_cmd_string(u8 cmd) | ||
496 | { | ||
497 | switch (cmd) { | ||
498 | IWL_CMD(REPLY_ALIVE); | ||
499 | IWL_CMD(REPLY_ERROR); | ||
500 | IWL_CMD(REPLY_RXON); | ||
501 | IWL_CMD(REPLY_RXON_ASSOC); | ||
502 | IWL_CMD(REPLY_QOS_PARAM); | ||
503 | IWL_CMD(REPLY_RXON_TIMING); | ||
504 | IWL_CMD(REPLY_ADD_STA); | ||
505 | IWL_CMD(REPLY_REMOVE_STA); | ||
506 | IWL_CMD(REPLY_REMOVE_ALL_STA); | ||
507 | IWL_CMD(REPLY_3945_RX); | ||
508 | IWL_CMD(REPLY_TX); | ||
509 | IWL_CMD(REPLY_RATE_SCALE); | ||
510 | IWL_CMD(REPLY_LEDS_CMD); | ||
511 | IWL_CMD(REPLY_TX_LINK_QUALITY_CMD); | ||
512 | IWL_CMD(RADAR_NOTIFICATION); | ||
513 | IWL_CMD(REPLY_QUIET_CMD); | ||
514 | IWL_CMD(REPLY_CHANNEL_SWITCH); | ||
515 | IWL_CMD(CHANNEL_SWITCH_NOTIFICATION); | ||
516 | IWL_CMD(REPLY_SPECTRUM_MEASUREMENT_CMD); | ||
517 | IWL_CMD(SPECTRUM_MEASURE_NOTIFICATION); | ||
518 | IWL_CMD(POWER_TABLE_CMD); | ||
519 | IWL_CMD(PM_SLEEP_NOTIFICATION); | ||
520 | IWL_CMD(PM_DEBUG_STATISTIC_NOTIFIC); | ||
521 | IWL_CMD(REPLY_SCAN_CMD); | ||
522 | IWL_CMD(REPLY_SCAN_ABORT_CMD); | ||
523 | IWL_CMD(SCAN_START_NOTIFICATION); | ||
524 | IWL_CMD(SCAN_RESULTS_NOTIFICATION); | ||
525 | IWL_CMD(SCAN_COMPLETE_NOTIFICATION); | ||
526 | IWL_CMD(BEACON_NOTIFICATION); | ||
527 | IWL_CMD(REPLY_TX_BEACON); | ||
528 | IWL_CMD(WHO_IS_AWAKE_NOTIFICATION); | ||
529 | IWL_CMD(QUIET_NOTIFICATION); | ||
530 | IWL_CMD(REPLY_TX_PWR_TABLE_CMD); | ||
531 | IWL_CMD(MEASURE_ABORT_NOTIFICATION); | ||
532 | IWL_CMD(REPLY_BT_CONFIG); | ||
533 | IWL_CMD(REPLY_STATISTICS_CMD); | ||
534 | IWL_CMD(STATISTICS_NOTIFICATION); | ||
535 | IWL_CMD(REPLY_CARD_STATE_CMD); | ||
536 | IWL_CMD(CARD_STATE_NOTIFICATION); | ||
537 | IWL_CMD(MISSED_BEACONS_NOTIFICATION); | ||
538 | default: | ||
539 | return "UNKNOWN"; | ||
540 | |||
541 | } | ||
542 | } | ||
543 | |||
544 | #define HOST_COMPLETE_TIMEOUT (HZ / 2) | 494 | #define HOST_COMPLETE_TIMEOUT (HZ / 2) |
545 | 495 | ||
546 | /** | 496 | /** |