diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-08-30 09:45:31 -0400 |
---|---|---|
committer | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-11-15 07:12:28 -0500 |
commit | 6e9848b496cf256ba820094e88e78cc4f8304008 (patch) | |
tree | 3a86641d2fda5d01cb846e1f136c973f1f6f5309 /drivers/net/wireless | |
parent | d0c72347bece3299a90351151c69c0f721f964ff (diff) |
iwlegacy: s/rx_reply/hdl/
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/iwlegacy/3945-mac.c | 10 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/3945.c | 10 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/4965-mac.c | 22 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/4965.c | 8 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/4965.h | 6 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-core.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-core.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-scan.c | 4 |
8 files changed, 33 insertions, 33 deletions
diff --git a/drivers/net/wireless/iwlegacy/3945-mac.c b/drivers/net/wireless/iwlegacy/3945-mac.c index fa5e03841015..e9a1e64a3a16 100644 --- a/drivers/net/wireless/iwlegacy/3945-mac.c +++ b/drivers/net/wireless/iwlegacy/3945-mac.c | |||
@@ -743,7 +743,7 @@ static int il3945_get_measurement(struct il_priv *il, | |||
743 | return rc; | 743 | return rc; |
744 | } | 744 | } |
745 | 745 | ||
746 | static void il3945_rx_reply_alive(struct il_priv *il, | 746 | static void il3945_hdl_alive(struct il_priv *il, |
747 | struct il_rx_buf *rxb) | 747 | struct il_rx_buf *rxb) |
748 | { | 748 | { |
749 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 749 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -779,7 +779,7 @@ static void il3945_rx_reply_alive(struct il_priv *il, | |||
779 | IL_WARN("uCode did not respond OK.\n"); | 779 | IL_WARN("uCode did not respond OK.\n"); |
780 | } | 780 | } |
781 | 781 | ||
782 | static void il3945_rx_reply_add_sta(struct il_priv *il, | 782 | static void il3945_hdl_add_sta(struct il_priv *il, |
783 | struct il_rx_buf *rxb) | 783 | struct il_rx_buf *rxb) |
784 | { | 784 | { |
785 | #ifdef CONFIG_IWLEGACY_DEBUG | 785 | #ifdef CONFIG_IWLEGACY_DEBUG |
@@ -853,9 +853,9 @@ static void il3945_rx_card_state_notif(struct il_priv *il, | |||
853 | */ | 853 | */ |
854 | static void il3945_setup_handlers(struct il_priv *il) | 854 | static void il3945_setup_handlers(struct il_priv *il) |
855 | { | 855 | { |
856 | il->handlers[N_ALIVE] = il3945_rx_reply_alive; | 856 | il->handlers[N_ALIVE] = il3945_hdl_alive; |
857 | il->handlers[C_ADD_STA] = il3945_rx_reply_add_sta; | 857 | il->handlers[C_ADD_STA] = il3945_hdl_add_sta; |
858 | il->handlers[N_ERROR] = il_rx_reply_error; | 858 | il->handlers[N_ERROR] = il_hdl_error; |
859 | il->handlers[N_CHANNEL_SWITCH] = il_rx_csa; | 859 | il->handlers[N_CHANNEL_SWITCH] = il_rx_csa; |
860 | il->handlers[N_SPECTRUM_MEASUREMENT] = | 860 | il->handlers[N_SPECTRUM_MEASUREMENT] = |
861 | il_rx_spectrum_measure_notif; | 861 | il_rx_spectrum_measure_notif; |
diff --git a/drivers/net/wireless/iwlegacy/3945.c b/drivers/net/wireless/iwlegacy/3945.c index 94d540c22e13..b45905fca76b 100644 --- a/drivers/net/wireless/iwlegacy/3945.c +++ b/drivers/net/wireless/iwlegacy/3945.c | |||
@@ -315,9 +315,9 @@ static void il3945_tx_queue_reclaim(struct il_priv *il, | |||
315 | } | 315 | } |
316 | 316 | ||
317 | /** | 317 | /** |
318 | * il3945_rx_reply_tx - Handle Tx response | 318 | * il3945_hdl_tx - Handle Tx response |
319 | */ | 319 | */ |
320 | static void il3945_rx_reply_tx(struct il_priv *il, | 320 | static void il3945_hdl_tx(struct il_priv *il, |
321 | struct il_rx_buf *rxb) | 321 | struct il_rx_buf *rxb) |
322 | { | 322 | { |
323 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 323 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -521,7 +521,7 @@ static void il3945_pass_packet_to_mac80211(struct il_priv *il, | |||
521 | 521 | ||
522 | #define IL_DELAY_NEXT_SCAN_AFTER_ASSOC (HZ*6) | 522 | #define IL_DELAY_NEXT_SCAN_AFTER_ASSOC (HZ*6) |
523 | 523 | ||
524 | static void il3945_rx_reply_rx(struct il_priv *il, | 524 | static void il3945_hdl_rx(struct il_priv *il, |
525 | struct il_rx_buf *rxb) | 525 | struct il_rx_buf *rxb) |
526 | { | 526 | { |
527 | struct ieee80211_hdr *header; | 527 | struct ieee80211_hdr *header; |
@@ -2464,8 +2464,8 @@ unsigned int il3945_hw_get_beacon_cmd(struct il_priv *il, | |||
2464 | 2464 | ||
2465 | void il3945_hw_handler_setup(struct il_priv *il) | 2465 | void il3945_hw_handler_setup(struct il_priv *il) |
2466 | { | 2466 | { |
2467 | il->handlers[C_TX] = il3945_rx_reply_tx; | 2467 | il->handlers[C_TX] = il3945_hdl_tx; |
2468 | il->handlers[N_3945_RX] = il3945_rx_reply_rx; | 2468 | il->handlers[N_3945_RX] = il3945_hdl_rx; |
2469 | } | 2469 | } |
2470 | 2470 | ||
2471 | void il3945_hw_setup_deferred_work(struct il_priv *il) | 2471 | void il3945_hw_setup_deferred_work(struct il_priv *il) |
diff --git a/drivers/net/wireless/iwlegacy/4965-mac.c b/drivers/net/wireless/iwlegacy/4965-mac.c index d82d05fa8515..0797c1141128 100644 --- a/drivers/net/wireless/iwlegacy/4965-mac.c +++ b/drivers/net/wireless/iwlegacy/4965-mac.c | |||
@@ -610,7 +610,7 @@ static void il4965_pass_packet_to_mac80211(struct il_priv *il, | |||
610 | 610 | ||
611 | /* Called for N_RX (legacy ABG frames), or | 611 | /* Called for N_RX (legacy ABG frames), or |
612 | * N_RX_MPDU (HT high-throughput N frames). */ | 612 | * N_RX_MPDU (HT high-throughput N frames). */ |
613 | void il4965_rx_reply_rx(struct il_priv *il, | 613 | void il4965_hdl_rx(struct il_priv *il, |
614 | struct il_rx_buf *rxb) | 614 | struct il_rx_buf *rxb) |
615 | { | 615 | { |
616 | struct ieee80211_hdr *header; | 616 | struct ieee80211_hdr *header; |
@@ -729,8 +729,8 @@ void il4965_rx_reply_rx(struct il_priv *il, | |||
729 | } | 729 | } |
730 | 730 | ||
731 | /* Cache phy data (Rx signal strength, etc) for HT frame (N_RX_PHY). | 731 | /* Cache phy data (Rx signal strength, etc) for HT frame (N_RX_PHY). |
732 | * This will be used later in il_rx_reply_rx() for N_RX_MPDU. */ | 732 | * This will be used later in il_hdl_rx() for N_RX_MPDU. */ |
733 | void il4965_rx_reply_rx_phy(struct il_priv *il, | 733 | void il4965_hdl_rx_phy(struct il_priv *il, |
734 | struct il_rx_buf *rxb) | 734 | struct il_rx_buf *rxb) |
735 | { | 735 | { |
736 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 736 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -2616,12 +2616,12 @@ void il4965_hwrate_to_tx_control(struct il_priv *il, u32 rate_n_flags, | |||
2616 | } | 2616 | } |
2617 | 2617 | ||
2618 | /** | 2618 | /** |
2619 | * il4965_rx_reply_compressed_ba - Handler for N_COMPRESSED_BA | 2619 | * il4965_hdl_compressed_ba - Handler for N_COMPRESSED_BA |
2620 | * | 2620 | * |
2621 | * Handles block-acknowledge notification from device, which reports success | 2621 | * Handles block-acknowledge notification from device, which reports success |
2622 | * of frames sent via aggregation. | 2622 | * of frames sent via aggregation. |
2623 | */ | 2623 | */ |
2624 | void il4965_rx_reply_compressed_ba(struct il_priv *il, | 2624 | void il4965_hdl_compressed_ba(struct il_priv *il, |
2625 | struct il_rx_buf *rxb) | 2625 | struct il_rx_buf *rxb) |
2626 | { | 2626 | { |
2627 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 2627 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -3759,7 +3759,7 @@ int il4965_hw_tx_queue_init(struct il_priv *il, | |||
3759 | * Generic RX handler implementations | 3759 | * Generic RX handler implementations |
3760 | * | 3760 | * |
3761 | ******************************************************************************/ | 3761 | ******************************************************************************/ |
3762 | static void il4965_rx_reply_alive(struct il_priv *il, | 3762 | static void il4965_hdl_alive(struct il_priv *il, |
3763 | struct il_rx_buf *rxb) | 3763 | struct il_rx_buf *rxb) |
3764 | { | 3764 | { |
3765 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 3765 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -3921,8 +3921,8 @@ static void il4965_rx_card_state_notif(struct il_priv *il, | |||
3921 | */ | 3921 | */ |
3922 | static void il4965_setup_handlers(struct il_priv *il) | 3922 | static void il4965_setup_handlers(struct il_priv *il) |
3923 | { | 3923 | { |
3924 | il->handlers[N_ALIVE] = il4965_rx_reply_alive; | 3924 | il->handlers[N_ALIVE] = il4965_hdl_alive; |
3925 | il->handlers[N_ERROR] = il_rx_reply_error; | 3925 | il->handlers[N_ERROR] = il_hdl_error; |
3926 | il->handlers[N_CHANNEL_SWITCH] = il_rx_csa; | 3926 | il->handlers[N_CHANNEL_SWITCH] = il_rx_csa; |
3927 | il->handlers[N_SPECTRUM_MEASUREMENT] = | 3927 | il->handlers[N_SPECTRUM_MEASUREMENT] = |
3928 | il_rx_spectrum_measure_notif; | 3928 | il_rx_spectrum_measure_notif; |
@@ -3948,10 +3948,10 @@ static void il4965_setup_handlers(struct il_priv *il) | |||
3948 | il->handlers[N_MISSED_BEACONS] = | 3948 | il->handlers[N_MISSED_BEACONS] = |
3949 | il4965_rx_missed_beacon_notif; | 3949 | il4965_rx_missed_beacon_notif; |
3950 | /* Rx handlers */ | 3950 | /* Rx handlers */ |
3951 | il->handlers[N_RX_PHY] = il4965_rx_reply_rx_phy; | 3951 | il->handlers[N_RX_PHY] = il4965_hdl_rx_phy; |
3952 | il->handlers[N_RX_MPDU] = il4965_rx_reply_rx; | 3952 | il->handlers[N_RX_MPDU] = il4965_hdl_rx; |
3953 | /* block ack */ | 3953 | /* block ack */ |
3954 | il->handlers[N_COMPRESSED_BA] = il4965_rx_reply_compressed_ba; | 3954 | il->handlers[N_COMPRESSED_BA] = il4965_hdl_compressed_ba; |
3955 | /* Set up hardware specific Rx handlers */ | 3955 | /* Set up hardware specific Rx handlers */ |
3956 | il->cfg->ops->lib->handler_setup(il); | 3956 | il->cfg->ops->lib->handler_setup(il); |
3957 | } | 3957 | } |
diff --git a/drivers/net/wireless/iwlegacy/4965.c b/drivers/net/wireless/iwlegacy/4965.c index f48cb89deab7..726fc80d9cee 100644 --- a/drivers/net/wireless/iwlegacy/4965.c +++ b/drivers/net/wireless/iwlegacy/4965.c | |||
@@ -2017,9 +2017,9 @@ static int il4965_get_ra_sta_id(struct il_priv *il, struct ieee80211_hdr *hdr) | |||
2017 | } | 2017 | } |
2018 | 2018 | ||
2019 | /** | 2019 | /** |
2020 | * il4965_rx_reply_tx - Handle standard (non-aggregation) Tx response | 2020 | * il4965_hdl_tx - Handle standard (non-aggregation) Tx response |
2021 | */ | 2021 | */ |
2022 | static void il4965_rx_reply_tx(struct il_priv *il, | 2022 | static void il4965_hdl_tx(struct il_priv *il, |
2023 | struct il_rx_buf *rxb) | 2023 | struct il_rx_buf *rxb) |
2024 | { | 2024 | { |
2025 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 2025 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -2145,9 +2145,9 @@ static void il4965_rx_beacon_notif(struct il_priv *il, | |||
2145 | static void il4965_handler_setup(struct il_priv *il) | 2145 | static void il4965_handler_setup(struct il_priv *il) |
2146 | { | 2146 | { |
2147 | /* Legacy Rx frames */ | 2147 | /* Legacy Rx frames */ |
2148 | il->handlers[N_RX] = il4965_rx_reply_rx; | 2148 | il->handlers[N_RX] = il4965_hdl_rx; |
2149 | /* Tx response */ | 2149 | /* Tx response */ |
2150 | il->handlers[C_TX] = il4965_rx_reply_tx; | 2150 | il->handlers[C_TX] = il4965_hdl_tx; |
2151 | il->handlers[N_BEACON] = il4965_rx_beacon_notif; | 2151 | il->handlers[N_BEACON] = il4965_rx_beacon_notif; |
2152 | } | 2152 | } |
2153 | 2153 | ||
diff --git a/drivers/net/wireless/iwlegacy/4965.h b/drivers/net/wireless/iwlegacy/4965.h index 94cf7e7da7f9..a8acbbb69cd1 100644 --- a/drivers/net/wireless/iwlegacy/4965.h +++ b/drivers/net/wireless/iwlegacy/4965.h | |||
@@ -73,9 +73,9 @@ void il4965_rx_replenish_now(struct il_priv *il); | |||
73 | void il4965_rx_queue_free(struct il_priv *il, struct il_rx_queue *rxq); | 73 | void il4965_rx_queue_free(struct il_priv *il, struct il_rx_queue *rxq); |
74 | int il4965_rxq_stop(struct il_priv *il); | 74 | int il4965_rxq_stop(struct il_priv *il); |
75 | int il4965_hwrate_to_mac80211_idx(u32 rate_n_flags, enum ieee80211_band band); | 75 | int il4965_hwrate_to_mac80211_idx(u32 rate_n_flags, enum ieee80211_band band); |
76 | void il4965_rx_reply_rx(struct il_priv *il, | 76 | void il4965_hdl_rx(struct il_priv *il, |
77 | struct il_rx_buf *rxb); | 77 | struct il_rx_buf *rxb); |
78 | void il4965_rx_reply_rx_phy(struct il_priv *il, | 78 | void il4965_hdl_rx_phy(struct il_priv *il, |
79 | struct il_rx_buf *rxb); | 79 | struct il_rx_buf *rxb); |
80 | void il4965_rx_handle(struct il_priv *il); | 80 | void il4965_rx_handle(struct il_priv *il); |
81 | 81 | ||
@@ -95,7 +95,7 @@ int il4965_tx_agg_stop(struct il_priv *il, struct ieee80211_vif *vif, | |||
95 | struct ieee80211_sta *sta, u16 tid); | 95 | struct ieee80211_sta *sta, u16 tid); |
96 | int il4965_txq_check_empty(struct il_priv *il, | 96 | int il4965_txq_check_empty(struct il_priv *il, |
97 | int sta_id, u8 tid, int txq_id); | 97 | int sta_id, u8 tid, int txq_id); |
98 | void il4965_rx_reply_compressed_ba(struct il_priv *il, | 98 | void il4965_hdl_compressed_ba(struct il_priv *il, |
99 | struct il_rx_buf *rxb); | 99 | struct il_rx_buf *rxb); |
100 | int il4965_tx_queue_reclaim(struct il_priv *il, int txq_id, int idx); | 100 | int il4965_tx_queue_reclaim(struct il_priv *il, int txq_id, int idx); |
101 | void il4965_hw_txq_ctx_free(struct il_priv *il); | 101 | void il4965_hw_txq_ctx_free(struct il_priv *il); |
diff --git a/drivers/net/wireless/iwlegacy/iwl-core.c b/drivers/net/wireless/iwlegacy/iwl-core.c index baed3dc082dc..abb8d86a0834 100644 --- a/drivers/net/wireless/iwlegacy/iwl-core.c +++ b/drivers/net/wireless/iwlegacy/iwl-core.c | |||
@@ -1213,7 +1213,7 @@ void il_rx_pm_debug_stats_notif(struct il_priv *il, | |||
1213 | } | 1213 | } |
1214 | EXPORT_SYMBOL(il_rx_pm_debug_stats_notif); | 1214 | EXPORT_SYMBOL(il_rx_pm_debug_stats_notif); |
1215 | 1215 | ||
1216 | void il_rx_reply_error(struct il_priv *il, | 1216 | void il_hdl_error(struct il_priv *il, |
1217 | struct il_rx_buf *rxb) | 1217 | struct il_rx_buf *rxb) |
1218 | { | 1218 | { |
1219 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 1219 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -1226,7 +1226,7 @@ void il_rx_reply_error(struct il_priv *il, | |||
1226 | le16_to_cpu(pkt->u.err_resp.bad_cmd_seq_num), | 1226 | le16_to_cpu(pkt->u.err_resp.bad_cmd_seq_num), |
1227 | le32_to_cpu(pkt->u.err_resp.error_info)); | 1227 | le32_to_cpu(pkt->u.err_resp.error_info)); |
1228 | } | 1228 | } |
1229 | EXPORT_SYMBOL(il_rx_reply_error); | 1229 | EXPORT_SYMBOL(il_hdl_error); |
1230 | 1230 | ||
1231 | void il_clear_isr_stats(struct il_priv *il) | 1231 | void il_clear_isr_stats(struct il_priv *il) |
1232 | { | 1232 | { |
diff --git a/drivers/net/wireless/iwlegacy/iwl-core.h b/drivers/net/wireless/iwlegacy/iwl-core.h index a3701a6c8632..9897dac21ee9 100644 --- a/drivers/net/wireless/iwlegacy/iwl-core.h +++ b/drivers/net/wireless/iwlegacy/iwl-core.h | |||
@@ -373,7 +373,7 @@ void il_rx_pm_sleep_notif(struct il_priv *il, | |||
373 | struct il_rx_buf *rxb); | 373 | struct il_rx_buf *rxb); |
374 | void il_rx_pm_debug_stats_notif(struct il_priv *il, | 374 | void il_rx_pm_debug_stats_notif(struct il_priv *il, |
375 | struct il_rx_buf *rxb); | 375 | struct il_rx_buf *rxb); |
376 | void il_rx_reply_error(struct il_priv *il, | 376 | void il_hdl_error(struct il_priv *il, |
377 | struct il_rx_buf *rxb); | 377 | struct il_rx_buf *rxb); |
378 | 378 | ||
379 | /***************************************************** | 379 | /***************************************************** |
diff --git a/drivers/net/wireless/iwlegacy/iwl-scan.c b/drivers/net/wireless/iwlegacy/iwl-scan.c index 2bed3ae914c2..f81db769809d 100644 --- a/drivers/net/wireless/iwlegacy/iwl-scan.c +++ b/drivers/net/wireless/iwlegacy/iwl-scan.c | |||
@@ -182,7 +182,7 @@ int il_scan_cancel_timeout(struct il_priv *il, unsigned long ms) | |||
182 | EXPORT_SYMBOL(il_scan_cancel_timeout); | 182 | EXPORT_SYMBOL(il_scan_cancel_timeout); |
183 | 183 | ||
184 | /* Service response to C_SCAN (0x80) */ | 184 | /* Service response to C_SCAN (0x80) */ |
185 | static void il_rx_reply_scan(struct il_priv *il, | 185 | static void il_hdl_scan(struct il_priv *il, |
186 | struct il_rx_buf *rxb) | 186 | struct il_rx_buf *rxb) |
187 | { | 187 | { |
188 | #ifdef CONFIG_IWLEGACY_DEBUG | 188 | #ifdef CONFIG_IWLEGACY_DEBUG |
@@ -263,7 +263,7 @@ static void il_rx_scan_complete_notif(struct il_priv *il, | |||
263 | void il_setup_rx_scan_handlers(struct il_priv *il) | 263 | void il_setup_rx_scan_handlers(struct il_priv *il) |
264 | { | 264 | { |
265 | /* scan handlers */ | 265 | /* scan handlers */ |
266 | il->handlers[C_SCAN] = il_rx_reply_scan; | 266 | il->handlers[C_SCAN] = il_hdl_scan; |
267 | il->handlers[N_SCAN_START] = | 267 | il->handlers[N_SCAN_START] = |
268 | il_rx_scan_start_notif; | 268 | il_rx_scan_start_notif; |
269 | il->handlers[N_SCAN_RESULTS] = | 269 | il->handlers[N_SCAN_RESULTS] = |