Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
f966a13f
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
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看板
提交
f966a13f
编写于
1月 18, 2011
作者:
D
David S. Miller
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
上级
7e96fbf2
38d59392
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
36 addition
and
24 deletion
+36
-24
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/base.c
+4
-0
drivers/net/wireless/ath/ath9k/ar9002_calib.c
drivers/net/wireless/ath/ath9k/ar9002_calib.c
+5
-5
drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
+1
-1
drivers/net/wireless/ath/ath9k/ar9003_hw.c
drivers/net/wireless/ath/ath9k/ar9003_hw.c
+2
-2
drivers/net/wireless/ath/ath9k/htc.h
drivers/net/wireless/ath/ath9k/htc.h
+1
-1
drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
+5
-3
drivers/net/wireless/iwlwifi/iwl-agn-eeprom.c
drivers/net/wireless/iwlwifi/iwl-agn-eeprom.c
+1
-1
drivers/net/wireless/iwmc3200wifi/netdev.c
drivers/net/wireless/iwmc3200wifi/netdev.c
+2
-0
drivers/net/wireless/rt2x00/rt2x00firmware.c
drivers/net/wireless/rt2x00/rt2x00firmware.c
+1
-0
include/linux/ieee80211.h
include/linux/ieee80211.h
+1
-1
net/mac80211/agg-rx.c
net/mac80211/agg-rx.c
+2
-9
net/mac80211/main.c
net/mac80211/main.c
+11
-1
未找到文件。
drivers/net/wireless/ath/ath5k/base.c
浏览文件 @
f966a13f
...
...
@@ -2294,6 +2294,8 @@ ath5k_tx_complete_poll_work(struct work_struct *work)
int
i
;
bool
needreset
=
false
;
mutex_lock
(
&
sc
->
lock
);
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
sc
->
txqs
);
i
++
)
{
if
(
sc
->
txqs
[
i
].
setup
)
{
txq
=
&
sc
->
txqs
[
i
];
...
...
@@ -2321,6 +2323,8 @@ ath5k_tx_complete_poll_work(struct work_struct *work)
ath5k_reset
(
sc
,
NULL
,
true
);
}
mutex_unlock
(
&
sc
->
lock
);
ieee80211_queue_delayed_work
(
sc
->
hw
,
&
sc
->
tx_complete_work
,
msecs_to_jiffies
(
ATH5K_TX_COMPLETE_POLL_INT
));
}
...
...
drivers/net/wireless/ath/ath9k/ar9002_calib.c
浏览文件 @
f966a13f
...
...
@@ -679,10 +679,6 @@ static bool ar9002_hw_calibrate(struct ath_hw *ah,
/* Do NF cal only at longer intervals */
if
(
longcal
||
nfcal_pending
)
{
/* Do periodic PAOffset Cal */
ar9002_hw_pa_cal
(
ah
,
false
);
ar9002_hw_olc_temp_compensation
(
ah
);
/*
* Get the value from the previous NF cal and update
* history buffer.
...
...
@@ -697,8 +693,12 @@ static bool ar9002_hw_calibrate(struct ath_hw *ah,
ath9k_hw_loadnf
(
ah
,
ah
->
curchan
);
}
if
(
longcal
)
if
(
longcal
)
{
ath9k_hw_start_nfcal
(
ah
,
false
);
/* Do periodic PAOffset Cal */
ar9002_hw_pa_cal
(
ah
,
false
);
ar9002_hw_olc_temp_compensation
(
ah
);
}
}
return
iscaldone
;
...
...
drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
浏览文件 @
f966a13f
...
...
@@ -1842,7 +1842,7 @@ static const u32 ar9300_2p2_soc_preamble[][2] = {
static
const
u32
ar9300PciePhy_pll_on_clkreq_disable_L1_2p2
[][
2
]
=
{
/* Addr allmodes */
{
0x00004040
,
0x08212
e
5e
},
{
0x00004040
,
0x08212
6
5e
},
{
0x00004040
,
0x0008003b
},
{
0x00004044
,
0x00000000
},
};
...
...
drivers/net/wireless/ath/ath9k/ar9003_hw.c
浏览文件 @
f966a13f
...
...
@@ -146,8 +146,8 @@ static void ar9003_hw_init_mode_regs(struct ath_hw *ah)
/* Sleep Setting */
INIT_INI_ARRAY
(
&
ah
->
iniPcieSerdesLowPower
,
ar9300PciePhy_
clkreq_en
able_L1_2p2
,
ARRAY_SIZE
(
ar9300PciePhy_
clkreq_en
able_L1_2p2
),
ar9300PciePhy_
pll_on_clkreq_dis
able_L1_2p2
,
ARRAY_SIZE
(
ar9300PciePhy_
pll_on_clkreq_dis
able_L1_2p2
),
2
);
/* Fast clock modal settings */
...
...
drivers/net/wireless/ath/ath9k/htc.h
浏览文件 @
f966a13f
...
...
@@ -78,7 +78,7 @@ struct tx_frame_hdr {
u8
node_idx
;
u8
vif_idx
;
u8
tidno
;
u
32
flags
;
/* ATH9K_HTC_TX_* */
__be
32
flags
;
/* ATH9K_HTC_TX_* */
u8
key_type
;
u8
keyix
;
u8
reserved
[
26
];
...
...
drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
浏览文件 @
f966a13f
...
...
@@ -113,6 +113,7 @@ int ath9k_htc_tx_start(struct ath9k_htc_priv *priv, struct sk_buff *skb)
if
(
ieee80211_is_data
(
fc
))
{
struct
tx_frame_hdr
tx_hdr
;
u32
flags
=
0
;
u8
*
qc
;
memset
(
&
tx_hdr
,
0
,
sizeof
(
struct
tx_frame_hdr
));
...
...
@@ -136,13 +137,14 @@ int ath9k_htc_tx_start(struct ath9k_htc_priv *priv, struct sk_buff *skb)
/* Check for RTS protection */
if
(
priv
->
hw
->
wiphy
->
rts_threshold
!=
(
u32
)
-
1
)
if
(
skb
->
len
>
priv
->
hw
->
wiphy
->
rts_threshold
)
tx_hdr
.
flags
|=
ATH9K_HTC_TX_RTSCTS
;
flags
|=
ATH9K_HTC_TX_RTSCTS
;
/* CTS-to-self */
if
(
!
(
tx_hdr
.
flags
&
ATH9K_HTC_TX_RTSCTS
)
&&
if
(
!
(
flags
&
ATH9K_HTC_TX_RTSCTS
)
&&
(
priv
->
op_flags
&
OP_PROTECT_ENABLE
))
tx_hdr
.
flags
|=
ATH9K_HTC_TX_CTSONLY
;
flags
|=
ATH9K_HTC_TX_CTSONLY
;
tx_hdr
.
flags
=
cpu_to_be32
(
flags
);
tx_hdr
.
key_type
=
ath9k_cmn_get_hw_crypto_keytype
(
skb
);
if
(
tx_hdr
.
key_type
==
ATH9K_KEY_TYPE_CLEAR
)
tx_hdr
.
keyix
=
(
u8
)
ATH9K_TXKEYIX_INVALID
;
...
...
drivers/net/wireless/iwlwifi/iwl-agn-eeprom.c
浏览文件 @
f966a13f
...
...
@@ -168,7 +168,7 @@ int iwl_eeprom_check_sku(struct iwl_priv *priv)
/* not using .cfg overwrite */
radio_cfg
=
iwl_eeprom_query16
(
priv
,
EEPROM_RADIO_CONFIG
);
priv
->
cfg
->
valid_tx_ant
=
EEPROM_RF_CFG_TX_ANT_MSK
(
radio_cfg
);
priv
->
cfg
->
valid_rx_ant
=
EEPROM_RF_CFG_
T
X_ANT_MSK
(
radio_cfg
);
priv
->
cfg
->
valid_rx_ant
=
EEPROM_RF_CFG_
R
X_ANT_MSK
(
radio_cfg
);
if
(
!
priv
->
cfg
->
valid_tx_ant
||
!
priv
->
cfg
->
valid_rx_ant
)
{
IWL_ERR
(
priv
,
"Invalid chain (0X%x, 0X%x)
\n
"
,
priv
->
cfg
->
valid_tx_ant
,
...
...
drivers/net/wireless/iwmc3200wifi/netdev.c
浏览文件 @
f966a13f
...
...
@@ -126,6 +126,7 @@ void *iwm_if_alloc(int sizeof_bus, struct device *dev,
ndev
=
alloc_netdev_mq
(
0
,
"wlan%d"
,
ether_setup
,
IWM_TX_QUEUES
);
if
(
!
ndev
)
{
dev_err
(
dev
,
"no memory for network device instance
\n
"
);
ret
=
-
ENOMEM
;
goto
out_priv
;
}
...
...
@@ -138,6 +139,7 @@ void *iwm_if_alloc(int sizeof_bus, struct device *dev,
GFP_KERNEL
);
if
(
!
iwm
->
umac_profile
)
{
dev_err
(
dev
,
"Couldn't alloc memory for profile
\n
"
);
ret
=
-
ENOMEM
;
goto
out_profile
;
}
...
...
drivers/net/wireless/rt2x00/rt2x00firmware.c
浏览文件 @
f966a13f
...
...
@@ -58,6 +58,7 @@ static int rt2x00lib_request_firmware(struct rt2x00_dev *rt2x00dev)
if
(
!
fw
||
!
fw
->
size
||
!
fw
->
data
)
{
ERROR
(
rt2x00dev
,
"Failed to read Firmware.
\n
"
);
release_firmware
(
fw
);
return
-
ENOENT
;
}
...
...
include/linux/ieee80211.h
浏览文件 @
f966a13f
...
...
@@ -959,7 +959,7 @@ struct ieee80211_ht_info {
/* block-ack parameters */
#define IEEE80211_ADDBA_PARAM_POLICY_MASK 0x0002
#define IEEE80211_ADDBA_PARAM_TID_MASK 0x003C
#define IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK 0xFF
A
0
#define IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK 0xFF
C
0
#define IEEE80211_DELBA_PARAM_TID_MASK 0xF000
#define IEEE80211_DELBA_PARAM_INITIATOR_MASK 0x0800
...
...
net/mac80211/agg-rx.c
浏览文件 @
f966a13f
...
...
@@ -185,8 +185,6 @@ void ieee80211_process_addba_request(struct ieee80211_local *local,
struct
ieee80211_mgmt
*
mgmt
,
size_t
len
)
{
struct
ieee80211_hw
*
hw
=
&
local
->
hw
;
struct
ieee80211_conf
*
conf
=
&
hw
->
conf
;
struct
tid_ampdu_rx
*
tid_agg_rx
;
u16
capab
,
tid
,
timeout
,
ba_policy
,
buf_size
,
start_seq_num
,
status
;
u8
dialog_token
;
...
...
@@ -231,13 +229,8 @@ void ieee80211_process_addba_request(struct ieee80211_local *local,
goto
end_no_lock
;
}
/* determine default buffer size */
if
(
buf_size
==
0
)
{
struct
ieee80211_supported_band
*
sband
;
sband
=
local
->
hw
.
wiphy
->
bands
[
conf
->
channel
->
band
];
buf_size
=
IEEE80211_MIN_AMPDU_BUF
;
buf_size
=
buf_size
<<
sband
->
ht_cap
.
ampdu_factor
;
}
if
(
buf_size
==
0
)
buf_size
=
IEEE80211_MAX_AMPDU_BUF
;
/* examine state machine */
...
...
net/mac80211/main.c
浏览文件 @
f966a13f
...
...
@@ -39,6 +39,8 @@ module_param(ieee80211_disable_40mhz_24ghz, bool, 0644);
MODULE_PARM_DESC
(
ieee80211_disable_40mhz_24ghz
,
"Disable 40MHz support in the 2.4GHz band"
);
static
struct
lock_class_key
ieee80211_rx_skb_queue_class
;
void
ieee80211_configure_filter
(
struct
ieee80211_local
*
local
)
{
u64
mc
;
...
...
@@ -569,7 +571,15 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len,
spin_lock_init
(
&
local
->
filter_lock
);
spin_lock_init
(
&
local
->
queue_stop_reason_lock
);
skb_queue_head_init
(
&
local
->
rx_skb_queue
);
/*
* The rx_skb_queue is only accessed from tasklets,
* but other SKB queues are used from within IRQ
* context. Therefore, this one needs a different
* locking class so our direct, non-irq-safe use of
* the queue's lock doesn't throw lockdep warnings.
*/
skb_queue_head_init_class
(
&
local
->
rx_skb_queue
,
&
ieee80211_rx_skb_queue_class
);
INIT_DELAYED_WORK
(
&
local
->
scan_work
,
ieee80211_scan_work
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录