Home
last modified time | relevance | path

Searched refs:ht_info (Results 1 – 25 of 33) sorted by relevance

12

/linux/drivers/staging/rtl8192e/
A Drtl819x_HTProc.c72 struct rt_hi_throughput *ht_info = ieee->ht_info; in ht_update_default_setting() local
88 struct rt_hi_throughput *ht_info = ieee->ht_info; in ht_mcs_to_data_rate() local
149 struct rt_hi_throughput *ht_info = ieee->ht_info; in ht_iot_peer_determine() local
212 struct rt_hi_throughput *ht_info = ieee->ht_info; in ht_iot_act_determine_ra_func() local
426 struct rt_hi_throughput *ht_info = ieee->ht_info; in ht_on_assoc_rsp() local
463 ht_info->current_ampdu_enable = ht_info->ampdu_enable; in ht_on_assoc_rsp()
506 struct rt_hi_throughput *ht_info = ieee->ht_info; in ht_initialize_ht_info() local
564 struct rt_hi_throughput *ht_info = ieee->ht_info; in ht_reset_self_and_save_peer_setting() local
614 struct rt_hi_throughput *ht_info = ieee->ht_info; in HT_update_self_and_peer_setting() local
638 struct rt_hi_throughput *ht_info = ieee->ht_info; in ht_set_connect_bw_mode_callback() local
[all …]
A Drtllib_tx.c269 struct rt_hi_throughput *ht_info = ieee->ht_info; in rtllib_tx_query_agg_cap() local
276 if (!ht_info->current_ht_support || !ht_info->enable_ht) in rtllib_tx_query_agg_cap()
336 struct rt_hi_throughput *ht_info = ieee->ht_info; in rtllib_query_ht_cap_short_gi() local
340 if (!ht_info->current_ht_support || !ht_info->enable_ht) in rtllib_query_ht_cap_short_gi()
343 if (ht_info->cur_bw_40mhz && ht_info->cur_short_gi_40mhz) in rtllib_query_ht_cap_short_gi()
345 else if (!ht_info->cur_bw_40mhz && ht_info->cur_short_gi_20mhz) in rtllib_query_ht_cap_short_gi()
352 struct rt_hi_throughput *ht_info = ieee->ht_info; in rtllib_query_bandwidth_mode() local
356 if (!ht_info->current_ht_support || !ht_info->enable_ht) in rtllib_query_bandwidth_mode()
364 if (ht_info->cur_bw_40mhz && ht_info->cur_tx_bw40mhz && in rtllib_query_bandwidth_mode()
399 ht_info = ieee->ht_info; in rtllib_query_protectionmode()
[all …]
A Drtl819x_BAProc.c247 !ieee->ht_info->current_ht_support || in rtllib_rx_add_ba_req()
248 (ieee->ht_info->iot_action & HT_IOT_ACT_REJECT_ADDBA_REQ)) { in rtllib_rx_add_ba_req()
253 ieee->ht_info->current_ht_support); in rtllib_rx_add_ba_req()
280 (ieee->ht_info->iot_action & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT)) in rtllib_rx_add_ba_req()
329 !ieee->ht_info->current_ht_support || in rtllib_rx_add_ba_rsp()
330 !ieee->ht_info->current_ampdu_enable) { in rtllib_rx_add_ba_rsp()
334 ieee->ht_info->current_ht_support, in rtllib_rx_add_ba_rsp()
335 ieee->ht_info->current_ampdu_enable); in rtllib_rx_add_ba_rsp()
416 !ieee->ht_info->current_ht_support) { in rtllib_rx_DELBA()
420 ieee->ht_info->current_ht_support); in rtllib_rx_DELBA()
A Drtllib_softmac.c168 struct rt_hi_throughput *ht_info = ieee->ht_info; in mgnt_query_mgnt_frame_tx_rate() local
725 ieee->ht_info->enable_ht = 0; in rtllib_association_req()
729 if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht) { in rtllib_association_req()
867 if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht) { in rtllib_association_req()
901 if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht) { in rtllib_association_req()
1064 if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht) { in rtllib_associate_complete_wq()
1071 ieee->ht_info->enable_ht); in rtllib_associate_complete_wq()
1204 ieee->ht_info->enable_ht, in rtllib_softmac_new_net()
1480 if (ieee->ht_info->iot_action & in rtllib_sta_wakeup()
1495 if (ieee->ht_info->iot_action & in rtllib_sta_wakeup()
[all …]
A Drtllib_module.c121 ieee->ht_info = kzalloc(sizeof(struct rt_hi_throughput), GFP_KERNEL); in alloc_rtllib()
122 if (!ieee->ht_info) in alloc_rtllib()
156 kfree(ieee->ht_info); in free_rtllib()
A Drtllib_softmac_wx.c319 if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht && in rtllib_wx_sync_scan_wq()
320 ieee->ht_info->cur_bw_40mhz) { in rtllib_wx_sync_scan_wq()
322 chan_offset = ieee->ht_info->cur_sta_ext_chnl_offset; in rtllib_wx_sync_scan_wq()
323 bandwidth = (enum ht_channel_width)ieee->ht_info->cur_bw_40mhz; in rtllib_wx_sync_scan_wq()
A Drtllib_rx.c526 struct rt_hi_throughput *ht_info = ieee->ht_info; in rx_reorder_indicate_packet() local
528 u8 win_size = ht_info->rx_reorder_win_size; in rx_reorder_indicate_packet()
550 ht_info->rx_reorder_drop_counter++; in rx_reorder_indicate_packet()
717 msecs_to_jiffies(ht_info->rx_reorder_pending_time)); in rx_reorder_indicate_packet()
878 if (!ieee->ht_info->cur_rx_reorder_enable || in rtllib_rx_check_duplicate()
1362 if (!ieee->ht_info->cur_rx_reorder_enable || !ts) in rtllib_rx_infra_adhoc()
/linux/drivers/net/wireless/intel/iwlwifi/
A Diwl-nvm-utils.c41 struct ieee80211_sta_ht_cap *ht_info, in iwl_init_ht_hw_capab() argument
57 ht_info->ht_supported = false; in iwl_init_ht_hw_capab()
64 ht_info->ht_supported = true; in iwl_init_ht_hw_capab()
65 ht_info->cap = IEEE80211_HT_CAP_DSSSCCK40; in iwl_init_ht_hw_capab()
84 ht_info->mcs.rx_mask[0] = 0xFF; in iwl_init_ht_hw_capab()
85 ht_info->mcs.rx_mask[1] = 0x00; in iwl_init_ht_hw_capab()
86 ht_info->mcs.rx_mask[2] = 0x00; in iwl_init_ht_hw_capab()
89 ht_info->mcs.rx_mask[1] = 0xFF; in iwl_init_ht_hw_capab()
91 ht_info->mcs.rx_mask[2] = 0xFF; in iwl_init_ht_hw_capab()
95 ht_info->cap |= IEEE80211_HT_CAP_SGI_20; in iwl_init_ht_hw_capab()
[all …]
A Diwl-nvm-utils.h67 struct ieee80211_sta_ht_cap *ht_info,
/linux/drivers/net/wireless/ath/ath9k/
A Dcommon-init.c173 struct ieee80211_sta_ht_cap *ht_info) in ath9k_cmn_setup_ht_cap() argument
179 ht_info->ht_supported = true; in ath9k_cmn_setup_ht_cap()
180 ht_info->cap = IEEE80211_HT_CAP_SUP_WIDTH_20_40 | in ath9k_cmn_setup_ht_cap()
186 ht_info->cap |= IEEE80211_HT_CAP_LDPC_CODING; in ath9k_cmn_setup_ht_cap()
189 ht_info->cap |= IEEE80211_HT_CAP_SGI_20; in ath9k_cmn_setup_ht_cap()
191 ht_info->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; in ath9k_cmn_setup_ht_cap()
192 ht_info->ampdu_density = IEEE80211_HT_MPDU_DENSITY_8; in ath9k_cmn_setup_ht_cap()
205 ht_info->cap |= IEEE80211_HT_CAP_TX_STBC; in ath9k_cmn_setup_ht_cap()
210 memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); in ath9k_cmn_setup_ht_cap()
219 ht_info->mcs.tx_params |= ((tx_streams - 1) << in ath9k_cmn_setup_ht_cap()
[all …]
A Dcommon-init.h19 struct ieee80211_sta_ht_cap *ht_info);
/linux/drivers/net/wireless/st/cw1200/
A Dcw1200.h148 struct cw1200_ht_info ht_info; member
300 static inline int cw1200_is_ht(const struct cw1200_ht_info *ht_info) in cw1200_is_ht() argument
302 return ht_info->channel_type != NL80211_CHAN_NO_HT; in cw1200_is_ht()
305 static inline int cw1200_ht_greenfield(const struct cw1200_ht_info *ht_info) in cw1200_ht_greenfield() argument
307 return cw1200_is_ht(ht_info) && in cw1200_ht_greenfield()
308 (ht_info->ht_cap.cap & IEEE80211_HT_CAP_GRN_FLD) && in cw1200_ht_greenfield()
309 !(ht_info->operation_mode & in cw1200_ht_greenfield()
313 static inline int cw1200_ht_ampdu_density(const struct cw1200_ht_info *ht_info) in cw1200_ht_ampdu_density() argument
315 if (!cw1200_is_ht(ht_info)) in cw1200_ht_ampdu_density()
317 return ht_info->ht_cap.ampdu_density; in cw1200_ht_ampdu_density()
A Ddebug.c183 cw1200_is_ht(&priv->ht_info) ? "on" : "off"); in cw1200_status_show()
184 if (cw1200_is_ht(&priv->ht_info)) { in cw1200_status_show()
186 cw1200_ht_greenfield(&priv->ht_info) ? "yes" : "no"); in cw1200_status_show()
188 cw1200_ht_ampdu_density(&priv->ht_info)); in cw1200_status_show()
A Dsta.c1911 priv->ht_info.ht_cap = sta->deflink.ht_cap; in cw1200_bss_info_changed()
1915 priv->ht_info.channel_type = cfg80211_get_chandef_type(&dev->conf.chandef); in cw1200_bss_info_changed()
1916 priv->ht_info.operation_mode = info->ht_operation_mode; in cw1200_bss_info_changed()
1918 memset(&priv->ht_info, 0, in cw1200_bss_info_changed()
1919 sizeof(priv->ht_info)); in cw1200_bss_info_changed()
1925 if (priv->ht_info.operation_mode & in cw1200_bss_info_changed()
1930 htprot |= cpu_to_le32((priv->ht_info.operation_mode & IEEE80211_HT_OP_MODE_PROTECTION) << 2); in cw1200_bss_info_changed()
1941 cw1200_ht_greenfield(&priv->ht_info); in cw1200_bss_info_changed()
1956 cw1200_ht_ampdu_density(&priv->ht_info); in cw1200_bss_info_changed()
/linux/drivers/net/wireless/marvell/mwifiex/
A Dcfp.c185 u8 index, u8 ht_info) in mwifiex_index_to_acs_data_rate() argument
196 bw = (ht_info & 0xC) >> 2; in mwifiex_index_to_acs_data_rate()
199 gi = (ht_info & 0x10) >> 4; in mwifiex_index_to_acs_data_rate()
207 bw = (ht_info & 0xC) >> 2; in mwifiex_index_to_acs_data_rate()
210 gi = (ht_info & 0x10) >> 4; in mwifiex_index_to_acs_data_rate()
239 u8 index, u8 ht_info) in mwifiex_index_to_data_rate() argument
248 if (ht_info & BIT(0)) { in mwifiex_index_to_data_rate()
250 if (ht_info & BIT(2)) in mwifiex_index_to_data_rate()
255 if (ht_info & BIT(1)) { in mwifiex_index_to_data_rate()
256 if (ht_info & BIT(2)) in mwifiex_index_to_data_rate()
[all …]
A D11n.c304 struct mwifiex_ie_types_htinfo *ht_info; in mwifiex_cmd_append_11n_tlv() local
369 ht_info = (struct mwifiex_ie_types_htinfo *) *buffer; in mwifiex_cmd_append_11n_tlv()
370 memset(ht_info, 0, in mwifiex_cmd_append_11n_tlv()
372 ht_info->header.type = in mwifiex_cmd_append_11n_tlv()
374 ht_info->header.len = in mwifiex_cmd_append_11n_tlv()
378 memcpy((u8 *) ht_info + in mwifiex_cmd_append_11n_tlv()
381 le16_to_cpu(ht_info->header.len)); in mwifiex_cmd_append_11n_tlv()
385 ht_info->ht_oper.ht_param &= in mwifiex_cmd_append_11n_tlv()
A Djoin.c892 struct mwifiex_ie_types_htinfo *ht_info; in mwifiex_cmd_802_11_ad_hoc_start() local
1104 ht_info = (struct mwifiex_ie_types_htinfo *) pos; in mwifiex_cmd_802_11_ad_hoc_start()
1105 memset(ht_info, 0, sizeof(struct mwifiex_ie_types_htinfo)); in mwifiex_cmd_802_11_ad_hoc_start()
1106 ht_info->header.type = cpu_to_le16(WLAN_EID_HT_OPERATION); in mwifiex_cmd_802_11_ad_hoc_start()
1107 ht_info->header.len = in mwifiex_cmd_802_11_ad_hoc_start()
1110 ht_info->ht_oper.primary_chan = in mwifiex_cmd_802_11_ad_hoc_start()
1113 ht_info->ht_oper.ht_param = adapter->sec_chan_offset; in mwifiex_cmd_802_11_ad_hoc_start()
1114 ht_info->ht_oper.ht_param |= in mwifiex_cmd_802_11_ad_hoc_start()
1117 ht_info->ht_oper.operation_mode = in mwifiex_cmd_802_11_ad_hoc_start()
1119 ht_info->ht_oper.basic_set[0] = 0xff; in mwifiex_cmd_802_11_ad_hoc_start()
A Dcfg80211.c1969 struct ieee80211_sta_ht_cap *ht_info; in mwifiex_cfg80211_set_antenna() local
1993 memset(&ht_info->mcs, 0xff, rx_mcs_supp); in mwifiex_cfg80211_set_antenna()
2913 ht_info->ht_supported = true; in mwifiex_setup_ht_caps()
2917 memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); in mwifiex_setup_ht_caps()
2926 ht_info->cap |= IEEE80211_HT_CAP_SGI_20; in mwifiex_setup_ht_caps()
2928 ht_info->cap &= ~IEEE80211_HT_CAP_SGI_20; in mwifiex_setup_ht_caps()
2931 ht_info->cap |= IEEE80211_HT_CAP_SGI_40; in mwifiex_setup_ht_caps()
2933 ht_info->cap &= ~IEEE80211_HT_CAP_SGI_40; in mwifiex_setup_ht_caps()
2941 ht_info->cap |= IEEE80211_HT_CAP_TX_STBC; in mwifiex_setup_ht_caps()
2946 ht_info->cap |= IEEE80211_HT_CAP_GRN_FLD; in mwifiex_setup_ht_caps()
[all …]
A Dsta_rx.c157 priv->rxpd_htinfo = local_rx_pd->ht_info; in mwifiex_process_rx_packet()
164 local_rx_pd->ht_info); in mwifiex_process_rx_packet()
A Duap_txrx.c192 src_node->stats.last_tx_htinfo = uap_rx_pd->ht_info; in mwifiex_uap_queue_bridged_pkt()
/linux/drivers/staging/rtl8192e/rtl8192e/
A Drtl_dm.c274 struct rt_hi_throughput *ht_info = priv->rtllib->ht_info; in _rtl92e_dm_check_rate_adaptive() local
288 bshort_gi_enabled = (ht_info->cur_tx_bw40mhz && in _rtl92e_dm_check_rate_adaptive()
289 ht_info->cur_short_gi_40mhz) || in _rtl92e_dm_check_rate_adaptive()
290 (!ht_info->cur_tx_bw40mhz && in _rtl92e_dm_check_rate_adaptive()
291 ht_info->cur_short_gi_20mhz); in _rtl92e_dm_check_rate_adaptive()
1119 struct rt_hi_throughput *ht_info = priv->rtllib->ht_info; in _rtl92e_dm_check_edca_turbo() local
1139 edca_setting_UL[ht_info->iot_peer]); in _rtl92e_dm_check_edca_turbo()
1150 edca_setting_DL[ht_info->iot_peer]); in _rtl92e_dm_check_edca_turbo()
1164 edca_setting_DL[ht_info->iot_peer]); in _rtl92e_dm_check_edca_turbo()
1171 edca_setting_UL[ht_info->iot_peer]); in _rtl92e_dm_check_edca_turbo()
[all …]
A Drtl_cam.c39 if ((ieee->ht_info->iot_action & HT_IOT_ACT_PURE_N_MODE) || !hwwep) { in rtl92e_enable_hw_security_config()
A Drtl_core.c256 (!priv->rtllib->ht_info->current_rt2rt_long_slot_time)) { in _rtl92e_update_cap()
287 if (ieee->ht_info->current_ht_support) in _rtl92e_update_beacon()
289 ieee->ht_info->current_rt2rt_long_slot_time = net->bssht.bd_rt2rt_long_slot_time; in _rtl92e_update_beacon()
541 priv->rtllib->ht_info->enable_ht = 1; in rtl92e_set_wireless_mode()
543 priv->rtllib->ht_info->enable_ht = 0; in rtl92e_set_wireless_mode()
A Dr8192E_dev.c1736 if (ieee->ht_info->cur_tx_bw40mhz && in rtl92e_update_ratr_table()
1737 ieee->ht_info->cur_short_gi_40mhz) in rtl92e_update_ratr_table()
1739 else if (!ieee->ht_info->cur_tx_bw40mhz && in rtl92e_update_ratr_table()
1740 ieee->ht_info->cur_short_gi_20mhz) in rtl92e_update_ratr_table()
/linux/drivers/net/wireless/intel/iwlegacy/
A Dcommon.c3377 struct ieee80211_sta_ht_cap *ht_info, in il_init_ht_hw_capab() argument
3384 ht_info->cap = 0; in il_init_ht_hw_capab()
3385 memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); in il_init_ht_hw_capab()
3387 ht_info->ht_supported = true; in il_init_ht_hw_capab()
3389 ht_info->cap |= IEEE80211_HT_CAP_SGI_20; in il_init_ht_hw_capab()
3393 ht_info->cap |= IEEE80211_HT_CAP_SGI_40; in il_init_ht_hw_capab()
3394 ht_info->mcs.rx_mask[4] = 0x01; in il_init_ht_hw_capab()
3404 ht_info->mcs.rx_mask[0] = 0xFF; in il_init_ht_hw_capab()
3406 ht_info->mcs.rx_mask[1] = 0xFF; in il_init_ht_hw_capab()
3408 ht_info->mcs.rx_mask[2] = 0xFF; in il_init_ht_hw_capab()
[all …]

Completed in 78 milliseconds

12