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
25d289fb
Commit
25d289fb
authored
Jul 14, 2011
by
Larry Finger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
staging: rtl8192e: Remove dead code associated with _RTL8192_EXT_PATCH_
parent
8cc638e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
61 deletions
+0
-61
drivers/staging/rtl8192e/rtl819x_TSProc.c
drivers/staging/rtl8192e/rtl819x_TSProc.c
+0
-61
No files found.
drivers/staging/rtl8192e/rtl819x_TSProc.c
View file @
25d289fb
...
...
@@ -130,54 +130,6 @@ void ResetRxTsEntry(PRX_TS_RECORD pTS)
pTS
->
RxTimeoutIndicateSeq
=
0xffff
;
ResetBaEntry
(
&
pTS
->
RxAdmittedBARecord
);
}
#ifdef _RTL8192_EXT_PATCH_
void
ResetAdmitTRStream
(
struct
rtllib_device
*
ieee
,
u8
*
Addr
)
{
u8
dir
;
bool
search_dir
[
4
]
=
{
0
,
0
,
0
,
0
};
struct
list_head
*
psearch_list
;
PTS_COMMON_INFO
pRet
=
NULL
;
PRX_TS_RECORD
pRxTS
=
NULL
;
PTX_TS_RECORD
pTxTS
=
NULL
;
if
(
ieee
->
iw_mode
!=
IW_MODE_MESH
)
return
;
search_dir
[
DIR_DOWN
]
=
true
;
psearch_list
=
&
ieee
->
Rx_TS_Admit_List
;
for
(
dir
=
0
;
dir
<=
DIR_BI_DIR
;
dir
++
)
{
if
(
search_dir
[
dir
]
==
false
)
continue
;
list_for_each_entry
(
pRet
,
psearch_list
,
List
){
if
((
memcmp
(
pRet
->
Addr
,
Addr
,
6
)
==
0
)
&&
(
pRet
->
TSpec
.
f
.
TSInfo
.
field
.
ucDirection
==
dir
))
{
pRxTS
=
(
PRX_TS_RECORD
)
pRet
;
pRxTS
->
RxIndicateSeq
=
0xffff
;
pRxTS
->
RxTimeoutIndicateSeq
=
0xffff
;
}
}
}
search_dir
[
DIR_UP
]
=
true
;
psearch_list
=
&
ieee
->
Tx_TS_Admit_List
;
for
(
dir
=
0
;
dir
<=
DIR_BI_DIR
;
dir
++
)
{
if
(
search_dir
[
dir
]
==
false
)
continue
;
list_for_each_entry
(
pRet
,
psearch_list
,
List
){
if
((
memcmp
(
pRet
->
Addr
,
Addr
,
6
)
==
0
)
&&
(
pRet
->
TSpec
.
f
.
TSInfo
.
field
.
ucDirection
==
dir
))
{
pTxTS
=
(
PTX_TS_RECORD
)
pRet
;
pTxTS
->
TxCurSeq
=
0xffff
;
}
}
}
return
;
}
#endif
void
TSInitialize
(
struct
rtllib_device
*
ieee
)
{
...
...
@@ -364,19 +316,6 @@ void MakeTSEntry(
pTsCommonInfo
->
TClasNum
=
TCLAS_Num
;
}
#ifdef _RTL8192_EXT_PATCH_
void
dump_ts_list
(
struct
list_head
*
ts_list
)
{
PTS_COMMON_INFO
pRet
=
NULL
;
u8
i
=
0
;
list_for_each_entry
(
pRet
,
ts_list
,
List
){
printk
(
"i=%d ADD:"
MAC_FMT
", TID:%d, dir:%d
\n
"
,
i
,
MAC_ARG
(
pRet
->
Addr
),
pRet
->
TSpec
.
f
.
TSInfo
.
field
.
ucTSID
,
pRet
->
TSpec
.
f
.
TSInfo
.
field
.
ucDirection
);
i
++
;
}
}
#endif
bool
GetTs
(
struct
rtllib_device
*
ieee
,
PTS_COMMON_INFO
*
ppTS
,
...
...
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