/linux-master/drivers/net/wireless/marvell/libertas/ |
H A D | cfg.c | 27 .band = NL80211_BAND_2GHZ, \ 1276 enum nl80211_band band; local 1291 for (band = 0; band < NUM_NL80211_BANDS; band++) { 1294 if (!wiphy->bands[band]) 1297 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { 1299 if (wiphy->bands[band]->channels[j].flags & 1303 creq->channels[i] = &wiphy->bands[band]->channels[j];
|
/linux-master/drivers/devfreq/ |
H A D | tegra30-devfreq.c | 255 u32 band = avg_band_freq * tegra->devfreq->profile->polling_ms; local 258 avg = min(dev->avg_count, U32_MAX - band); 259 device_writel(dev, avg + band, ACTMON_DEV_AVG_UPPER_WMARK); 261 avg = max(dev->avg_count, band); 262 device_writel(dev, avg - band, ACTMON_DEV_AVG_LOWER_WMARK);
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | dib0070.c | 3 * Linux-DVB Driver for DiBcom's DiB0070 base-band RF Tuner. 331 u8 band = (u8)BAND_OF_FREQUENCY(fe->dtv_property_cache.frequency/1000); local 332 u32 freq = fe->dtv_property_cache.frequency/1000 + (band == BAND_VHF ? state->cfg->freq_offset_khz_vhf : state->cfg->freq_offset_khz_uhf); 369 dprintk("Tuning for Band: %d (%d kHz)\n", band, freq); 384 switch (band) { 437 if (band == BAND_SBAND) { 768 MODULE_DESCRIPTION("Driver for the DiBcom 0070 base-band RF Tuner");
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | rs-fw.c | 381 tmp = link_sta->supp_rates[sband->band]; 537 if (link_conf->chanreq.oper.chan->band == NL80211_BAND_6GHZ) { 547 } else if (link_conf->chanreq.oper.chan->band == NL80211_BAND_2GHZ && 588 enum nl80211_band band) 593 struct ieee80211_supported_band *sband = hw->wiphy->bands[band]; 583 iwl_mvm_rs_fw_rate_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_bss_conf *link_conf, struct ieee80211_link_sta *link_sta, enum nl80211_band band) argument
|
/linux-master/drivers/net/wireless/realtek/rtw89/ |
H A D | coex.c | 1385 memcpy(&dm->gnt.band[i], &prpt->v4.gnt_val[i], 1386 sizeof(dm->gnt.band[i])); 1417 memcpy(&dm->gnt.band[i], &prpt->v5.gnt_val[i][0], 1418 sizeof(dm->gnt.band[i])); 1444 memcpy(&dm->gnt.band[i], &prpt->v105.gnt_val[i][0], 1445 sizeof(dm->gnt.band[i])); 2202 struct rtw89_mac_ax_gnt *g = dm->gnt.band; 2559 r->connected && r->band == RTW89_BAND_2G) { 2564 r1->connected && r1->band == RTW89_BAND_2G) { 2569 r2->connected && r2->band 5747 rtw89_btc_ntfy_scan_start(struct rtw89_dev *rtwdev, u8 phy_idx, u8 band) argument 5795 rtw89_btc_ntfy_switch_band(struct rtw89_dev *rtwdev, u8 phy_idx, u8 band) argument 6331 u8 band; local [all...] |
H A D | fw.c | 2322 h2c->info[0].band = chan->band_type; 3918 RTW89_SET_FWCMD_CXROLE_ACT_BAND(cmd, active->band, i, offset); 3999 RTW89_SET_FWCMD_CXROLE_ACT_BAND(cmd, active->band, i, offset); 4089 RTW89_SET_FWCMD_CXROLE_ACT_BAND_V2(cmd, active->band, i, offset); 4287 RTW89_SET_FWCMD_CXRFK_BAND(cmd, rfk_info->band); 4685 le32_encode_bits(option->band, RTW89_H2C_SCANOFLD_BE_W0_BAND); 4728 le32_encode_bits(option->band, 4841 mccch->band_0 = cpu_to_le32(rfk_mcc->band[0]); 4842 mccch->band_1 = cpu_to_le32(rfk_mcc->band[1]); 4844 mccch->current_band_type = cpu_to_le32(rfk_mcc->band[id 5498 rtw89_is_6ghz_wildcard_probe_req(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif, struct rtw89_pktofld_info *info, enum nl80211_band band, u8 ssid_idx) argument 5527 u8 band; local 5676 u8 band, probe_count = 0; local 5749 u8 band, probe_count = 0, i; local [all...] |
H A D | rtw8851b_rfk.c | 127 * and 2 are used in 5 GHz band, so reduce elements to 2. 1756 dpk->bp[path][kidx].band = chan->band_type; 1765 dpk->bp[path][kidx].band == 0 ? "2G" : 1766 dpk->bp[path][kidx].band == 1 ? "5G" : "6G", 2063 if (dpk->bp[path][kidx].band == RTW89_BAND_2G) { 2202 if (dpk->bp[path][kidx].band == RTW89_BAND_2G) 2418 if (dpk->bp[path][kidx].band != RTW89_BAND_2G) 2623 enum rtw89_band band = chan->band_type; local 2627 rtw89_rfk_parser_by_cond(rtwdev, band == RTW89_BAND_2G, 2761 enum rtw89_band band local 2772 enum rtw89_band band = chan->band_type; local 3104 u8 band; local 3606 rtw8851b_ctrl_bw_ch(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, u8 central_ch, enum rtw89_band band, enum rtw89_bandwidth bw) argument [all...] |
H A D | rtw8852c.c | 955 u8 band = chan->band_type; local 957 bool is_2g = band == RTW89_BAND_2G; 1029 if (band == RTW89_BAND_2G) { 1067 chan_idx = rtw89_encode_chan_idx(rtwdev, chan->primary_channel, band); 1502 static void rtw8852c_bb_reset_en(struct rtw89_dev *rtwdev, enum rtw89_band band, argument 1512 if (band == RTW89_BAND_2G) 2012 u8 band = chan->band_type; local 2013 u8 regd = rtw89_regd_get(rtwdev, band); 2014 u8 tx_shape_cck = (*rfe_parms->tx_shape.lmt)[band][RTW89_RS_CCK][regd]; 2015 u8 tx_shape_ofdm = (*rfe_parms->tx_shape.lmt)[band][RTW89_RS_OFD 2101 u8 band = chan->band_type; local 2753 enum nl80211_band band; local [all...] |
/linux-master/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 354 status->band = chan->band; 420 if (status->band == NL80211_BAND_2GHZ)
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sch_red_core.sh | 305 local band=$((8 - tc)) 308 echo "10$band:" 370 local band=$((8 - tc)) 482 __do_ecn_test get_qdisc_nmarked "$vlan" "$limit" "per-band ECN"
|
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mcu.h | 146 u8 band; /* 0: 2.4GHz, 1: 5GHz */ member in struct:mt7996_mcu_background_chain_ctrl 390 u8 band; member in struct:bss_rlm_tlv 663 u8 band; member in struct:vow_rx_airtime
|
H A D | main.c | 233 if (phy->mt76->chandef.chan->band != NL80211_BAND_2GHZ) 570 u8 band = mvif->mt76.band_idx; local 574 mt76_wr(dev, MT_WF_PHYRX_BAND_GID_TAB_VLD0(band), mu[0]); 575 mt76_wr(dev, MT_WF_PHYRX_BAND_GID_TAB_VLD1(band), mu[1]); 578 mt76_wr(dev, MT_WF_PHYRX_BAND_GID_TAB_POS0(band), mu[0]); 579 mt76_wr(dev, MT_WF_PHYRX_BAND_GID_TAB_POS1(band), mu[1]); 580 mt76_wr(dev, MT_WF_PHYRX_BAND_GID_TAB_POS2(band), mu[2]); 581 mt76_wr(dev, MT_WF_PHYRX_BAND_GID_TAB_POS3(band), mu[3]);
|
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mt7915.h | 422 s8 mt7915_eeprom_get_power_delta(struct mt7915_dev *dev, int band); 473 int mt7915_mcu_set_mac(struct mt7915_dev *dev, int band, bool enable, 477 int mt7915_mcu_set_ser(struct mt7915_dev *dev, u8 action, u8 set, u8 band);
|
H A D | mcu.h | 128 u8 band; /* 0: 2.4GHz, 1: 5GHz */ member in struct:mt7915_mcu_background_chain_ctrl 167 __le32 band; member in struct:mt7915_mcu_mib
|
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | rtw8822c.c | 1398 u8 band, u8 path) 1406 switch (band) { 1427 v = txgapk->rf3f_bp[band][gain][path]; 1430 tmp_3f = txgapk->rf3f_bp[band][gain][path]; 1435 txgapk->rf3f_bp[band][gain][path]); 1437 tmp_3f = txgapk->rf3f_bp[band][gain][path]; 1447 band, tmp_3f, path); 1453 u8 path, band; local 1458 for (band = 0; band < RF_BAND_MA 1397 _rtw8822c_txgapk_write_gain_bb_table(struct rtw_dev *rtwdev, u8 band, u8 path) argument 1658 u8 path, band = RF_BAND_2G_OFDM, channel = txgapk->channel; local 1730 u8 path, band, gain, rf0_idx; local [all...] |
/linux-master/drivers/net/wireless/ti/wlcore/ |
H A D | tx.c | 442 struct ieee80211_supported_band *band; local 446 band = wl->hw->wiphy->bands[rate_band]; 447 for (bit = 0; bit < band->n_bitrates; bit++) { 449 enabled_rates |= band->bitrates[bit].hw_value; 454 rate_set >>= HW_HT_RATES_OFFSET - band->n_bitrates; 931 wlvif->band);
|
H A D | tx.h | 235 u8 wlcore_rate_to_idx(struct wl1271 *wl, u8 rate, enum nl80211_band band);
|
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | link.c | 185 tx_info->band = sc->cur_chandef.chan->band;
|
/linux-master/net/mac80211/ |
H A D | tdls.c | 195 if (sband && sband->band == NL80211_BAND_2GHZ) { 449 * single HT-cap, so use the current band for now. 557 if (sband->band == NL80211_BAND_6GHZ) 666 /* only include VHT-operation if not on the 2.4GHz band */ 667 if (sband->band != NL80211_BAND_2GHZ && 1332 sband = local->hw.wiphy->bands[conf->def.chan->band]; 1849 enum nl80211_band band; local 1871 * We can't easily infer the channel band. The operating class is 1883 band = NL80211_BAND_5GHZ; 1885 band [all...] |
H A D | spectmgmt.c | 28 u32 cf0 = ieee80211_channel_to_frequency(ccfs0, chandef->chan->band); 29 u32 cf1 = ieee80211_channel_to_frequency(ccfs1, chandef->chan->band);
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac_mcu.h | 1464 u8 band; /* 1: 2.4GHz member in struct:mt76_connac_mcu_scan_channel 1748 u8 band; /* 2.4GHz - 5GHz - 6GHz */ member in struct:mt76_connac_tx_power_limit_tlv 1886 enum nl80211_band band, struct ieee80211_sta *sta); 1923 int mt76_connac_mcu_set_rts_thresh(struct mt76_dev *dev, u32 val, u8 band); 1924 int mt76_connac_mcu_set_mac_enable(struct mt76_dev *dev, int band, bool enable, 1980 enum nl80211_band band, struct ieee80211_sta *sta); 1982 enum nl80211_band band); 2002 int mt76_connac_mcu_set_pm(struct mt76_dev *dev, int band, int enter);
|
/linux-master/drivers/net/wireless/intel/iwlegacy/ |
H A D | common.h | 299 * There is one level for 2.4 GHz band and one for 5 GHz band. These 421 enum nl80211_band band, 439 * us from this band's saturation power in EEPROM */ 486 enum nl80211_band band; member in struct:il_channel_info 796 * @ht40_channel: is 40MHz width possible in band 2.4 1127 enum nl80211_band band; member in struct:il_priv 1465 return ch_info->band == NL80211_BAND_5GHZ; 1694 void il_set_flags_for_band(struct il_priv *il, enum nl80211_band band, 1696 u8 il_get_single_channel_number(struct il_priv *il, enum nl80211_band band); 1942 il_get_hw_mode(struct il_priv *il, enum nl80211_band band) argument 2793 enum nl80211_band band; member in struct:il_lq_sta [all...] |
/linux-master/include/net/ |
H A D | mac80211.h | 603 * the current band. 605 * @mcast_rate: per-band multicast rate index + 1 (0: disabled) 876 * frames not being sent at CCK rate in 2GHz band. 1139 * @band: the band to transmit on (use e.g. for checking for races), 1179 u32 band:3, member in struct:ieee80211_tx_info 1306 * @ies: pointers to band specific IEs. 1550 * @band: the active band when this frame was received 1563 * @rate_idx: index of data rate into band' 1612 u8 band; member in struct:ieee80211_rx_status 6934 rate_supported(struct ieee80211_sta *sta, enum nl80211_band band, int index) argument [all...] |
/linux-master/drivers/net/wireless/zydas/zd1211rw/ |
H A D | zd_mac.h | 190 struct ieee80211_supported_band band; member in struct:zd_mac
|
/linux-master/drivers/net/wireless/intersil/p54/ |
H A D | txrx.c | 357 if (priv->hw->conf.chandef.chan->band == NL80211_BAND_5GHZ) 363 rx_status->band = priv->hw->conf.chandef.chan->band; 872 if (info->band == NL80211_BAND_5GHZ)
|