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
0eeb315b
Commit
0eeb315b
authored
Jul 22, 2014
by
John W. Linville
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes
parents
7fc94272
46018794
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
+13
-2
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mac80211.c
+0
-7
No files found.
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
View file @
0eeb315b
...
@@ -1072,8 +1072,12 @@ static int iwl_mvm_mac_ctxt_cmd_ap(struct iwl_mvm *mvm,
...
@@ -1072,8 +1072,12 @@ static int iwl_mvm_mac_ctxt_cmd_ap(struct iwl_mvm *mvm,
/* Fill the common data for all mac context types */
/* Fill the common data for all mac context types */
iwl_mvm_mac_ctxt_cmd_common
(
mvm
,
vif
,
&
cmd
,
action
);
iwl_mvm_mac_ctxt_cmd_common
(
mvm
,
vif
,
&
cmd
,
action
);
/* Also enable probe requests to pass */
/*
cmd
.
filter_flags
|=
cpu_to_le32
(
MAC_FILTER_IN_PROBE_REQUEST
);
* pass probe requests and beacons from other APs (needed
* for ht protection)
*/
cmd
.
filter_flags
|=
cpu_to_le32
(
MAC_FILTER_IN_PROBE_REQUEST
|
MAC_FILTER_IN_BEACON
);
/* Fill the data specific for ap mode */
/* Fill the data specific for ap mode */
iwl_mvm_mac_ctxt_cmd_fill_ap
(
mvm
,
vif
,
&
cmd
.
ap
,
iwl_mvm_mac_ctxt_cmd_fill_ap
(
mvm
,
vif
,
&
cmd
.
ap
,
...
@@ -1094,6 +1098,13 @@ static int iwl_mvm_mac_ctxt_cmd_go(struct iwl_mvm *mvm,
...
@@ -1094,6 +1098,13 @@ static int iwl_mvm_mac_ctxt_cmd_go(struct iwl_mvm *mvm,
/* Fill the common data for all mac context types */
/* Fill the common data for all mac context types */
iwl_mvm_mac_ctxt_cmd_common
(
mvm
,
vif
,
&
cmd
,
action
);
iwl_mvm_mac_ctxt_cmd_common
(
mvm
,
vif
,
&
cmd
,
action
);
/*
* pass probe requests and beacons from other APs (needed
* for ht protection)
*/
cmd
.
filter_flags
|=
cpu_to_le32
(
MAC_FILTER_IN_PROBE_REQUEST
|
MAC_FILTER_IN_BEACON
);
/* Fill the data specific for GO mode */
/* Fill the data specific for GO mode */
iwl_mvm_mac_ctxt_cmd_fill_ap
(
mvm
,
vif
,
&
cmd
.
go
.
ap
,
iwl_mvm_mac_ctxt_cmd_fill_ap
(
mvm
,
vif
,
&
cmd
.
go
.
ap
,
action
==
FW_CTXT_ACTION_ADD
);
action
==
FW_CTXT_ACTION_ADD
);
...
...
drivers/net/wireless/iwlwifi/mvm/mac80211.c
View file @
0eeb315b
...
@@ -303,13 +303,6 @@ int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm)
...
@@ -303,13 +303,6 @@ int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm)
hw
->
uapsd_max_sp_len
=
IWL_UAPSD_MAX_SP
;
hw
->
uapsd_max_sp_len
=
IWL_UAPSD_MAX_SP
;
}
}
if
(
mvm
->
fw
->
ucode_capa
.
flags
&
IWL_UCODE_TLV_FLAGS_UAPSD_SUPPORT
&&
!
iwlwifi_mod_params
.
uapsd_disable
)
{
hw
->
flags
|=
IEEE80211_HW_SUPPORTS_UAPSD
;
hw
->
uapsd_queues
=
IWL_UAPSD_AC_INFO
;
hw
->
uapsd_max_sp_len
=
IWL_UAPSD_MAX_SP
;
}
hw
->
sta_data_size
=
sizeof
(
struct
iwl_mvm_sta
);
hw
->
sta_data_size
=
sizeof
(
struct
iwl_mvm_sta
);
hw
->
vif_data_size
=
sizeof
(
struct
iwl_mvm_vif
);
hw
->
vif_data_size
=
sizeof
(
struct
iwl_mvm_vif
);
hw
->
chanctx_data_size
=
sizeof
(
u16
);
hw
->
chanctx_data_size
=
sizeof
(
u16
);
...
...
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