radio_controller_5ghz.c File Reference

Contains the functions that utilize the 5GHz band functionality. More...

#include "radio_controller_5ghz.h"

Go to the source code of this file.

Functions

void WarpRadio_v1_5AmpEnable (unsigned int radios)
 Enable the 5GHz power amplifier.
void WarpRadio_v1_5AmpDisable (unsigned int radios)
 Disable the 5GHz power amplifier.
int WarpRadio_v1_SetCenterFreq5GHz (char freqset, unsigned int radios)
 Tune the radio to a frequency in the 5GHz band.


Detailed Description

Contains the functions that utilize the 5GHz band functionality.

Version:
1.09
Author:
Siddharth Gupta
This file has the functions that play a role in the 5GHz functionality of the radio boards including center frequency and amplifiers.

Definition in file radio_controller_5ghz.c.


Function Documentation

void WarpRadio_v1_5AmpDisable ( unsigned int  radios  ) 

Disable the 5GHz power amplifier.

Disable the 5GHz amplifier for the boards specified. Unless an amplifier is enabled, none will turn on during transmit.

Parameters:
radios Radio boards affected.

Definition at line 44 of file radio_controller_5ghz.c.

References RAD_5PA_MASK, radio_controller_baseaddr, RADIO_CONTROLLER_mReadSlaveReg1, and RADIO_CONTROLLER_mWriteSlaveReg1.

void WarpRadio_v1_5AmpEnable ( unsigned int  radios  ) 

Enable the 5GHz power amplifier.

Enable the 5GHz amplifier for the boards specified. The amplifier turns on during the transmit state machine's execution.

Parameters:
radios Radio boards affected.

Definition at line 31 of file radio_controller_5ghz.c.

References RAD_5PA_MASK, radio_controller_baseaddr, RADIO_CONTROLLER_mReadSlaveReg1, and RADIO_CONTROLLER_mWriteSlaveReg1.

int WarpRadio_v1_SetCenterFreq5GHz ( char  freqset,
unsigned int  radios 
)

Tune the radio to a frequency in the 5GHz band.

Function used to shift the center frequency on the radio within the 5GHz band. Also enables the 5GHz amplifier for the transmit state machine.

  1. 5180MHz
  2. 5200MHz
  3. 5220MHz
  4. 5240MHz
  5. 5260MHz
  6. 5280MHz
  7. 5300MHz
  8. 5320MHz
  9. 5500MHz
  10. 5520MHz
  11. 5540MHz
  12. 5560MHz
  13. 5580MHz
  14. 5600MHz
  15. 5620MHz
  16. 5640MHz
  17. 5660MHz
  18. 5680MHz
  19. 5700MHz
  20. 5745MHz
  21. 5765MHz
  22. 5785MHz
  23. 5805MHz

Parameters:
freqset The frequency channel to use, selected from above list
radios Defines which radios are affected by this function call.
Returns:
Returns INVALID_FREQ if given frequency set is not valid.

Definition at line 82 of file radio_controller_5ghz.c.

References INVALID_FREQ, RAD1MASK, RAD2MASK, RAD3MASK, RAD4MASK, RAD_24PA_MASK, RAD_5PA_MASK, radio_controller_baseaddr, RADIO_CONTROLLER_mReadSlaveReg1, RADIO_CONTROLLER_mWriteSlaveReg1, RADIO_CONTROLLER_mWriteSlaveReg7, REG_RAD1_BAND_SELECT, REG_RAD1_FRACTIONAL_DIVIDER_RATIO, REG_RAD1_INTEGER_DIVIDER_RATIO, REG_RAD2_BAND_SELECT, REG_RAD2_FRACTIONAL_DIVIDER_RATIO, REG_RAD2_INTEGER_DIVIDER_RATIO, REG_RAD3_BAND_SELECT, REG_RAD3_FRACTIONAL_DIVIDER_RATIO, REG_RAD3_INTEGER_DIVIDER_RATIO, REG_RAD4_BAND_SELECT, REG_RAD4_FRACTIONAL_DIVIDER_RATIO, REG_RAD4_INTEGER_DIVIDER_RATIO, SLAVEMASK, transmit, and transRadio().

Referenced by warpphy_setChannel(), and warpphy_setSeparateChannels().


Updated on Wed Aug 6 13:29:32 2008 WARP