|
Algorithm 1 New carrier sensing mechanism |
-
Require:
Known signal and received signal Y.
-
Ensure:
Channel access success/failure.
-
1:
Locate backoff period boundary, and perform CCA for 128 s;
-
2:
if channel is found idle then
-
3:
;
-
4:
Enable transmitter and transmit one random signal from ;
-
5:
Receive the signal Y;
-
6:
while
do
-
7:
if
then
-
8:
Calculate ;
-
9:
if
then
-
10:
Channel access failure and stop;
-
11:
end if
-
12:
else
-
13:
j = j + 1;
-
14:
end if
-
15:
end while
-
16:
Channel access success;
-
17:
end if
|