Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
1715322f
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
1715322f
编写于
2月 04, 2012
作者:
D
David S. Miller
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-davem' of
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
上级
542a3980
157ca9ea
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
29 addition
and
18 deletion
+29
-18
drivers/bcma/scan.c
drivers/bcma/scan.c
+11
-8
drivers/net/wireless/iwlwifi/iwl-agn-tx.c
drivers/net/wireless/iwlwifi/iwl-agn-tx.c
+10
-4
drivers/net/wireless/iwlwifi/iwl-commands.h
drivers/net/wireless/iwlwifi/iwl-commands.h
+1
-0
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
+1
-0
drivers/net/wireless/rt2x00/rt2800lib.c
drivers/net/wireless/rt2x00/rt2800lib.c
+4
-4
drivers/ssb/driver_pcicore.c
drivers/ssb/driver_pcicore.c
+1
-1
net/mac80211/rx.c
net/mac80211/rx.c
+1
-1
未找到文件。
drivers/bcma/scan.c
浏览文件 @
1715322f
...
...
@@ -399,15 +399,18 @@ int bcma_bus_scan(struct bcma_bus *bus)
core
->
bus
=
bus
;
err
=
bcma_get_next_core
(
bus
,
&
eromptr
,
NULL
,
core_num
,
core
);
if
(
err
==
-
ENODEV
)
{
core_num
++
;
continue
;
}
else
if
(
err
==
-
ENXIO
)
continue
;
else
if
(
err
==
-
ESPIPE
)
break
;
else
if
(
err
<
0
)
if
(
err
<
0
)
{
kfree
(
core
);
if
(
err
==
-
ENODEV
)
{
core_num
++
;
continue
;
}
else
if
(
err
==
-
ENXIO
)
{
continue
;
}
else
if
(
err
==
-
ESPIPE
)
{
break
;
}
return
err
;
}
core
->
core_index
=
core_num
++
;
bus
->
nr_cores
++
;
...
...
drivers/net/wireless/iwlwifi/iwl-agn-tx.c
浏览文件 @
1715322f
...
...
@@ -91,6 +91,7 @@ static void iwlagn_tx_cmd_build_basic(struct iwl_priv *priv,
tx_cmd
->
tid_tspec
=
qc
[
0
]
&
0xf
;
tx_flags
&=
~
TX_CMD_FLG_SEQ_CTL_MSK
;
}
else
{
tx_cmd
->
tid_tspec
=
IWL_TID_NON_QOS
;
if
(
info
->
flags
&
IEEE80211_TX_CTL_ASSIGN_SEQ
)
tx_flags
|=
TX_CMD_FLG_SEQ_CTL_MSK
;
else
...
...
@@ -620,7 +621,7 @@ int iwlagn_tx_agg_oper(struct iwl_priv *priv, struct ieee80211_vif *vif,
sta_priv
->
lq_sta
.
lq
.
agg_params
.
agg_frame_cnt_limit
=
sta_priv
->
max_agg_bufsize
;
IWL_
INFO
(
priv
,
"Tx aggregation enabled on ra = %pM tid = %d
\n
"
,
IWL_
DEBUG_HT
(
priv
,
"Tx aggregation enabled on ra = %pM tid = %d
\n
"
,
sta
->
addr
,
tid
);
return
iwl_send_lq_cmd
(
priv
,
ctx
,
...
...
@@ -808,6 +809,8 @@ static void iwl_rx_reply_tx_agg(struct iwl_priv *priv,
u32
status
=
le16_to_cpu
(
tx_resp
->
status
.
status
);
int
i
;
WARN_ON
(
tid
==
IWL_TID_NON_QOS
);
if
(
agg
->
wait_for_ba
)
IWL_DEBUG_TX_REPLY
(
priv
,
"got tx response w/o block-ack
\n
"
);
...
...
@@ -1035,10 +1038,13 @@ int iwlagn_rx_reply_tx(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb,
}
__skb_queue_head_init
(
&
skbs
);
priv
->
tid_data
[
sta_id
][
tid
].
next_reclaimed
=
next_reclaimed
;
IWL_DEBUG_TX_REPLY
(
priv
,
"Next reclaimed packet:%d"
,
next_reclaimed
);
if
(
tid
!=
IWL_TID_NON_QOS
)
{
priv
->
tid_data
[
sta_id
][
tid
].
next_reclaimed
=
next_reclaimed
;
IWL_DEBUG_TX_REPLY
(
priv
,
"Next reclaimed packet:%d"
,
next_reclaimed
);
}
/*we can free until ssn % q.n_bd not inclusive */
WARN_ON
(
iwl_trans_reclaim
(
trans
(
priv
),
sta_id
,
tid
,
txq_id
,
...
...
drivers/net/wireless/iwlwifi/iwl-commands.h
浏览文件 @
1715322f
...
...
@@ -815,6 +815,7 @@ struct iwl_qosparam_cmd {
#define IWL_INVALID_STATION 255
#define IWL_MAX_TID_COUNT 8
#define IWL_TID_NON_QOS IWL_MAX_TID_COUNT
#define STA_FLG_TX_RATE_MSK cpu_to_le32(1 << 2)
#define STA_FLG_PWR_SAVE_MSK cpu_to_le32(1 << 8)
...
...
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
浏览文件 @
1715322f
...
...
@@ -1262,6 +1262,7 @@ static int iwl_trans_pcie_reclaim(struct iwl_trans *trans, int sta_id, int tid,
txq
->
time_stamp
=
jiffies
;
if
(
unlikely
(
txq_id
>=
IWLAGN_FIRST_AMPDU_QUEUE
&&
tid
!=
IWL_TID_NON_QOS
&&
txq_id
!=
trans_pcie
->
agg_txq
[
sta_id
][
tid
]))
{
/*
* FIXME: this is a uCode bug which need to be addressed,
...
...
drivers/net/wireless/rt2x00/rt2800lib.c
浏览文件 @
1715322f
...
...
@@ -514,9 +514,9 @@ EXPORT_SYMBOL_GPL(rt2800_write_tx_data);
static
int
rt2800_agc_to_rssi
(
struct
rt2x00_dev
*
rt2x00dev
,
u32
rxwi_w2
)
{
int
rssi0
=
rt2x00_get_field32
(
rxwi_w2
,
RXWI_W2_RSSI0
);
int
rssi1
=
rt2x00_get_field32
(
rxwi_w2
,
RXWI_W2_RSSI1
);
int
rssi2
=
rt2x00_get_field32
(
rxwi_w2
,
RXWI_W2_RSSI2
);
s8
rssi0
=
rt2x00_get_field32
(
rxwi_w2
,
RXWI_W2_RSSI0
);
s8
rssi1
=
rt2x00_get_field32
(
rxwi_w2
,
RXWI_W2_RSSI1
);
s8
rssi2
=
rt2x00_get_field32
(
rxwi_w2
,
RXWI_W2_RSSI2
);
u16
eeprom
;
u8
offset0
;
u8
offset1
;
...
...
@@ -552,7 +552,7 @@ static int rt2800_agc_to_rssi(struct rt2x00_dev *rt2x00dev, u32 rxwi_w2)
* which gives less energy...
*/
rssi0
=
max
(
rssi0
,
rssi1
);
return
max
(
rssi0
,
rssi2
);
return
(
int
)
max
(
rssi0
,
rssi2
);
}
void
rt2800_process_rxwi
(
struct
queue_entry
*
entry
,
...
...
drivers/ssb/driver_pcicore.c
浏览文件 @
1715322f
...
...
@@ -75,7 +75,7 @@ static u32 get_cfgspace_addr(struct ssb_pcicore *pc,
u32
tmp
;
/* We do only have one cardbus device behind the bridge. */
if
(
pc
->
cardbusmode
&&
(
dev
>
=
1
))
if
(
pc
->
cardbusmode
&&
(
dev
>
1
))
goto
out
;
if
(
bus
==
0
)
{
...
...
net/mac80211/rx.c
浏览文件 @
1715322f
...
...
@@ -611,7 +611,7 @@ static void ieee80211_sta_reorder_release(struct ieee80211_hw *hw,
index
=
seq_sub
(
tid_agg_rx
->
head_seq_num
,
tid_agg_rx
->
ssn
)
%
tid_agg_rx
->
buf_size
;
if
(
!
tid_agg_rx
->
reorder_buf
[
index
]
&&
tid_agg_rx
->
stored_mpdu_num
>
1
)
{
tid_agg_rx
->
stored_mpdu_num
)
{
/*
* No buffers ready to be released, but check whether any
* frames in the reorder buffer have timed out.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录