diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 90a37a94c698..70e07fa48405 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -282,13 +282,6 @@ struct iwl_channel_info { | |||
282 | */ | 282 | */ |
283 | #define IWL_IPAN_MCAST_QUEUE 8 | 283 | #define IWL_IPAN_MCAST_QUEUE 8 |
284 | 284 | ||
285 | /* Power management (not Tx power) structures */ | ||
286 | |||
287 | enum iwl_pwr_src { | ||
288 | IWL_PWR_SRC_VMAIN, | ||
289 | IWL_PWR_SRC_VAUX, | ||
290 | }; | ||
291 | |||
292 | #define IEEE80211_DATA_LEN 2304 | 285 | #define IEEE80211_DATA_LEN 2304 |
293 | #define IEEE80211_4ADDR_LEN 30 | 286 | #define IEEE80211_4ADDR_LEN 30 |
294 | #define IEEE80211_HLEN (IEEE80211_4ADDR_LEN) | 287 | #define IEEE80211_HLEN (IEEE80211_4ADDR_LEN) |
@@ -732,7 +725,6 @@ struct iwl_hw_params { | |||
732 | * | 725 | * |
733 | ****************************************************************************/ | 726 | ****************************************************************************/ |
734 | extern void iwl_update_chain_flags(struct iwl_priv *priv); | 727 | extern void iwl_update_chain_flags(struct iwl_priv *priv); |
735 | extern int iwl_set_pwr_src(struct iwl_priv *priv, enum iwl_pwr_src src); | ||
736 | extern const u8 iwl_bcast_addr[ETH_ALEN]; | 728 | extern const u8 iwl_bcast_addr[ETH_ALEN]; |
737 | extern int iwl_rxq_stop(struct iwl_priv *priv); | 729 | extern int iwl_rxq_stop(struct iwl_priv *priv); |
738 | extern void iwl_txq_ctx_stop(struct iwl_priv *priv); | 730 | extern void iwl_txq_ctx_stop(struct iwl_priv *priv); |
@@ -843,6 +835,7 @@ enum iwl_calib { | |||
843 | IWL_CALIB_TX_IQ, | 835 | IWL_CALIB_TX_IQ, |
844 | IWL_CALIB_TX_IQ_PERD, | 836 | IWL_CALIB_TX_IQ_PERD, |
845 | IWL_CALIB_BASE_BAND, | 837 | IWL_CALIB_BASE_BAND, |
838 | IWL_CALIB_TEMP_OFFSET, | ||
846 | IWL_CALIB_MAX | 839 | IWL_CALIB_MAX |
847 | }; | 840 | }; |
848 | 841 | ||
@@ -1390,8 +1383,6 @@ struct iwl_priv { | |||
1390 | 1383 | ||
1391 | enum nl80211_iftype iw_mode; | 1384 | enum nl80211_iftype iw_mode; |
1392 | 1385 | ||
1393 | struct sk_buff *ibss_beacon; | ||
1394 | |||
1395 | /* Last Rx'd beacon timestamp */ | 1386 | /* Last Rx'd beacon timestamp */ |
1396 | u64 timestamp; | 1387 | u64 timestamp; |
1397 | 1388 | ||
@@ -1503,8 +1494,10 @@ struct iwl_priv { | |||
1503 | struct work_struct scan_completed; | 1494 | struct work_struct scan_completed; |
1504 | struct work_struct rx_replenish; | 1495 | struct work_struct rx_replenish; |
1505 | struct work_struct abort_scan; | 1496 | struct work_struct abort_scan; |
1497 | |||
1506 | struct work_struct beacon_update; | 1498 | struct work_struct beacon_update; |
1507 | struct iwl_rxon_context *beacon_ctx; | 1499 | struct iwl_rxon_context *beacon_ctx; |
1500 | struct sk_buff *beacon_skb; | ||
1508 | 1501 | ||
1509 | struct work_struct tt_work; | 1502 | struct work_struct tt_work; |
1510 | struct work_struct ct_enter; | 1503 | struct work_struct ct_enter; |
@@ -1566,7 +1559,6 @@ static inline void iwl_txq_ctx_deactivate(struct iwl_priv *priv, int txq_id) | |||
1566 | } | 1559 | } |
1567 | 1560 | ||
1568 | #ifdef CONFIG_IWLWIFI_DEBUG | 1561 | #ifdef CONFIG_IWLWIFI_DEBUG |
1569 | const char *iwl_get_tx_fail_reason(u32 status); | ||
1570 | /* | 1562 | /* |
1571 | * iwl_get_debug_level: Return active debug level for device | 1563 | * iwl_get_debug_level: Return active debug level for device |
1572 | * | 1564 | * |
@@ -1582,8 +1574,6 @@ static inline u32 iwl_get_debug_level(struct iwl_priv *priv) | |||
1582 | return iwl_debug_level; | 1574 | return iwl_debug_level; |
1583 | } | 1575 | } |
1584 | #else | 1576 | #else |
1585 | static inline const char *iwl_get_tx_fail_reason(u32 status) { return ""; } | ||
1586 | |||
1587 | static inline u32 iwl_get_debug_level(struct iwl_priv *priv) | 1577 | static inline u32 iwl_get_debug_level(struct iwl_priv *priv) |
1588 | { | 1578 | { |
1589 | return iwl_debug_level; | 1579 | return iwl_debug_level; |