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
c0ddd04d
Commit
c0ddd04d
authored
Jan 21, 2008
by
John W. Linville
Committed by
David S. Miller
Jan 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wireless: cleanup some merge errors
Signed-off-by:
John W. Linville
<
linville@tuxdriver.com
>
parent
1e637c74
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
4 deletions
+36
-4
drivers/net/wireless/b43/xmit.c
drivers/net/wireless/b43/xmit.c
+18
-2
drivers/net/wireless/b43legacy/xmit.c
drivers/net/wireless/b43legacy/xmit.c
+18
-2
No files found.
drivers/net/wireless/b43/xmit.c
View file @
c0ddd04d
...
@@ -525,8 +525,24 @@ void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr)
...
@@ -525,8 +525,24 @@ void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr)
else
else
status
.
rate
=
b43_plcp_get_bitrate_cck
(
plcp
);
status
.
rate
=
b43_plcp_get_bitrate_cck
(
plcp
);
status
.
antenna
=
!!
(
phystat0
&
B43_RX_PHYST0_ANT
);
status
.
antenna
=
!!
(
phystat0
&
B43_RX_PHYST0_ANT
);
status
.
mactime
=
mactime
;
status
.
flag
|=
RX_FLAG_TSFT
;
/*
* If monitors are present get full 64-bit timestamp. This
* code assumes we get to process the packet within 16 bits
* of timestamp, i.e. about 65 milliseconds after the PHY
* received the first symbol.
*/
if
(
dev
->
wl
->
radiotap_enabled
)
{
u16
low_mactime_now
;
b43_tsf_read
(
dev
,
&
status
.
mactime
);
low_mactime_now
=
status
.
mactime
;
status
.
mactime
=
status
.
mactime
&
~
0xFFFFULL
;
status
.
mactime
+=
mactime
;
if
(
low_mactime_now
<=
mactime
)
status
.
mactime
-=
0x10000
;
status
.
flag
|=
RX_FLAG_TSFT
;
}
chanid
=
(
chanstat
&
B43_RX_CHAN_ID
)
>>
B43_RX_CHAN_ID_SHIFT
;
chanid
=
(
chanstat
&
B43_RX_CHAN_ID
)
>>
B43_RX_CHAN_ID_SHIFT
;
switch
(
chanstat
&
B43_RX_CHAN_PHYTYPE
)
{
switch
(
chanstat
&
B43_RX_CHAN_PHYTYPE
)
{
...
...
drivers/net/wireless/b43legacy/xmit.c
View file @
c0ddd04d
...
@@ -532,8 +532,24 @@ void b43legacy_rx(struct b43legacy_wldev *dev,
...
@@ -532,8 +532,24 @@ void b43legacy_rx(struct b43legacy_wldev *dev,
else
else
status
.
rate
=
b43legacy_plcp_get_bitrate_cck
(
plcp
);
status
.
rate
=
b43legacy_plcp_get_bitrate_cck
(
plcp
);
status
.
antenna
=
!!
(
phystat0
&
B43legacy_RX_PHYST0_ANT
);
status
.
antenna
=
!!
(
phystat0
&
B43legacy_RX_PHYST0_ANT
);
status
.
mactime
=
mactime
;
status
.
flag
|=
RX_FLAG_TSFT
;
/*
* If monitors are present get full 64-bit timestamp. This
* code assumes we get to process the packet within 16 bits
* of timestamp, i.e. about 65 milliseconds after the PHY
* received the first symbol.
*/
if
(
dev
->
wl
->
radiotap_enabled
)
{
u16
low_mactime_now
;
b43legacy_tsf_read
(
dev
,
&
status
.
mactime
);
low_mactime_now
=
status
.
mactime
;
status
.
mactime
=
status
.
mactime
&
~
0xFFFFULL
;
status
.
mactime
+=
mactime
;
if
(
low_mactime_now
<=
mactime
)
status
.
mactime
-=
0x10000
;
status
.
flag
|=
RX_FLAG_TSFT
;
}
chanid
=
(
chanstat
&
B43legacy_RX_CHAN_ID
)
>>
chanid
=
(
chanstat
&
B43legacy_RX_CHAN_ID
)
>>
B43legacy_RX_CHAN_ID_SHIFT
;
B43legacy_RX_CHAN_ID_SHIFT
;
...
...
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