Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
4a3e12fd
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看板
提交
4a3e12fd
编写于
9月 07, 2012
作者:
J
John W. Linville
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-john' of
git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
上级
a4881cc4
768be59f
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
18 addition
and
17 deletion
+18
-17
include/net/cfg80211.h
include/net/cfg80211.h
+1
-0
net/mac80211/iface.c
net/mac80211/iface.c
+9
-7
net/mac80211/rx.c
net/mac80211/rx.c
+1
-1
net/wireless/reg.c
net/wireless/reg.c
+2
-4
net/wireless/scan.c
net/wireless/scan.c
+1
-1
net/wireless/wext-core.c
net/wireless/wext-core.c
+4
-4
未找到文件。
include/net/cfg80211.h
浏览文件 @
4a3e12fd
...
...
@@ -243,6 +243,7 @@ struct ieee80211_sta_vht_cap {
* rates" IE, i.e. CCK rates first, then OFDM.
* @n_bitrates: Number of bitrates in @bitrates
* @ht_cap: HT capabilities in this band
* @vht_cap: VHT capabilities in this band
*/
struct
ieee80211_supported_band
{
struct
ieee80211_channel
*
channels
;
...
...
net/mac80211/iface.c
浏览文件 @
4a3e12fd
...
...
@@ -278,13 +278,15 @@ static int ieee80211_check_queues(struct ieee80211_sub_if_data *sdata)
int
n_queues
=
sdata
->
local
->
hw
.
queues
;
int
i
;
for
(
i
=
0
;
i
<
IEEE80211_NUM_ACS
;
i
++
)
{
if
(
WARN_ON_ONCE
(
sdata
->
vif
.
hw_queue
[
i
]
==
IEEE80211_INVAL_HW_QUEUE
))
return
-
EINVAL
;
if
(
WARN_ON_ONCE
(
sdata
->
vif
.
hw_queue
[
i
]
>=
n_queues
))
return
-
EINVAL
;
if
(
sdata
->
vif
.
type
!=
NL80211_IFTYPE_P2P_DEVICE
)
{
for
(
i
=
0
;
i
<
IEEE80211_NUM_ACS
;
i
++
)
{
if
(
WARN_ON_ONCE
(
sdata
->
vif
.
hw_queue
[
i
]
==
IEEE80211_INVAL_HW_QUEUE
))
return
-
EINVAL
;
if
(
WARN_ON_ONCE
(
sdata
->
vif
.
hw_queue
[
i
]
>=
n_queues
))
return
-
EINVAL
;
}
}
if
((
sdata
->
vif
.
type
!=
NL80211_IFTYPE_AP
)
||
...
...
net/mac80211/rx.c
浏览文件 @
4a3e12fd
...
...
@@ -103,7 +103,7 @@ ieee80211_rx_radiotap_len(struct ieee80211_local *local,
return
len
;
}
/*
*
/*
* ieee80211_add_rx_radiotap_header - add radiotap header
*
* add a radiotap header containing all the fields which the hardware provided.
...
...
net/wireless/reg.c
浏览文件 @
4a3e12fd
...
...
@@ -1932,8 +1932,7 @@ static void restore_regulatory_settings(bool reset_user)
if
(
reg_request
->
initiator
!=
NL80211_REGDOM_SET_BY_USER
)
continue
;
list_del
(
&
reg_request
->
list
);
list_add_tail
(
&
reg_request
->
list
,
&
tmp_reg_req_list
);
list_move_tail
(
&
reg_request
->
list
,
&
tmp_reg_req_list
);
}
}
spin_unlock
(
&
reg_requests_lock
);
...
...
@@ -1992,8 +1991,7 @@ static void restore_regulatory_settings(bool reset_user)
"into the queue
\n
"
,
reg_request
->
alpha2
[
0
],
reg_request
->
alpha2
[
1
]);
list_del
(
&
reg_request
->
list
);
list_add_tail
(
&
reg_request
->
list
,
&
reg_requests_list
);
list_move_tail
(
&
reg_request
->
list
,
&
reg_requests_list
);
}
spin_unlock
(
&
reg_requests_lock
);
...
...
net/wireless/scan.c
浏览文件 @
4a3e12fd
...
...
@@ -815,7 +815,7 @@ cfg80211_inform_bss_frame(struct wiphy *wiphy,
return
NULL
;
if
(
WARN_ON
(
wiphy
->
signal_type
==
CFG80211_SIGNAL_TYPE_UNSPEC
&&
(
signal
<
0
||
signal
>
100
)))
(
signal
<
0
||
signal
>
100
)))
return
NULL
;
if
(
WARN_ON
(
len
<
offsetof
(
struct
ieee80211_mgmt
,
u
.
probe_resp
.
variable
)))
...
...
net/wireless/wext-core.c
浏览文件 @
4a3e12fd
...
...
@@ -478,13 +478,13 @@ void wireless_send_event(struct net_device * dev,
if
(
descr
->
header_type
==
IW_HEADER_TYPE_POINT
)
{
/* Check if number of token fits within bounds */
if
(
wrqu
->
data
.
length
>
descr
->
max_tokens
)
{
netdev_err
(
dev
,
"(WE) : Wireless Event too big (%d)
\n
"
,
wrqu
->
data
.
length
);
netdev_err
(
dev
,
"(WE) : Wireless Event
(cmd=0x%04X)
too big (%d)
\n
"
,
cmd
,
wrqu
->
data
.
length
);
return
;
}
if
(
wrqu
->
data
.
length
<
descr
->
min_tokens
)
{
netdev_err
(
dev
,
"(WE) : Wireless Event too small (%d)
\n
"
,
wrqu
->
data
.
length
);
netdev_err
(
dev
,
"(WE) : Wireless Event
(cmd=0x%04X)
too small (%d)
\n
"
,
cmd
,
wrqu
->
data
.
length
);
return
;
}
/* Calculate extra_len - extra is NULL for restricted events */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录