Changeset 9158

Show
Ignore:
Timestamp:
08/03/08 01:18:40
Author:
eb
Message:

mimo working in the Tx direction

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • usrp2/trunk/firmware/apps/app_common_v2.c

    r9150 r9158  
    8888  } 
    8989 
    90   if (1){ 
     90  if (0){ 
    9191    printf("sending_reply to port %d, len = %d\n", cpu_tx_buf_dest_port, reply_len); 
    9292    print_buffer(buffer_ram(CPU_TX_BUF), reply_len/4); 
  • usrp2/trunk/firmware/apps/app_passthru_v2.c

    r9150 r9158  
    167167 end_of_subpackets: 
    168168 
    169   // add the EOP marker 
    170   subpktlen = add_eop(reply_payload, reply_payload_space); 
    171   subpktlen = (subpktlen + 3) & ~3;     // bump to a multiple of 4 
    172   reply_payload += subpktlen; 
    173   reply_payload_space -= subpktlen; 
    174  
    175   send_reply(reply, reply_payload - reply); 
     169  if (handled_it){ 
     170    // add the EOP marker 
     171    subpktlen = add_eop(reply_payload, reply_payload_space); 
     172    subpktlen = (subpktlen + 3) & ~3;   // bump to a multiple of 4 
     173    reply_payload += subpktlen; 
     174    reply_payload_space -= subpktlen; 
     175 
     176    send_reply(reply, reply_payload - reply); 
     177  } 
    176178 
    177179  return handled_it; 
  • usrp2/trunk/firmware/apps/eth_serdes.c

    r9150 r9158  
    126126fw_sets_seqno_inspector(dbsm_t *sm, int buf_this)       // returns false 
    127127{ 
     128#if 0 
    128129  uint32_t *p = buffer_ram(buf_this); 
    129130  uint32_t last_line = buffer_pool_status->last_line[buf_this] - sm->last_line_adj; 
     
    132133 
    133134  print_buffer(p, (last_line + 1)); 
     135#endif 
    134136 
    135137#if 0 
     
    153155  uint32_t  status = buffer_pool_status->status; 
    154156 
    155   if (status & ~BPS_IDLE_ALL){ 
     157  if (0 && (status & ~BPS_IDLE_ALL)){ 
    156158    putstr("status = "); 
    157159    puthex32_nl(status); 
     
    172174  ethernet_init(); 
    173175 
    174   clocks_mimo_config(MC_WE_LOCK_TO_SMA | MC_PROVIDE_CLK_TO_MIMO); 
     176  // clocks_mimo_config(MC_WE_LOCK_TO_SMA | MC_PROVIDE_CLK_TO_MIMO); 
     177  clocks_mimo_config(MC_WE_DONT_LOCK | MC_PROVIDE_CLK_TO_MIMO); 
    175178 
    176179#if 0 
     
    213216 
    214217 
    215   // kick off the state machine 
     218  // kick off the state machines 
    216219  dbsm_start(&dsp_tx_sm); 
     220  dbsm_start(&dsp_rx_sm); 
    217221 
    218222  //int which = 0;