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
ff0037b2
Commit
ff0037b2
authored
Oct 03, 2005
by
James Ketrenos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lindent and trailing whitespace script executed ieee80211 subsystem
Signed-off-by:
James Ketrenos
<
jketreno@linux.intel.com
>
parent
c1bda44a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
17 deletions
+24
-17
include/net/ieee80211_crypt.h
include/net/ieee80211_crypt.h
+3
-3
net/ieee80211/ieee80211_rx.c
net/ieee80211/ieee80211_rx.c
+21
-14
No files found.
include/net/ieee80211_crypt.h
View file @
ff0037b2
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#include <linux/skbuff.h>
#include <linux/skbuff.h>
enum
{
enum
{
IEEE80211_CRYPTO_TKIP_COUNTERMEASURES
=
(
1
<<
0
),
IEEE80211_CRYPTO_TKIP_COUNTERMEASURES
=
(
1
<<
0
),
};
};
struct
ieee80211_crypto_ops
{
struct
ieee80211_crypto_ops
{
...
@@ -65,8 +65,8 @@ struct ieee80211_crypto_ops {
...
@@ -65,8 +65,8 @@ struct ieee80211_crypto_ops {
char
*
(
*
print_stats
)
(
char
*
p
,
void
*
priv
);
char
*
(
*
print_stats
)
(
char
*
p
,
void
*
priv
);
/* Crypto specific flag get/set for configuration settings */
/* Crypto specific flag get/set for configuration settings */
unsigned
long
(
*
get_flags
)(
void
*
priv
);
unsigned
long
(
*
get_flags
)
(
void
*
priv
);
unsigned
long
(
*
set_flags
)(
unsigned
long
flags
,
void
*
priv
);
unsigned
long
(
*
set_flags
)
(
unsigned
long
flags
,
void
*
priv
);
/* maximum number of bytes added by encryption; encrypt buf is
/* maximum number of bytes added by encryption; encrypt buf is
* allocated with extra_prefix_len bytes, copy of in_buf, and
* allocated with extra_prefix_len bytes, copy of in_buf, and
...
...
net/ieee80211/ieee80211_rx.c
View file @
ff0037b2
...
@@ -917,8 +917,9 @@ static int ieee80211_parse_qos_info_param_IE(struct ieee80211_info_element
...
@@ -917,8 +917,9 @@ static int ieee80211_parse_qos_info_param_IE(struct ieee80211_info_element
return
rc
;
return
rc
;
}
}
static
int
ieee80211_parse_info_param
(
struct
ieee80211_info_element
*
info_element
,
static
int
ieee80211_parse_info_param
(
struct
ieee80211_info_element
u16
length
,
struct
ieee80211_network
*
network
)
*
info_element
,
u16
length
,
struct
ieee80211_network
*
network
)
{
{
u8
i
;
u8
i
;
#ifdef CONFIG_IEEE80211_DEBUG
#ifdef CONFIG_IEEE80211_DEBUG
...
@@ -1074,7 +1075,8 @@ static int ieee80211_parse_info_param(struct ieee80211_info_element *info_elemen
...
@@ -1074,7 +1075,8 @@ static int ieee80211_parse_info_param(struct ieee80211_info_element *info_elemen
break
;
break
;
case
MFIE_TYPE_QOS_PARAMETER
:
case
MFIE_TYPE_QOS_PARAMETER
:
printk
(
KERN_ERR
"QoS Error need to parse QOS_PARAMETER IE
\n
"
);
printk
(
KERN_ERR
"QoS Error need to parse QOS_PARAMETER IE
\n
"
);
break
;
break
;
default:
default:
...
@@ -1084,7 +1086,9 @@ static int ieee80211_parse_info_param(struct ieee80211_info_element *info_elemen
...
@@ -1084,7 +1086,9 @@ static int ieee80211_parse_info_param(struct ieee80211_info_element *info_elemen
}
}
length
-=
sizeof
(
*
info_element
)
+
info_element
->
len
;
length
-=
sizeof
(
*
info_element
)
+
info_element
->
len
;
info_element
=
(
struct
ieee80211_info_element
*
)
&
info_element
->
data
[
info_element
->
len
];
info_element
=
(
struct
ieee80211_info_element
*
)
&
info_element
->
data
[
info_element
->
len
];
}
}
return
0
;
return
0
;
...
@@ -1112,7 +1116,8 @@ static int ieee80211_handle_assoc_resp(struct ieee80211_device *ieee, struct iee
...
@@ -1112,7 +1116,8 @@ static int ieee80211_handle_assoc_resp(struct ieee80211_device *ieee, struct iee
network
->
rates_len
=
network
->
rates_ex_len
=
0
;
network
->
rates_len
=
network
->
rates_ex_len
=
0
;
network
->
last_associate
=
0
;
network
->
last_associate
=
0
;
network
->
ssid_len
=
0
;
network
->
ssid_len
=
0
;
network
->
erp_value
=
(
network
->
capability
&
WLAN_CAPABILITY_IBSS
)
?
0x3
:
0x0
;
network
->
erp_value
=
(
network
->
capability
&
WLAN_CAPABILITY_IBSS
)
?
0x3
:
0x0
;
if
(
stats
->
freq
==
IEEE80211_52GHZ_BAND
)
{
if
(
stats
->
freq
==
IEEE80211_52GHZ_BAND
)
{
/* for A band (No DS info) */
/* for A band (No DS info) */
...
@@ -1123,7 +1128,8 @@ static int ieee80211_handle_assoc_resp(struct ieee80211_device *ieee, struct iee
...
@@ -1123,7 +1128,8 @@ static int ieee80211_handle_assoc_resp(struct ieee80211_device *ieee, struct iee
network
->
wpa_ie_len
=
0
;
network
->
wpa_ie_len
=
0
;
network
->
rsn_ie_len
=
0
;
network
->
rsn_ie_len
=
0
;
if
(
ieee80211_parse_info_param
(
frame
->
info_element
,
stats
->
len
-
sizeof
(
*
frame
),
network
))
if
(
ieee80211_parse_info_param
(
frame
->
info_element
,
stats
->
len
-
sizeof
(
*
frame
),
network
))
return
1
;
return
1
;
network
->
mode
=
0
;
network
->
mode
=
0
;
...
@@ -1185,7 +1191,8 @@ static inline int ieee80211_network_init(struct ieee80211_device *ieee, struct i
...
@@ -1185,7 +1191,8 @@ static inline int ieee80211_network_init(struct ieee80211_device *ieee, struct i
network
->
wpa_ie_len
=
0
;
network
->
wpa_ie_len
=
0
;
network
->
rsn_ie_len
=
0
;
network
->
rsn_ie_len
=
0
;
if
(
ieee80211_parse_info_param
(
beacon
->
info_element
,
stats
->
len
-
sizeof
(
*
beacon
),
network
))
if
(
ieee80211_parse_info_param
(
beacon
->
info_element
,
stats
->
len
-
sizeof
(
*
beacon
),
network
))
return
1
;
return
1
;
network
->
mode
=
0
;
network
->
mode
=
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