Patent ID: 6987795

Claim:
A method for selecting a spreading code for use in communication between nodes in a communication network based on transmission channel Multipath Delay Profiles, comprising the steps of: controlling a first node to send a first data packet to a second node via a transmission channel using a spreading-gain code; estimating a Multipath Delay Profile of said transmission channel based on said issued first data packet; calculating a fitness function including said Multipath Delay Profile for a plurality of spreading codes of said transmission channel; selecting a spreading code from a plurality of spreading codes available for said transmission channel based on said fitness function calculation; and controlling said second node to send a second data packet to said first node, said second data packet including information adapted to inform said first node of said selected spreading code, wherein said fitness function corresponds to Fitness = ∑ k = 1 N ⁢ ⁢ [ MDP ⁡ ( k ) × (  xx ODD ⁢ ( k )  +  xx EVEN ⁢ ( k )  2 ) ] where Rxx is the autocorrelation function of the spreading code considered, N is the length of the spreading code considered and MDP is the Multipath Delay Profile.