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
245ac873
Commit
245ac873
authored
Jun 27, 2005
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge upstream net/ieee80211.h changes into 'ieee80211' branch.
parents
716b4330
a5fe736e
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
934 additions
and
1375 deletions
+934
-1375
drivers/net/skge.c
drivers/net/skge.c
+829
-881
drivers/net/skge.h
drivers/net/skge.h
+104
-482
include/linux/etherdevice.h
include/linux/etherdevice.h
+1
-1
include/net/ieee80211.h
include/net/ieee80211.h
+0
-11
No files found.
drivers/net/skge.c
View file @
245ac873
This diff is collapsed.
Click to expand it.
drivers/net/skge.h
View file @
245ac873
This diff is collapsed.
Click to expand it.
include/linux/etherdevice.h
View file @
245ac873
...
...
@@ -65,7 +65,7 @@ static inline int is_zero_ether_addr(const u8 *addr)
*/
static
inline
int
is_multicast_ether_addr
(
const
u8
*
addr
)
{
return
addr
[
0
]
&
0x01
;
return
((
addr
[
0
]
!=
0xff
)
&&
(
0x01
&
addr
[
0
]))
;
}
/**
...
...
include/net/ieee80211.h
View file @
245ac873
...
...
@@ -625,17 +625,6 @@ enum ieee80211_state {
#define MAC_ARG(x) ((u8*)(x))[0],((u8*)(x))[1],((u8*)(x))[2],((u8*)(x))[3],((u8*)(x))[4],((u8*)(x))[5]
extern
inline
int
is_multicast_ether_addr
(
const
u8
*
addr
)
{
return
((
addr
[
0
]
!=
0xff
)
&&
(
0x01
&
addr
[
0
]));
}
extern
inline
int
is_broadcast_ether_addr
(
const
u8
*
addr
)
{
return
((
addr
[
0
]
==
0xff
)
&&
(
addr
[
1
]
==
0xff
)
&&
(
addr
[
2
]
==
0xff
)
&&
\
(
addr
[
3
]
==
0xff
)
&&
(
addr
[
4
]
==
0xff
)
&&
(
addr
[
5
]
==
0xff
));
}
#define CFG_IEEE80211_RESERVE_FCS (1<<0)
#define CFG_IEEE80211_COMPUTE_FCS (1<<1)
...
...
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