Home | History | Annotate | Download | only in ap_configurators

Lines Matching defs:band

89 def band_string_for_band(band):
90 """Returns a human readable string of the band
92 @param band: band object
93 @returns: string representation of the band
95 if band == BAND_2GHZ:
97 elif band == BAND_5GHZ:
139 band=None, mode=None, channel=None, hostnames=None,
155 if band == BAND_2GHZ or not band:
159 elif band == BAND_5GHZ:
164 raise ValueError('Invalid Band.')
168 if ((band == BAND_2GHZ and self._mode not in VALID_2GHZ_MODES) or
169 (band == BAND_5GHZ and self._mode not in VALID_5GHZ_MODES)):
170 raise ValueError('Conflicting band and modes/channels.')
179 'band=%s\n'
183 band_string_for_band(self.band),
208 def band(self):
209 """Return the band."""