Searched refs:band (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-11-stable/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_ppr.h67 struct bwn_ppr *ppr, bwn_phy_band_t band);
H A Dif_bwn_phy_n_ppr.c139 bwn_phy_band_t band)
162 switch (band) {
196 device_printf(mac->mac_sc->sc_dev, "%s: invalid band (%d)\n",
198 band);
202 if (band == BWN_BAND_2G) {
138 bwn_ppr_load_max_from_sprom(struct bwn_mac *mac, struct bwn_ppr *ppr, bwn_phy_band_t band) argument
H A Dif_bwn_phy_n_core.c161 bwn_band_t band = bwn_current_band(mac); local
162 return ((mac->mac_phy.phy_n->ipa2g_on && band == BWN_BAND_2G) ||
163 (mac->mac_phy.phy_n->ipa5g_on && band == BWN_BAND_5G));
1221 bwn_band_t band = bwn_current_band(mac); local
1244 b2056_upload_syn_pll_cp2(mac, band == BWN_BAND_5G);
1274 if (mac->mac_phy.phy_n->ipa2g_on && band == BWN_BAND_2G) {
1336 } else if (mac->mac_phy.phy_n->ipa5g_on && band == BWN_BAND_5G) {
1921 bwn_band_t band = local
1926 val = (band == BWN_BAND_5G) ? 0xC : 0xE;
3727 bwn_band_t band local
4417 bwn_band_t band; local
5788 bwn_band_t band; local
[all...]
/freebsd-11-stable/lib/lib80211/
H A Dlib80211_regdomain.c132 if (iseq(name, "band") && mt->netband == NULL) {
134 warnx("band without enclosing netband at line %ld",
144 if (mt->netband->band != NULL) {
149 mt->netband->band = (void *)strdup(ref);
283 /* <band> ... </band> */
328 /* </band> */
329 if (iseq(name, "band") && mt->netband != NULL) {
330 if (mt->netband->band == NULL) {
331 warnx("no freqbands for band a
[all...]
H A Dlib80211_regdomain.h56 const struct freqband *band; /* channel list description */ member in struct:netband
97 LIST_HEAD(, freqband) freqbands; /* frequency band table */
/freebsd-11-stable/sys/dev/bktr/
H A Dbktr_tuner.c142 /* XXX FIXME: fill in the band-switch crosspoints */
150 { 0x00, 0x00 }, /* band-switch crosspoints */
151 { 0x00, 0x00, 0x00,0x00} }, /* the band-switch values */
160 { 0x00, 0x00}, /* band-switch crosspoints */
161 { 0x02, 0x04, 0x01, 0x00 } }, /* the band-switch values */
170 { 0x00, 0x00 }, /* band-switch crosspoints */
171 { 0x02, 0x04, 0x01, 0x00 } }, /* the band-switch values */
180 { 0x00, 0x00 }, /* band-switch crosspoints */
181 { 0x02, 0x04, 0x01,0x00 } }, /* the band-switch values */
190 { 0x00, 0x00 }, /* band
801 u_char band; local
[all...]
H A Dbktr_reg.h394 u_char band; member in struct:TVTUNER
407 ** band (0x00=NoRadio).
/freebsd-11-stable/sys/net80211/
H A Dieee80211_scan.c534 nbands = (cie->len - 3) / sizeof(cie->band[0]);
536 schan = cie->band[i].schan;
537 nchan = cie->band[i].nchan;
540 cie->band[i].maxtxpwr);
542 printf(" %u,%u", schan, cie->band[i].maxtxpwr);
H A Dieee80211_regdomain.c218 /* flag set of channels to be excluded (band added below) */
273 frm = (uint8_t *)&ie->band[0];
287 if (c->ic_flags & skip) /* skip band, etc. */
H A Dieee80211.h967 } __packed band[1]; /* sub bands (NB: var size) */ member in struct:ieee80211_country_ie
/freebsd-11-stable/contrib/wpa/src/fst/
H A Dfst_group.c55 const u8 *own_addr, enum mb_band_id band, u8 channel)
78 mbie->band_id = band;
227 fst_printf(MSG_INFO, "mbie doesn't contain band %d", band_id);
270 * @band_id: "other" connection band id
324 * @band_id: "other" connection band id
381 * @band_id: "other" connection band id
463 * multiple MB IEs creation according to the spec (see 10.32 Multi-band
520 fst_printf_iface(i, MSG_DEBUG, "multi-band IE set to %p", mbie);
54 fst_fill_mb_ie(struct wpabuf *buf, const u8 *bssid, const u8 *own_addr, enum mb_band_id band, u8 channel) argument
H A Dfst_ctrl_iface.c648 static const char * band_freq(enum mb_band_id band) argument
656 return fst_get_str_name(band, band_names, ARRAY_SIZE(band_names));
670 ret += os_snprintf(buf + ret, buflen - ret, "band%u_frequency=%s\n",
672 ret += os_snprintf(buf + ret, buflen - ret, "band%u_iface=%s\n",
676 ret += os_snprintf(buf + ret, buflen - ret, "band%u_mb_ies=",
683 ret += os_snprintf(buf + ret, buflen - ret, "band%u_fst_group_id=%s\n",
685 ret += os_snprintf(buf + ret, buflen - ret, "band%u_fst_priority=%u\n",
687 ret += os_snprintf(buf + ret, buflen - ret, "band%u_fst_llt=%u\n",
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwm_phy_ctxt.c210 cmd->ci.band = IEEE80211_IS_CHAN_2GHZ(chan) ?
/freebsd-11-stable/sys/dev/mwl/
H A Dmwlhal.h119 int mwl_hal_getchannelinfo(struct mwl_hal *, int band, int chw,
H A Dmwlhal.c847 * precise band info causes it to lockup (sometimes).
1109 "%s: no cal data for channel %u band %u width %u ext %u\n",
1135 mwl_hal_getchannelinfo(struct mwl_hal *mh0, int band, int chw, argument
1140 switch (band) {
/freebsd-11-stable/sys/dev/wpi/
H A Dif_wpireg.h667 uint8_t band; member in struct:wpi_cmd_txpower
722 uint8_t band; member in struct:wpi_start_scan
889 /* 20MHz channels, 2GHz band. */
892 /* 20MHz channels, 5GHz band. */
H A Dif_wpi.c1414 const struct wpi_chan_band *band = &wpi_bands[n]; local
1428 for (i = 0; i < band->nchan; i++) {
1431 "Channel Not Valid: %d, band %d\n",
1432 band->chan[i],n);
1436 chan = band->chan[i];
1454 * band and update net80211 with what we find.
1460 const struct wpi_chan_band *band = &wpi_bands[n]; local
1465 error = wpi_read_prom_data(sc, band->addr, &sc->eeprom_channels[n],
1466 band->nchan * sizeof (struct wpi_eeprom_chan));
3678 cmd.band
[all...]
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Ddriver_i.h927 enum set_band band)
931 return wpa_s->driver->set_band(wpa_s->drv_priv, band);
926 wpa_drv_setband(struct wpa_supplicant *wpa_s, enum set_band band) argument
H A Dwpa_supplicant.c5064 unsigned int band = 0; local
5069 band |= wpas_freq_to_band(freqs[i]);
5081 band |= BAND_2_4_GHZ;
5084 band |= BAND_5_GHZ;
5087 band |= BAND_60_GHZ;
5090 band = BAND_2_4_GHZ | BAND_5_GHZ |
5096 return band;
5184 /* Get the active work to know the type and band. */
/freebsd-11-stable/contrib/wpa/src/drivers/
H A Ddriver_nl80211_scan.c596 rssi_adjust.band = NL80211_BAND_5GHZ;
599 rssi_adjust.band = NL80211_BAND_2GHZ;
H A Dnl80211_copy.h467 * doing a passive scan on the 5 GHz band you find an AP there (if not
470 * never be used for channels 1-11 on the 2 GHz band as they are always
645 * management frames at CCK rate or not in 2GHz band.
1644 * (enum nl80211_tx_rate_attributes) describing TX rates per band. The
1646 * data. If a band is not included, it will be configured to allow all
1788 * nested array attribute containing an entry for each band, with the entry
1819 * frames are being transmitted at CCK rate in 2GHz band, the user space
2239 * the specified band is to be adjusted before doing
3361 * for each interface type that supports the band data
3370 * @NL80211_BAND_IFTYPE_ATTR_MAX: highest band H
5798 __u8 band; member in struct:nl80211_bss_select_rssi_adjust
[all...]
/freebsd-11-stable/sys/dev/iwn/
H A Dif_iwn.c2262 struct iwn4965_eeprom_band *band = &sc->bands[i]; local
2263 struct iwn4965_eeprom_chan_samples *chans = band->chans;
2266 printf("===band %d===\n", i);
2267 printf("chan lo=%d, chan hi=%d\n", band->lo, band->hi);
2384 const struct iwn_chan_band *band = &iwn_bands[n]; local
2403 for (i = 0; i < band->nchan; i++) {
2407 band->chan[i], channels[i].flags,
2412 chan = band->chan[i];
2437 const struct iwn_chan_band *band local
2511 int band, chan, i, j; local
[all...]
H A Dif_iwnreg.h981 uint8_t band; member in struct:iwn4965_cmd_txpower
1498 uint8_t band; member in struct:iwn_start_scan
1522 uint8_t band; member in struct:iwn_spectrum_notif
1980 /* 20MHz channels, 2GHz band. */
1982 /* 20MHz channels, 5GHz band. */
1987 /* 40MHz channels (primary channels), 2GHz band. */
1989 /* 40MHz channels (primary channels), 5GHz band. */
/freebsd-11-stable/sys/dev/iwi/
H A Dif_iwi.c2729 int i, next, band, b, bstart; local
2734 * band and the count of items in the run.
2738 band = -1; /* NB: impossible value */
2743 if (b != band) {
2744 if (band != -1)
2746 (next - bstart) | band;
2748 band = b, bstart = next++;
2758 scan.channels[bstart] = (next - bstart) | band;
3352 * led's for link state (associated or not), band (11a, 11g, 11b),
/freebsd-11-stable/sbin/ifconfig/
H A Difieee80211.c2001 * supports fractional channels on this band. This is a hack
2003 * by per-band attributes though (we are effectively calculating
2039 b = nb->band;
2052 * the attributes from the band descriptions except
2054 * extension channel) in the band description and
2062 * so we need to expand only band specs for
3133 nbands = (cie->len - 3) / sizeof(cie->band[0]);
3135 schan = cie->band[i].schan;
3136 nchan = cie->band[i].nchan;
3139 cie->band[
[all...]

Completed in 549 milliseconds

12