Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
6e9848b4
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6e9848b4
编写于
8月 30, 2011
作者:
S
Stanislaw Gruszka
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
iwlegacy: s/rx_reply/hdl/
Signed-off-by:
N
Stanislaw Gruszka
<
sgruszka@redhat.com
>
上级
d0c72347
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
33 addition
and
33 deletion
+33
-33
drivers/net/wireless/iwlegacy/3945-mac.c
drivers/net/wireless/iwlegacy/3945-mac.c
+5
-5
drivers/net/wireless/iwlegacy/3945.c
drivers/net/wireless/iwlegacy/3945.c
+5
-5
drivers/net/wireless/iwlegacy/4965-mac.c
drivers/net/wireless/iwlegacy/4965-mac.c
+11
-11
drivers/net/wireless/iwlegacy/4965.c
drivers/net/wireless/iwlegacy/4965.c
+4
-4
drivers/net/wireless/iwlegacy/4965.h
drivers/net/wireless/iwlegacy/4965.h
+3
-3
drivers/net/wireless/iwlegacy/iwl-core.c
drivers/net/wireless/iwlegacy/iwl-core.c
+2
-2
drivers/net/wireless/iwlegacy/iwl-core.h
drivers/net/wireless/iwlegacy/iwl-core.h
+1
-1
drivers/net/wireless/iwlegacy/iwl-scan.c
drivers/net/wireless/iwlegacy/iwl-scan.c
+2
-2
未找到文件。
drivers/net/wireless/iwlegacy/3945-mac.c
浏览文件 @
6e9848b4
...
...
@@ -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
;
...
...
drivers/net/wireless/iwlegacy/3945.c
浏览文件 @
6e9848b4
...
...
@@ -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
)
...
...
drivers/net/wireless/iwlegacy/4965-mac.c
浏览文件 @
6e9848b4
...
...
@@ -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
);
}
...
...
drivers/net/wireless/iwlegacy/4965.c
浏览文件 @
6e9848b4
...
...
@@ -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
;
}
...
...
drivers/net/wireless/iwlegacy/4965.h
浏览文件 @
6e9848b4
...
...
@@ -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
);
...
...
drivers/net/wireless/iwlegacy/iwl-core.c
浏览文件 @
6e9848b4
...
...
@@ -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
)
{
...
...
drivers/net/wireless/iwlegacy/iwl-core.h
浏览文件 @
6e9848b4
...
...
@@ -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
);
/*****************************************************
...
...
drivers/net/wireless/iwlegacy/iwl-scan.c
浏览文件 @
6e9848b4
...
...
@@ -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
]
=
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录