diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwlwifi.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwlwifi.h | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwlwifi.h b/drivers/net/wireless/iwlwifi/iwlwifi.h index 90716006beac..96558cc60ae6 100644 --- a/drivers/net/wireless/iwlwifi/iwlwifi.h +++ b/drivers/net/wireless/iwlwifi/iwlwifi.h | |||
@@ -76,13 +76,7 @@ extern struct pci_device_id iwl_hw_card_ids[]; | |||
76 | #define IWL_NOISE_MEAS_NOT_AVAILABLE (-127) | 76 | #define IWL_NOISE_MEAS_NOT_AVAILABLE (-127) |
77 | 77 | ||
78 | /* Module parameters accessible from iwl-*.c */ | 78 | /* Module parameters accessible from iwl-*.c */ |
79 | extern int iwl_param_disable_hw_scan; | ||
80 | extern int iwl_param_debug; | ||
81 | extern int iwl_param_mode; | ||
82 | extern int iwl_param_disable; | ||
83 | extern int iwl_param_antenna; | ||
84 | extern int iwl_param_hwcrypto; | 79 | extern int iwl_param_hwcrypto; |
85 | extern int iwl_param_qos_enable; | ||
86 | extern int iwl_param_queues_num; | 80 | extern int iwl_param_queues_num; |
87 | 81 | ||
88 | enum iwl_antenna { | 82 | enum iwl_antenna { |
@@ -574,7 +568,6 @@ struct iwl_driver_hw_info { | |||
574 | struct iwl_addsta_cmd; | 568 | struct iwl_addsta_cmd; |
575 | extern int iwl_send_add_station(struct iwl_priv *priv, | 569 | extern int iwl_send_add_station(struct iwl_priv *priv, |
576 | struct iwl_addsta_cmd *sta, u8 flags); | 570 | struct iwl_addsta_cmd *sta, u8 flags); |
577 | extern const char *iwl_get_tx_fail_reason(u32 status); | ||
578 | extern u8 iwl_add_station(struct iwl_priv *priv, const u8 *bssid, | 571 | extern u8 iwl_add_station(struct iwl_priv *priv, const u8 *bssid, |
579 | int is_ap, u8 flags); | 572 | int is_ap, u8 flags); |
580 | extern int iwl_is_network_packet(struct iwl_priv *priv, | 573 | extern int iwl_is_network_packet(struct iwl_priv *priv, |
@@ -591,8 +584,6 @@ static inline void iwl_report_frame(struct iwl_priv *priv, | |||
591 | struct ieee80211_hdr *header, | 584 | struct ieee80211_hdr *header, |
592 | int group100) {} | 585 | int group100) {} |
593 | #endif | 586 | #endif |
594 | extern int iwl_tx_queue_update_write_ptr(struct iwl_priv *priv, | ||
595 | struct iwl_tx_queue *txq); | ||
596 | extern void iwl_handle_data_packet_monitor(struct iwl_priv *priv, | 587 | extern void iwl_handle_data_packet_monitor(struct iwl_priv *priv, |
597 | struct iwl_rx_mem_buffer *rxb, | 588 | struct iwl_rx_mem_buffer *rxb, |
598 | void *data, short len, | 589 | void *data, short len, |
@@ -600,7 +591,6 @@ extern void iwl_handle_data_packet_monitor(struct iwl_priv *priv, | |||
600 | u16 phy_flags); | 591 | u16 phy_flags); |
601 | extern int is_duplicate_packet(struct iwl_priv *priv, struct ieee80211_hdr | 592 | extern int is_duplicate_packet(struct iwl_priv *priv, struct ieee80211_hdr |
602 | *header); | 593 | *header); |
603 | extern void iwl_rx_queue_free(struct iwl_priv *priv, struct iwl_rx_queue *rxq); | ||
604 | extern int iwl_rx_queue_alloc(struct iwl_priv *priv); | 594 | extern int iwl_rx_queue_alloc(struct iwl_priv *priv); |
605 | extern void iwl_rx_queue_reset(struct iwl_priv *priv, | 595 | extern void iwl_rx_queue_reset(struct iwl_priv *priv, |
606 | struct iwl_rx_queue *rxq); | 596 | struct iwl_rx_queue *rxq); |
@@ -608,15 +598,10 @@ extern int iwl_calc_db_from_ratio(int sig_ratio); | |||
608 | extern int iwl_calc_sig_qual(int rssi_dbm, int noise_dbm); | 598 | extern int iwl_calc_sig_qual(int rssi_dbm, int noise_dbm); |
609 | extern int iwl_tx_queue_init(struct iwl_priv *priv, | 599 | extern int iwl_tx_queue_init(struct iwl_priv *priv, |
610 | struct iwl_tx_queue *txq, int count, u32 id); | 600 | struct iwl_tx_queue *txq, int count, u32 id); |
611 | extern int iwl_rx_queue_restock(struct iwl_priv *priv); | ||
612 | extern void iwl_rx_replenish(void *data); | 601 | extern void iwl_rx_replenish(void *data); |
613 | extern void iwl_tx_queue_free(struct iwl_priv *priv, struct iwl_tx_queue *txq); | 602 | extern void iwl_tx_queue_free(struct iwl_priv *priv, struct iwl_tx_queue *txq); |
614 | extern int iwl_send_cmd_pdu(struct iwl_priv *priv, u8 id, u16 len, | 603 | extern int iwl_send_cmd_pdu(struct iwl_priv *priv, u8 id, u16 len, |
615 | const void *data); | 604 | const void *data); |
616 | extern int __must_check iwl_send_cmd_async(struct iwl_priv *priv, | ||
617 | struct iwl_host_cmd *cmd); | ||
618 | extern int __must_check iwl_send_cmd_sync(struct iwl_priv *priv, | ||
619 | struct iwl_host_cmd *cmd); | ||
620 | extern int __must_check iwl_send_cmd(struct iwl_priv *priv, | 605 | extern int __must_check iwl_send_cmd(struct iwl_priv *priv, |
621 | struct iwl_host_cmd *cmd); | 606 | struct iwl_host_cmd *cmd); |
622 | extern unsigned int iwl_fill_beacon_frame(struct iwl_priv *priv, | 607 | extern unsigned int iwl_fill_beacon_frame(struct iwl_priv *priv, |
@@ -628,7 +613,9 @@ extern int iwl_send_statistics_request(struct iwl_priv *priv); | |||
628 | extern void iwl_set_decrypted_flag(struct iwl_priv *priv, struct sk_buff *skb, | 613 | extern void iwl_set_decrypted_flag(struct iwl_priv *priv, struct sk_buff *skb, |
629 | u32 decrypt_res, | 614 | u32 decrypt_res, |
630 | struct ieee80211_rx_status *stats); | 615 | struct ieee80211_rx_status *stats); |
616 | #if IWL == 4965 | ||
631 | extern __le16 *ieee80211_get_qos_ctrl(struct ieee80211_hdr *hdr); | 617 | extern __le16 *ieee80211_get_qos_ctrl(struct ieee80211_hdr *hdr); |
618 | #endif | ||
632 | 619 | ||
633 | extern const u8 BROADCAST_ADDR[ETH_ALEN]; | 620 | extern const u8 BROADCAST_ADDR[ETH_ALEN]; |
634 | 621 | ||
@@ -666,7 +653,6 @@ extern void iwl_hw_cancel_deferred_work(struct iwl_priv *priv); | |||
666 | extern int iwl_hw_rxq_stop(struct iwl_priv *priv); | 653 | extern int iwl_hw_rxq_stop(struct iwl_priv *priv); |
667 | extern int iwl_hw_set_hw_setting(struct iwl_priv *priv); | 654 | extern int iwl_hw_set_hw_setting(struct iwl_priv *priv); |
668 | extern int iwl_hw_nic_init(struct iwl_priv *priv); | 655 | extern int iwl_hw_nic_init(struct iwl_priv *priv); |
669 | extern void iwl_hw_card_show_info(struct iwl_priv *priv); | ||
670 | extern int iwl_hw_nic_stop_master(struct iwl_priv *priv); | 656 | extern int iwl_hw_nic_stop_master(struct iwl_priv *priv); |
671 | extern void iwl_hw_txq_ctx_free(struct iwl_priv *priv); | 657 | extern void iwl_hw_txq_ctx_free(struct iwl_priv *priv); |
672 | extern void iwl_hw_txq_ctx_stop(struct iwl_priv *priv); | 658 | extern void iwl_hw_txq_ctx_stop(struct iwl_priv *priv); |
@@ -703,5 +689,7 @@ extern int iwl4965_get_temperature(const struct iwl_priv *priv); | |||
703 | extern u8 iwl_hw_find_station(struct iwl_priv *priv, const u8 *bssid); | 689 | extern u8 iwl_hw_find_station(struct iwl_priv *priv, const u8 *bssid); |
704 | 690 | ||
705 | extern int iwl_hw_channel_switch(struct iwl_priv *priv, u16 channel); | 691 | extern int iwl_hw_channel_switch(struct iwl_priv *priv, u16 channel); |
692 | #if IWL == 4965 | ||
706 | extern int iwl_tx_queue_reclaim(struct iwl_priv *priv, int txq_id, int index); | 693 | extern int iwl_tx_queue_reclaim(struct iwl_priv *priv, int txq_id, int index); |
707 | #endif | 694 | #endif |
695 | #endif | ||