Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
b41f5bff
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
b41f5bff
编写于
4月 09, 2008
作者:
D
David S. Miller
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
上级
bcf0dda8
e91e9d49
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
53 addition
and
21 deletion
+53
-21
drivers/net/wireless/ipw2200.c
drivers/net/wireless/ipw2200.c
+1
-0
drivers/net/wireless/iwlwifi/Kconfig
drivers/net/wireless/iwlwifi/Kconfig
+0
-1
drivers/net/wireless/libertas/assoc.c
drivers/net/wireless/libertas/assoc.c
+1
-1
drivers/net/wireless/rt2x00/rt61pci.c
drivers/net/wireless/rt2x00/rt61pci.c
+1
-3
drivers/ssb/driver_mipscore.c
drivers/ssb/driver_mipscore.c
+7
-6
drivers/ssb/driver_pcicore.c
drivers/ssb/driver_pcicore.c
+1
-1
drivers/ssb/main.c
drivers/ssb/main.c
+6
-0
net/mac80211/ieee80211_sta.c
net/mac80211/ieee80211_sta.c
+35
-8
net/wireless/nl80211.c
net/wireless/nl80211.c
+1
-1
未找到文件。
drivers/net/wireless/ipw2200.c
浏览文件 @
b41f5bff
...
...
@@ -11577,6 +11577,7 @@ static int ipw_prom_alloc(struct ipw_priv *priv)
priv
->
prom_priv
->
priv
=
priv
;
strcpy
(
priv
->
prom_net_dev
->
name
,
"rtap%d"
);
memcpy
(
priv
->
prom_net_dev
->
dev_addr
,
priv
->
mac_addr
,
ETH_ALEN
);
priv
->
prom_net_dev
->
type
=
ARPHRD_IEEE80211_RADIOTAP
;
priv
->
prom_net_dev
->
open
=
ipw_prom_open
;
...
...
drivers/net/wireless/iwlwifi/Kconfig
浏览文件 @
b41f5bff
...
...
@@ -35,7 +35,6 @@ config IWL4965_HT
bool "Enable 802.11n HT features in iwl4965 driver"
depends on EXPERIMENTAL
depends on IWL4965 && IWL4965_QOS
depends on n
---help---
This option enables IEEE 802.11n High Throughput features
for the iwl4965 driver.
...
...
drivers/net/wireless/libertas/assoc.c
浏览文件 @
b41f5bff
...
...
@@ -541,7 +541,7 @@ void lbs_association_worker(struct work_struct *work)
}
if
(
find_any_ssid
)
{
u8
new_mode
;
u8
new_mode
=
assoc_req
->
mode
;
ret
=
lbs_find_best_network_ssid
(
priv
,
assoc_req
->
ssid
,
&
assoc_req
->
ssid_len
,
assoc_req
->
mode
,
&
new_mode
);
...
...
drivers/net/wireless/rt2x00/rt61pci.c
浏览文件 @
b41f5bff
...
...
@@ -2399,10 +2399,8 @@ static int rt61pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb,
* beacon frame.
*/
if
(
skb_headroom
(
skb
)
<
TXD_DESC_SIZE
)
{
if
(
pskb_expand_head
(
skb
,
TXD_DESC_SIZE
,
0
,
GFP_ATOMIC
))
{
dev_kfree_skb
(
skb
);
if
(
pskb_expand_head
(
skb
,
TXD_DESC_SIZE
,
0
,
GFP_ATOMIC
))
return
-
ENOMEM
;
}
}
/*
...
...
drivers/ssb/driver_mipscore.c
浏览文件 @
b41f5bff
...
...
@@ -109,12 +109,13 @@ static void set_irq(struct ssb_device *dev, unsigned int irq)
clear_irq
(
bus
,
oldirq
);
/* assign the new one */
if
(
irq
==
0
)
ssb_write32
(
mdev
,
SSB_INTVEC
,
((
1
<<
irqflag
)
&
ssb_read32
(
mdev
,
SSB_INTVEC
)));
irqflag
<<=
ipsflag_irq_shift
[
irq
];
irqflag
|=
(
ssb_read32
(
mdev
,
SSB_IPSFLAG
)
&
~
ipsflag_irq_mask
[
irq
]);
ssb_write32
(
mdev
,
SSB_IPSFLAG
,
irqflag
);
if
(
irq
==
0
)
{
ssb_write32
(
mdev
,
SSB_INTVEC
,
((
1
<<
irqflag
)
|
ssb_read32
(
mdev
,
SSB_INTVEC
)));
}
else
{
irqflag
<<=
ipsflag_irq_shift
[
irq
];
irqflag
|=
(
ssb_read32
(
mdev
,
SSB_IPSFLAG
)
&
~
ipsflag_irq_mask
[
irq
]);
ssb_write32
(
mdev
,
SSB_IPSFLAG
,
irqflag
);
}
}
static
void
ssb_mips_serial_init
(
struct
ssb_mipscore
*
mcore
)
...
...
drivers/ssb/driver_pcicore.c
浏览文件 @
b41f5bff
...
...
@@ -551,7 +551,7 @@ int ssb_pcicore_dev_irqvecs_enable(struct ssb_pcicore *pc,
}
else
{
tmp
=
ssb_read32
(
dev
,
SSB_TPSFLAG
);
tmp
&=
SSB_TPSFLAG_BPFLAG
;
intvec
|=
tmp
;
intvec
|=
(
1
<<
tmp
)
;
}
ssb_write32
(
pdev
,
SSB_INTVEC
,
intvec
);
}
...
...
drivers/ssb/main.c
浏览文件 @
b41f5bff
...
...
@@ -1044,6 +1044,12 @@ int ssb_bus_may_powerdown(struct ssb_bus *bus)
goto
out
;
cc
=
&
bus
->
chipco
;
if
(
!
cc
->
dev
)
goto
out
;
if
(
cc
->
dev
->
id
.
revision
<
5
)
goto
out
;
ssb_chipco_set_clockmode
(
cc
,
SSB_CLKMODE_SLOW
);
err
=
ssb_pci_xtal
(
bus
,
SSB_GPIO_XTAL
|
SSB_GPIO_PLL
,
0
);
if
(
err
)
...
...
net/mac80211/ieee80211_sta.c
浏览文件 @
b41f5bff
...
...
@@ -312,14 +312,12 @@ static void ieee80211_sta_wmm_params(struct net_device *dev,
}
}
static
u32
ieee80211_handle_erp_ie
(
struct
ieee80211_sub_if_data
*
sdata
,
u8
erp_valu
e
)
static
u32
ieee80211_handle_protect_preamb
(
struct
ieee80211_sub_if_data
*
sdata
,
bool
use_protection
,
bool
use_short_preambl
e
)
{
struct
ieee80211_bss_conf
*
bss_conf
=
&
sdata
->
bss_conf
;
struct
ieee80211_if_sta
*
ifsta
=
&
sdata
->
u
.
sta
;
bool
use_protection
=
(
erp_value
&
WLAN_ERP_USE_PROTECTION
)
!=
0
;
bool
use_short_preamble
=
(
erp_value
&
WLAN_ERP_BARKER_PREAMBLE
)
==
0
;
DECLARE_MAC_BUF
(
mac
);
u32
changed
=
0
;
...
...
@@ -350,6 +348,32 @@ static u32 ieee80211_handle_erp_ie(struct ieee80211_sub_if_data *sdata,
return
changed
;
}
static
u32
ieee80211_handle_erp_ie
(
struct
ieee80211_sub_if_data
*
sdata
,
u8
erp_value
)
{
bool
use_protection
=
(
erp_value
&
WLAN_ERP_USE_PROTECTION
)
!=
0
;
bool
use_short_preamble
=
(
erp_value
&
WLAN_ERP_BARKER_PREAMBLE
)
==
0
;
return
ieee80211_handle_protect_preamb
(
sdata
,
use_protection
,
use_short_preamble
);
}
static
u32
ieee80211_handle_bss_capability
(
struct
ieee80211_sub_if_data
*
sdata
,
struct
ieee80211_sta_bss
*
bss
)
{
u32
changed
=
0
;
if
(
bss
->
has_erp_value
)
changed
|=
ieee80211_handle_erp_ie
(
sdata
,
bss
->
erp_value
);
else
{
u16
capab
=
bss
->
capability
;
changed
|=
ieee80211_handle_protect_preamb
(
sdata
,
false
,
(
capab
&
WLAN_CAPABILITY_SHORT_PREAMBLE
)
!=
0
);
}
return
changed
;
}
int
ieee80211_ht_cap_ie_to_ht_info
(
struct
ieee80211_ht_cap
*
ht_cap_ie
,
struct
ieee80211_ht_info
*
ht_info
)
{
...
...
@@ -468,9 +492,7 @@ static void ieee80211_set_associated(struct net_device *dev,
local
->
hw
.
conf
.
channel
,
ifsta
->
ssid
,
ifsta
->
ssid_len
);
if
(
bss
)
{
if
(
bss
->
has_erp_value
)
changed
|=
ieee80211_handle_erp_ie
(
sdata
,
bss
->
erp_value
);
changed
|=
ieee80211_handle_bss_capability
(
sdata
,
bss
);
ieee80211_rx_bss_put
(
dev
,
bss
);
}
...
...
@@ -2116,6 +2138,11 @@ static void ieee80211_rx_mgmt_beacon(struct net_device *dev,
if
(
elems
.
erp_info
&&
elems
.
erp_info_len
>=
1
)
changed
|=
ieee80211_handle_erp_ie
(
sdata
,
elems
.
erp_info
[
0
]);
else
{
u16
capab
=
le16_to_cpu
(
mgmt
->
u
.
beacon
.
capab_info
);
changed
|=
ieee80211_handle_protect_preamb
(
sdata
,
false
,
(
capab
&
WLAN_CAPABILITY_SHORT_PREAMBLE
)
!=
0
);
}
if
(
elems
.
ht_cap_elem
&&
elems
.
ht_info_elem
&&
elems
.
wmm_param
&&
local
->
ops
->
conf_ht
&&
...
...
net/wireless/nl80211.c
浏览文件 @
b41f5bff
...
...
@@ -945,7 +945,7 @@ static int nl80211_new_station(struct sk_buff *skb, struct genl_info *info)
nla_len
(
info
->
attrs
[
NL80211_ATTR_STA_SUPPORTED_RATES
]);
params
.
listen_interval
=
nla_get_u16
(
info
->
attrs
[
NL80211_ATTR_STA_LISTEN_INTERVAL
]);
params
.
listen_interval
=
nla_get_u16
(
info
->
attrs
[
NL80211_ATTR_STA_AID
]);
params
.
aid
=
nla_get_u16
(
info
->
attrs
[
NL80211_ATTR_STA_AID
]);
if
(
parse_station_flags
(
info
->
attrs
[
NL80211_ATTR_STA_FLAGS
],
&
params
.
station_flags
))
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录