Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
4227f62d
Commit
4227f62d
authored
Mar 18, 2010
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
parents
0641e4fb
c8406ea8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
22 deletions
+4
-22
drivers/net/wireless/ath/ath9k/xmit.c
drivers/net/wireless/ath/ath9k/xmit.c
+1
-20
drivers/net/wireless/iwlwifi/iwl-tx.c
drivers/net/wireless/iwlwifi/iwl-tx.c
+1
-1
drivers/net/wireless/wl12xx/wl1251_debugfs.c
drivers/net/wireless/wl12xx/wl1251_debugfs.c
+2
-1
No files found.
drivers/net/wireless/ath/ath9k/xmit.c
View file @
4227f62d
...
@@ -1353,25 +1353,6 @@ static enum ath9k_pkt_type get_hw_packet_type(struct sk_buff *skb)
...
@@ -1353,25 +1353,6 @@ static enum ath9k_pkt_type get_hw_packet_type(struct sk_buff *skb)
return
htype
;
return
htype
;
}
}
static
bool
is_pae
(
struct
sk_buff
*
skb
)
{
struct
ieee80211_hdr
*
hdr
;
__le16
fc
;
hdr
=
(
struct
ieee80211_hdr
*
)
skb
->
data
;
fc
=
hdr
->
frame_control
;
if
(
ieee80211_is_data
(
fc
))
{
if
(
ieee80211_is_nullfunc
(
fc
)
||
/* Port Access Entity (IEEE 802.1X) */
(
skb
->
protocol
==
cpu_to_be16
(
ETH_P_PAE
)))
{
return
true
;
}
}
return
false
;
}
static
int
get_hw_crypto_keytype
(
struct
sk_buff
*
skb
)
static
int
get_hw_crypto_keytype
(
struct
sk_buff
*
skb
)
{
{
struct
ieee80211_tx_info
*
tx_info
=
IEEE80211_SKB_CB
(
skb
);
struct
ieee80211_tx_info
*
tx_info
=
IEEE80211_SKB_CB
(
skb
);
...
@@ -1696,7 +1677,7 @@ static void ath_tx_start_dma(struct ath_softc *sc, struct ath_buf *bf,
...
@@ -1696,7 +1677,7 @@ static void ath_tx_start_dma(struct ath_softc *sc, struct ath_buf *bf,
goto
tx_done
;
goto
tx_done
;
}
}
if
(
(
tx_info
->
flags
&
IEEE80211_TX_CTL_AMPDU
)
&&
!
is_pae
(
skb
)
)
{
if
(
tx_info
->
flags
&
IEEE80211_TX_CTL_AMPDU
)
{
/*
/*
* Try aggregation if it's a unicast data frame
* Try aggregation if it's a unicast data frame
* and the destination is HT capable.
* and the destination is HT capable.
...
...
drivers/net/wireless/iwlwifi/iwl-tx.c
View file @
4227f62d
...
@@ -124,7 +124,7 @@ void iwl_free_tfds_in_queue(struct iwl_priv *priv,
...
@@ -124,7 +124,7 @@ void iwl_free_tfds_in_queue(struct iwl_priv *priv,
if
(
priv
->
stations
[
sta_id
].
tid
[
tid
].
tfds_in_queue
>=
freed
)
if
(
priv
->
stations
[
sta_id
].
tid
[
tid
].
tfds_in_queue
>=
freed
)
priv
->
stations
[
sta_id
].
tid
[
tid
].
tfds_in_queue
-=
freed
;
priv
->
stations
[
sta_id
].
tid
[
tid
].
tfds_in_queue
-=
freed
;
else
{
else
{
IWL_
ERR
(
priv
,
"free more than tfds_in_queue (%u:%d)
\n
"
,
IWL_
DEBUG_TX
(
priv
,
"free more than tfds_in_queue (%u:%d)
\n
"
,
priv
->
stations
[
sta_id
].
tid
[
tid
].
tfds_in_queue
,
priv
->
stations
[
sta_id
].
tid
[
tid
].
tfds_in_queue
,
freed
);
freed
);
priv
->
stations
[
sta_id
].
tid
[
tid
].
tfds_in_queue
=
0
;
priv
->
stations
[
sta_id
].
tid
[
tid
].
tfds_in_queue
=
0
;
...
...
drivers/net/wireless/wl12xx/wl1251_debugfs.c
View file @
4227f62d
...
@@ -466,7 +466,8 @@ out:
...
@@ -466,7 +466,8 @@ out:
void
wl1251_debugfs_reset
(
struct
wl1251
*
wl
)
void
wl1251_debugfs_reset
(
struct
wl1251
*
wl
)
{
{
memset
(
wl
->
stats
.
fw_stats
,
0
,
sizeof
(
*
wl
->
stats
.
fw_stats
));
if
(
wl
->
stats
.
fw_stats
!=
NULL
)
memset
(
wl
->
stats
.
fw_stats
,
0
,
sizeof
(
*
wl
->
stats
.
fw_stats
));
wl
->
stats
.
retry_count
=
0
;
wl
->
stats
.
retry_count
=
0
;
wl
->
stats
.
excessive_retries
=
0
;
wl
->
stats
.
excessive_retries
=
0
;
}
}
...
...
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