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

12345678

/drivers/net/wireless/brcm80211/brcmsmac/
H A Dstf.c30 #define BRCMS_STF_SS_STBC_RX(wlc) (BRCMS_ISNPHY(wlc->band) && \
31 NREV_GT(wlc->band->phyrev, 3) && NREV_LE(wlc->band->phyrev, 6))
66 struct brcms_phy_pub *pi = wlc->band->pi;
100 wlc_phy_txpower_get_current(wlc->band->pi, &power,
229 if (BRCMS_PHY_11N_CAP(wlc->band)) {
235 if (BRCMS_ISNPHY(wlc->band) &&
236 NREV_GE(wlc->band->phyrev, 3)
237 && NREV_LT(wlc->band->phyrev, 7))
240 if (BRCMS_ISLCNPHY(wlc->band) ||
305 brcms_c_stf_ss_update(struct brcms_c_info *wlc, struct brcms_band *band) argument
[all...]
H A Dstf.h30 struct brcms_band *band);
H A Dmain.c207 /* values for band specific 40MHz capabilities */
363 return wlc->band->basic_rate[mcs_table[rspec & RSPEC_RATE_MASK]
365 return wlc->band->basic_rate[rspec & RSPEC_RATE_MASK];
375 /* currently the best mechanism for determining SIFS is the band in use */
376 static u16 get_sifs(struct brcms_band *band) argument
378 return band->bandtype == BRCM_BAND_5G ? APHY_SIFS_TIME :
645 if (wlc->band->bandtype == BRCM_BAND_2G)
657 if (wlc->band->bandtype == BRCM_BAND_2G)
717 brcms_c_write_mhf(wlc_hw, wlc_hw->band->mhfs);
719 /* do band
1316 struct brcms_hw_band *band; local
4814 struct brcms_band *band; local
4896 struct brcms_band *band; local
4949 struct brcms_hw_band *band; local
5405 struct brcms_band *band; local
6260 brcms_c_valid_rate(struct brcms_c_info *wlc, u32 rspec, int band, bool verbose) argument
[all...]
H A Dchannel.c84 /* power level in group of 2.4GHz band channels:
93 /* maxpwr mapping to 5GHz band channels:
137 * by sub-band for 5 GHz limits using CHANNEL_POWER_IDX_5G(channel)
149 const u8 locale_2G; /* 2.4G band locale */
150 const u8 locale_5G; /* 5G band locale */
164 /* per-band state (one per phy/radio) */
178 /* Max tx pwr in qdBm for each sub-band */
180 /* Country IE advertised max tx pwr in dBm per sub-band */
734 struct brcms_band *band; local
739 band
933 struct brcms_band *band; local
1166 struct brcms_band *band; local
[all...]
H A Dmain.h148 ((uint)((wlc)->band->bandunit ? BAND_2G_INDEX : BAND_5G_INDEX))
155 * gmode_user: user config gmode, operating band->gmode is different.
193 * else use wlc->band->stf->ss_mode_band.
220 (((wlc)->stf->txstreams > 1) && (((wlc)->band->band_stf_stbc_tx == ON) \
222 (wlc)->band->band_stf_stbc_tx == AUTO && \
225 #define BRCMS_STBC_CAP_PHY(wlc) (BRCMS_ISNPHY(wlc->band) && \
226 NREV_GE(wlc->band->phyrev, 3))
228 #define BRCMS_SGI_CAP_PHY(wlc) ((BRCMS_ISNPHY(wlc->band) && \
229 NREV_GE(wlc->band->phyrev, 3)) || \
230 BRCMS_ISLCNPHY(wlc->band))
281 struct ieee80211_supported_band band; member in struct:brcms_band
340 struct brcms_hw_band *band;/* pointer to active per-band state */ member in struct:brcms_hardware
493 struct brcms_band *band; member in struct:brcms_c_info
[all...]
H A Dtypes.h36 /* Board has an external LNA in 2.4GHz band */
48 /* Board has an external LNA in 5GHz band */
55 /* Flag to implement alternative A-band PLL settings */
61 /* Board supports 5G band power gain */
70 /* Flag to narrow G-band PLL loop b/w */
76 /* Flag to widen G-band PLL loop b/w */
236 #define BRCMS_ISNPHY(band) PHYTYPE_IS((band)->phytype, PHY_TYPE_N)
237 #define BRCMS_ISLCNPHY(band) PHYTYPE_IS((band)
[all...]
/drivers/media/common/tuners/
H A Dmt2266.c42 u8 band; member in struct:mt2266_priv
135 u8 band; local
145 band = (freq < 300000) ? MT2266_VHF : MT2266_UHF;
146 if (band == MT2266_VHF)
166 if (band == MT2266_VHF && priv->band == MT2266_UHF) {
171 } else if (band == MT2266_UHF && priv->band == MT2266_VHF) {
214 dprintk("set_parms: tune=%d band=%d %s",
216 (band
[all...]
/drivers/net/wireless/iwmc3200wifi/
H A Deeprom.c157 struct ieee80211_supported_band *band; local
164 band = wiphy->bands[IEEE80211_BAND_2GHZ];
165 band->ht_cap.ht_supported = true;
169 band->ht_cap.ht_supported = false;
171 band = wiphy->bands[IEEE80211_BAND_5GHZ];
172 band->ht_cap.ht_supported = true;
175 band->ht_cap.ht_supported = false;
/drivers/net/wireless/iwlwifi/
H A Diwl-scan.c152 priv->scan_request->channels[0]->band);
289 notif->band ? "bg" : "a",
318 notif->band ? "bg" : "a",
393 enum ieee80211_band band, u8 n_probes)
395 if (band == IEEE80211_BAND_5GHZ)
445 enum ieee80211_band band)
447 u16 passive = (band == IEEE80211_BAND_2GHZ) ?
456 enum ieee80211_band band,
465 sband = iwl_get_hw_mode(priv, band);
467 IWL_ERR(priv, "invalid band\
392 iwl_get_active_dwell_time(struct iwl_priv *priv, enum ieee80211_band band, u8 n_probes) argument
444 iwl_get_passive_dwell_time(struct iwl_priv *priv, enum ieee80211_band band) argument
454 iwl_get_single_channel_for_scan(struct iwl_priv *priv, struct ieee80211_vif *vif, enum ieee80211_band band, struct iwl_scan_channel *scan_ch) argument
495 iwl_get_channels_for_scan(struct iwl_priv *priv, struct ieee80211_vif *vif, enum ieee80211_band band, u8 is_active, u8 n_probes, struct iwl_scan_channel *scan_ch) argument
634 enum ieee80211_band band; local
954 iwl_scan_initiate(struct iwl_priv *priv, struct ieee80211_vif *vif, enum iwl_scan_type scan_type, enum ieee80211_band band) argument
[all...]
H A Diwl-core.h104 enum ieee80211_band band,
107 enum ieee80211_band band);
181 enum ieee80211_band band);
221 struct iwl_priv *priv, enum ieee80211_band band)
223 return priv->hw->wiphy->bands[band];
220 iwl_get_hw_mode( struct iwl_priv *priv, enum ieee80211_band band) argument
H A Diwl-eeprom.c84 * band.
558 enum ieee80211_band band; local
560 band = txp->flags & IWL_EEPROM_ENH_TXP_FL_BAND_52G ?
570 /* update matching band only */
571 if (band != ch_info->band)
786 case 1: /* 2.4GHz band */
792 case 2: /* 4.9GHz band */
798 case 3: /* 5.2GHz band */
804 case 4: /* 5.5GHz band */
841 iwl_mod_ht40_chan_info(struct iwl_priv *priv, enum ieee80211_band band, u16 channel, const struct iwl_eeprom_channel *eeprom_ch, u8 clear_ht40_extension_channel) argument
890 int band, ch; local
1048 iwl_get_channel_info(const struct iwl_priv *priv, enum ieee80211_band band, u16 channel) argument
[all...]
H A Diwl-core.c51 enum ieee80211_band band)
67 if (hw_params(priv).ht40_channel & BIT(band)) {
163 sband = &priv->bands[ch->band];
168 ieee80211_channel_to_frequency(ch->channel, ch->band);
231 enum ieee80211_band band,
236 ch_info = iwl_get_channel_info(priv, band, channel);
269 return iwl_is_channel_extension(priv, priv->band,
600 enum ieee80211_band band)
608 if (band == IEEE80211_BAND_5GHZ) {
630 ch_info = iwl_get_channel_info(priv, band, channe
49 iwl_init_ht_hw_capab(const struct iwl_priv *priv, struct ieee80211_sta_ht_cap *ht_info, enum ieee80211_band band) argument
230 iwl_is_channel_extension(struct iwl_priv *priv, enum ieee80211_band band, u16 channel, u8 extension_chan_offset) argument
599 iwl_get_single_channel_number(struct iwl_priv *priv, enum ieee80211_band band) argument
648 enum ieee80211_band band = ch->band; local
667 iwl_set_flags_for_band(struct iwl_priv *priv, struct iwl_rxon_context *ctx, enum ieee80211_band band, struct ieee80211_vif *vif) argument
[all...]
/drivers/net/wireless/wl12xx/
H A Dscan.c96 enum ieee80211_band band, bool passive)
109 (req->channels[i]->band == band) &&
117 wl1271_debug(DEBUG_SCAN, "band %d, center_freq %d ",
118 req->channels[i]->band,
161 enum ieee80211_band band,
202 band, passive);
213 if (band == IEEE80211_BAND_2GHZ)
214 cmd->params.band = WL1271_SCAN_BAND_2_4_GHZ;
216 cmd->params.band
93 wl1271_get_scan_channels(struct wl1271 *wl, struct cfg80211_scan_request *req, struct basic_scan_channel_params *channels, enum ieee80211_band band, bool passive) argument
160 wl1271_scan_send(struct wl1271 *wl, struct ieee80211_vif *vif, enum ieee80211_band band, bool passive, u32 basic_rate) argument
261 enum ieee80211_band band; local
410 wl1271_scan_get_sched_scan_channels(struct wl1271 *wl, struct cfg80211_sched_scan_request *req, struct conn_scan_ch_params *channels, u32 band, bool radar, bool passive, int start, int max_channels) argument
667 u8 band = IEEE80211_BAND_2GHZ; local
681 u8 band = IEEE80211_BAND_5GHZ; local
[all...]
/drivers/net/wireless/wl1251/
H A Drx.h113 u8 band; member in struct:wl1251_rx_descriptor
/drivers/net/wireless/orinoco/
H A Dcfg.c55 priv->band.bitrates = orinoco_rates;
56 priv->band.n_bitrates = ARRAY_SIZE(orinoco_rates);
66 priv->band.channels = priv->channels;
67 priv->band.n_channels = channels;
69 wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band;
179 if (chan->band != IEEE80211_BAND_2GHZ)
/drivers/net/wireless/rtlwifi/
H A Dregd.c156 enum ieee80211_band band; local
164 for (band = 0; band < IEEE80211_NUM_BANDS; band++) {
166 if (!wiphy->bands[band])
169 sband = wiphy->bands[band];
/drivers/net/wireless/bcmdhd/
H A Dbcmwifi_channels.c67 const char *band, *bw, *sb; local
70 band = "";
77 band = (CHSPEC_IS2G(chspec)) ? "b" : "a";
91 snprintf(buf, 6, "%d%s%s%s", channel, band, bw, sb);
100 uint channel, band, bw, ctl_sb; local
112 band = ((channel <= CH_MAX_2G_CHANNEL) ? WL_CHANSPEC_BAND_2G : WL_CHANSPEC_BAND_5G);
124 band = (c == 'a') ? WL_CHANSPEC_BAND_5G : WL_CHANSPEC_BAND_2G;
155 return (channel | band | bw | ctl_sb);
346 const char *band; local
352 band
[all...]
H A Dwldev_common.c325 struct net_device *dev, uint band)
329 if ((band == WLC_BAND_AUTO) || (band == WLC_BAND_5G) || (band == WLC_BAND_2G)) {
330 error = wldev_ioctl(dev, WLC_SET_BAND, &band, sizeof(band), true);
332 dhd_bus_band_set(dev, band);
324 wldev_set_band( struct net_device *dev, uint band) argument
H A Dwldev_common.h88 extern void dhd_bus_band_set(struct net_device *dev, uint band);
109 int wldev_set_band(struct net_device *dev, uint band);
/drivers/net/wireless/iwlegacy/
H A D3945-rs.c101 il3945_get_rate_idx_by_rssi(s32 rssi, enum ieee80211_band band) argument
110 switch (band) {
350 sband = hw->wiphy->bands[conf->channel->band];
376 if (sta->supp_rates[sband->band] & (1 << i)) {
382 il->_3945.sta_supp_rates = sta->supp_rates[sband->band];
383 /* For 5 GHz band it start at IL_FIRST_OFDM_RATE */
384 if (sband->band == IEEE80211_BAND_5GHZ) {
545 enum ieee80211_band band)
553 if (unlikely(band == IEEE80211_BAND_5GHZ)) {
657 rate_mask = sta->supp_rates[sband->band];
544 il3945_get_adjacent_rate(struct il3945_rs_sta *rs_sta, u8 idx, u16 rate_mask, enum ieee80211_band band) argument
[all...]
H A D4965.c678 * sub-band, to apply to channel of interest. Interpolation is proportional to
780 get_min_power_idx(s32 rate_power_idx, u32 band) argument
782 if (!band) {
1020 il4965_fill_txpower_tbl(struct il_priv *il, u8 band, u16 channel, u8 is_ht40, argument
1052 /* Get current (RXON) channel, band, width */
1053 D_TXPOWER("chan %d band %d is_ht40 %d\n", channel, band, is_ht40);
1055 ch_info = il_get_channel_info(il, il->band, channel);
1080 if (band)
1087 if (band)
1262 u8 band = 0; local
1473 u8 band = 0; local
[all...]
/drivers/net/wireless/p54/
H A Deeprom.c79 enum ieee80211_band band; member in struct:p54_channel_entry
127 enum ieee80211_band band)
131 switch (band) {
150 enum ieee80211_band band)
157 if ((!list->entries) || (!list->band_channel_num[band]))
165 list->band_channel_num[band], GFP_KERNEL);
169 ret = p54_fill_band_bitrates(dev, tmp, band);
173 for (i = 0, j = 0; (j < list->band_channel_num[band]) &&
177 if (chan->band != band)
125 p54_fill_band_bitrates(struct ieee80211_hw *dev, struct ieee80211_supported_band *band_entry, enum ieee80211_band band) argument
147 p54_generate_band(struct ieee80211_hw *dev, struct p54_channel_list *list, unsigned int *chan_num, enum ieee80211_band band) argument
235 int band, i; local
[all...]
/drivers/media/dvb/frontends/
H A Ds921.c269 int band, rc, i; local
276 for (band = 0; band < ARRAY_SIZE(s921_bandselect); band++)
277 if (p->frequency < s921_bandselect[band].freq_low)
279 band--;
281 if (band < 0) {
286 f_switch = s921_bandselect[band].band_reg;
332 dprintk("pll tune band=%d, pll=%d\n", f_switch, (int)f_offset);
/drivers/net/wireless/ath/ath9k/
H A Dcommon.c71 switch (chan->band) {
117 if (chan->band == IEEE80211_BAND_2GHZ) {
/drivers/net/wireless/ath/
H A Dregd.c57 /* This one skips what we call "mid band" */
191 enum ieee80211_band band; local
199 for (band = 0; band < IEEE80211_NUM_BANDS; band++) {
201 if (!wiphy->bands[band])
204 sband = wiphy->bands[band];
651 enum ieee80211_band band)
659 switch (band) {
650 ath_regd_get_band_ctl(struct ath_regulatory *reg, enum ieee80211_band band) argument

Completed in 379 milliseconds

12345678