Home
last modified time | relevance | path

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

/linux-4.1.27/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()
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()
Dmain_usb.c669 vnt_set_channel(priv, conf->chandef.chan->hw_value); in vnt_config()
690 conf->chandef.chan->hw_value); in vnt_config()
746 conf->chandef.chan->hw_value); in vnt_bss_info_changed()
Drxtx.c801 current_rate = rate->hw_value; in vnt_tx_packet()
/linux-4.1.27/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.c897 tx_rate = rate->hw_value - RATE_18M; in vnt_int_report_rate()
1410 conf->chandef.chan->hw_value); in vnt_config()
1472 conf->chandef.chan->hw_value); in vnt_bss_info_changed()
1492 CARDbUpdateTSF(priv, conf->beacon_rate->hw_value, in vnt_bss_info_changed()
Drxtx.c1299 current_rate = rate->hw_value; in vnt_generate_fifo_header()
1305 priv->hw->conf.chandef.chan->hw_value); in vnt_generate_fifo_header()
/linux-4.1.27/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.1.27/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.1.27/drivers/net/wireless/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.1.27/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.1.27/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.1.27/drivers/net/wireless/mwifiex/
Dcfg80211.c458 first_chan = (u32) ch->hw_value; in mwifiex_send_domain_info_cmd_fw()
465 if (ch->hw_value == next_chan + 1 && in mwifiex_send_domain_info_cmd_fw()
475 first_chan = (u32) ch->hw_value; in mwifiex_send_domain_info_cmd_fw()
1339 {.bitrate = 10, .hw_value = 2, },
1340 {.bitrate = 20, .hw_value = 4, },
1341 {.bitrate = 55, .hw_value = 11, },
1342 {.bitrate = 110, .hw_value = 22, },
1343 {.bitrate = 60, .hw_value = 12, },
1344 {.bitrate = 90, .hw_value = 18, },
1345 {.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()
166 radar_params->chandef->chan->hw_value); in mwifiex_cmd_issue_chan_report_request()
217 priv->dfs_chandef.chan->hw_value); in mwifiex_11h_handle_chanrpt_ready()
Dcfp.c346 if (ch->hw_value == channel || in mwifiex_get_cfp()
359 priv->cfp.channel = ch->hw_value; in mwifiex_get_cfp()
Dscan.c529 (u32) ch->hw_value; in mwifiex_scan_create_channel_list()
/linux-4.1.27/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.1.27/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()
625 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.1.27/drivers/net/wireless/ti/wl1251/
Dmain.c1249 .hw_value = 0x1,
1252 .hw_value = 0x2,
1256 .hw_value = 0x4,
1260 .hw_value = 0x20,
1264 .hw_value = 0x8,
1267 .hw_value = 0x10,
1270 .hw_value = 0x40,
1273 .hw_value = 0x80,
1276 .hw_value = 0x200,
1279 .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.1.27/drivers/net/wireless/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.1.27/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.1.27/drivers/net/wireless/ti/wlcore/
Dmain.c5723 .hw_value = CONF_HW_BIT_RATE_1MBPS,
5726 .hw_value = CONF_HW_BIT_RATE_2MBPS,
5730 .hw_value = CONF_HW_BIT_RATE_5_5MBPS,
5734 .hw_value = CONF_HW_BIT_RATE_11MBPS,
5738 .hw_value = CONF_HW_BIT_RATE_6MBPS,
5741 .hw_value = CONF_HW_BIT_RATE_9MBPS,
5744 .hw_value = CONF_HW_BIT_RATE_12MBPS,
5747 .hw_value = CONF_HW_BIT_RATE_18MBPS,
5750 .hw_value = CONF_HW_BIT_RATE_24MBPS,
5753 .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.1.27/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()
Dchannel.c31 int pos = chan->hw_value; in ath_set_channel()
Dxmit.c1256 info->rates[i].Rate = rate->hw_value; in ath_buf_set_rate()
2160 fi->rtscts_rate = rate->hw_value; in setup_frame_info()
Dhtc_drv_main.c1203 int pos = curchan->hw_value; in ath9k_htc_config()
Dmain.c1937 pos = chan->hw_value; in ath9k_get_survey()
/linux-4.1.27/drivers/net/wireless/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.1.27/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.1.27/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.1.27/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.1.27/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()
2751 if (conf->chandef.chan->hw_value != phy->channel) in b43legacy_op_dev_config()
2752 b43legacy_radio_selectchannel(dev, conf->chandef.chan->hw_value, in b43legacy_op_dev_config()
2805 if (b43legacy_is_cck_rate(rate->hw_value)) { in b43legacy_update_basic_rates()
2808 offset = b43legacy_plcp_get_ratecode_cck(rate->hw_value); in b43legacy_update_basic_rates()
2813 offset = b43legacy_plcp_get_ratecode_ofdm(rate->hw_value); in b43legacy_update_basic_rates()
[all …]
/linux-4.1.27/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()
1436 { .bitrate = 10, .hw_value = 2, },
1437 { .bitrate = 20, .hw_value = 4 },
1438 { .bitrate = 55, .hw_value = 11, },
1439 { .bitrate = 110, .hw_value = 22, },
1440 { .bitrate = 60, .hw_value = 12, },
1441 { .bitrate = 90, .hw_value = 18, },
1442 { .bitrate = 120, .hw_value = 24, },
1443 { .bitrate = 180, .hw_value = 36, },
[all …]
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
Dcfg80211.c24 .hw_value = (_channel), \
299 int ch = request->channels[i]->hw_value; in wil_cfg80211_scan()
368 sme->channel->hw_value, sme->channel->center_freq); in wil_print_connect_params()
473 ch = bss->channel->hw_value; in wil_cfg80211_connect()
615 rc = wmi_set_channel(wil, chan->hw_value); in wil_remain_on_channel()
736 wil_dbg_misc(wil, "AP on Channel %d %d MHz, %s\n", channel->hw_value, in wil_cfg80211_start_ap()
784 channel->hw_value); in wil_cfg80211_start_ap()
Dwmi.c1099 cmd.sniffer_cfg.channel = ch->hw_value - 1; in wmi_rx_chain_add()
/linux-4.1.27/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()
1152 pos += lbs_add_channel_tlv(pos, bss->channel->hw_value); in lbs_associate()
1637 if (priv->cur_rate == lbs_rates[i].hw_value) { in lbs_cfg_get_station()
1733 *fake++ = params->chandef.chan->hw_value; in lbs_join_post()
1834 cmd.bss.ds.channel = params->chandef.chan->hw_value; in lbs_ibss_join_existing()
1946 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.1.27/drivers/staging/rtl8723au/include/
Dieee80211.h271 u16 hw_value; member
298 (channel)->hw_value \
/linux-4.1.27/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()
4010 phy->channel = conf->chandef.chan->hw_value; in b43_op_config()
4081 if (b43_is_cck_rate(rate->hw_value)) { in b43_update_basic_rates()
4084 offset = b43_plcp_get_ratecode_cck(rate->hw_value); in b43_update_basic_rates()
4089 offset = b43_plcp_get_ratecode_ofdm(rate->hw_value); in b43_update_basic_rates()
4095 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.1.27/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()
1290 join.channel_number = priv->channel->hw_value; in cw1200_do_join()
1477 start.channel_number = priv->channel->hw_value; in cw1200_enable_listening()
2332 .channel_number = priv->channel->hw_value, in cw1200_start_ap()
Ddebug.c129 priv->channel->hw_value, in cw1200_status_show()
/linux-4.1.27/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.1.27/drivers/net/wireless/iwlwifi/mvm/
Dscan.c664 cpu_to_le16(channels[i]->hw_value); in iwl_mvm_lmac_scan_cfg_channels()
1074 rates |= rate_to_scan_rate_flag(band->bitrates[i].hw_value); in iwl_mvm_scan_config_rates()
1077 rates |= rate_to_scan_rate_flag(band->bitrates[i].hw_value); in iwl_mvm_scan_config_rates()
1137 scan_config->channel_array[j] = band->channels[i].hw_value; in iwl_mvm_config_scan()
1140 scan_config->channel_array[j] = band->channels[i].hw_value; in iwl_mvm_config_scan()
1248 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.c703 iwl_ci_mask[chan->def.chan->hw_value][ci_bw_idx]; in iwl_mvm_bt_coex_notif_handle()
726 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.c460 cmd.ci.channel = chandef->chan->hw_value; in iwl_mvm_tdls_config_channel_switch()
Dfw.c423 mvm->nvm_data->bands[0].bitrates->hw_value = 10; in iwl_run_init_mvm_ucode()
Dmac-ctxt.c539 int hw = sband->bitrates[i].hw_value; in iwl_mvm_ack_rates()
Dmac80211.c3028 .channel_info.channel = channel->hw_value, in iwl_mvm_send_aux_roc_cmd()
3105 IWL_DEBUG_MAC80211(mvm, "enter (%d, %d, %d)\n", channel->hw_value, in iwl_mvm_roc()
Drs.c2845 lq_sta->active_legacy_rate |= BIT(sband->bitrates[i].hw_value); in iwl_mvm_rs_rate_init()
/linux-4.1.27/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.c464 busy = sband->channels[i].hw_value == in iwl_get_single_channel_number()
474 return sband->channels[i].hw_value; in iwl_get_single_channel_number()
544 channel = chan->hw_value; in iwl_get_channels_for_scan()
Drxon.c82 cpu_to_le16(priv->hw->conf.chandef.chan->hw_value); in iwl_connection_init_rx_config()
722 u16 channel = ch->hw_value; in iwl_set_rxon_channel()
954 int hw = sband->bitrates[i].hw_value; in iwl_calc_basic_rates()
1239 channel->hw_value) in iwlagn_mac_config()
Dmac80211.c980 ch = channel->hw_value; in iwlagn_mac_channel_switch()
Ddebugfs.c351 channels[i].hw_value, in iwl_dbgfs_channels_read()
374 channels[i].hw_value, in iwl_dbgfs_channels_read()
Drs.c2846 lq_sta->active_legacy_rate |= BIT(sband->bitrates[i].hw_value); in iwl_rs_rate_init()
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/
Dcmd.c46 cmd->channel = ch_switch->chandef.chan->hw_value; in wl18xx_cmd_channel_switch()
/linux-4.1.27/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), \
1660 if (idx == chan->hw_value) { in carl9170_op_get_survey()
1675 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.1.27/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.1.27/drivers/net/wireless/brcm80211/brcmsmac/
Dmac80211_if.c55 .hw_value = (channel), \
64 .hw_value = (channel), \
73 .hw_value = (rate100m / 5), \
565 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.1.27/drivers/staging/rtl8188eu/include/
Dieee80211.h1104 u16 hw_value; member
1113 (channel)->hw_value \
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dp2p.c797 request->channels[0]->hw_value == SOCIAL_CHAN_1 && in brcmf_p2p_run_escan()
798 request->channels[1]->hw_value == SOCIAL_CHAN_2 && in brcmf_p2p_run_escan()
799 request->channels[2]->hw_value == SOCIAL_CHAN_3) { in brcmf_p2p_run_escan()
825 num_nodfs, chan->hw_value, chanspecs[i]); in brcmf_p2p_run_escan()
Dcfg80211.c113 .hw_value = (_rateid), \
894 request->channels[i]->hw_value, chanspec); in brcmf_escan_prep()
3994 settings->chandef.chan->hw_value, in brcmf_cfg80211_start_ap()
5402 if (channel[j].hw_value == ch.chnum) { in brcmf_construct_chaninfo()
5409 channel[index].hw_value = ch.chnum; in brcmf_construct_chaninfo()
5519 if (band->channels[j].hw_value == ch.chnum) in brcmf_enable_bw40_2g()
/linux-4.1.27/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.1.27/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.c564 channels[i].hw_value, in il_dbgfs_channels_read()
591 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()
6094 ch = channel->hw_value; in il4965_mac_channel_switch()
6280 rates[i].hw_value = i; /* Rate scaling will work on idxes */ in il4965_init_hw_rates()
/linux-4.1.27/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.1.27/drivers/staging/rtl8723au/core/
Drtw_mlme_ext.c4048 survey_channel = ch->hw_value; in rtw_site_survey()
5719 if (in[i].hw_value && in rtw_scan_ch_decision()
5722 in[i].hw_value)) >= 0) { in rtw_scan_ch_decision()
5739 out[i].hw_value = pmlmeext->channel_set[i].ChannelNum; in rtw_scan_ch_decision()
5750 if (out[i].hw_value > 35) in rtw_scan_ch_decision()
5759 if (out[i].hw_value > 35) { in rtw_scan_ch_decision()
Drtw_cmd.c371 if (ch[i].hw_value && in rtw_sitesurvey_cmd23a()
/linux-4.1.27/include/net/
Dcfg80211.h171 u16 hw_value; member
267 u16 hw_value, hw_value_short; member
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c33 .hw_value = (_rateid), \
38 .hw_value = (_channel), \
47 .hw_value = (_channel), \
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Dmac.c1467 rateset->rates[rateset->num_rates] = rates->hw_value; in ath10k_peer_assoc_h_rates()
5158 .hw_value = (_rateid), \
5163 .hw_value = (_channel), \
5172 .hw_value = (_channel), \
/linux-4.1.27/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.c3633 survey_channel = ch->hw_value; in site_survey()
5189 set_idx = rtw_ch_set_search_ch(pmlmeext->channel_set, in[i].hw_value); in rtw_scan_ch_decision()
5190 if (in[i].hw_value && !(in[i].flags & RTW_IEEE80211_CHAN_DISABLED) && in rtw_scan_ch_decision()
5206 out[i].hw_value = pmlmeext->channel_set[i].ChannelNum; in rtw_scan_ch_decision()
/linux-4.1.27/drivers/net/wireless/ipw2x00/
Dipw2200.c11376 bg_band->channels[i].hw_value = geo->bg[i].channel; in ipw_wdev_init()
11415 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()