aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwlwifi.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwlwifi.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwlwifi.h20
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 */
79extern int iwl_param_disable_hw_scan;
80extern int iwl_param_debug;
81extern int iwl_param_mode;
82extern int iwl_param_disable;
83extern int iwl_param_antenna;
84extern int iwl_param_hwcrypto; 79extern int iwl_param_hwcrypto;
85extern int iwl_param_qos_enable;
86extern int iwl_param_queues_num; 80extern int iwl_param_queues_num;
87 81
88enum iwl_antenna { 82enum iwl_antenna {
@@ -574,7 +568,6 @@ struct iwl_driver_hw_info {
574struct iwl_addsta_cmd; 568struct iwl_addsta_cmd;
575extern int iwl_send_add_station(struct iwl_priv *priv, 569extern 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);
577extern const char *iwl_get_tx_fail_reason(u32 status);
578extern u8 iwl_add_station(struct iwl_priv *priv, const u8 *bssid, 571extern u8 iwl_add_station(struct iwl_priv *priv, const u8 *bssid,
579 int is_ap, u8 flags); 572 int is_ap, u8 flags);
580extern int iwl_is_network_packet(struct iwl_priv *priv, 573extern 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
594extern int iwl_tx_queue_update_write_ptr(struct iwl_priv *priv,
595 struct iwl_tx_queue *txq);
596extern void iwl_handle_data_packet_monitor(struct iwl_priv *priv, 587extern 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);
601extern int is_duplicate_packet(struct iwl_priv *priv, struct ieee80211_hdr 592extern int is_duplicate_packet(struct iwl_priv *priv, struct ieee80211_hdr
602 *header); 593 *header);
603extern void iwl_rx_queue_free(struct iwl_priv *priv, struct iwl_rx_queue *rxq);
604extern int iwl_rx_queue_alloc(struct iwl_priv *priv); 594extern int iwl_rx_queue_alloc(struct iwl_priv *priv);
605extern void iwl_rx_queue_reset(struct iwl_priv *priv, 595extern 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);
608extern int iwl_calc_sig_qual(int rssi_dbm, int noise_dbm); 598extern int iwl_calc_sig_qual(int rssi_dbm, int noise_dbm);
609extern int iwl_tx_queue_init(struct iwl_priv *priv, 599extern 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);
611extern int iwl_rx_queue_restock(struct iwl_priv *priv);
612extern void iwl_rx_replenish(void *data); 601extern void iwl_rx_replenish(void *data);
613extern void iwl_tx_queue_free(struct iwl_priv *priv, struct iwl_tx_queue *txq); 602extern void iwl_tx_queue_free(struct iwl_priv *priv, struct iwl_tx_queue *txq);
614extern int iwl_send_cmd_pdu(struct iwl_priv *priv, u8 id, u16 len, 603extern int iwl_send_cmd_pdu(struct iwl_priv *priv, u8 id, u16 len,
615 const void *data); 604 const void *data);
616extern int __must_check iwl_send_cmd_async(struct iwl_priv *priv,
617 struct iwl_host_cmd *cmd);
618extern int __must_check iwl_send_cmd_sync(struct iwl_priv *priv,
619 struct iwl_host_cmd *cmd);
620extern int __must_check iwl_send_cmd(struct iwl_priv *priv, 605extern int __must_check iwl_send_cmd(struct iwl_priv *priv,
621 struct iwl_host_cmd *cmd); 606 struct iwl_host_cmd *cmd);
622extern unsigned int iwl_fill_beacon_frame(struct iwl_priv *priv, 607extern unsigned int iwl_fill_beacon_frame(struct iwl_priv *priv,
@@ -628,7 +613,9 @@ extern int iwl_send_statistics_request(struct iwl_priv *priv);
628extern void iwl_set_decrypted_flag(struct iwl_priv *priv, struct sk_buff *skb, 613extern 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
631extern __le16 *ieee80211_get_qos_ctrl(struct ieee80211_hdr *hdr); 617extern __le16 *ieee80211_get_qos_ctrl(struct ieee80211_hdr *hdr);
618#endif
632 619
633extern const u8 BROADCAST_ADDR[ETH_ALEN]; 620extern const u8 BROADCAST_ADDR[ETH_ALEN];
634 621
@@ -666,7 +653,6 @@ extern void iwl_hw_cancel_deferred_work(struct iwl_priv *priv);
666extern int iwl_hw_rxq_stop(struct iwl_priv *priv); 653extern int iwl_hw_rxq_stop(struct iwl_priv *priv);
667extern int iwl_hw_set_hw_setting(struct iwl_priv *priv); 654extern int iwl_hw_set_hw_setting(struct iwl_priv *priv);
668extern int iwl_hw_nic_init(struct iwl_priv *priv); 655extern int iwl_hw_nic_init(struct iwl_priv *priv);
669extern void iwl_hw_card_show_info(struct iwl_priv *priv);
670extern int iwl_hw_nic_stop_master(struct iwl_priv *priv); 656extern int iwl_hw_nic_stop_master(struct iwl_priv *priv);
671extern void iwl_hw_txq_ctx_free(struct iwl_priv *priv); 657extern void iwl_hw_txq_ctx_free(struct iwl_priv *priv);
672extern void iwl_hw_txq_ctx_stop(struct iwl_priv *priv); 658extern void iwl_hw_txq_ctx_stop(struct iwl_priv *priv);
@@ -703,5 +689,7 @@ extern int iwl4965_get_temperature(const struct iwl_priv *priv);
703extern u8 iwl_hw_find_station(struct iwl_priv *priv, const u8 *bssid); 689extern u8 iwl_hw_find_station(struct iwl_priv *priv, const u8 *bssid);
704 690
705extern int iwl_hw_channel_switch(struct iwl_priv *priv, u16 channel); 691extern int iwl_hw_channel_switch(struct iwl_priv *priv, u16 channel);
692#if IWL == 4965
706extern int iwl_tx_queue_reclaim(struct iwl_priv *priv, int txq_id, int index); 693extern int iwl_tx_queue_reclaim(struct iwl_priv *priv, int txq_id, int index);
707#endif 694#endif
695#endif