iwlegacy: s/rx_reply/hdl/
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 30 Aug 2011 13:45:31 +0000 (15:45 +0200)
committerStanislaw Gruszka <sgruszka@redhat.com>
Tue, 15 Nov 2011 12:12:28 +0000 (13:12 +0100)
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
drivers/net/wireless/iwlegacy/3945-mac.c
drivers/net/wireless/iwlegacy/3945.c
drivers/net/wireless/iwlegacy/4965-mac.c
drivers/net/wireless/iwlegacy/4965.c
drivers/net/wireless/iwlegacy/4965.h
drivers/net/wireless/iwlegacy/iwl-core.c
drivers/net/wireless/iwlegacy/iwl-core.h
drivers/net/wireless/iwlegacy/iwl-scan.c

index fa5e03841015acc4d6562f8788143dc1796064c1..e9a1e64a3a16582dc0149cd338c1e5c6297c6716 100644 (file)
@@ -743,7 +743,7 @@ static int il3945_get_measurement(struct il_priv *il,
        return rc;
 }
 
-static void il3945_rx_reply_alive(struct il_priv *il,
+static void il3945_hdl_alive(struct il_priv *il,
                               struct il_rx_buf *rxb)
 {
        struct il_rx_pkt *pkt = rxb_addr(rxb);
@@ -779,7 +779,7 @@ static void il3945_rx_reply_alive(struct il_priv *il,
                IL_WARN("uCode did not respond OK.\n");
 }
 
-static void il3945_rx_reply_add_sta(struct il_priv *il,
+static void il3945_hdl_add_sta(struct il_priv *il,
                                 struct il_rx_buf *rxb)
 {
 #ifdef CONFIG_IWLEGACY_DEBUG
@@ -853,9 +853,9 @@ static void il3945_rx_card_state_notif(struct il_priv *il,
  */
 static void il3945_setup_handlers(struct il_priv *il)
 {
-       il->handlers[N_ALIVE] = il3945_rx_reply_alive;
-       il->handlers[C_ADD_STA] = il3945_rx_reply_add_sta;
-       il->handlers[N_ERROR] = il_rx_reply_error;
+       il->handlers[N_ALIVE] = il3945_hdl_alive;
+       il->handlers[C_ADD_STA] = il3945_hdl_add_sta;
+       il->handlers[N_ERROR] = il_hdl_error;
        il->handlers[N_CHANNEL_SWITCH] = il_rx_csa;
        il->handlers[N_SPECTRUM_MEASUREMENT] =
                        il_rx_spectrum_measure_notif;
index 94d540c22e137e1607e636a74fb5de787a13c969..b45905fca76be853e5415f9c1350b89e4deb0955 100644 (file)
@@ -315,9 +315,9 @@ static void il3945_tx_queue_reclaim(struct il_priv *il,
 }
 
 /**
- * il3945_rx_reply_tx - Handle Tx response
+ * il3945_hdl_tx - Handle Tx response
  */
-static void il3945_rx_reply_tx(struct il_priv *il,
+static void il3945_hdl_tx(struct il_priv *il,
                                struct il_rx_buf *rxb)
 {
        struct il_rx_pkt *pkt = rxb_addr(rxb);
@@ -521,7 +521,7 @@ static void il3945_pass_packet_to_mac80211(struct il_priv *il,
 
 #define IL_DELAY_NEXT_SCAN_AFTER_ASSOC (HZ*6)
 
-static void il3945_rx_reply_rx(struct il_priv *il,
+static void il3945_hdl_rx(struct il_priv *il,
                                struct il_rx_buf *rxb)
 {
        struct ieee80211_hdr *header;
@@ -2464,8 +2464,8 @@ unsigned int il3945_hw_get_beacon_cmd(struct il_priv *il,
 
 void il3945_hw_handler_setup(struct il_priv *il)
 {
-       il->handlers[C_TX] = il3945_rx_reply_tx;
-       il->handlers[N_3945_RX] = il3945_rx_reply_rx;
+       il->handlers[C_TX] = il3945_hdl_tx;
+       il->handlers[N_3945_RX] = il3945_hdl_rx;
 }
 
 void il3945_hw_setup_deferred_work(struct il_priv *il)
index d82d05fa85156d76d0b98af5993d1f5481631c1d..0797c1141128ead089d7caa09f4125d1addd9db4 100644 (file)
@@ -610,7 +610,7 @@ static void il4965_pass_packet_to_mac80211(struct il_priv *il,
 
 /* Called for N_RX (legacy ABG frames), or
  * N_RX_MPDU (HT high-throughput N frames). */
-void il4965_rx_reply_rx(struct il_priv *il,
+void il4965_hdl_rx(struct il_priv *il,
                                struct il_rx_buf *rxb)
 {
        struct ieee80211_hdr *header;
@@ -729,8 +729,8 @@ void il4965_rx_reply_rx(struct il_priv *il,
 }
 
 /* Cache phy data (Rx signal strength, etc) for HT frame (N_RX_PHY).
- * This will be used later in il_rx_reply_rx() for N_RX_MPDU. */
-void il4965_rx_reply_rx_phy(struct il_priv *il,
+ * This will be used later in il_hdl_rx() for N_RX_MPDU. */
+void il4965_hdl_rx_phy(struct il_priv *il,
                            struct il_rx_buf *rxb)
 {
        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,
 }
 
 /**
- * il4965_rx_reply_compressed_ba - Handler for N_COMPRESSED_BA
+ * il4965_hdl_compressed_ba - Handler for N_COMPRESSED_BA
  *
  * Handles block-acknowledge notification from device, which reports success
  * of frames sent via aggregation.
  */
-void il4965_rx_reply_compressed_ba(struct il_priv *il,
+void il4965_hdl_compressed_ba(struct il_priv *il,
                                           struct il_rx_buf *rxb)
 {
        struct il_rx_pkt *pkt = rxb_addr(rxb);
@@ -3759,7 +3759,7 @@ int il4965_hw_tx_queue_init(struct il_priv *il,
  * Generic RX handler implementations
  *
  ******************************************************************************/
-static void il4965_rx_reply_alive(struct il_priv *il,
+static void il4965_hdl_alive(struct il_priv *il,
                                struct il_rx_buf *rxb)
 {
        struct il_rx_pkt *pkt = rxb_addr(rxb);
@@ -3921,8 +3921,8 @@ static void il4965_rx_card_state_notif(struct il_priv *il,
  */
 static void il4965_setup_handlers(struct il_priv *il)
 {
-       il->handlers[N_ALIVE] = il4965_rx_reply_alive;
-       il->handlers[N_ERROR] = il_rx_reply_error;
+       il->handlers[N_ALIVE] = il4965_hdl_alive;
+       il->handlers[N_ERROR] = il_hdl_error;
        il->handlers[N_CHANNEL_SWITCH] = il_rx_csa;
        il->handlers[N_SPECTRUM_MEASUREMENT] =
                        il_rx_spectrum_measure_notif;
@@ -3948,10 +3948,10 @@ static void il4965_setup_handlers(struct il_priv *il)
        il->handlers[N_MISSED_BEACONS] =
            il4965_rx_missed_beacon_notif;
        /* Rx handlers */
-       il->handlers[N_RX_PHY] = il4965_rx_reply_rx_phy;
-       il->handlers[N_RX_MPDU] = il4965_rx_reply_rx;
+       il->handlers[N_RX_PHY] = il4965_hdl_rx_phy;
+       il->handlers[N_RX_MPDU] = il4965_hdl_rx;
        /* block ack */
-       il->handlers[N_COMPRESSED_BA] = il4965_rx_reply_compressed_ba;
+       il->handlers[N_COMPRESSED_BA] = il4965_hdl_compressed_ba;
        /* Set up hardware specific Rx handlers */
        il->cfg->ops->lib->handler_setup(il);
 }
index f48cb89deab752ecf23d0695172b705227da8fad..726fc80d9ceeb07e28183cfa8c7c93814677e3d1 100644 (file)
@@ -2017,9 +2017,9 @@ static int il4965_get_ra_sta_id(struct il_priv *il, struct ieee80211_hdr *hdr)
 }
 
 /**
- * il4965_rx_reply_tx - Handle standard (non-aggregation) Tx response
+ * il4965_hdl_tx - Handle standard (non-aggregation) Tx response
  */
-static void il4965_rx_reply_tx(struct il_priv *il,
+static void il4965_hdl_tx(struct il_priv *il,
                                struct il_rx_buf *rxb)
 {
        struct il_rx_pkt *pkt = rxb_addr(rxb);
@@ -2145,9 +2145,9 @@ static void il4965_rx_beacon_notif(struct il_priv *il,
 static void il4965_handler_setup(struct il_priv *il)
 {
        /* Legacy Rx frames */
-       il->handlers[N_RX] = il4965_rx_reply_rx;
+       il->handlers[N_RX] = il4965_hdl_rx;
        /* Tx response */
-       il->handlers[C_TX] = il4965_rx_reply_tx;
+       il->handlers[C_TX] = il4965_hdl_tx;
        il->handlers[N_BEACON] = il4965_rx_beacon_notif;
 }
 
index 94cf7e7da7f9d62e0648c9c3ef57dbe8f1fae7c9..a8acbbb69cd183d7e9e560386c2cb3f99bb75b73 100644 (file)
@@ -73,9 +73,9 @@ void il4965_rx_replenish_now(struct il_priv *il);
 void il4965_rx_queue_free(struct il_priv *il, struct il_rx_queue *rxq);
 int il4965_rxq_stop(struct il_priv *il);
 int il4965_hwrate_to_mac80211_idx(u32 rate_n_flags, enum ieee80211_band band);
-void il4965_rx_reply_rx(struct il_priv *il,
+void il4965_hdl_rx(struct il_priv *il,
                     struct il_rx_buf *rxb);
-void il4965_rx_reply_rx_phy(struct il_priv *il,
+void il4965_hdl_rx_phy(struct il_priv *il,
                         struct il_rx_buf *rxb);
 void il4965_rx_handle(struct il_priv *il);
 
@@ -95,7 +95,7 @@ int il4965_tx_agg_stop(struct il_priv *il, struct ieee80211_vif *vif,
                       struct ieee80211_sta *sta, u16 tid);
 int il4965_txq_check_empty(struct il_priv *il,
                           int sta_id, u8 tid, int txq_id);
-void il4965_rx_reply_compressed_ba(struct il_priv *il,
+void il4965_hdl_compressed_ba(struct il_priv *il,
                                struct il_rx_buf *rxb);
 int il4965_tx_queue_reclaim(struct il_priv *il, int txq_id, int idx);
 void il4965_hw_txq_ctx_free(struct il_priv *il);
index baed3dc082dc83dabffcc5f45666c130b17de79e..abb8d86a08344ab6242fdbbfbcb4dee16d3947e4 100644 (file)
@@ -1213,7 +1213,7 @@ void il_rx_pm_debug_stats_notif(struct il_priv *il,
 }
 EXPORT_SYMBOL(il_rx_pm_debug_stats_notif);
 
-void il_rx_reply_error(struct il_priv *il,
+void il_hdl_error(struct il_priv *il,
                        struct il_rx_buf *rxb)
 {
        struct il_rx_pkt *pkt = rxb_addr(rxb);
@@ -1226,7 +1226,7 @@ void il_rx_reply_error(struct il_priv *il,
                le16_to_cpu(pkt->u.err_resp.bad_cmd_seq_num),
                le32_to_cpu(pkt->u.err_resp.error_info));
 }
-EXPORT_SYMBOL(il_rx_reply_error);
+EXPORT_SYMBOL(il_hdl_error);
 
 void il_clear_isr_stats(struct il_priv *il)
 {
index a3701a6c863215ad6fc327df171ef1d7bf2d869b..9897dac21ee9e0a2365df77d01c44766d31e7cd9 100644 (file)
@@ -373,7 +373,7 @@ void il_rx_pm_sleep_notif(struct il_priv *il,
                           struct il_rx_buf *rxb);
 void il_rx_pm_debug_stats_notif(struct il_priv *il,
                                      struct il_rx_buf *rxb);
-void il_rx_reply_error(struct il_priv *il,
+void il_hdl_error(struct il_priv *il,
                        struct il_rx_buf *rxb);
 
 /*****************************************************
index 2bed3ae914c219ab36d9ebc22f5c23a98a7a79d3..f81db769809dfd85e70824c1d3e414fd391a4854 100644 (file)
@@ -182,7 +182,7 @@ int il_scan_cancel_timeout(struct il_priv *il, unsigned long ms)
 EXPORT_SYMBOL(il_scan_cancel_timeout);
 
 /* Service response to C_SCAN (0x80) */
-static void il_rx_reply_scan(struct il_priv *il,
+static void il_hdl_scan(struct il_priv *il,
                              struct il_rx_buf *rxb)
 {
 #ifdef CONFIG_IWLEGACY_DEBUG
@@ -263,7 +263,7 @@ static void il_rx_scan_complete_notif(struct il_priv *il,
 void il_setup_rx_scan_handlers(struct il_priv *il)
 {
        /* scan handlers */
-       il->handlers[C_SCAN] = il_rx_reply_scan;
+       il->handlers[C_SCAN] = il_hdl_scan;
        il->handlers[N_SCAN_START] =
                                        il_rx_scan_start_notif;
        il->handlers[N_SCAN_RESULTS] =