Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
1f7e0102
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看板
提交
1f7e0102
编写于
6月 13, 2012
作者:
J
John W. Linville
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-john' of
git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211
上级
6ddcd464
79543d8e
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
18 addition
and
4 deletion
+18
-4
include/net/mac80211.h
include/net/mac80211.h
+6
-0
net/mac80211/cfg.c
net/mac80211/cfg.c
+3
-0
net/mac80211/mlme.c
net/mac80211/mlme.c
+2
-2
net/mac80211/sta_info.h
net/mac80211/sta_info.h
+5
-0
net/wireless/reg.c
net/wireless/reg.c
+1
-1
net/wireless/util.c
net/wireless/util.c
+1
-1
未找到文件。
include/net/mac80211.h
浏览文件 @
1f7e0102
...
...
@@ -1940,6 +1940,11 @@ enum ieee80211_rate_control_changed {
* to also unregister the device. If it returns 1, then mac80211
* will also go through the regular complete restart on resume.
*
* @set_wakeup: Enable or disable wakeup when WoWLAN configuration is
* modified. The reason is that device_set_wakeup_enable() is
* supposed to be called when the configuration changes, not only
* in suspend().
*
* @add_interface: Called when a netdevice attached to the hardware is
* enabled. Because it is not called for monitor mode devices, @start
* and @stop must be implemented.
...
...
@@ -2966,6 +2971,7 @@ __le16 ieee80211_ctstoself_duration(struct ieee80211_hw *hw,
* ieee80211_generic_frame_duration - Calculate the duration field for a frame
* @hw: pointer obtained from ieee80211_alloc_hw().
* @vif: &struct ieee80211_vif pointer from the add_interface callback.
* @band: the band to calculate the frame duration on
* @frame_len: the length of the frame.
* @rate: the rate at which the frame is going to be transmitted.
*
...
...
net/mac80211/cfg.c
浏览文件 @
1f7e0102
...
...
@@ -2093,6 +2093,9 @@ static int ieee80211_set_bitrate_mask(struct wiphy *wiphy,
struct
ieee80211_local
*
local
=
wdev_priv
(
dev
->
ieee80211_ptr
);
int
i
,
ret
;
if
(
!
ieee80211_sdata_running
(
sdata
))
return
-
ENETDOWN
;
if
(
local
->
hw
.
flags
&
IEEE80211_HW_HAS_RATE_CONTROL
)
{
ret
=
drv_set_bitrate_mask
(
local
,
sdata
,
mask
);
if
(
ret
)
...
...
net/mac80211/mlme.c
浏览文件 @
1f7e0102
...
...
@@ -1352,6 +1352,8 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata,
if
(
WARN_ON
(
!
ifmgd
->
associated
))
return
;
ieee80211_stop_poll
(
sdata
);
memcpy
(
bssid
,
ifmgd
->
associated
->
bssid
,
ETH_ALEN
);
ifmgd
->
associated
=
NULL
;
...
...
@@ -2612,8 +2614,6 @@ static void ieee80211_sta_connection_lost(struct ieee80211_sub_if_data *sdata,
struct
ieee80211_if_managed
*
ifmgd
=
&
sdata
->
u
.
mgd
;
u8
frame_buf
[
DEAUTH_DISASSOC_LEN
];
ieee80211_stop_poll
(
sdata
);
ieee80211_set_disassoc
(
sdata
,
IEEE80211_STYPE_DEAUTH
,
reason
,
false
,
frame_buf
);
mutex_unlock
(
&
ifmgd
->
mtx
);
...
...
net/mac80211/sta_info.h
浏览文件 @
1f7e0102
...
...
@@ -271,6 +271,9 @@ struct sta_ampdu_mlme {
* @plink_timer: peer link watch timer
* @plink_timer_was_running: used by suspend/resume to restore timers
* @t_offset: timing offset relative to this host
* @t_offset_setpoint: reference timing offset of this sta to be used when
* calculating clockdrift
* @ch_type: peer's channel type
* @debugfs: debug filesystem info
* @dead: set to true when sta is unlinked
* @uploaded: set to true when sta is uploaded to the driver
...
...
@@ -278,6 +281,8 @@ struct sta_ampdu_mlme {
* @sta: station information we share with the driver
* @sta_state: duplicates information about station state (for debug)
* @beacon_loss_count: number of times beacon loss has triggered
* @supports_40mhz: tracks whether the station advertised 40 MHz support
* as we overwrite its HT parameters with the currently used value
*/
struct
sta_info
{
/* General information, mostly static */
...
...
net/wireless/reg.c
浏览文件 @
1f7e0102
...
...
@@ -1389,7 +1389,7 @@ static void reg_set_request_processed(void)
spin_unlock
(
&
reg_requests_lock
);
if
(
last_request
->
initiator
==
NL80211_REGDOM_SET_BY_USER
)
cancel_delayed_work
_sync
(
&
reg_timeout
);
cancel_delayed_work
(
&
reg_timeout
);
if
(
need_more_processing
)
schedule_work
(
&
reg_work
);
...
...
net/wireless/util.c
浏览文件 @
1f7e0102
...
...
@@ -804,7 +804,7 @@ int cfg80211_change_iface(struct cfg80211_registered_device *rdev,
ntype
==
NL80211_IFTYPE_P2P_CLIENT
))
return
-
EBUSY
;
if
(
ntype
!=
otype
)
{
if
(
ntype
!=
otype
&&
netif_running
(
dev
)
)
{
err
=
cfg80211_can_change_interface
(
rdev
,
dev
->
ieee80211_ptr
,
ntype
);
if
(
err
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录