Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
73c8daa0
Commit
73c8daa0
authored
Mar 06, 2014
by
John W. Linville
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-john' of
git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211
parents
9b8ba9f5
864a6040
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 deletions
+8
-2
net/mac80211/chan.c
net/mac80211/chan.c
+6
-0
net/mac80211/mesh_ps.c
net/mac80211/mesh_ps.c
+1
-0
net/mac80211/sta_info.c
net/mac80211/sta_info.c
+1
-0
net/wireless/core.c
net/wireless/core.c
+0
-2
No files found.
net/mac80211/chan.c
View file @
73c8daa0
...
...
@@ -100,6 +100,12 @@ ieee80211_get_chanctx_max_required_bw(struct ieee80211_local *local,
}
max_bw
=
max
(
max_bw
,
width
);
}
/* use the configured bandwidth in case of monitor interface */
sdata
=
rcu_dereference
(
local
->
monitor_sdata
);
if
(
sdata
&&
rcu_access_pointer
(
sdata
->
vif
.
chanctx_conf
)
==
conf
)
max_bw
=
max
(
max_bw
,
conf
->
def
.
width
);
rcu_read_unlock
();
return
max_bw
;
...
...
net/mac80211/mesh_ps.c
View file @
73c8daa0
...
...
@@ -36,6 +36,7 @@ static struct sk_buff *mps_qos_null_get(struct sta_info *sta)
sdata
->
vif
.
addr
);
nullfunc
->
frame_control
=
fc
;
nullfunc
->
duration_id
=
0
;
nullfunc
->
seq_ctrl
=
0
;
/* no address resolution for this frame -> set addr 1 immediately */
memcpy
(
nullfunc
->
addr1
,
sta
->
sta
.
addr
,
ETH_ALEN
);
memset
(
skb_put
(
skb
,
2
),
0
,
2
);
/* append QoS control field */
...
...
net/mac80211/sta_info.c
View file @
73c8daa0
...
...
@@ -1206,6 +1206,7 @@ static void ieee80211_send_null_response(struct ieee80211_sub_if_data *sdata,
memcpy
(
nullfunc
->
addr1
,
sta
->
sta
.
addr
,
ETH_ALEN
);
memcpy
(
nullfunc
->
addr2
,
sdata
->
vif
.
addr
,
ETH_ALEN
);
memcpy
(
nullfunc
->
addr3
,
sdata
->
vif
.
addr
,
ETH_ALEN
);
nullfunc
->
seq_ctrl
=
0
;
skb
->
priority
=
tid
;
skb_set_queue_mapping
(
skb
,
ieee802_1d_to_ac
[
tid
]);
...
...
net/wireless/core.c
View file @
73c8daa0
...
...
@@ -788,8 +788,6 @@ void cfg80211_leave(struct cfg80211_registered_device *rdev,
default:
break
;
}
wdev
->
beacon_interval
=
0
;
}
static
int
cfg80211_netdev_notifier_call
(
struct
notifier_block
*
nb
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment