diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-11-15 07:16:38 -0500 |
---|---|---|
committer | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-11-15 07:16:38 -0500 |
commit | d2dfb33ec9a8da257bb0e6ed2872af2fdf85260c (patch) | |
tree | 718e897f64ac682a732e93f5d3e9ffae0efaf772 /drivers/net | |
parent | 6e9848b496cf256ba820094e88e78cc4f8304008 (diff) |
iwlegacy: rename other handlers
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlegacy/3945-mac.c | 20 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/3945.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/3945.h | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/4965-mac.c | 30 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/4965.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/4965.h | 6 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-core.c | 12 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-core.h | 8 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-rx.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-scan.c | 12 |
10 files changed, 53 insertions, 53 deletions
diff --git a/drivers/net/wireless/iwlegacy/3945-mac.c b/drivers/net/wireless/iwlegacy/3945-mac.c index e9a1e64a3a16..e33ebca106c3 100644 --- a/drivers/net/wireless/iwlegacy/3945-mac.c +++ b/drivers/net/wireless/iwlegacy/3945-mac.c | |||
@@ -789,7 +789,7 @@ static void il3945_hdl_add_sta(struct il_priv *il, | |||
789 | D_RX("Received C_ADD_STA: 0x%02X\n", pkt->u.status); | 789 | D_RX("Received C_ADD_STA: 0x%02X\n", pkt->u.status); |
790 | } | 790 | } |
791 | 791 | ||
792 | static void il3945_rx_beacon_notif(struct il_priv *il, | 792 | static void il3945_hdl_beacon(struct il_priv *il, |
793 | struct il_rx_buf *rxb) | 793 | struct il_rx_buf *rxb) |
794 | { | 794 | { |
795 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 795 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -812,7 +812,7 @@ static void il3945_rx_beacon_notif(struct il_priv *il, | |||
812 | 812 | ||
813 | /* Handle notification from uCode that card's power state is changing | 813 | /* Handle notification from uCode that card's power state is changing |
814 | * due to software, hardware, or critical temperature RFKILL */ | 814 | * due to software, hardware, or critical temperature RFKILL */ |
815 | static void il3945_rx_card_state_notif(struct il_priv *il, | 815 | static void il3945_hdl_card_state(struct il_priv *il, |
816 | struct il_rx_buf *rxb) | 816 | struct il_rx_buf *rxb) |
817 | { | 817 | { |
818 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 818 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -856,24 +856,24 @@ static void il3945_setup_handlers(struct il_priv *il) | |||
856 | il->handlers[N_ALIVE] = il3945_hdl_alive; | 856 | il->handlers[N_ALIVE] = il3945_hdl_alive; |
857 | il->handlers[C_ADD_STA] = il3945_hdl_add_sta; | 857 | il->handlers[C_ADD_STA] = il3945_hdl_add_sta; |
858 | il->handlers[N_ERROR] = il_hdl_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_hdl_csa; |
860 | il->handlers[N_SPECTRUM_MEASUREMENT] = | 860 | il->handlers[N_SPECTRUM_MEASUREMENT] = |
861 | il_rx_spectrum_measure_notif; | 861 | il_hdl_spectrum_measurement; |
862 | il->handlers[N_PM_SLEEP] = il_rx_pm_sleep_notif; | 862 | il->handlers[N_PM_SLEEP] = il_hdl_pm_sleep; |
863 | il->handlers[N_PM_DEBUG_STATS] = | 863 | il->handlers[N_PM_DEBUG_STATS] = |
864 | il_rx_pm_debug_stats_notif; | 864 | il_hdl_pm_debug_stats; |
865 | il->handlers[N_BEACON] = il3945_rx_beacon_notif; | 865 | il->handlers[N_BEACON] = il3945_hdl_beacon; |
866 | 866 | ||
867 | /* | 867 | /* |
868 | * The same handler is used for both the REPLY to a discrete | 868 | * The same handler is used for both the REPLY to a discrete |
869 | * stats request from the host as well as for the periodic | 869 | * stats request from the host as well as for the periodic |
870 | * stats notifications (after received beacons) from the uCode. | 870 | * stats notifications (after received beacons) from the uCode. |
871 | */ | 871 | */ |
872 | il->handlers[C_STATS] = il3945_reply_stats; | 872 | il->handlers[C_STATS] = il3945_hdl_c_stats; |
873 | il->handlers[N_STATS] = il3945_hw_rx_stats; | 873 | il->handlers[N_STATS] = il3945_hdl_stats; |
874 | 874 | ||
875 | il_setup_rx_scan_handlers(il); | 875 | il_setup_rx_scan_handlers(il); |
876 | il->handlers[N_CARD_STATE] = il3945_rx_card_state_notif; | 876 | il->handlers[N_CARD_STATE] = il3945_hdl_card_state; |
877 | 877 | ||
878 | /* Set up hardware specific Rx handlers */ | 878 | /* Set up hardware specific Rx handlers */ |
879 | il3945_hw_handler_setup(il); | 879 | il3945_hw_handler_setup(il); |
diff --git a/drivers/net/wireless/iwlegacy/3945.c b/drivers/net/wireless/iwlegacy/3945.c index b45905fca76b..83fe531002f0 100644 --- a/drivers/net/wireless/iwlegacy/3945.c +++ b/drivers/net/wireless/iwlegacy/3945.c | |||
@@ -411,7 +411,7 @@ static void il3945_accumulative_stats(struct il_priv *il, | |||
411 | } | 411 | } |
412 | #endif | 412 | #endif |
413 | 413 | ||
414 | void il3945_hw_rx_stats(struct il_priv *il, | 414 | void il3945_hdl_stats(struct il_priv *il, |
415 | struct il_rx_buf *rxb) | 415 | struct il_rx_buf *rxb) |
416 | { | 416 | { |
417 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 417 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -426,7 +426,7 @@ void il3945_hw_rx_stats(struct il_priv *il, | |||
426 | memcpy(&il->_3945.stats, pkt->u.raw, sizeof(il->_3945.stats)); | 426 | memcpy(&il->_3945.stats, pkt->u.raw, sizeof(il->_3945.stats)); |
427 | } | 427 | } |
428 | 428 | ||
429 | void il3945_reply_stats(struct il_priv *il, | 429 | void il3945_hdl_c_stats(struct il_priv *il, |
430 | struct il_rx_buf *rxb) | 430 | struct il_rx_buf *rxb) |
431 | { | 431 | { |
432 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 432 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -443,7 +443,7 @@ void il3945_reply_stats(struct il_priv *il, | |||
443 | #endif | 443 | #endif |
444 | D_RX("Statistics have been cleared\n"); | 444 | D_RX("Statistics have been cleared\n"); |
445 | } | 445 | } |
446 | il3945_hw_rx_stats(il, rxb); | 446 | il3945_hdl_stats(il, rxb); |
447 | } | 447 | } |
448 | 448 | ||
449 | 449 | ||
diff --git a/drivers/net/wireless/iwlegacy/3945.h b/drivers/net/wireless/iwlegacy/3945.h index 6000aff4798c..9854cf1b7546 100644 --- a/drivers/net/wireless/iwlegacy/3945.h +++ b/drivers/net/wireless/iwlegacy/3945.h | |||
@@ -253,9 +253,9 @@ void il3945_hw_build_tx_cmd_rate(struct il_priv *il, | |||
253 | int sta_id, int tx_id); | 253 | int sta_id, int tx_id); |
254 | extern int il3945_hw_reg_send_txpower(struct il_priv *il); | 254 | extern int il3945_hw_reg_send_txpower(struct il_priv *il); |
255 | extern int il3945_hw_reg_set_txpower(struct il_priv *il, s8 power); | 255 | extern int il3945_hw_reg_set_txpower(struct il_priv *il, s8 power); |
256 | extern void il3945_hw_rx_stats(struct il_priv *il, | 256 | extern void il3945_hdl_stats(struct il_priv *il, |
257 | struct il_rx_buf *rxb); | 257 | struct il_rx_buf *rxb); |
258 | void il3945_reply_stats(struct il_priv *il, | 258 | void il3945_hdl_c_stats(struct il_priv *il, |
259 | struct il_rx_buf *rxb); | 259 | struct il_rx_buf *rxb); |
260 | extern void il3945_disable_events(struct il_priv *il); | 260 | extern void il3945_disable_events(struct il_priv *il); |
261 | extern int il4965_get_temperature(const struct il_priv *il); | 261 | extern int il4965_get_temperature(const struct il_priv *il); |
diff --git a/drivers/net/wireless/iwlegacy/4965-mac.c b/drivers/net/wireless/iwlegacy/4965-mac.c index 0797c1141128..2bab0fc34d10 100644 --- a/drivers/net/wireless/iwlegacy/4965-mac.c +++ b/drivers/net/wireless/iwlegacy/4965-mac.c | |||
@@ -1242,7 +1242,7 @@ int il4965_dump_fh(struct il_priv *il, char **buf, bool display) | |||
1242 | } | 1242 | } |
1243 | return 0; | 1243 | return 0; |
1244 | } | 1244 | } |
1245 | void il4965_rx_missed_beacon_notif(struct il_priv *il, | 1245 | void il4965_hdl_missed_beacon(struct il_priv *il, |
1246 | struct il_rx_buf *rxb) | 1246 | struct il_rx_buf *rxb) |
1247 | 1247 | ||
1248 | { | 1248 | { |
@@ -1352,7 +1352,7 @@ static void il4965_accumulative_stats(struct il_priv *il, | |||
1352 | 1352 | ||
1353 | #define REG_RECALIB_PERIOD (60) | 1353 | #define REG_RECALIB_PERIOD (60) |
1354 | 1354 | ||
1355 | void il4965_rx_stats(struct il_priv *il, | 1355 | void il4965_hdl_stats(struct il_priv *il, |
1356 | struct il_rx_buf *rxb) | 1356 | struct il_rx_buf *rxb) |
1357 | { | 1357 | { |
1358 | int change; | 1358 | int change; |
@@ -1396,7 +1396,7 @@ void il4965_rx_stats(struct il_priv *il, | |||
1396 | il->cfg->ops->lib->temp_ops.temperature(il); | 1396 | il->cfg->ops->lib->temp_ops.temperature(il); |
1397 | } | 1397 | } |
1398 | 1398 | ||
1399 | void il4965_reply_stats(struct il_priv *il, | 1399 | void il4965_hdl_c_stats(struct il_priv *il, |
1400 | struct il_rx_buf *rxb) | 1400 | struct il_rx_buf *rxb) |
1401 | { | 1401 | { |
1402 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 1402 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -1412,7 +1412,7 @@ void il4965_reply_stats(struct il_priv *il, | |||
1412 | #endif | 1412 | #endif |
1413 | D_RX("Statistics have been cleared\n"); | 1413 | D_RX("Statistics have been cleared\n"); |
1414 | } | 1414 | } |
1415 | il4965_rx_stats(il, rxb); | 1415 | il4965_hdl_stats(il, rxb); |
1416 | } | 1416 | } |
1417 | 1417 | ||
1418 | 1418 | ||
@@ -3819,7 +3819,7 @@ static void il4965_bg_stats_periodic(unsigned long data) | |||
3819 | il_send_stats_request(il, CMD_ASYNC, false); | 3819 | il_send_stats_request(il, CMD_ASYNC, false); |
3820 | } | 3820 | } |
3821 | 3821 | ||
3822 | static void il4965_rx_beacon_notif(struct il_priv *il, | 3822 | static void il4965_hdl_beacon(struct il_priv *il, |
3823 | struct il_rx_buf *rxb) | 3823 | struct il_rx_buf *rxb) |
3824 | { | 3824 | { |
3825 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 3825 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -3861,7 +3861,7 @@ static void il4965_perform_ct_kill_task(struct il_priv *il) | |||
3861 | 3861 | ||
3862 | /* Handle notification from uCode that card's power state is changing | 3862 | /* Handle notification from uCode that card's power state is changing |
3863 | * due to software, hardware, or critical temperature RFKILL */ | 3863 | * due to software, hardware, or critical temperature RFKILL */ |
3864 | static void il4965_rx_card_state_notif(struct il_priv *il, | 3864 | static void il4965_hdl_card_state(struct il_priv *il, |
3865 | struct il_rx_buf *rxb) | 3865 | struct il_rx_buf *rxb) |
3866 | { | 3866 | { |
3867 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 3867 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -3923,30 +3923,30 @@ static void il4965_setup_handlers(struct il_priv *il) | |||
3923 | { | 3923 | { |
3924 | il->handlers[N_ALIVE] = il4965_hdl_alive; | 3924 | il->handlers[N_ALIVE] = il4965_hdl_alive; |
3925 | il->handlers[N_ERROR] = il_hdl_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_hdl_csa; |
3927 | il->handlers[N_SPECTRUM_MEASUREMENT] = | 3927 | il->handlers[N_SPECTRUM_MEASUREMENT] = |
3928 | il_rx_spectrum_measure_notif; | 3928 | il_hdl_spectrum_measurement; |
3929 | il->handlers[N_PM_SLEEP] = il_rx_pm_sleep_notif; | 3929 | il->handlers[N_PM_SLEEP] = il_hdl_pm_sleep; |
3930 | il->handlers[N_PM_DEBUG_STATS] = | 3930 | il->handlers[N_PM_DEBUG_STATS] = |
3931 | il_rx_pm_debug_stats_notif; | 3931 | il_hdl_pm_debug_stats; |
3932 | il->handlers[N_BEACON] = il4965_rx_beacon_notif; | 3932 | il->handlers[N_BEACON] = il4965_hdl_beacon; |
3933 | 3933 | ||
3934 | /* | 3934 | /* |
3935 | * The same handler is used for both the REPLY to a discrete | 3935 | * The same handler is used for both the REPLY to a discrete |
3936 | * stats request from the host as well as for the periodic | 3936 | * stats request from the host as well as for the periodic |
3937 | * stats notifications (after received beacons) from the uCode. | 3937 | * stats notifications (after received beacons) from the uCode. |
3938 | */ | 3938 | */ |
3939 | il->handlers[C_STATS] = il4965_reply_stats; | 3939 | il->handlers[C_STATS] = il4965_hdl_c_stats; |
3940 | il->handlers[N_STATS] = il4965_rx_stats; | 3940 | il->handlers[N_STATS] = il4965_hdl_stats; |
3941 | 3941 | ||
3942 | il_setup_rx_scan_handlers(il); | 3942 | il_setup_rx_scan_handlers(il); |
3943 | 3943 | ||
3944 | /* status change handler */ | 3944 | /* status change handler */ |
3945 | il->handlers[N_CARD_STATE] = | 3945 | il->handlers[N_CARD_STATE] = |
3946 | il4965_rx_card_state_notif; | 3946 | il4965_hdl_card_state; |
3947 | 3947 | ||
3948 | il->handlers[N_MISSED_BEACONS] = | 3948 | il->handlers[N_MISSED_BEACONS] = |
3949 | il4965_rx_missed_beacon_notif; | 3949 | il4965_hdl_missed_beacon; |
3950 | /* Rx handlers */ | 3950 | /* Rx handlers */ |
3951 | il->handlers[N_RX_PHY] = il4965_hdl_rx_phy; | 3951 | il->handlers[N_RX_PHY] = il4965_hdl_rx_phy; |
3952 | il->handlers[N_RX_MPDU] = il4965_hdl_rx; | 3952 | il->handlers[N_RX_MPDU] = il4965_hdl_rx; |
diff --git a/drivers/net/wireless/iwlegacy/4965.c b/drivers/net/wireless/iwlegacy/4965.c index 726fc80d9cee..ed2c61776fd3 100644 --- a/drivers/net/wireless/iwlegacy/4965.c +++ b/drivers/net/wireless/iwlegacy/4965.c | |||
@@ -2122,7 +2122,7 @@ static void il4965_hdl_tx(struct il_priv *il, | |||
2122 | spin_unlock_irqrestore(&il->sta_lock, flags); | 2122 | spin_unlock_irqrestore(&il->sta_lock, flags); |
2123 | } | 2123 | } |
2124 | 2124 | ||
2125 | static void il4965_rx_beacon_notif(struct il_priv *il, | 2125 | static void il4965_hdl_beacon(struct il_priv *il, |
2126 | struct il_rx_buf *rxb) | 2126 | struct il_rx_buf *rxb) |
2127 | { | 2127 | { |
2128 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 2128 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -2148,7 +2148,7 @@ static void il4965_handler_setup(struct il_priv *il) | |||
2148 | il->handlers[N_RX] = il4965_hdl_rx; | 2148 | il->handlers[N_RX] = il4965_hdl_rx; |
2149 | /* Tx response */ | 2149 | /* Tx response */ |
2150 | il->handlers[C_TX] = il4965_hdl_tx; | 2150 | il->handlers[C_TX] = il4965_hdl_tx; |
2151 | il->handlers[N_BEACON] = il4965_rx_beacon_notif; | 2151 | il->handlers[N_BEACON] = il4965_hdl_beacon; |
2152 | } | 2152 | } |
2153 | 2153 | ||
2154 | static struct il_hcmd_ops il4965_hcmd = { | 2154 | static struct il_hcmd_ops il4965_hcmd = { |
diff --git a/drivers/net/wireless/iwlegacy/4965.h b/drivers/net/wireless/iwlegacy/4965.h index a8acbbb69cd1..5234de72a279 100644 --- a/drivers/net/wireless/iwlegacy/4965.h +++ b/drivers/net/wireless/iwlegacy/4965.h | |||
@@ -122,13 +122,13 @@ void il4965_tx_queue_set_status(struct il_priv *il, | |||
122 | u8 il4965_toggle_tx_ant(struct il_priv *il, u8 ant_idx, u8 valid); | 122 | u8 il4965_toggle_tx_ant(struct il_priv *il, u8 ant_idx, u8 valid); |
123 | 123 | ||
124 | /* rx */ | 124 | /* rx */ |
125 | void il4965_rx_missed_beacon_notif(struct il_priv *il, | 125 | void il4965_hdl_missed_beacon(struct il_priv *il, |
126 | struct il_rx_buf *rxb); | 126 | struct il_rx_buf *rxb); |
127 | bool il4965_good_plcp_health(struct il_priv *il, | 127 | bool il4965_good_plcp_health(struct il_priv *il, |
128 | struct il_rx_pkt *pkt); | 128 | struct il_rx_pkt *pkt); |
129 | void il4965_rx_stats(struct il_priv *il, | 129 | void il4965_hdl_stats(struct il_priv *il, |
130 | struct il_rx_buf *rxb); | 130 | struct il_rx_buf *rxb); |
131 | void il4965_reply_stats(struct il_priv *il, | 131 | void il4965_hdl_c_stats(struct il_priv *il, |
132 | struct il_rx_buf *rxb); | 132 | struct il_rx_buf *rxb); |
133 | 133 | ||
134 | /* scan */ | 134 | /* scan */ |
diff --git a/drivers/net/wireless/iwlegacy/iwl-core.c b/drivers/net/wireless/iwlegacy/iwl-core.c index abb8d86a0834..856a321ed1ea 100644 --- a/drivers/net/wireless/iwlegacy/iwl-core.c +++ b/drivers/net/wireless/iwlegacy/iwl-core.c | |||
@@ -847,7 +847,7 @@ void il_chswitch_done(struct il_priv *il, bool is_success) | |||
847 | } | 847 | } |
848 | EXPORT_SYMBOL(il_chswitch_done); | 848 | EXPORT_SYMBOL(il_chswitch_done); |
849 | 849 | ||
850 | void il_rx_csa(struct il_priv *il, struct il_rx_buf *rxb) | 850 | void il_hdl_csa(struct il_priv *il, struct il_rx_buf *rxb) |
851 | { | 851 | { |
852 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 852 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
853 | struct il_csa_notification *csa = &(pkt->u.csa_notif); | 853 | struct il_csa_notification *csa = &(pkt->u.csa_notif); |
@@ -870,7 +870,7 @@ void il_rx_csa(struct il_priv *il, struct il_rx_buf *rxb) | |||
870 | il_chswitch_done(il, false); | 870 | il_chswitch_done(il, false); |
871 | } | 871 | } |
872 | } | 872 | } |
873 | EXPORT_SYMBOL(il_rx_csa); | 873 | EXPORT_SYMBOL(il_hdl_csa); |
874 | 874 | ||
875 | #ifdef CONFIG_IWLEGACY_DEBUG | 875 | #ifdef CONFIG_IWLEGACY_DEBUG |
876 | void il_print_rx_config_cmd(struct il_priv *il, | 876 | void il_print_rx_config_cmd(struct il_priv *il, |
@@ -1189,7 +1189,7 @@ int il_send_stats_request(struct il_priv *il, u8 flags, bool clear) | |||
1189 | } | 1189 | } |
1190 | EXPORT_SYMBOL(il_send_stats_request); | 1190 | EXPORT_SYMBOL(il_send_stats_request); |
1191 | 1191 | ||
1192 | void il_rx_pm_sleep_notif(struct il_priv *il, | 1192 | void il_hdl_pm_sleep(struct il_priv *il, |
1193 | struct il_rx_buf *rxb) | 1193 | struct il_rx_buf *rxb) |
1194 | { | 1194 | { |
1195 | #ifdef CONFIG_IWLEGACY_DEBUG | 1195 | #ifdef CONFIG_IWLEGACY_DEBUG |
@@ -1199,9 +1199,9 @@ void il_rx_pm_sleep_notif(struct il_priv *il, | |||
1199 | sleep->pm_sleep_mode, sleep->pm_wakeup_src); | 1199 | sleep->pm_sleep_mode, sleep->pm_wakeup_src); |
1200 | #endif | 1200 | #endif |
1201 | } | 1201 | } |
1202 | EXPORT_SYMBOL(il_rx_pm_sleep_notif); | 1202 | EXPORT_SYMBOL(il_hdl_pm_sleep); |
1203 | 1203 | ||
1204 | void il_rx_pm_debug_stats_notif(struct il_priv *il, | 1204 | void il_hdl_pm_debug_stats(struct il_priv *il, |
1205 | struct il_rx_buf *rxb) | 1205 | struct il_rx_buf *rxb) |
1206 | { | 1206 | { |
1207 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 1207 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -1211,7 +1211,7 @@ void il_rx_pm_debug_stats_notif(struct il_priv *il, | |||
1211 | il_get_cmd_string(pkt->hdr.cmd)); | 1211 | il_get_cmd_string(pkt->hdr.cmd)); |
1212 | il_print_hex_dump(il, IL_DL_RADIO, pkt->u.raw, len); | 1212 | il_print_hex_dump(il, IL_DL_RADIO, pkt->u.raw, len); |
1213 | } | 1213 | } |
1214 | EXPORT_SYMBOL(il_rx_pm_debug_stats_notif); | 1214 | EXPORT_SYMBOL(il_hdl_pm_debug_stats); |
1215 | 1215 | ||
1216 | void il_hdl_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) |
diff --git a/drivers/net/wireless/iwlegacy/iwl-core.h b/drivers/net/wireless/iwlegacy/iwl-core.h index 9897dac21ee9..5de742c6ce40 100644 --- a/drivers/net/wireless/iwlegacy/iwl-core.h +++ b/drivers/net/wireless/iwlegacy/iwl-core.h | |||
@@ -369,9 +369,9 @@ static inline void il_update_stats(struct il_priv *il, bool is_tx, | |||
369 | /***************************************************** | 369 | /***************************************************** |
370 | * RX handlers. | 370 | * RX handlers. |
371 | * **************************************************/ | 371 | * **************************************************/ |
372 | void il_rx_pm_sleep_notif(struct il_priv *il, | 372 | void il_hdl_pm_sleep(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_hdl_pm_debug_stats(struct il_priv *il, |
375 | struct il_rx_buf *rxb); | 375 | struct il_rx_buf *rxb); |
376 | void il_hdl_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); |
@@ -388,12 +388,12 @@ int il_rx_queue_space(const struct il_rx_queue *q); | |||
388 | void il_tx_cmd_complete(struct il_priv *il, | 388 | void il_tx_cmd_complete(struct il_priv *il, |
389 | struct il_rx_buf *rxb); | 389 | struct il_rx_buf *rxb); |
390 | /* Handlers */ | 390 | /* Handlers */ |
391 | void il_rx_spectrum_measure_notif(struct il_priv *il, | 391 | void il_hdl_spectrum_measurement(struct il_priv *il, |
392 | struct il_rx_buf *rxb); | 392 | struct il_rx_buf *rxb); |
393 | void il_recover_from_stats(struct il_priv *il, | 393 | void il_recover_from_stats(struct il_priv *il, |
394 | struct il_rx_pkt *pkt); | 394 | struct il_rx_pkt *pkt); |
395 | void il_chswitch_done(struct il_priv *il, bool is_success); | 395 | void il_chswitch_done(struct il_priv *il, bool is_success); |
396 | void il_rx_csa(struct il_priv *il, struct il_rx_buf *rxb); | 396 | void il_hdl_csa(struct il_priv *il, struct il_rx_buf *rxb); |
397 | 397 | ||
398 | /* TX helpers */ | 398 | /* TX helpers */ |
399 | 399 | ||
diff --git a/drivers/net/wireless/iwlegacy/iwl-rx.c b/drivers/net/wireless/iwlegacy/iwl-rx.c index 76f2361031bb..7a8ae556f2be 100644 --- a/drivers/net/wireless/iwlegacy/iwl-rx.c +++ b/drivers/net/wireless/iwlegacy/iwl-rx.c | |||
@@ -210,7 +210,7 @@ err_bd: | |||
210 | EXPORT_SYMBOL(il_rx_queue_alloc); | 210 | EXPORT_SYMBOL(il_rx_queue_alloc); |
211 | 211 | ||
212 | 212 | ||
213 | void il_rx_spectrum_measure_notif(struct il_priv *il, | 213 | void il_hdl_spectrum_measurement(struct il_priv *il, |
214 | struct il_rx_buf *rxb) | 214 | struct il_rx_buf *rxb) |
215 | { | 215 | { |
216 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 216 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -225,7 +225,7 @@ void il_rx_spectrum_measure_notif(struct il_priv *il, | |||
225 | memcpy(&il->measure_report, report, sizeof(*report)); | 225 | memcpy(&il->measure_report, report, sizeof(*report)); |
226 | il->measurement_status |= MEASUREMENT_READY; | 226 | il->measurement_status |= MEASUREMENT_READY; |
227 | } | 227 | } |
228 | EXPORT_SYMBOL(il_rx_spectrum_measure_notif); | 228 | EXPORT_SYMBOL(il_hdl_spectrum_measurement); |
229 | 229 | ||
230 | /* | 230 | /* |
231 | * returns non-zero if packet should be dropped | 231 | * returns non-zero if packet should be dropped |
diff --git a/drivers/net/wireless/iwlegacy/iwl-scan.c b/drivers/net/wireless/iwlegacy/iwl-scan.c index f81db769809d..aaa589abbe33 100644 --- a/drivers/net/wireless/iwlegacy/iwl-scan.c +++ b/drivers/net/wireless/iwlegacy/iwl-scan.c | |||
@@ -195,7 +195,7 @@ static void il_hdl_scan(struct il_priv *il, | |||
195 | } | 195 | } |
196 | 196 | ||
197 | /* Service N_SCAN_START (0x82) */ | 197 | /* Service N_SCAN_START (0x82) */ |
198 | static void il_rx_scan_start_notif(struct il_priv *il, | 198 | static void il_hdl_scan_start(struct il_priv *il, |
199 | struct il_rx_buf *rxb) | 199 | struct il_rx_buf *rxb) |
200 | { | 200 | { |
201 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 201 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -213,7 +213,7 @@ static void il_rx_scan_start_notif(struct il_priv *il, | |||
213 | } | 213 | } |
214 | 214 | ||
215 | /* Service N_SCAN_RESULTS (0x83) */ | 215 | /* Service N_SCAN_RESULTS (0x83) */ |
216 | static void il_rx_scan_results_notif(struct il_priv *il, | 216 | static void il_hdl_scan_results(struct il_priv *il, |
217 | struct il_rx_buf *rxb) | 217 | struct il_rx_buf *rxb) |
218 | { | 218 | { |
219 | #ifdef CONFIG_IWLEGACY_DEBUG | 219 | #ifdef CONFIG_IWLEGACY_DEBUG |
@@ -235,7 +235,7 @@ static void il_rx_scan_results_notif(struct il_priv *il, | |||
235 | } | 235 | } |
236 | 236 | ||
237 | /* Service N_SCAN_COMPLETE (0x84) */ | 237 | /* Service N_SCAN_COMPLETE (0x84) */ |
238 | static void il_rx_scan_complete_notif(struct il_priv *il, | 238 | static void il_hdl_scan_complete(struct il_priv *il, |
239 | struct il_rx_buf *rxb) | 239 | struct il_rx_buf *rxb) |
240 | { | 240 | { |
241 | 241 | ||
@@ -265,11 +265,11 @@ void il_setup_rx_scan_handlers(struct il_priv *il) | |||
265 | /* scan handlers */ | 265 | /* scan handlers */ |
266 | il->handlers[C_SCAN] = il_hdl_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_hdl_scan_start; |
269 | il->handlers[N_SCAN_RESULTS] = | 269 | il->handlers[N_SCAN_RESULTS] = |
270 | il_rx_scan_results_notif; | 270 | il_hdl_scan_results; |
271 | il->handlers[N_SCAN_COMPLETE] = | 271 | il->handlers[N_SCAN_COMPLETE] = |
272 | il_rx_scan_complete_notif; | 272 | il_hdl_scan_complete; |
273 | } | 273 | } |
274 | EXPORT_SYMBOL(il_setup_rx_scan_handlers); | 274 | EXPORT_SYMBOL(il_setup_rx_scan_handlers); |
275 | 275 | ||