Research Article
A QoS Enhancement Scheme through Joint Control of Clear Channel Assessment Threshold and Contending Window for IEEE 802.11e Broadcasting
Algorithm 1
Dynamical adjustment of CW based on CCA and priorities of messages. Pseudocode of the proposed JCCA.
() Input: , | | () Output: | () | () If then | () Else if then | () Else if then | () Else if then | () If then | () ; | () ; | () ; | () If then | () ; | () If transmission is successful, then | () ; | () Else if then | () ; | () ; | () ; | () If then | () , ; | () If transmission is successful, then ; | () Else if then | () ; ; | () ); | () If then | () ( (), ); | () If transmission is successful, then | () ( (), ); | () End: | () ; |
|