Searched refs:chan (Results 176 - 200 of 346) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_zyd.c978 zyd_rfmd_set_channel(struct zyd_rf *rf, uint8_t chan) argument
986 error = zyd_rfwrite(sc, rfprog[chan - 1].r1);
989 error = zyd_rfwrite(sc, rfprog[chan - 1].r2);
1156 zyd_al2230_set_channel(struct zyd_rf *rf, uint8_t chan) argument
1167 error = zyd_rfwrite(sc, rfprog[chan - 1].r1);
1170 error = zyd_rfwrite(sc, rfprog[chan - 1].r2);
1173 error = zyd_rfwrite(sc, rfprog[chan - 1].r3);
1184 zyd_al2230_set_channel_b(struct zyd_rf *rf, uint8_t chan) argument
1196 error = zyd_rfwrite_cr(sc, rfprog[chan - 1].r1);
1199 error = zyd_rfwrite_cr(sc, rfprog[chan
1223 int chan = ieee80211_chan2ieee(ic, c); local
1288 zyd_al7230B_set_channel(struct zyd_rf *rf, uint8_t chan) argument
1372 zyd_al2210_set_channel(struct zyd_rf *rf, uint8_t chan) argument
1473 zyd_gct_set_channel_synth(struct zyd_rf *rf, int chan, int acal) argument
1514 zyd_gct_set_channel(struct zyd_rf *rf, uint8_t chan) argument
1545 zyd_gct_txgain(struct zyd_rf *rf, uint8_t chan) argument
1599 zyd_maxim2_set_channel(struct zyd_rf *rf, uint8_t chan) argument
2049 int chan; local
[all...]
H A Dif_ural.c311 uint8_t chan; member in struct:__anon5278
1623 int i, chan; local
1625 chan = ieee80211_chan2ieee(ic, c);
1626 if (chan == 0 || chan == IEEE80211_CHAN_ANY)
1630 power = min(sc->txpow[chan - 1], 31);
1637 DPRINTFN(2, "setting channel to %u, txpower to %u\n", chan, power);
1642 ural_rf_write(sc, RAL_RF2, ural_rf2522_r2[chan - 1]);
1648 ural_rf_write(sc, RAL_RF2, ural_rf2523_r2[chan - 1]);
1650 ural_rf_write(sc, RAL_RF4, (chan
[all...]
/freebsd-11-stable/sys/dev/ral/
H A Drt2560.c198 uint8_t chan; member in struct:__anon5202
2052 u_int i, chan; local
2054 chan = ieee80211_chan2ieee(ic, c);
2055 KASSERT(chan != 0 && chan != IEEE80211_CHAN_ANY, ("chan 0x%x", chan));
2058 power = min(sc->txpow[chan - 1], 31);
2065 DPRINTFN(sc, 2, "setting channel to %u, txpower to %u\n", chan, power);
2070 rt2560_rf_write(sc, RAL_RF2, rt2560_rf2522_r2[chan
[all...]
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dwnm_sta.c514 static int wnm_nei_get_chan(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan) argument
527 freq = ieee80211_chan_to_freq(country, op_class, chan);
534 if (chan >= 1 && chan <= 13)
535 freq = 2407 + chan * 5;
536 else if (chan == 14)
538 else if (chan >= 36 && chan <= 169)
539 freq = 5000 + chan * 5;
870 u32 bss_info, u8 op_class, u8 chan, u
869 wnm_add_nei_rep(struct wpabuf **buf, const u8 *bssid, u32 bss_info, u8 op_class, u8 chan, u8 phy_type, u8 pref) argument
906 u8 op_class, chan; local
1231 struct hostapd_channel_data *chan; local
[all...]
H A Drrm.c469 static int wpas_add_channel(u8 op_class, u8 chan, u8 num_primary_channels, argument
475 u8 primary_chan = chan - (2 * num_primary_channels - 2) + i * 4;
487 chan);
524 u8 chan = channels ? channels[i] : op->min_chan + i * op->inc; local
525 enum chan_allowed res = verify_channel(mode, chan, op->bw);
530 if (wpas_add_channel(op->op_class, chan, num_primary_channels,
633 u8 op_class, u8 chan, int active,
660 switch (chan) {
670 freqs = wpas_add_channels(op, mode, active, &chan, 1);
689 u8 *op_class, u8 *chan, u
632 wpas_beacon_request_freqs(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan, int active, const u8 *subelems, size_t len) argument
688 wpas_get_op_chan_phy(int freq, const u8 *ies, size_t ies_len, u8 *op_class, u8 *chan, u8 *phy_type) argument
[all...]
/freebsd-11-stable/sys/dev/ct/
H A Dbshw_machdep.c526 int chan = bs->sc_drq; local
541 regv = DMA37MD_WRITE | DMA37MD_SINGLE | chan;
543 regv = DMA37MD_READ | DMA37MD_SINGLE | chan;
549 waport = DMA1_CHN(chan);
552 bshw_dma_write_1(chp, dmapageport[chan], ((u_int) phys) >> 16);
562 bshw_dma_write_1(chp, DMA1_SMSK, chan);
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dieee802_11_vht.c225 struct hostapd_channel_data *chan; local
297 chan = &mode->channels[i];
298 max_tx_power = chan->max_tx_power - local_pwr_constraint;
H A Dwmm.c81 struct hostapd_channel_data *chan = &mode->channels[c]; local
83 if (chan->freq != hapd->iface->freq)
86 if (chan->wmm_rules_valid)
88 acp, chan->wmm_rules);
H A Dieee802_11_ht.c333 u8 chan = ic_report->variable[i]; local
335 if (chan == iface->conf->channel)
337 if (is_40_allowed(iface, chan))
343 chan);
/freebsd-11-stable/sys/dev/ath/ath_hal/ar9002/
H A Dar9285_attach.c74 const struct ieee80211_channel *chan);
489 ar9285WriteIni(struct ath_hal *ah, const struct ieee80211_channel *chan) argument
497 if (IEEE80211_IS_CHAN_HT40(chan))
499 else if (IEEE80211_IS_CHAN_108G(chan))
/freebsd-11-stable/sys/mips/cavium/
H A Duart_cpu_octeonusart.c161 di->bas.chan = 0;
/freebsd-11-stable/sys/dev/iwi/
H A Dif_iwireg.h308 uint8_t chan; member in struct:iwi_frame
421 uint8_t chan; member in struct:iwi_txpower::__anon10526
425 } __packed chan[37]; member in struct:iwi_txpower
430 uint8_t chan; /* channel # */ member in struct:iwi_associate
/freebsd-11-stable/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_stub_funcs.h130 struct ieee80211_channel *chan, HAL_BOOL bChannelChange,
141 struct ieee80211_channel *chan, HAL_BOOL *isIQdone);
143 struct ieee80211_channel *chan, u_int chainMask,
156 struct ieee80211_channel *chan);
/freebsd-11-stable/sys/net80211/
H A Dieee80211_superg.c970 struct ieee80211_channel *chan; local
972 chan = ieee80211_find_channel(ic, ic->ic_bsschan->ic_freq, newflags);
973 if (chan == NULL) { /* XXX should not happen */
983 ieee80211_phymode_name[ieee80211_chan2mode(chan)],
984 chan->ic_freq, chan->ic_flags);
986 ic->ic_bsschan = chan;
988 ic->ic_curchan = chan;
989 ic->ic_rt = ieee80211_get_ratetable(chan);
H A Dieee80211_node.c275 struct ieee80211_channel *chan)
281 KASSERT(chan != IEEE80211_CHAN_ANYC, ("no channel"));
283 ni->ni_chan = chan;
284 mode = ieee80211_chan2mode(chan);
285 if (IEEE80211_IS_CHAN_HT(chan)) {
290 ni->ni_htrates = *ieee80211_get_suphtrates(ic, chan);
307 ni->ni_rates = *ieee80211_get_suprates(ic, chan);
322 ieee80211_create_ibss(struct ieee80211vap* vap, struct ieee80211_channel *chan) argument
330 ieee80211_chan2ieee(ic, chan),
331 ieee80211_channel_type_char(chan));
274 ieee80211_node_set_chan(struct ieee80211_node *ni, struct ieee80211_channel *chan) argument
839 ieee80211_sta_join(struct ieee80211vap *vap, struct ieee80211_channel *chan, const struct ieee80211_scan_entry *se) argument
1338 ieee80211_node_create_wds(struct ieee80211vap *vap, const uint8_t bssid[IEEE80211_ADDR_LEN], struct ieee80211_channel *chan) argument
[all...]
/freebsd-11-stable/sys/dev/cx/
H A Dcxddk.c79 for (c=b->chan; c<b->chan+NCHAN; ++c) {
103 if (b->chan[8].type || b->chan[12].type)
595 c = b->chan + (livr>>2 & 0xf);
891 if (b->chan[8].port || b->chan[12].port)
898 if (b->chan[8].port || b->chan[12].port)
/freebsd-11-stable/sys/dev/isp/
H A Disp_library.c425 isp_fc_runstate(ispsoftc_t *isp, int chan, int tval) argument
427 fcparam *fcp = FCPARAM(isp, chan);
433 res = isp_control(isp, ISPCTL_FCLINK_TEST, chan, tval);
438 res = isp_control(isp, ISPCTL_SCAN_LOOP, chan);
443 res = isp_control(isp, ISPCTL_SCAN_FABRIC, chan);
448 res = isp_control(isp, ISPCTL_PDB_SYNC, chan);
458 isp_dump_portdb(ispsoftc_t *isp, int chan) argument
460 fcparam *fcp = FCPARAM(isp, chan);
483 chan, i, lp->handle, dbs[lp->state], buf1, lp->portid, buf2, lp->new_portid,
2118 isp_find_pdb_empty(ispsoftc_t *isp, int chan, fcportdb_ argument
2135 isp_find_pdb_by_wwpn(ispsoftc_t *isp, int chan, uint64_t wwpn, fcportdb_t **lptr) argument
2154 isp_find_pdb_by_handle(ispsoftc_t *isp, int chan, uint16_t handle, fcportdb_t **lptr) argument
2174 isp_find_pdb_by_portid(ispsoftc_t *isp, int chan, uint32_t portid, fcportdb_t **lptr) argument
2197 uint16_t chan; local
2217 isp_add_wwn_entry(ispsoftc_t *isp, int chan, uint64_t wwpn, uint64_t wwnn, uint16_t nphdl, uint32_t s_id, uint16_t prli_params) argument
2373 isp_del_wwn_entry(ispsoftc_t *isp, int chan, uint64_t wwpn, uint16_t nphdl, uint32_t s_id) argument
2400 isp_del_all_wwn_entries(ispsoftc_t *isp, int chan) argument
[all...]
H A Disp_pci.c478 isp_get_specific_options(device_t dev, int chan, ispsoftc_t *isp) argument
484 if (chan == 0)
487 snprintf(prefix, sizeof(prefix), "chan%d.", chan);
492 ISP_FC_PC(isp, chan)->default_id = 109 - chan;
495 ISP_SPI_PC(isp, chan)->iid = OF_getscsinitid(dev);
497 ISP_SPI_PC(isp, chan)->iid = 7;
502 ISP_FC_PC(isp, chan)->default_id = tval - chan;
[all...]
/freebsd-11-stable/sys/dev/ctau/
H A Dctau.c465 ct_chan_t *c = b->chan + i;
615 for (c=b->chan; c<b->chan+NCHAN; ++c) {
853 ct_setup_ctlr (b->chan + 0); /* channel 0 */
854 ct_setup_ctlr (b->chan + 1); /* channel 1 */
885 if (b->chan[0].gopt.pce) {
886 if (b->chan[0].gopt.pce2) b->gmd0 |= GMD_PCE_PCM2;
893 if (b->chan[1].gopt.pce) {
894 if (b->chan[1].gopt.pce2) b->gmd1 |= GMD_PCE_PCM2;
900 switch (b->chan[
[all...]
/freebsd-11-stable/lib/libcasper/services/cap_sysctl/
H A Dcap_sysctl.c48 cap_sysctlbyname(cap_channel_t *chan, const char *name, void *oldp, argument
72 nvl = cap_xfer_nvlist(chan, nvl, 0);
/freebsd-11-stable/sys/dev/vnic/
H A Dnic_main.c686 uint32_t vnic, bgx, lmac, chan; local
695 chan = (lmac * MAX_BGX_CHANS_PER_LMAC) + (bgx * NIC_CHANS_PER_INF);
700 nic_reg_write(nic, NIC_PF_CHAN_0_255_RX_BP_CFG | (chan << 3),
702 nic_reg_write(nic, NIC_PF_CHAN_0_255_RX_CFG | (chan << 3),
827 uint32_t bgx, lmac, chan; local
852 chan = (lmac * MAX_BGX_CHANS_PER_LMAC) + (bgx * NIC_CHANS_PER_INF);
853 nic_reg_write(nic, NIC_PF_TL3_0_255_CHAN | (tl3 << 3), chan);
855 nic_reg_write(nic, NIC_PF_CHAN_0_255_TX_CFG | (chan << 3), 1);
/freebsd-11-stable/sys/dev/wpi/
H A Dif_wpireg.h318 uint16_t chan; member in struct:wpi_rx_head
407 uint8_t chan; member in struct:wpi_rxon
642 uint8_t chan; member in struct:wpi_scan_chan
672 uint16_t chan; member in struct:wpi_cmd_txpower
721 uint8_t chan; member in struct:wpi_start_scan
735 uint8_t chan; member in struct:wpi_stop_scan
878 uint8_t chan; member in struct:wpi_eeprom_group
887 uint8_t chan[WPI_MAX_CHAN_PER_BAND]; member in struct:wpi_chan_band
/freebsd-11-stable/sys/dev/ath/
H A Dif_ath_btcoex.c412 ath_btcoex_enable(struct ath_softc *sc, const struct ieee80211_channel *chan) argument
415 ath_btcoex_mci_enable(sc, chan);
/freebsd-11-stable/sys/cam/
H A Dcam_periph.h221 #define cam_periph_sleep(periph, chan, priority, wmesg, timo) \
222 xpt_path_sleep((periph)->path, (chan), (priority), (wmesg), (timo))
/freebsd-11-stable/sys/dev/uart/
H A Duart_subr.c237 di->bas.chan = 0;
256 di->bas.chan = uart_parse_long(&spec);

Completed in 227 milliseconds

1234567891011>>