Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
8ea9ac0a
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看板
提交
8ea9ac0a
编写于
9月 15, 2011
作者:
J
John W. Linville
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
git://git.infradead.org/users/linville/wireless
into for-davem
上级
31dda0ae
282cdb32
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
35 addition
and
14 deletion
+35
-14
drivers/net/wireless/ath/ath9k/ar9002_calib.c
drivers/net/wireless/ath/ath9k/ar9002_calib.c
+2
-1
drivers/net/wireless/ath/ath9k/ar9003_phy.c
drivers/net/wireless/ath/ath9k/ar9003_phy.c
+1
-1
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/main.c
+6
-0
drivers/net/wireless/iwlegacy/iwl-3945-rs.c
drivers/net/wireless/iwlegacy/iwl-3945-rs.c
+8
-5
drivers/net/wireless/iwlwifi/iwl-agn-ucode.c
drivers/net/wireless/iwlwifi/iwl-agn-ucode.c
+1
-1
drivers/net/wireless/iwlwifi/iwl-trans-tx-pcie.c
drivers/net/wireless/iwlwifi/iwl-trans-tx-pcie.c
+2
-0
drivers/net/wireless/rtlwifi/core.c
drivers/net/wireless/rtlwifi/core.c
+8
-0
drivers/net/wireless/rtlwifi/rtl8192cu/trx.c
drivers/net/wireless/rtlwifi/rtl8192cu/trx.c
+6
-5
net/mac80211/sta_info.c
net/mac80211/sta_info.c
+1
-1
未找到文件。
drivers/net/wireless/ath/ath9k/ar9002_calib.c
浏览文件 @
8ea9ac0a
...
...
@@ -41,7 +41,8 @@ static bool ar9002_hw_is_cal_supported(struct ath_hw *ah,
case
ADC_DC_CAL
:
/* Run ADC Gain Cal for non-CCK & non 2GHz-HT20 only */
if
(
!
IS_CHAN_B
(
chan
)
&&
!
(
IS_CHAN_2GHZ
(
chan
)
&&
IS_CHAN_HT20
(
chan
)))
!
((
IS_CHAN_2GHZ
(
chan
)
||
IS_CHAN_A_FAST_CLOCK
(
ah
,
chan
))
&&
IS_CHAN_HT20
(
chan
)))
supported
=
true
;
break
;
}
...
...
drivers/net/wireless/ath/ath9k/ar9003_phy.c
浏览文件 @
8ea9ac0a
...
...
@@ -671,7 +671,7 @@ static int ar9003_hw_process_ini(struct ath_hw *ah,
REG_WRITE_ARRAY
(
&
ah
->
iniModesAdditional
,
modesIndex
,
regWrites
);
if
(
AR_SREV_93
0
0
(
ah
))
if
(
AR_SREV_93
3
0
(
ah
))
REG_WRITE_ARRAY
(
&
ah
->
iniModesAdditional
,
1
,
regWrites
);
if
(
AR_SREV_9340
(
ah
)
&&
!
ah
->
is_clk_25mhz
)
...
...
drivers/net/wireless/ath/ath9k/main.c
浏览文件 @
8ea9ac0a
...
...
@@ -2303,6 +2303,12 @@ static void ath9k_flush(struct ieee80211_hw *hw, bool drop)
mutex_lock
(
&
sc
->
mutex
);
cancel_delayed_work_sync
(
&
sc
->
tx_complete_work
);
if
(
ah
->
ah_flags
&
AH_UNPLUGGED
)
{
ath_dbg
(
common
,
ATH_DBG_ANY
,
"Device has been unplugged!
\n
"
);
mutex_unlock
(
&
sc
->
mutex
);
return
;
}
if
(
sc
->
sc_flags
&
SC_OP_INVALID
)
{
ath_dbg
(
common
,
ATH_DBG_ANY
,
"Device not present
\n
"
);
mutex_unlock
(
&
sc
->
mutex
);
...
...
drivers/net/wireless/iwlegacy/iwl-3945-rs.c
浏览文件 @
8ea9ac0a
...
...
@@ -822,12 +822,15 @@ static void iwl3945_rs_get_rate(void *priv_r, struct ieee80211_sta *sta,
out:
rs_sta
->
last_txrate_idx
=
index
;
if
(
sband
->
band
==
IEEE80211_BAND_5GHZ
)
info
->
control
.
rates
[
0
].
idx
=
rs_sta
->
last_txrate_idx
-
IWL_FIRST_OFDM_RATE
;
else
if
(
sband
->
band
==
IEEE80211_BAND_5GHZ
)
{
if
(
WARN_ON_ONCE
(
index
<
IWL_FIRST_OFDM_RATE
))
index
=
IWL_FIRST_OFDM_RATE
;
rs_sta
->
last_txrate_idx
=
index
;
info
->
control
.
rates
[
0
].
idx
=
index
-
IWL_FIRST_OFDM_RATE
;
}
else
{
rs_sta
->
last_txrate_idx
=
index
;
info
->
control
.
rates
[
0
].
idx
=
rs_sta
->
last_txrate_idx
;
}
IWL_DEBUG_RATE
(
priv
,
"leave: %d
\n
"
,
index
);
}
...
...
drivers/net/wireless/iwlwifi/iwl-agn-ucode.c
浏览文件 @
8ea9ac0a
...
...
@@ -167,7 +167,7 @@ static int iwlagn_set_temperature_offset_calib(struct iwl_priv *priv)
memset
(
&
cmd
,
0
,
sizeof
(
cmd
));
iwl_set_calib_hdr
(
&
cmd
.
hdr
,
IWL_PHY_CALIBRATE_TEMP_OFFSET_CMD
);
memcpy
(
&
cmd
.
radio_sensor_offset
,
offset_calib
,
sizeof
(
offset_calib
));
memcpy
(
&
cmd
.
radio_sensor_offset
,
offset_calib
,
sizeof
(
*
offset_calib
));
if
(
!
(
cmd
.
radio_sensor_offset
))
cmd
.
radio_sensor_offset
=
DEFAULT_RADIO_SENSOR_OFFSET
;
...
...
drivers/net/wireless/iwlwifi/iwl-trans-tx-pcie.c
浏览文件 @
8ea9ac0a
...
...
@@ -771,6 +771,8 @@ void iwl_tx_cmd_complete(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb)
cmd
=
txq
->
cmd
[
cmd_index
];
meta
=
&
txq
->
meta
[
cmd_index
];
txq
->
time_stamp
=
jiffies
;
iwlagn_unmap_tfd
(
priv
,
meta
,
&
txq
->
tfds
[
index
],
DMA_BIDIRECTIONAL
);
/* Input error checking is done when commands are added to queue. */
...
...
drivers/net/wireless/rtlwifi/core.c
浏览文件 @
8ea9ac0a
...
...
@@ -610,6 +610,11 @@ static void rtl_op_bss_info_changed(struct ieee80211_hw *hw,
mac
->
link_state
=
MAC80211_NOLINK
;
memset
(
mac
->
bssid
,
0
,
6
);
/* reset sec info */
rtl_cam_reset_sec_info
(
hw
);
rtl_cam_reset_all_entry
(
hw
);
mac
->
vendor
=
PEER_UNKNOWN
;
RT_TRACE
(
rtlpriv
,
COMP_MAC80211
,
DBG_DMESG
,
...
...
@@ -1063,6 +1068,9 @@ static int rtl_op_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
*or clear all entry here.
*/
rtl_cam_delete_one_entry
(
hw
,
mac_addr
,
key_idx
);
rtl_cam_reset_sec_info
(
hw
);
break
;
default:
RT_TRACE
(
rtlpriv
,
COMP_ERR
,
DBG_EMERG
,
...
...
drivers/net/wireless/rtlwifi/rtl8192cu/trx.c
浏览文件 @
8ea9ac0a
...
...
@@ -549,15 +549,16 @@ void rtl92cu_tx_fill_desc(struct ieee80211_hw *hw,
(
tcb_desc
->
rts_use_shortpreamble
?
1
:
0
)
:
(
tcb_desc
->
rts_use_shortgi
?
1
:
0
)));
if
(
mac
->
bw_40
)
{
if
(
tcb_desc
->
packet_bw
)
{
if
(
rate_flag
&
IEEE80211_TX_RC_DUP_DATA
)
{
SET_TX_DESC_DATA_BW
(
txdesc
,
1
);
SET_TX_DESC_DATA_SC
(
txdesc
,
3
);
}
else
if
(
rate_flag
&
IEEE80211_TX_RC_40_MHZ_WIDTH
){
SET_TX_DESC_DATA_BW
(
txdesc
,
1
);
SET_TX_DESC_DATA_SC
(
txdesc
,
mac
->
cur_40_prime_sc
);
}
else
{
SET_TX_DESC_DATA_BW
(
txdesc
,
0
);
if
(
rate_flag
&
IEEE80211_TX_RC_DUP_DATA
)
SET_TX_DESC_DATA_SC
(
txdesc
,
mac
->
cur_40_prime_sc
);
}
SET_TX_DESC_DATA_SC
(
txdesc
,
0
);
}
}
else
{
SET_TX_DESC_DATA_BW
(
txdesc
,
0
);
SET_TX_DESC_DATA_SC
(
txdesc
,
0
);
...
...
net/mac80211/sta_info.c
浏览文件 @
8ea9ac0a
...
...
@@ -665,7 +665,7 @@ static int __must_check __sta_info_destroy(struct sta_info *sta)
BUG_ON
(
!
sdata
->
bss
);
atomic_dec
(
&
sdata
->
bss
->
num_sta_ps
);
__sta_info_clear_tim_bit
(
sdata
->
bss
,
sta
);
sta_info_clear_tim_bit
(
sta
);
}
local
->
num_sta
--
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录