Home
last modified time | relevance | path

Searched refs:hw_value (Results 1 – 136 of 136) sorted by relevance

/linux-4.4.14/drivers/staging/vt6656/
Dchannel.c43 { .bitrate = 10, .hw_value = RATE_1M },
44 { .bitrate = 20, .hw_value = RATE_2M },
45 { .bitrate = 55, .hw_value = RATE_5M },
46 { .bitrate = 110, .hw_value = RATE_11M },
47 { .bitrate = 60, .hw_value = RATE_6M },
48 { .bitrate = 90, .hw_value = RATE_9M },
49 { .bitrate = 120, .hw_value = RATE_12M },
50 { .bitrate = 180, .hw_value = RATE_18M },
51 { .bitrate = 240, .hw_value = RATE_24M },
52 { .bitrate = 360, .hw_value = RATE_36M },
[all …]
Drf.c759 u16 hw_value = priv->hw->conf.chandef.chan->hw_value; in vnt_rf_set_txpower() local
767 "%s 11b channel [%d]\n", __func__, hw_value); in vnt_rf_set_txpower()
769 hw_value--; in vnt_rf_set_txpower()
771 if (hw_value < ARRAY_SIZE(vt3226d0_lo_current_table)) in vnt_rf_set_txpower()
773 vt3226d0_lo_current_table[hw_value]); in vnt_rf_set_txpower()
Dwcmd.c139 priv->hw->conf.chandef.chan->hw_value); in vnt_run_command()
Dmain_usb.c664 vnt_set_channel(priv, conf->chandef.chan->hw_value); in vnt_config()
685 conf->chandef.chan->hw_value); in vnt_config()
741 conf->chandef.chan->hw_value); in vnt_bss_info_changed()
762 vnt_adjust_tsf(priv, conf->beacon_rate->hw_value, in vnt_bss_info_changed()
Ddpc.c110 if (sband->bitrates[ii].hw_value == r) { in vnt_rx_data()
Dint.c94 tx_rate = rate->hw_value - RATE_18M; in vnt_int_report_rate()
Drxtx.c807 current_rate = rate->hw_value; in vnt_tx_packet()
/linux-4.4.14/drivers/staging/vt6655/
Dchannel.c29 { .bitrate = 10, .hw_value = RATE_1M },
30 { .bitrate = 20, .hw_value = RATE_2M },
31 { .bitrate = 55, .hw_value = RATE_5M },
32 { .bitrate = 110, .hw_value = RATE_11M },
33 { .bitrate = 60, .hw_value = RATE_6M },
34 { .bitrate = 90, .hw_value = RATE_9M },
35 { .bitrate = 120, .hw_value = RATE_12M },
36 { .bitrate = 180, .hw_value = RATE_18M },
37 { .bitrate = 240, .hw_value = RATE_24M },
38 { .bitrate = 360, .hw_value = RATE_36M },
[all …]
Ddpc.c78 if (sband->bitrates[ii].hw_value == r) { in vnt_rx_data()
Ddevice_main.c800 tx_rate = rate->hw_value - RATE_18M; in vnt_int_report_rate()
1307 conf->chandef.chan->hw_value); in vnt_config()
1369 conf->chandef.chan->hw_value); in vnt_bss_info_changed()
1389 CARDbUpdateTSF(priv, conf->beacon_rate->hw_value, in vnt_bss_info_changed()
Drxtx.c1296 current_rate = rate->hw_value; in vnt_generate_fifo_header()
1302 priv->hw->conf.chandef.chan->hw_value); in vnt_generate_fifo_header()
/linux-4.4.14/drivers/net/wireless/rsi/
Drsi_91x_mac80211.c24 .hw_value = 1 }, /* Channel 1 */
26 .hw_value = 2 }, /* Channel 2 */
28 .hw_value = 3 }, /* Channel 3 */
30 .hw_value = 4 }, /* Channel 4 */
32 .hw_value = 5 }, /* Channel 5 */
34 .hw_value = 6 }, /* Channel 6 */
36 .hw_value = 7 }, /* Channel 7 */
38 .hw_value = 8 }, /* Channel 8 */
40 .hw_value = 9 }, /* Channel 9 */
42 .hw_value = 10 }, /* Channel 10 */
[all …]
Drsi_91x_mgmt.c1081 cpu_to_le16(rsi_rates[kk].hw_value); in rsi_send_auto_rate_request()
/linux-4.4.14/drivers/net/wireless/libertas_tf/
Dmain.c39 { .center_freq = 2412, .hw_value = 1 },
40 { .center_freq = 2417, .hw_value = 2 },
41 { .center_freq = 2422, .hw_value = 3 },
42 { .center_freq = 2427, .hw_value = 4 },
43 { .center_freq = 2432, .hw_value = 5 },
44 { .center_freq = 2437, .hw_value = 6 },
45 { .center_freq = 2442, .hw_value = 7 },
46 { .center_freq = 2447, .hw_value = 8 },
47 { .center_freq = 2452, .hw_value = 9 },
48 { .center_freq = 2457, .hw_value = 10 },
[all …]
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Dbase.c64 {.center_freq = 2412, .hw_value = 1,},
65 {.center_freq = 2417, .hw_value = 2,},
66 {.center_freq = 2422, .hw_value = 3,},
67 {.center_freq = 2427, .hw_value = 4,},
68 {.center_freq = 2432, .hw_value = 5,},
69 {.center_freq = 2437, .hw_value = 6,},
70 {.center_freq = 2442, .hw_value = 7,},
71 {.center_freq = 2447, .hw_value = 8,},
72 {.center_freq = 2452, .hw_value = 9,},
73 {.center_freq = 2457, .hw_value = 10,},
[all …]
Dcore.c664 u8 wide_chan = (u8) channel->hw_value; in rtl_op_config()
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00config.c185 center_channel = spec->channels[conf->chandef.chan->hw_value].channel; in rt2x00ht_center_channel()
200 return conf->chandef.chan->hw_value; in rt2x00ht_center_channel()
208 u16 hw_value; in rt2x00lib_config() local
225 hw_value = rt2x00ht_center_channel(rt2x00dev, conf); in rt2x00lib_config()
228 hw_value = conf->chandef.chan->hw_value; in rt2x00lib_config()
232 &rt2x00dev->spec.channels[hw_value], in rt2x00lib_config()
236 &rt2x00dev->spec.channels_info[hw_value], in rt2x00lib_config()
Drt2x00lib.h54 static inline const struct rt2x00_rate *rt2x00_get_rate(const u16 hw_value) in rt2x00_get_rate() argument
56 return &rt2x00_supported_rates[hw_value & 0xff]; in rt2x00_get_rate()
Drt2x00dev.c658 rate = rt2x00_get_rate(sband->bitrates[i].hw_value); in rt2x00lib_rxdone_read_signal()
917 entry->hw_value = value; in rt2x00lib_channel()
927 entry->hw_value = index; in rt2x00lib_rate()
Drt2x00queue.c474 hwrate = rt2x00_get_rate(rate->hw_value); in rt2x00queue_create_tx_descriptor()
/linux-4.4.14/drivers/net/wireless/zd1211rw/
Dzd_mac.c53 .hw_value = ZD_CCK_RATE_1M, },
55 .hw_value = ZD_CCK_RATE_2M,
59 .hw_value = ZD_CCK_RATE_5_5M,
63 .hw_value = ZD_CCK_RATE_11M,
67 .hw_value = ZD_OFDM_RATE_6M,
70 .hw_value = ZD_OFDM_RATE_9M,
73 .hw_value = ZD_OFDM_RATE_12M,
76 .hw_value = ZD_OFDM_RATE_18M,
79 .hw_value = ZD_OFDM_RATE_24M,
82 .hw_value = ZD_OFDM_RATE_36M,
[all …]
/linux-4.4.14/drivers/net/wireless/iwlwifi/
Diwl-eeprom-parse.c183 { .bitrate = 1 * 10, .hw_value = 0, .hw_value_short = 0, },
184 { .bitrate = 2 * 10, .hw_value = 1, .hw_value_short = 1,
186 { .bitrate = 5.5 * 10, .hw_value = 2, .hw_value_short = 2,
188 { .bitrate = 11 * 10, .hw_value = 3, .hw_value_short = 3,
190 { .bitrate = 6 * 10, .hw_value = 4, .hw_value_short = 4, },
191 { .bitrate = 9 * 10, .hw_value = 5, .hw_value_short = 5, },
192 { .bitrate = 12 * 10, .hw_value = 6, .hw_value_short = 6, },
193 { .bitrate = 18 * 10, .hw_value = 7, .hw_value_short = 7, },
194 { .bitrate = 24 * 10, .hw_value = 8, .hw_value_short = 8, },
195 { .bitrate = 36 * 10, .hw_value = 9, .hw_value_short = 9, },
[all …]
Diwl-nvm-parse.c159 { .bitrate = 1 * 10, .hw_value = 0, .hw_value_short = 0, },
160 { .bitrate = 2 * 10, .hw_value = 1, .hw_value_short = 1,
162 { .bitrate = 5.5 * 10, .hw_value = 2, .hw_value_short = 2,
164 { .bitrate = 11 * 10, .hw_value = 3, .hw_value_short = 3,
166 { .bitrate = 6 * 10, .hw_value = 4, .hw_value_short = 4, },
167 { .bitrate = 9 * 10, .hw_value = 5, .hw_value_short = 5, },
168 { .bitrate = 12 * 10, .hw_value = 6, .hw_value_short = 6, },
169 { .bitrate = 18 * 10, .hw_value = 7, .hw_value_short = 7, },
170 { .bitrate = 24 * 10, .hw_value = 8, .hw_value_short = 8, },
171 { .bitrate = 36 * 10, .hw_value = 9, .hw_value_short = 9, },
[all …]
/linux-4.4.14/drivers/net/wireless/p54/
Deeprom.c33 { .bitrate = 10, .hw_value = 0, },
34 { .bitrate = 20, .hw_value = 1, .flags = IEEE80211_RATE_SHORT_PREAMBLE },
35 { .bitrate = 55, .hw_value = 2, .flags = IEEE80211_RATE_SHORT_PREAMBLE },
36 { .bitrate = 110, .hw_value = 3, .flags = IEEE80211_RATE_SHORT_PREAMBLE },
37 { .bitrate = 60, .hw_value = 4, },
38 { .bitrate = 90, .hw_value = 5, },
39 { .bitrate = 120, .hw_value = 6, },
40 { .bitrate = 180, .hw_value = 7, },
41 { .bitrate = 240, .hw_value = 8, },
42 { .bitrate = 360, .hw_value = 9, },
[all …]
Dmain.c305 struct survey_info *info = &priv->survey[chan->hw_value]; in p54_reset_stats()
623 if (chan && chan->hw_value == idx) { in p54_get_survey()
Dtxrx.c588 struct survey_info *survey = &priv->survey[chan->hw_value]; in p54_rx_stats()
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dcfg80211.c506 first_chan = (u32) ch->hw_value; in mwifiex_send_domain_info_cmd_fw()
513 if (ch->hw_value == next_chan + 1 && in mwifiex_send_domain_info_cmd_fw()
523 first_chan = (u32) ch->hw_value; in mwifiex_send_domain_info_cmd_fw()
1449 {.bitrate = 10, .hw_value = 2, },
1450 {.bitrate = 20, .hw_value = 4, },
1451 {.bitrate = 55, .hw_value = 11, },
1452 {.bitrate = 110, .hw_value = 22, },
1453 {.bitrate = 60, .hw_value = 12, },
1454 {.bitrate = 90, .hw_value = 18, },
1455 {.bitrate = 120, .hw_value = 24, },
[all …]
D11h.c160 cr_req->chan_desc.chan_num = radar_params->chandef->chan->hw_value; in mwifiex_cmd_issue_chan_report_request()
167 radar_params->chandef->chan->hw_value); in mwifiex_cmd_issue_chan_report_request()
237 priv->dfs_chandef.chan->hw_value); in mwifiex_11h_handle_chanrpt_ready()
Dcfp.c347 if (ch->hw_value == channel || in mwifiex_get_cfp()
361 priv->cfp.channel = ch->hw_value; in mwifiex_get_cfp()
Dscan.c536 (u32) ch->hw_value; in mwifiex_scan_create_channel_list()
1641 bss->channel->hw_value) in mwifiex_save_hidden_ssid_channels()
1646 bss->channel->hw_value; in mwifiex_save_hidden_ssid_channels()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Dmain.c1244 .hw_value = 0x1,
1247 .hw_value = 0x2,
1251 .hw_value = 0x4,
1255 .hw_value = 0x20,
1259 .hw_value = 0x8,
1262 .hw_value = 0x10,
1265 .hw_value = 0x40,
1268 .hw_value = 0x80,
1271 .hw_value = 0x200,
1274 .hw_value = 0x400,
[all …]
Dcmd.c465 cmd->channels[i].channel = channels[i]->hw_value; in wl1251_cmd_scan()
Dtx.c169 tx_hdr->rate = cpu_to_le16(rate->hw_value); in wl1251_tx_fill_hdr()
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8187/
Ddev.c88 { .bitrate = 10, .hw_value = 0, },
89 { .bitrate = 20, .hw_value = 1, },
90 { .bitrate = 55, .hw_value = 2, },
91 { .bitrate = 110, .hw_value = 3, },
92 { .bitrate = 60, .hw_value = 4, },
93 { .bitrate = 90, .hw_value = 5, },
94 { .bitrate = 120, .hw_value = 6, },
95 { .bitrate = 180, .hw_value = 7, },
96 { .bitrate = 240, .hw_value = 8, },
97 { .bitrate = 360, .hw_value = 9, },
[all …]
Drtl8225.c289 cck_power = priv->channels[channel - 1].hw_value & 0xF; in rtl8225_rf_set_tx_power()
290 ofdm_power = priv->channels[channel - 1].hw_value >> 4; in rtl8225_rf_set_tx_power()
540 cck_power = priv->channels[channel - 1].hw_value & 0xF; in rtl8225z2_rf_set_tx_power()
541 ofdm_power = priv->channels[channel - 1].hw_value >> 4; in rtl8225z2_rf_set_tx_power()
595 cck_power = priv->channels[channel - 1].hw_value & 0xF; in rtl8225z2_b_rf_set_tx_power()
596 ofdm_power = priv->channels[channel - 1].hw_value >> 4; in rtl8225z2_b_rf_set_tx_power()
/linux-4.4.14/drivers/watchdog/
Dintel_scu_watchdog.c214 u32 hw_value; in intel_scu_set_heartbeat() local
281 hw_value = ioread32(watchdog_device.timer_load_count_addr); in intel_scu_set_heartbeat()
282 hw_value = hw_value & 0xFFFF0000; in intel_scu_set_heartbeat()
285 } while (soft_value != hw_value); in intel_scu_set_heartbeat()
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dmain.c5763 .hw_value = CONF_HW_BIT_RATE_1MBPS,
5766 .hw_value = CONF_HW_BIT_RATE_2MBPS,
5770 .hw_value = CONF_HW_BIT_RATE_5_5MBPS,
5774 .hw_value = CONF_HW_BIT_RATE_11MBPS,
5778 .hw_value = CONF_HW_BIT_RATE_6MBPS,
5781 .hw_value = CONF_HW_BIT_RATE_9MBPS,
5784 .hw_value = CONF_HW_BIT_RATE_12MBPS,
5787 .hw_value = CONF_HW_BIT_RATE_18MBPS,
5790 .hw_value = CONF_HW_BIT_RATE_24MBPS,
5793 .hw_value = CONF_HW_BIT_RATE_36MBPS,
[all …]
Dscan.c215 channels[j].channel = req_channels[i]->hw_value; in wlcore_scan_get_channels()
237 req_channels[i]->hw_value, in wlcore_scan_get_channels()
Dtx.c465 enabled_rates |= band->bitrates[bit].hw_value; in wl1271_tx_enabled_rates_get()
Dcmd.c1706 u16 ch = channel->hw_value; in wlcore_cmd_regdomain_config_locked()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dcommon-init.c24 .hw_value = (_idx), \
31 .hw_value = (_idx), \
98 .hw_value = (_hw_rate), \
Dcommon.c197 if (sband->bitrates[i].hw_value == rx_stats->rs_rate) { in ath9k_cmn_process_rate()
346 channel = &ah->channels[curchan->hw_value]; in ath9k_cmn_get_channel()
Dbeacon.c84 rate = sband->bitrates[rateidx].hw_value; in ath9k_beacon_setup()
Dinit.c703 ah->curchan = &ah->channels[chan->hw_value]; in ath9k_init_band_txpower()
Dxmit.c1245 info->rates[i].Rate = rate->hw_value; in ath_buf_set_rate()
2123 fi->rtscts_rate = rate->hw_value; in setup_frame_info()
Dchannel.c31 int pos = chan->hw_value; in ath_set_channel()
Dhtc_drv_main.c1213 int pos = curchan->hw_value; in ath9k_htc_config()
Dmain.c1947 pos = chan->hw_value; in ath9k_get_survey()
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8180/
Ddev.c90 { .bitrate = 10, .hw_value = 0, },
91 { .bitrate = 20, .hw_value = 1, },
92 { .bitrate = 55, .hw_value = 2, },
93 { .bitrate = 110, .hw_value = 3, },
94 { .bitrate = 60, .hw_value = 4, },
95 { .bitrate = 90, .hw_value = 5, },
96 { .bitrate = 120, .hw_value = 6, },
97 { .bitrate = 180, .hw_value = 7, },
98 { .bitrate = 240, .hw_value = 8, },
99 { .bitrate = 360, .hw_value = 9, },
[all …]
Dmax2820.c99 u32 txpw = priv->channels[chan_idx].hw_value & 0xFF; in max2820_rf_set_channel()
Drtl8225se.c217 cck_power = priv->channels[channel - 1].hw_value & 0xFF; in rtl8225sez2_rf_set_tx_power()
224 ofdm_power = priv->channels[channel - 1].hw_value >> 8; in rtl8225sez2_rf_set_tx_power()
Drtl8225.c266 cck_power = priv->channels[channel - 1].hw_value & 0xFF; in rtl8225_rf_set_tx_power()
267 ofdm_power = priv->channels[channel - 1].hw_value >> 8; in rtl8225_rf_set_tx_power()
482 cck_power = priv->channels[channel - 1].hw_value & 0xFF; in rtl8225z2_rf_set_tx_power()
483 ofdm_power = priv->channels[channel - 1].hw_value >> 8; in rtl8225z2_rf_set_tx_power()
Dgrf5101.c86 u32 txpw = priv->channels[channel - 1].hw_value & 0xFF; in grf5101_rf_set_channel()
Dsa2400.c109 u32 txpw = priv->channels[channel - 1].hw_value & 0xFF; in sa2400_rf_set_channel()
/linux-4.4.14/drivers/net/wireless/
Dmwl8k.c349 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2412, .hw_value = 1, },
350 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2417, .hw_value = 2, },
351 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2422, .hw_value = 3, },
352 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2427, .hw_value = 4, },
353 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2432, .hw_value = 5, },
354 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2437, .hw_value = 6, },
355 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2442, .hw_value = 7, },
356 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2447, .hw_value = 8, },
357 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2452, .hw_value = 9, },
358 { .band = IEEE80211_BAND_2GHZ, .center_freq = 2457, .hw_value = 10, },
[all …]
Dat76c50x-usb.c1815 tx_buffer->tx_rate = ieee80211_get_tx_rate(hw, info)->hw_value; in at76_mac80211_tx()
2019 __func__, hw->conf.chandef.chan->hw_value); in at76_config()
2024 priv->channel = hw->conf.chandef.chan->hw_value; in at76_config()
2286 { .bitrate = 10, .hw_value = TX_RATE_1MBIT, },
2287 { .bitrate = 20, .hw_value = TX_RATE_2MBIT, },
2288 { .bitrate = 55, .hw_value = TX_RATE_5_5MBIT, },
2289 { .bitrate = 110, .hw_value = TX_RATE_11MBIT, },
2293 { .center_freq = 2412, .hw_value = 1 },
2294 { .center_freq = 2417, .hw_value = 2 },
2295 { .center_freq = 2422, .hw_value = 3 },
[all …]
Dmac80211_hwsim.c260 .hw_value = (_freq), \
267 .hw_value = (_freq), \
/linux-4.4.14/drivers/media/rc/
Dene_ir.c735 u16 hw_value, reg; in ene_isr() local
784 hw_value = ene_read_reg(dev, reg); in ene_isr()
791 hw_value |= ene_read_reg(dev, reg + offset) << 8; in ene_isr()
792 pulse = hw_value & ENE_FW_SMPL_BUF_FAN_PLS; in ene_isr()
795 hw_value &= ENE_FW_SMPL_BUF_FAN_MSK; in ene_isr()
796 hw_sample = hw_value * ENE_FW_SAMPLE_PERIOD_FAN; in ene_isr()
799 pulse = !(hw_value & ENE_FW_SAMPLE_SPACE); in ene_isr()
800 hw_value &= ~ENE_FW_SAMPLE_SPACE; in ene_isr()
801 hw_sample = hw_value * sample_period; in ene_isr()
/linux-4.4.14/drivers/net/wireless/b43legacy/
Dxmit.c212 rate = tx_rate->hw_value; in generate_txhdr_fw3()
215 rate_fb_ofdm = b43legacy_is_ofdm_rate(rate_fb->hw_value); in generate_txhdr_fw3()
221 if ((rate_fb->hw_value == rate) || in generate_txhdr_fw3()
273 rate_fb->hw_value); in generate_txhdr_fw3()
314 rts_rate = ieee80211_get_rts_cts_rate(dev->wl->hw, info)->hw_value; in generate_txhdr_fw3()
Dmain.c101 .hw_value = (_rateid), \
130 .hw_value = (_chanid), \
983 rate = ieee80211_get_tx_rate(dev->wl->hw, info)->hw_value; in b43legacy_write_beacon_template()
1056 b43legacy_generate_plcp_hdr(&plcp, size + FCS_LEN, rate->hw_value); in b43legacy_write_probe_resp_plcp()
1162 shm_size_offset, rate->hw_value); in b43legacy_write_probe_resp_template()
2749 if (conf->chandef.chan->hw_value != phy->channel) in b43legacy_op_dev_config()
2750 b43legacy_radio_selectchannel(dev, conf->chandef.chan->hw_value, in b43legacy_op_dev_config()
2803 if (b43legacy_is_cck_rate(rate->hw_value)) { in b43legacy_update_basic_rates()
2806 offset = b43legacy_plcp_get_ratecode_cck(rate->hw_value); in b43legacy_update_basic_rates()
2811 offset = b43legacy_plcp_get_ratecode_ofdm(rate->hw_value); in b43legacy_update_basic_rates()
[all …]
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Dbase.c154 .hw_value = ATH5K_RATE_CODE_1M, },
156 .hw_value = ATH5K_RATE_CODE_2M,
160 .hw_value = ATH5K_RATE_CODE_5_5M,
164 .hw_value = ATH5K_RATE_CODE_11M,
168 .hw_value = ATH5K_RATE_CODE_6M,
172 .hw_value = ATH5K_RATE_CODE_9M,
176 .hw_value = ATH5K_RATE_CODE_12M,
180 .hw_value = ATH5K_RATE_CODE_18M,
184 .hw_value = ATH5K_RATE_CODE_24M,
188 .hw_value = ATH5K_RATE_CODE_36M,
[all …]
Dphy.c293 (channel->hw_value == AR5K_MODE_11B)); in ath5k_hw_write_ofdm_timings()
374 delay = (channel->hw_value == AR5K_MODE_11B) ? in ath5k_hw_wait_for_synth()
922 if (channel->hw_value == AR5K_MODE_11B) in ath5k_hw_rfregs_init()
979 if (channel->hw_value != AR5K_MODE_11B) { in ath5k_hw_rfregs_init()
1036 if (channel->hw_value != AR5K_MODE_11B) { in ath5k_hw_rfregs_init()
1881 channel->hw_value != AR5K_MODE_11B) in ath5k_hw_phy_calibrate()
2598 switch (channel->hw_value) { in ath5k_get_chan_pcal_surrounding_piers()
2686 switch (channel->hw_value) { in ath5k_get_rate_pcal_data()
2784 switch (channel->hw_value) { in ath5k_get_max_ctl_power()
3645 (channel->hw_value != curr_channel->hw_value) || in ath5k_hw_txpower()
[all …]
Dreset.c141 switch (channel->hw_value) { in ath5k_hw_init_core_clock()
759 if (channel->hw_value == AR5K_MODE_11B) { in ath5k_hw_nic_wakeup()
1001 if (channel->hw_value == AR5K_MODE_11G) in ath5k_hw_commit_eeprom_settings()
1172 mode = channel->hw_value; in ath5k_hw_reset()
Dpcu.c193 if ((channel->hw_value == AR5K_MODE_11B) && !ah->ah_short_slot) in ath5k_hw_get_default_slottime()
299 reg = AR5K_RATE_DUR(rate->hw_value); in ath5k_hw_write_rate_duration()
Ddebug.c1069 band->channels[i].hw_value, in ath5k_debug_dump_bands()
1075 band->bitrates[i].hw_value, in ath5k_debug_dump_bands()
Deeprom.c1785 switch (channel->hw_value) { in ath5k_eeprom_mode_from_channel()
/linux-4.4.14/drivers/net/wireless/ath/ar5523/
Dar5523.c1209 band->bitrates[bit].hw_value, sta_rate_set & 1); in ar5523_create_rateset()
1211 rs->set[i] = band->bitrates[bit].hw_value; in ar5523_create_rateset()
1435 { .bitrate = 10, .hw_value = 2, },
1436 { .bitrate = 20, .hw_value = 4 },
1437 { .bitrate = 55, .hw_value = 11, },
1438 { .bitrate = 110, .hw_value = 22, },
1439 { .bitrate = 60, .hw_value = 12, },
1440 { .bitrate = 90, .hw_value = 18, },
1441 { .bitrate = 120, .hw_value = 24, },
1442 { .bitrate = 180, .hw_value = 36, },
[all …]
/linux-4.4.14/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.c76 { .bitrate = 10, .hw_value = DESC_RATE_1M, .flags = 0 },
77 { .bitrate = 20, .hw_value = DESC_RATE_2M, .flags = 0 },
78 { .bitrate = 55, .hw_value = DESC_RATE_5_5M, .flags = 0 },
79 { .bitrate = 110, .hw_value = DESC_RATE_11M, .flags = 0 },
80 { .bitrate = 60, .hw_value = DESC_RATE_6M, .flags = 0 },
81 { .bitrate = 90, .hw_value = DESC_RATE_9M, .flags = 0 },
82 { .bitrate = 120, .hw_value = DESC_RATE_12M, .flags = 0 },
83 { .bitrate = 180, .hw_value = DESC_RATE_18M, .flags = 0 },
84 { .bitrate = 240, .hw_value = DESC_RATE_24M, .flags = 0 },
85 { .bitrate = 360, .hw_value = DESC_RATE_36M, .flags = 0 },
[all …]
/linux-4.4.14/drivers/net/wireless/libertas/
Dcfg.c28 .hw_value = (_channel), \
53 .hw_value = (_hw_value), \
223 priv->scan_req->channels[priv->scan_channel]->hw_value; in lbs_add_channel_list_tlv()
453 ret = lbs_set_channel(priv, chandef->chan->hw_value); in lbs_cfg_set_monitor_channel()
473 ret = lbs_mesh_set_channel(priv, channel->hw_value); in lbs_cfg_set_mesh_channel()
1151 pos += lbs_add_channel_tlv(pos, bss->channel->hw_value); in lbs_associate()
1636 if (priv->cur_rate == lbs_rates[i].hw_value) { in lbs_cfg_get_station()
1732 *fake++ = params->chandef.chan->hw_value; in lbs_join_post()
1833 cmd.bss.ds.channel = params->chandef.chan->hw_value; in lbs_ibss_join_existing()
1945 cmd.ds.channel = params->chandef.chan->hw_value; in lbs_ibss_start_new()
[all …]
Dcmd.c795 next_chan = first_channel = (u32) ch->hw_value; in lbs_set_11d_domain_info()
801 if ((ch->hw_value == next_chan + 1) && in lbs_set_11d_domain_info()
/linux-4.4.14/drivers/staging/rtl8723au/include/
Dieee80211.h271 u16 hw_value; member
298 (channel)->hw_value \
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dcfg80211.c24 .hw_value = (_channel), \
319 int ch = request->channels[i]->hw_value; in wil_cfg80211_scan()
385 sme->channel->hw_value, sme->channel->center_freq); in wil_print_connect_params()
499 ch = bss->channel->hw_value; in wil_cfg80211_connect()
676 rc = wmi_set_channel(wil, chan->hw_value); in wil_remain_on_channel()
890 wil_dbg_misc(wil, "AP on Channel %d %d MHz, %s\n", channel->hw_value, in wil_cfg80211_start_ap()
910 info->beacon_interval, channel->hw_value, in wil_cfg80211_start_ap()
Dwmi.c1122 cmd.sniffer_cfg.channel = ch->hw_value - 1; in wmi_rx_chain_add()
/linux-4.4.14/drivers/net/wireless/b43/
Dphy_lcn.c635 b43_phy_lcn_set_channel_tweaks(dev, channel->hw_value); in b43_phy_lcn_set_channel()
645 b43_phy_write(dev, 0x657, sfo_cfg[channel->hw_value - 1][0]); in b43_phy_lcn_set_channel()
646 b43_phy_write(dev, 0x658, sfo_cfg[channel->hw_value - 1][1]); in b43_phy_lcn_set_channel()
648 if (channel->hw_value == 14) { in b43_phy_lcn_set_channel()
Dxmit.c271 rate = txrate ? txrate->hw_value : B43_CCK_RATE_1MB; in b43_generate_txhdr()
274 rate_fb = fbrate->hw_value; in b43_generate_txhdr()
439 rts_rate = rts_cts_rate ? rts_cts_rate->hw_value : B43_CCK_RATE_1MB; in b43_generate_txhdr()
Dphy_ht.c753 if (new_channel->hw_value == 13 || new_channel->hw_value == 14) in b43_phy_ht_spur_avoid()
802 if (new_channel->hw_value == 14) { in b43_phy_ht_channel_setup()
Dmain.c159 .hw_value = (_rateid), \
192 .hw_value = (_channel), \
221 .hw_value = (_channel), \
229 .hw_value = (_channel), \
1627 rate = ieee80211_get_tx_rate(dev->wl->hw, info)->hw_value; in b43_write_beacon_template()
4008 phy->channel = conf->chandef.chan->hw_value; in b43_op_config()
4079 if (b43_is_cck_rate(rate->hw_value)) { in b43_update_basic_rates()
4082 offset = b43_plcp_get_ratecode_cck(rate->hw_value); in b43_update_basic_rates()
4087 offset = b43_plcp_get_ratecode_ofdm(rate->hw_value); in b43_update_basic_rates()
4093 if (b43_is_cck_rate(rate->hw_value)) { in b43_update_basic_rates()
[all …]
Dphy_common.c107 phy->channel = phy->chandef->chan->hw_value; in b43_phy_init()
Dphy_n.c6291 int ch = new_channel->hw_value; in b43_nphy_channel_setup()
6317 if (new_channel->hw_value == 14) { in b43_nphy_channel_setup()
6420 channel->hw_value); in b43_nphy_set_channel()
6427 phy->channel = channel->hw_value; in b43_nphy_set_channel()
/linux-4.4.14/drivers/net/wireless/cw1200/
Dmain.c66 .hw_value = (_rateid), \
107 .hw_value = (_channel), \
116 .hw_value = (_channel), \
Dscan.c237 scan.ch[i].number = priv->scan.curr[i]->hw_value; in cw1200_scan_work()
412 ch[0].number = priv->channel->hw_value; in cw1200_probe_work()
Dtxrx.c173 policy->defined = cw1200_get_tx_rate(priv, &rates[0])->hw_value + 1; in tx_policy_build()
178 rateid = cw1200_get_tx_rate(priv, &rates[i])->hw_value; in tx_policy_build()
422 ret |= BIT(priv->rates[i].hw_value); in cw1200_rate_mask_to_wsm()
657 wsm->max_tx_rate = t->rate->hw_value; in cw1200_tx_h_rate_policy()
Dsta.c350 .channel_number = ch->hw_value, in cw1200_config()
353 ch->center_freq, ch->hw_value); in cw1200_config()
1286 join.channel_number = priv->channel->hw_value; in cw1200_do_join()
1473 start.channel_number = priv->channel->hw_value; in cw1200_enable_listening()
2328 .channel_number = priv->channel->hw_value, in cw1200_start_ap()
Ddebug.c129 priv->channel->hw_value, in cw1200_status_show()
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Dinit.c474 .hw_value = (_idx), \
498 .hw_value = (MT_PHY_TYPE_CCK << 8) | _idx, \
504 .hw_value = (MT_PHY_TYPE_OFDM << 8) | _idx, \
Dphy.c388 chan_idx = chan->hw_value - 1; in __mt7601u_phy_set_channel()
434 mt7601u_apply_ch14_fixup(dev, chan->hw_value); in __mt7601u_phy_set_channel()
779 return dev->ee->chan_pwr[dev->chandef.chan->hw_value - 1]; in mt7601u_current_tx_power()
906 if (dev->chandef.chan->hw_value < 5) in mt7601u_tssi_cal()
908 else if (dev->chandef.chan->hw_value < 9) in mt7601u_tssi_cal()
Dmac.c121 val = r->hw_value; in mt76_mac_tx_rate_val()
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/
Dmain.c31 .hw_value = (_idx), \
38 .hw_value = (_idx), \
91 .hw_value = (_hw_rate), \
535 rates_table[i] = wcn_2ghz_rates[i].hw_value; in wcn36xx_update_allowed_rates()
545 rates_table[i] = wcn_5ghz_rates[i].hw_value; in wcn36xx_update_allowed_rates()
Dwcn36xx.h87 #define WCN36XX_HW_CHANNEL(__wcn) (__wcn->hw->conf.chandef.chan->hw_value)
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dscan.c599 cpu_to_le16(channels[i]->hw_value); in iwl_mvm_lmac_scan_cfg_channels()
891 rates |= rate_to_scan_rate_flag(band->bitrates[i].hw_value); in iwl_mvm_scan_config_rates()
894 rates |= rate_to_scan_rate_flag(band->bitrates[i].hw_value); in iwl_mvm_scan_config_rates()
951 scan_config->channel_array[j] = band->channels[i].hw_value; in iwl_mvm_config_scan()
954 scan_config->channel_array[j] = band->channels[i].hw_value; in iwl_mvm_config_scan()
1016 channel_cfg[i].channel_num = channels[i]->hw_value; in iwl_mvm_umac_scan_cfg_channels()
Dphy-ctxt.c153 cmd->ci.channel = chandef->chan->hw_value; in iwl_mvm_phy_ctxt_cmd_data()
Dcoex.c689 iwl_ci_mask[chan->def.chan->hw_value][ci_bw_idx]; in iwl_mvm_bt_coex_notif_handle()
712 iwl_ci_mask[chan->def.chan->hw_value][ci_bw_idx]; in iwl_mvm_bt_coex_notif_handle()
Dcoex_legacy.c1018 iwl_ci_mask[chan->def.chan->hw_value][ci_bw_idx]; in iwl_mvm_bt_coex_notif_handle()
1043 iwl_ci_mask[chan->def.chan->hw_value][ci_bw_idx]; in iwl_mvm_bt_coex_notif_handle()
Dtdls.c449 cmd.ci.channel = chandef->chan->hw_value; in iwl_mvm_tdls_config_channel_switch()
Dfw.c760 mvm->nvm_data->bands[0].bitrates->hw_value = 10; in iwl_run_init_mvm_ucode()
Dmac-ctxt.c548 int hw = sband->bitrates[i].hw_value; in iwl_mvm_ack_rates()
Dmac80211.c3116 .channel_info.channel = channel->hw_value, in iwl_mvm_send_aux_roc_cmd()
3193 IWL_DEBUG_MAC80211(mvm, "enter (%d, %d, %d)\n", channel->hw_value, in iwl_mvm_roc()
Drs.c3063 lq_sta->active_legacy_rate |= BIT(sband->bitrates[i].hw_value); in iwl_mvm_rs_rate_init()
/linux-4.4.14/drivers/staging/wilc1000/
Dwilc_wfi_cfgoperations.c42 .hw_value = (_channel), \
68 .hw_value = (_hw_value), \
2127 PRINT_D(GENERIC_DBG, "Remaining on channel %d\n", chan->hw_value); in remain_on_channel()
2135 curr_channel = chan->hw_value; in remain_on_channel()
2146 , chan->hw_value in remain_on_channel()
2237 PRINT_D(GENERIC_DBG, "Setting channel: %d\n", chan->hw_value); in mgmt_tx()
2238 host_int_set_mac_chnl_num(priv->hWILCWFIDrv, chan->hw_value); in mgmt_tx()
2240 curr_channel = chan->hw_value; in mgmt_tx()
2252 PRINT_D(GENERIC_DBG, "Setting channel: %d\n", chan->hw_value); in mgmt_tx()
2253 host_int_set_mac_chnl_num(priv->hWILCWFIDrv, chan->hw_value); in mgmt_tx()
[all …]
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Ddevices.c424 ch = ch_switch->chandef.chan->hw_value; in iwl5000_hw_channel_switch()
592 ch = ch_switch->chandef.chan->hw_value; in iwl6000_hw_channel_switch()
Dscan.c455 busy = sband->channels[i].hw_value == in iwl_get_single_channel_number()
465 return sband->channels[i].hw_value; in iwl_get_single_channel_number()
535 channel = chan->hw_value; in iwl_get_channels_for_scan()
Drxon.c83 cpu_to_le16(priv->hw->conf.chandef.chan->hw_value); in iwl_connection_init_rx_config()
723 u16 channel = ch->hw_value; in iwl_set_rxon_channel()
955 int hw = sband->bitrates[i].hw_value; in iwl_calc_basic_rates()
1240 channel->hw_value) in iwlagn_mac_config()
Dmac80211.c993 ch = channel->hw_value; in iwlagn_mac_channel_switch()
Ddebugfs.c347 channels[i].hw_value, in iwl_dbgfs_channels_read()
370 channels[i].hw_value, in iwl_dbgfs_channels_read()
Drs.c2837 lq_sta->active_legacy_rate |= BIT(sband->bitrates[i].hw_value); in iwl_rs_rate_init()
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/
Dcmd.c46 cmd->channel = ch_switch->chandef.chan->hw_value; in wl18xx_cmd_channel_switch()
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Dcmd.c190 info = &ar->survey[ar->channel->hw_value]; in carl9170_collect_tally()
Dmain.c61 .hw_value = (_hw_rate) | (_txpidx) << 4, \
91 .hw_value = (_idx), \
1659 if (idx == chan->hw_value) { in carl9170_op_get_survey()
1674 if (band->channels[i].hw_value == idx) { in carl9170_op_get_survey()
Dphy.c1042 chanidx = channel->hw_value; in carl9170_get_hw_dyn_params()
1550 ar->survey[ar->channel->hw_value].noise = ar->noise[0]; in carl9170_get_noisefloor()
Dtx.c748 *tpc += txpower[(rate->hw_value & 0x30) >> 4]; in carl9170_tx_rate_tpc_chains()
749 *phyrate = rate->hw_value & 0xf; in carl9170_tx_rate_tpc_chains()
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/
Dscan.c55 req->channels[i]->hw_value, in wl1271_get_scan_channels()
77 channels[j].channel = req->channels[i]->hw_value; in wl1271_get_scan_channels()
Dcmd.c304 cmd->channel = ch_switch->chandef.chan->hw_value; in wl12xx_cmd_channel_switch()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
Dmac80211_if.c54 .hw_value = (channel), \
63 .hw_value = (channel), \
72 .hw_value = (rate100m / 5), \
564 conf->chandef.chan->hw_value); in brcms_ops_config()
Dchannel.c764 if (!isset(sup_chan.vec, ch->hw_value)) in brcms_c_regd_init()
Dmain.c5086 brcms_c_set_chanspec(wlc, ch20mhz_chspec(ch->hw_value)); in brcms_c_up()
6321 bitrates[txrate[k]->idx].hw_value; in brcms_c_d11hdrs_mac80211()
7316 wlc->bcn_rspec = ieee80211_get_tx_rate(ieee_hw, tx_info)->hw_value; in brcms_c_beacon_write()
7871 chanspec = ch20mhz_chspec(ch->hw_value); in brcms_c_init()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dmac.c41 .hw_value = ATH10K_HW_RATE_CCK_LP_1M },
43 .hw_value = ATH10K_HW_RATE_CCK_LP_2M,
47 .hw_value = ATH10K_HW_RATE_CCK_LP_5_5M,
51 .hw_value = ATH10K_HW_RATE_CCK_LP_11M,
55 { .bitrate = 60, .hw_value = ATH10K_HW_RATE_OFDM_6M },
56 { .bitrate = 90, .hw_value = ATH10K_HW_RATE_OFDM_9M },
57 { .bitrate = 120, .hw_value = ATH10K_HW_RATE_OFDM_12M },
58 { .bitrate = 180, .hw_value = ATH10K_HW_RATE_OFDM_18M },
59 { .bitrate = 240, .hw_value = ATH10K_HW_RATE_OFDM_24M },
60 { .bitrate = 360, .hw_value = ATH10K_HW_RATE_OFDM_36M },
[all …]
/linux-4.4.14/drivers/staging/rtl8188eu/include/
Dieee80211.h1023 u16 hw_value; member
1032 (channel)->hw_value \
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dp2p.c798 request->channels[0]->hw_value == SOCIAL_CHAN_1 && in brcmf_p2p_run_escan()
799 request->channels[1]->hw_value == SOCIAL_CHAN_2 && in brcmf_p2p_run_escan()
800 request->channels[2]->hw_value == SOCIAL_CHAN_3) { in brcmf_p2p_run_escan()
826 num_nodfs, chan->hw_value, chanspecs[i]); in brcmf_p2p_run_escan()
Dcfg80211.c111 .hw_value = (_rateid), \
138 .hw_value = (_channel), \
147 .hw_value = (_channel), \
901 request->channels[i]->hw_value, chanspec); in brcmf_escan_prep()
4079 settings->chandef.chan->hw_value, in brcmf_cfg80211_start_ap()
5431 if (channel[j].hw_value == ch.chnum) { in brcmf_construct_chaninfo()
5438 channel[index].hw_value = ch.chnum; in brcmf_construct_chaninfo()
5540 if (band->channels[j].hw_value == ch.chnum) in brcmf_enable_bw40_2g()
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/
Dioctl_cfg80211.c37 .hw_value = (_rateid), \
44 .hw_value = (_channel), \
53 .hw_value = (_channel), \
1411 ch[i].hw_value = request->channels[i]->hw_value; in cfg80211_rtw_scan()
/linux-4.4.14/drivers/net/wireless/iwlegacy/
D3945.c702 u16 hw_value = ieee80211_get_tx_rate(il->hw, info)->hw_value; in il3945_hw_build_tx_cmd_rate() local
703 u16 rate_idx = min(hw_value & 0xffff, RATE_COUNT_3945 - 1); in il3945_hw_build_tx_cmd_rate()
Dcommon.c3499 geo_ch->hw_value = ch->channel; in il_init_geos()
3965 u16 channel = ch->hw_value; in il_set_rxon_channel()
4089 if (rate->hw_value < RATE_COUNT_LEGACY) in il_set_rate()
4090 il->active_rate |= (1 << rate->hw_value); in il_set_rate()
5040 D_MAC80211("enter: channel %d changed 0x%X\n", channel->hw_value, in il_mac_config()
5072 ch = channel->hw_value; in il_mac_config()
D3945-rs.c463 first_idx = sband->bitrates[info->status.rates[0].idx].hw_value; in il3945_rs_tx_status()
Ddebug.c560 channels[i].hw_value, in il_dbgfs_channels_read()
587 channels[i].hw_value, in il_dbgfs_channels_read()
D3945-mac.c493 if ((ieee80211_get_tx_rate(il->hw, info)->hw_value & 0xFF) == in il3945_tx_skb()
1578 scan_ch->channel = chan->hw_value; in il3945_get_channels_for_scan()
1650 rates[i].hw_value = i; /* Rate scaling will work on idxes */ in il3945_init_hw_rates()
D4965.c1495 ch = ch_switch->chandef.chan->hw_value; in il4965_hw_channel_switch()
D4965-mac.c796 channel = chan->hw_value; in il4965_get_channels_for_scan()
6096 ch = channel->hw_value; in il4965_mac_channel_switch()
6282 rates[i].hw_value = i; /* Rate scaling will work on idxes */ in il4965_init_hw_rates()
/linux-4.4.14/arch/ia64/kernel/
Dperfmon.c3065 unsigned long value, hw_value, ovfl_mask; in pfm_write_pmds() local
3132 hw_value = value; in pfm_write_pmds()
3147 hw_value = value & ovfl_mask; in pfm_write_pmds()
3193 if (is_system == 0) ctx->th_pmds[cnum] = hw_value; in pfm_write_pmds()
3199 ia64_set_pmd(cnum, hw_value); in pfm_write_pmds()
3218 hw_value, in pfm_write_pmds()
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_mlme_ext.c4038 survey_channel = ch->hw_value; in rtw_site_survey()
5709 if (in[i].hw_value && in rtw_scan_ch_decision()
5712 in[i].hw_value)) >= 0) { in rtw_scan_ch_decision()
5729 out[i].hw_value = pmlmeext->channel_set[i].ChannelNum; in rtw_scan_ch_decision()
5740 if (out[i].hw_value > 35) in rtw_scan_ch_decision()
5749 if (out[i].hw_value > 35) { in rtw_scan_ch_decision()
Drtw_cmd.c372 if (ch[i].hw_value && in rtw_sitesurvey_cmd23a()
/linux-4.4.14/include/net/
Dcfg80211.h172 u16 hw_value; member
268 u16 hw_value, hw_value_short; member
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c33 .hw_value = (_rateid), \
38 .hw_value = (_channel), \
47 .hw_value = (_channel), \
/linux-4.4.14/drivers/staging/rtl8188eu/core/
Drtw_cmd.c314 if (ch[i].hw_value && !(ch[i].flags & RTW_IEEE80211_CHAN_DISABLED)) { in rtw_sitesurvey_cmd()
Drtw_mlme_ext.c2012 survey_channel = ch->hw_value; in site_survey()
5233 set_idx = rtw_ch_set_search_ch(pmlmeext->channel_set, in[i].hw_value); in rtw_scan_ch_decision()
5234 if (in[i].hw_value && !(in[i].flags & RTW_IEEE80211_CHAN_DISABLED) && in rtw_scan_ch_decision()
5250 out[i].hw_value = pmlmeext->channel_set[i].ChannelNum; in rtw_scan_ch_decision()
/linux-4.4.14/drivers/net/wireless/ipw2x00/
Dipw2200.c11375 bg_band->channels[i].hw_value = geo->bg[i].channel; in ipw_wdev_init()
11414 a_band->channels[i].hw_value = geo->a[i].channel; in ipw_wdev_init()
Dipw2100.c1929 bg_band->channels[i].hw_value = geo->bg[i].channel; in ipw2100_wdev_init()