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
nexedi
linux
Commits
cb180840
Commit
cb180840
authored
Jun 12, 2013
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/iwlwifi/iwlwifi-next
parents
5631becb
8eb38710
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
28 deletions
+10
-28
drivers/net/wireless/iwlwifi/iwl-drv.h
drivers/net/wireless/iwlwifi/iwl-drv.h
+1
-2
drivers/net/wireless/iwlwifi/iwl-phy-db.c
drivers/net/wireless/iwlwifi/iwl-phy-db.c
+3
-0
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
+1
-4
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mac80211.c
+4
-5
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/mvm.h
+0
-5
drivers/net/wireless/iwlwifi/mvm/sta.c
drivers/net/wireless/iwlwifi/mvm/sta.c
+1
-10
drivers/net/wireless/iwlwifi/mvm/sta.h
drivers/net/wireless/iwlwifi/mvm/sta.h
+0
-2
No files found.
drivers/net/wireless/iwlwifi/iwl-drv.h
View file @
cb180840
...
...
@@ -62,8 +62,7 @@
#ifndef __iwl_drv_h__
#define __iwl_drv_h__
#include <linux/module.h>
#include <linux/export.h>
/* for all modules */
#define DRV_NAME "iwlwifi"
...
...
drivers/net/wireless/iwlwifi/iwl-phy-db.c
View file @
cb180840
...
...
@@ -413,6 +413,9 @@ static int iwl_phy_db_send_all_channel_groups(
if
(
!
entry
)
return
-
EINVAL
;
if
(
WARN_ON_ONCE
(
!
entry
->
size
))
continue
;
/* Send the requested PHY DB section */
err
=
iwl_send_phy_db_cmd
(
phy_db
,
type
,
...
...
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
View file @
cb180840
...
...
@@ -193,14 +193,11 @@ static void iwl_mvm_mac_iface_iterator(void *_data, u8 *mac,
u32
iwl_mvm_mac_get_queues_mask
(
struct
iwl_mvm
*
mvm
,
struct
ieee80211_vif
*
vif
)
{
u32
qmask
,
ac
;
u32
qmask
=
0
,
ac
;
if
(
vif
->
type
==
NL80211_IFTYPE_P2P_DEVICE
)
return
BIT
(
IWL_MVM_OFFCHANNEL_QUEUE
);
qmask
=
(
vif
->
cab_queue
!=
IEEE80211_INVAL_HW_QUEUE
)
?
BIT
(
vif
->
cab_queue
)
:
0
;
for
(
ac
=
0
;
ac
<
IEEE80211_NUM_ACS
;
ac
++
)
if
(
vif
->
hw_queue
[
ac
]
!=
IEEE80211_INVAL_HW_QUEUE
)
qmask
|=
BIT
(
vif
->
hw_queue
[
ac
]);
...
...
drivers/net/wireless/iwlwifi/mvm/mac80211.c
View file @
cb180840
...
...
@@ -81,12 +81,12 @@
static
const
struct
ieee80211_iface_limit
iwl_mvm_limits
[]
=
{
{
.
max
=
1
,
.
types
=
BIT
(
NL80211_IFTYPE_STATION
)
|
BIT
(
NL80211_IFTYPE_AP
),
.
types
=
BIT
(
NL80211_IFTYPE_STATION
),
},
{
.
max
=
1
,
.
types
=
BIT
(
NL80211_IFTYPE_P2P_CLIENT
)
|
.
types
=
BIT
(
NL80211_IFTYPE_AP
)
|
BIT
(
NL80211_IFTYPE_P2P_CLIENT
)
|
BIT
(
NL80211_IFTYPE_P2P_GO
),
},
{
...
...
@@ -651,8 +651,7 @@ static void iwl_mvm_prepare_mac_removal(struct iwl_mvm *mvm,
* By now, all the AC queues are empty. The AGG queues are
* empty too. We already got all the Tx responses for all the
* packets in the queues. The drain work can have been
* triggered. Flush it. This work item takes the mutex, so kill
* it before we take it.
* triggered. Flush it.
*/
flush_work
(
&
mvm
->
sta_drained_wk
);
}
...
...
drivers/net/wireless/iwlwifi/mvm/mvm.h
View file @
cb180840
...
...
@@ -689,16 +689,11 @@ void iwl_mvm_bt_coex_vif_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
void
iwl_mvm_beacon_filter_debugfs_parameters
(
struct
ieee80211_vif
*
vif
,
struct
iwl_beacon_filter_cmd
*
cmd
);
int
iwl_mvm_dbgfs_set_fw_dbg_log
(
struct
iwl_mvm
*
mvm
);
#else
static
inline
void
iwl_mvm_beacon_filter_debugfs_parameters
(
struct
ieee80211_vif
*
vif
,
struct
iwl_beacon_filter_cmd
*
cmd
)
{}
static
inline
int
iwl_mvm_dbgfs_set_fw_dbg_log
(
struct
iwl_mvm
*
mvm
)
{
return
0
;
}
#endif
int
iwl_mvm_enable_beacon_filter
(
struct
iwl_mvm
*
mvm
,
struct
ieee80211_vif
*
vif
);
...
...
drivers/net/wireless/iwlwifi/mvm/sta.c
View file @
cb180840
...
...
@@ -229,9 +229,6 @@ int iwl_mvm_add_sta(struct iwl_mvm *mvm,
if
(
vif
->
hw_queue
[
i
]
!=
IEEE80211_INVAL_HW_QUEUE
)
mvm_sta
->
tfd_queue_msk
|=
BIT
(
vif
->
hw_queue
[
i
]);
if
(
vif
->
cab_queue
!=
IEEE80211_INVAL_HW_QUEUE
)
mvm_sta
->
tfd_queue_msk
|=
BIT
(
vif
->
cab_queue
);
/* for HW restart - need to reset the seq_number etc... */
memset
(
mvm_sta
->
tid_data
,
0
,
sizeof
(
mvm_sta
->
tid_data
));
...
...
@@ -1292,17 +1289,11 @@ void iwl_mvm_sta_modify_ps_wake(struct iwl_mvm *mvm,
struct
iwl_mvm_add_sta_cmd
cmd
=
{
.
add_modify
=
STA_MODE_MODIFY
,
.
sta_id
=
mvmsta
->
sta_id
,
.
modify_mask
=
STA_MODIFY_SLEEPING_STA_TX_COUNT
,
.
sleep_state_flags
=
cpu_to_le16
(
STA_SLEEP_STATE_AWAKE
),
.
station_flags_msk
=
cpu_to_le32
(
STA_FLG_PS
),
.
mac_id_n_color
=
cpu_to_le32
(
mvmsta
->
mac_id_n_color
),
};
int
ret
;
/*
* Same modify mask for sleep_tx_count and sleep_state_flags but this
* should be fine since if we set the STA as "awake", then
* sleep_tx_count is not relevant.
*/
ret
=
iwl_mvm_send_cmd_pdu
(
mvm
,
ADD_STA
,
CMD_ASYNC
,
sizeof
(
cmd
),
&
cmd
);
if
(
ret
)
IWL_ERR
(
mvm
,
"Failed to send ADD_STA command (%d)
\n
"
,
ret
);
...
...
drivers/net/wireless/iwlwifi/mvm/sta.h
View file @
cb180840
...
...
@@ -250,7 +250,6 @@ enum iwl_mvm_agg_state {
* the first packet to be sent in legacy HW queue in Tx AGG stop flow.
* Basically when next_reclaimed reaches ssn, we can tell mac80211 that
* we are ready to finish the Tx AGG stop / start flow.
* @wait_for_ba: Expect block-ack before next Tx reply
*/
struct
iwl_mvm_tid_data
{
u16
seq_number
;
...
...
@@ -260,7 +259,6 @@ struct iwl_mvm_tid_data {
enum
iwl_mvm_agg_state
state
;
u16
txq_id
;
u16
ssn
;
bool
wait_for_ba
;
};
/**
...
...
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