Code assignment for hidden terminalinterference avoidance in multihop packet radio networks