Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
e691e19e
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
161
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看板
提交
e691e19e
编写于
6月 25, 2010
作者:
R
Reinette Chatre
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'wireless-2.6' into wireless-next-2.6
上级
47399f1a
062bee44
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
19 addition
and
7 deletion
+19
-7
drivers/net/wireless/ath/ath5k/attach.c
drivers/net/wireless/ath/ath5k/attach.c
+1
-0
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/ath9k.h
+1
-0
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/main.c
+10
-1
drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c
drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c
+1
-5
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-core.c
+6
-1
未找到文件。
drivers/net/wireless/ath/ath5k/attach.c
浏览文件 @
e691e19e
...
...
@@ -126,6 +126,7 @@ int ath5k_hw_attach(struct ath5k_softc *sc)
ah
->
ah_ant_mode
=
AR5K_ANTMODE_DEFAULT
;
ah
->
ah_noise_floor
=
-
95
;
/* until first NF calibration is run */
sc
->
ani_state
.
ani_mode
=
ATH5K_ANI_MODE_AUTO
;
ah
->
ah_current_channel
=
&
sc
->
channels
[
0
];
/*
* Find the mac version
...
...
drivers/net/wireless/ath/ath9k/ath9k.h
浏览文件 @
e691e19e
...
...
@@ -519,6 +519,7 @@ void ath_deinit_leds(struct ath_softc *sc);
#define SC_OP_TSF_RESET BIT(11)
#define SC_OP_BT_PRIORITY_DETECTED BIT(12)
#define SC_OP_BT_SCAN BIT(13)
#define SC_OP_ANI_RUN BIT(14)
/* Powersave flags */
#define PS_WAIT_FOR_BEACON BIT(0)
...
...
drivers/net/wireless/ath/ath9k/main.c
浏览文件 @
e691e19e
...
...
@@ -452,6 +452,10 @@ static void ath_start_ani(struct ath_common *common)
{
struct
ath_hw
*
ah
=
common
->
ah
;
unsigned
long
timestamp
=
jiffies_to_msecs
(
jiffies
);
struct
ath_softc
*
sc
=
(
struct
ath_softc
*
)
common
->
priv
;
if
(
!
(
sc
->
sc_flags
&
SC_OP_ANI_RUN
))
return
;
common
->
ani
.
longcal_timer
=
timestamp
;
common
->
ani
.
shortcal_timer
=
timestamp
;
...
...
@@ -767,11 +771,13 @@ static void ath9k_bss_assoc_info(struct ath_softc *sc,
/* Reset rssi stats */
sc
->
sc_ah
->
stats
.
avgbrssi
=
ATH_RSSI_DUMMY_MARKER
;
sc
->
sc_flags
|=
SC_OP_ANI_RUN
;
ath_start_ani
(
common
);
}
else
{
ath_print
(
common
,
ATH_DBG_CONFIG
,
"Bss Info DISASSOC
\n
"
);
common
->
curaid
=
0
;
/* Stop ANI */
sc
->
sc_flags
&=
~
SC_OP_ANI_RUN
;
del_timer_sync
(
&
common
->
ani
.
timer
);
}
}
...
...
@@ -1377,8 +1383,10 @@ static int ath9k_add_interface(struct ieee80211_hw *hw,
if
(
vif
->
type
==
NL80211_IFTYPE_AP
||
vif
->
type
==
NL80211_IFTYPE_ADHOC
||
vif
->
type
==
NL80211_IFTYPE_MONITOR
)
vif
->
type
==
NL80211_IFTYPE_MONITOR
)
{
sc
->
sc_flags
|=
SC_OP_ANI_RUN
;
ath_start_ani
(
common
);
}
out:
mutex_unlock
(
&
sc
->
mutex
);
...
...
@@ -1399,6 +1407,7 @@ static void ath9k_remove_interface(struct ieee80211_hw *hw,
mutex_lock
(
&
sc
->
mutex
);
/* Stop ANI */
sc
->
sc_flags
&=
~
SC_OP_ANI_RUN
;
del_timer_sync
(
&
common
->
ani
.
timer
);
/* Reclaim beacon resources */
...
...
drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c
浏览文件 @
e691e19e
...
...
@@ -214,11 +214,7 @@ static void iwlagn_chain_noise_reset(struct iwl_priv *priv)
static
void
iwlagn_rts_tx_cmd_flag
(
struct
ieee80211_tx_info
*
info
,
__le32
*
tx_flags
)
{
if
((
info
->
control
.
rates
[
0
].
flags
&
IEEE80211_TX_RC_USE_RTS_CTS
)
||
(
info
->
control
.
rates
[
0
].
flags
&
IEEE80211_TX_RC_USE_CTS_PROTECT
))
*
tx_flags
|=
TX_CMD_FLG_RTS_CTS_MSK
;
else
*
tx_flags
&=
~
TX_CMD_FLG_RTS_CTS_MSK
;
*
tx_flags
|=
TX_CMD_FLG_RTS_CTS_MSK
;
}
/* Calc max signal level (dBm) among 3 possible receivers */
...
...
drivers/net/wireless/iwlwifi/iwl-core.c
浏览文件 @
e691e19e
...
...
@@ -1331,7 +1331,6 @@ void iwl_configure_filter(struct ieee80211_hw *hw,
changed_flags
,
*
total_flags
);
CHK
(
FIF_OTHER_BSS
|
FIF_PROMISC_IN_BSS
,
RXON_FILTER_PROMISC_MSK
);
CHK
(
FIF_ALLMULTI
,
RXON_FILTER_ACCEPT_GRP_MSK
);
CHK
(
FIF_CONTROL
,
RXON_FILTER_CTL2HOST_MSK
);
CHK
(
FIF_BCN_PRBRESP_PROMISC
,
RXON_FILTER_BCON_AWARE_MSK
);
...
...
@@ -1346,6 +1345,12 @@ void iwl_configure_filter(struct ieee80211_hw *hw,
mutex_unlock
(
&
priv
->
mutex
);
/*
* Receiving all multicast frames is always enabled by the
* default flags setup in iwl_connection_init_rx_config()
* since we currently do not support programming multicast
* filters into the device.
*/
*
total_flags
&=
FIF_OTHER_BSS
|
FIF_ALLMULTI
|
FIF_PROMISC_IN_BSS
|
FIF_BCN_PRBRESP_PROMISC
|
FIF_CONTROL
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录