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
3302f705
Commit
3302f705
authored
Jul 20, 2003
by
Arnaldo Carvalho de Melo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o wl3501: introduce iw_mgmt_ibss_pset
parent
1f1892c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
14 deletions
+17
-14
drivers/net/wireless/wl3501.h
drivers/net/wireless/wl3501.h
+8
-3
drivers/net/wireless/wl3501_cs.c
drivers/net/wireless/wl3501_cs.c
+9
-11
No files found.
drivers/net/wireless/wl3501.h
View file @
3302f705
...
...
@@ -234,6 +234,11 @@ struct iw_mgmt_ds_pset {
u8
chan
;
}
__attribute__
((
packed
));
struct
iw_mgmt_ibss_pset
{
struct
iw_mgmt_info_element
el
;
u16
atim_window
;
}
__attribute__
((
packed
));
struct
wl3501_tx_hdr
{
u16
tx_cnt
;
u8
sync
[
16
];
...
...
@@ -285,7 +290,7 @@ struct wl3501_start_req {
u8
operational_rate_set
[
10
];
u8
cf_pset
[
8
];
struct
iw_mgmt_ds_pset
ds_pset
;
u8
ibss_pset
[
4
]
;
struct
iw_mgmt_ibss_pset
ibss_pset
;
};
struct
wl3501_assoc_req
{
...
...
@@ -363,7 +368,7 @@ struct wl3501_join_req {
struct
iw_mgmt_essid_pset
ssid
;
struct
iw_mgmt_ds_pset
ds_pset
;
u8
cf_pset
[
8
];
u8
ibss_pset
[
4
]
;
struct
iw_mgmt_ibss_pset
ibss_pset
;
u8
bss_basic_rate_set
[
10
];
};
...
...
@@ -417,7 +422,7 @@ struct wl3501_scan_confirm {
struct
iw_mgmt_essid_pset
ssid
;
struct
iw_mgmt_ds_pset
ds_pset
;
u8
cf_pset
[
8
];
u8
ibss_pset
[
4
]
;
struct
iw_mgmt_ibss_pset
ibss_pset
;
u8
bss_basic_rate_set
[
10
];
u8
rssi
;
};
...
...
drivers/net/wireless/wl3501_cs.c
View file @
3302f705
...
...
@@ -639,11 +639,9 @@ static int wl3501_mgmt_join(struct wl3501_card *this, u16 stas)
.
sig_id
=
WL3501_SIG_JOIN_REQ
,
.
timeout
=
10
,
.
ds_pset
=
{
.
el
=
{
.
id
=
IW_MGMT_INFO_ELEMENT_DS_PARAMETER_SET
,
.
len
=
1
,
},
.
chan
=
this
->
chan
,
.
el
.
id
=
IW_MGMT_INFO_ELEMENT_DS_PARAMETER_SET
,
.
el
.
len
=
1
,
.
chan
=
this
->
chan
,
},
};
...
...
@@ -658,11 +656,9 @@ static int wl3501_mgmt_start(struct wl3501_card *this)
.
beacon_period
=
400
,
.
dtim_period
=
1
,
.
ds_pset
=
{
.
el
=
{
.
id
=
IW_MGMT_INFO_ELEMENT_DS_PARAMETER_SET
,
.
len
=
1
,
},
.
chan
=
this
->
chan
,
.
el
.
id
=
IW_MGMT_INFO_ELEMENT_DS_PARAMETER_SET
,
.
el
.
len
=
1
,
.
chan
=
this
->
chan
,
},
.
bss_basic_rate_set
=
{
[
0
]
=
0x01
,
[
1
]
=
0x02
,
[
2
]
=
0x82
,
[
3
]
=
0x84
,
...
...
@@ -671,7 +667,9 @@ static int wl3501_mgmt_start(struct wl3501_card *this)
[
0
]
=
0x01
,
[
1
]
=
0x02
,
[
2
]
=
0x82
,
[
3
]
=
0x84
,
},
.
ibss_pset
=
{
[
0
]
=
6
,
[
1
]
=
2
,
[
2
]
=
10
,
.
el
.
id
=
IW_MGMT_INFO_ELEMENT_IBSS_PARAMETER_SET
,
.
el
.
len
=
2
,
.
atim_window
=
10
,
},
.
bss_type
=
wl3501_fw_bss_type
(
this
),
.
cap_info
=
wl3501_fw_cap_info
(
this
),
...
...
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