Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board
Go4Expert
Go4Expert RSS Feed

Go Back   Programming and SEO Forum >  Go4Expert > Queries and Discussion > Programming > C-C++

Reply  Copy HTML to Clipboard  Copy BBCode to Clipboard  | More
 
Bookmarks Thread Tools Search this Thread Display Modes
Old 03-12-2010, 10:35 AM   #1
Newbie Member
 
Join Date: Mar 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
krishnakrmsccs is on a distinguished road

i need c++ codes for mac-layer LDA n Cross-Layer LDA


MAC-LAYER LDA
if (DataRate ≥ 12 Mbps) then // station is closed to AP
RetryLimit =6 // default value
else if (DataRate > 6 Mbps) // possible signal failure
RetryLimit = 12 // begin to enlarge transmission window
else if (DataRate ≤ 6 Mbps) // probability of failure is max.
RetryLimit = 18 // continue to enlarge window
if (new segment) && (last segment dropped) // new TCP segment and last MAC retry failed
RetryLimit = RetryLimit+6 // enlarge again window
end if
end if.


CROSS-LAYER LDA
if (3 dup ack) then // loss indication in TCP NewReno algo.
LDA_Estimator =0 // initial value for congestion
for (i = 0; i ≤ n; i ++) // for all the not acknowledged segments
if (RetryCount = RetryLimit) then // segment is dropped, probably a short loss
LDA_Estimator =1 // set value for interferences. . .
end if
end for
end if
krishnakrmsccs is offline   Reply With Quote
Reply  Copy HTML to Clipboard  Copy BBCode to Clipboard  | More


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Bookmarks

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

 

All times are GMT +5.5. The time now is 01:58 AM.