Searched refs:center_freq (Results 1 – 3 of 3) sorted by relevance
65 p2G4_freq_t center_freq; in p2G4_center_freq_from_ble_ch_nbr() local66 if ( p2G4_freq_from_d( freq, 1, ¢er_freq ) != 0 ){ in p2G4_center_freq_from_ble_ch_nbr()69 return center_freq; in p2G4_center_freq_from_ble_ch_nbr()166 int p2G4_freq_from_d(double center_freq, int prevent_OOB, p2G4_freq_t *result){ in p2G4_freq_from_d() argument167 double i_center_freq = center_freq; in p2G4_freq_from_d()168 if ( center_freq > 1e9 ){ //they provided it in Hz in p2G4_freq_from_d()169 center_freq = center_freq/1e6; in p2G4_freq_from_d()170 } else if ( center_freq > 1e6 ) { //they provided it in KHz.. in p2G4_freq_from_d()171 center_freq = center_freq/1e3; in p2G4_freq_from_d()175 …if ( ( center_freq >= 2400-128 ) && ( center_freq <= 2400+128 ) ) //we offset it down to 0 = 2400M… in p2G4_freq_from_d()[all …]
25 int p2G4_freq_from_d(double center_freq, int prevent_OOB, p2G4_freq_t *result);
54 p2G4_freq_t center_freq; member