Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/staging/rtl8192e/
H A Drtl819x_HTProc.c72 struct rt_hi_throughput *ht_info = ieee->ht_info; in HTUpdateDefaultSetting() local
74 ht_info->bRegShortGI20MHz = 1; in HTUpdateDefaultSetting()
75 ht_info->bRegShortGI40MHz = 1; in HTUpdateDefaultSetting()
77 ht_info->bRegBW40MHz = 1; in HTUpdateDefaultSetting()
79 if (ht_info->bRegBW40MHz) in HTUpdateDefaultSetting()
80 ht_info->bRegSuppCCK = 1; in HTUpdateDefaultSetting()
82 ht_info->bRegSuppCCK = true; in HTUpdateDefaultSetting()
84 ht_info->nAMSDU_MaxSize = 7935UL; in HTUpdateDefaultSetting()
85 ht_info->bAMSDU_Support = 0; in HTUpdateDefaultSetting()
87 ht_info->bAMPDUEnable = 1; in HTUpdateDefaultSetting()
[all …]
H A Drtllib_tx.c269 struct rt_hi_throughput *ht_info = ieee->ht_info; in rtllib_tx_query_agg_cap() local
276 if (!ht_info->bCurrentHTSupport || !ht_info->enable_ht) in rtllib_tx_query_agg_cap()
286 if (ht_info->iot_action & HT_IOT_ACT_TX_NO_AGGREGATION) in rtllib_tx_query_agg_cap()
291 if (ht_info->bCurrentAMPDUEnable) { in rtllib_tx_query_agg_cap()
316 tcb_desc->ampdu_factor = ht_info->CurrentAMPDUFactor; in rtllib_tx_query_agg_cap()
317 tcb_desc->ampdu_density = ht_info->current_mpdu_density; in rtllib_tx_query_agg_cap()
321 switch (ht_info->ForcedAMPDUMode) { in rtllib_tx_query_agg_cap()
327 tcb_desc->ampdu_density = ht_info->forced_mpdu_density; in rtllib_tx_query_agg_cap()
328 tcb_desc->ampdu_factor = ht_info->forced_ampdu_factor; in rtllib_tx_query_agg_cap()
353 struct rt_hi_throughput *ht_info = ieee->ht_info; in rtllib_query_HTCapShortGI() local
[all …]
H A Drtllib_softmac.c168 struct rt_hi_throughput *ht_info = ieee->ht_info; in MgntQuery_MgntFrameTxRate() local
171 if (ht_info->iot_action & HT_IOT_ACT_MGNT_USE_CCK_6M) in MgntQuery_MgntFrameTxRate()
177 if (ieee->mode == WIRELESS_MODE_N_24G && !ht_info->bCurSuppCCK) in MgntQuery_MgntFrameTxRate()
786 struct rt_hi_throughput *ht_info = ieee->ht_info; in rtllib_probe_resp() local
800 ieee->ht_info->bCurSuppCCK)) { in rtllib_probe_resp()
812 if (ieee->ht_info->bCurrentHTSupport) { in rtllib_probe_resp()
813 tmp_ht_cap_buf = (u8 *)&(ieee->ht_info->SelfHTCap); in rtllib_probe_resp()
814 tmp_ht_cap_len = sizeof(ieee->ht_info->SelfHTCap); in rtllib_probe_resp()
815 tmp_ht_info_buf = (u8 *)&(ieee->ht_info->SelfHTInfo); in rtllib_probe_resp()
816 tmp_ht_info_len = sizeof(ieee->ht_info->SelfHTInfo); in rtllib_probe_resp()
[all …]
H A Drtl819x_BAProc.c247 !ieee->ht_info->bCurrentHTSupport || in rtllib_rx_ADDBAReq()
248 (ieee->ht_info->iot_action & HT_IOT_ACT_REJECT_ADDBA_REQ)) { in rtllib_rx_ADDBAReq()
253 ieee->ht_info->bCurrentHTSupport); in rtllib_rx_ADDBAReq()
280 (ieee->ht_info->iot_action & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT)) in rtllib_rx_ADDBAReq()
329 !ieee->ht_info->bCurrentHTSupport || in rtllib_rx_ADDBARsp()
330 !ieee->ht_info->bCurrentAMPDUEnable) { in rtllib_rx_ADDBARsp()
334 ieee->ht_info->bCurrentHTSupport, in rtllib_rx_ADDBARsp()
335 ieee->ht_info->bCurrentAMPDUEnable); in rtllib_rx_ADDBARsp()
416 !ieee->ht_info->bCurrentHTSupport) { in rtllib_rx_DELBA()
420 ieee->ht_info->bCurrentHTSupport); in rtllib_rx_DELBA()
H A Drtllib_module.c125 ieee->ht_info = kzalloc(sizeof(struct rt_hi_throughput), GFP_KERNEL); in alloc_rtllib()
126 if (!ieee->ht_info) in alloc_rtllib()
160 kfree(ieee->ht_info); in free_rtllib()
H A Drtllib_softmac_wx.c328 if (ieee->ht_info->bCurrentHTSupport && ieee->ht_info->enable_ht && in rtllib_wx_sync_scan_wq()
329 ieee->ht_info->bCurBW40MHz) { in rtllib_wx_sync_scan_wq()
331 chan_offset = ieee->ht_info->CurSTAExtChnlOffset; in rtllib_wx_sync_scan_wq()
332 bandwidth = (enum ht_channel_width)ieee->ht_info->bCurBW40MHz; in rtllib_wx_sync_scan_wq()
H A Drtllib_rx.c559 struct rt_hi_throughput *ht_info = ieee->ht_info; in RxReorderIndicatePacket() local
561 u8 WinSize = ht_info->rx_reorder_win_size; in RxReorderIndicatePacket()
583 ht_info->rx_reorder_drop_counter++; in RxReorderIndicatePacket()
747 msecs_to_jiffies(ht_info->rx_reorder_pending_time)); in RxReorderIndicatePacket()
915 if (!ieee->ht_info->cur_rx_reorder_enable || in rtllib_rx_check_duplicate()
1426 if (!ieee->ht_info->cur_rx_reorder_enable || pTS == NULL || bToOtherSTA) in rtllib_rx_InfraAdhoc()
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H 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()
206 ht_info->cap |= (1 << IEEE80211_HT_CAP_RX_STBC_SHIFT); in ath9k_cmn_setup_ht_cap()
210 memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); in ath9k_cmn_setup_ht_cap()
[all …]
H A Dcommon-init.h19 struct ieee80211_sta_ht_cap *ht_info);
/openbmc/linux/drivers/net/wireless/st/cw1200/
H 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()
H 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()
H 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()
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dcfp.c185 u8 index, u8 ht_info) in mwifiex_index_to_acs_data_rate() argument
192 if ((ht_info & 0x3) == MWIFIEX_RATE_FORMAT_VHT) { in mwifiex_index_to_acs_data_rate()
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()
205 } else if ((ht_info & 0x3) == MWIFIEX_RATE_FORMAT_HT) { 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
246 return mwifiex_index_to_acs_data_rate(priv, index, ht_info); in mwifiex_index_to_data_rate()
248 if (ht_info & BIT(0)) { in mwifiex_index_to_data_rate()
[all …]
H 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()
H A Dcfg80211.c1942 struct ieee80211_sta_ht_cap *ht_info; in mwifiex_cfg80211_set_antenna() local
1962 ht_info = &adapter->wiphy->bands[band]->ht_cap; in mwifiex_cfg80211_set_antenna()
1965 memset(&ht_info->mcs, 0, adapter->number_of_antenna); in mwifiex_cfg80211_set_antenna()
1966 memset(&ht_info->mcs, 0xff, rx_mcs_supp); in mwifiex_cfg80211_set_antenna()
2878 mwifiex_setup_ht_caps(struct ieee80211_sta_ht_cap *ht_info, in mwifiex_setup_ht_caps() argument
2886 ht_info->ht_supported = true; in mwifiex_setup_ht_caps()
2887 ht_info->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; in mwifiex_setup_ht_caps()
2888 ht_info->ampdu_density = IEEE80211_HT_MPDU_DENSITY_NONE; in mwifiex_setup_ht_caps()
2890 memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); in mwifiex_setup_ht_caps()
2894 ht_info->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40; in mwifiex_setup_ht_caps()
[all …]
H A Djoin.c844 struct mwifiex_ie_types_htinfo *ht_info; in mwifiex_cmd_802_11_ad_hoc_start() local
1056 ht_info = (struct mwifiex_ie_types_htinfo *) pos; in mwifiex_cmd_802_11_ad_hoc_start()
1057 memset(ht_info, 0, sizeof(struct mwifiex_ie_types_htinfo)); in mwifiex_cmd_802_11_ad_hoc_start()
1058 ht_info->header.type = cpu_to_le16(WLAN_EID_HT_OPERATION); in mwifiex_cmd_802_11_ad_hoc_start()
1059 ht_info->header.len = in mwifiex_cmd_802_11_ad_hoc_start()
1062 ht_info->ht_oper.primary_chan = in mwifiex_cmd_802_11_ad_hoc_start()
1065 ht_info->ht_oper.ht_param = adapter->sec_chan_offset; in mwifiex_cmd_802_11_ad_hoc_start()
1066 ht_info->ht_oper.ht_param |= in mwifiex_cmd_802_11_ad_hoc_start()
1069 ht_info->ht_oper.operation_mode = in mwifiex_cmd_802_11_ad_hoc_start()
1071 ht_info->ht_oper.basic_set[0] = 0xff; in mwifiex_cmd_802_11_ad_hoc_start()
H 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()
H A Dmain.h1184 u8 index, u8 ht_info);
1186 u8 index, u8 ht_info);
1664 u8 rx_rate, u8 ht_info);
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-eeprom-parse.c680 struct ieee80211_sta_ht_cap *ht_info, in iwl_init_ht_hw_capab() argument
696 ht_info->ht_supported = false; in iwl_init_ht_hw_capab()
703 ht_info->ht_supported = true; in iwl_init_ht_hw_capab()
704 ht_info->cap = IEEE80211_HT_CAP_DSSSCCK40; in iwl_init_ht_hw_capab()
707 ht_info->cap |= (1 << IEEE80211_HT_CAP_RX_STBC_SHIFT); in iwl_init_ht_hw_capab()
710 ht_info->cap |= IEEE80211_HT_CAP_TX_STBC; in iwl_init_ht_hw_capab()
714 ht_info->cap |= IEEE80211_HT_CAP_LDPC_CODING; in iwl_init_ht_hw_capab()
718 ht_info->cap |= IEEE80211_HT_CAP_MAX_AMSDU; in iwl_init_ht_hw_capab()
720 ht_info->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; in iwl_init_ht_hw_capab()
721 ht_info->ampdu_density = IEEE80211_HT_MPDU_DENSITY_4; in iwl_init_ht_hw_capab()
[all …]
H A Diwl-eeprom-parse.h84 struct ieee80211_sta_ht_cap *ht_info,
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_dm.c278 struct rt_hi_throughput *ht_info = priv->rtllib->ht_info; in _rtl92e_dm_check_rate_adaptive() local
295 bshort_gi_enabled = (ht_info->cur_tx_bw40mhz && in _rtl92e_dm_check_rate_adaptive()
296 ht_info->bCurShortGI40MHz) || in _rtl92e_dm_check_rate_adaptive()
297 (!ht_info->cur_tx_bw40mhz && in _rtl92e_dm_check_rate_adaptive()
298 ht_info->bCurShortGI20MHz); in _rtl92e_dm_check_rate_adaptive()
1401 struct rt_hi_throughput *ht_info = priv->rtllib->ht_info; in _rtl92e_dm_check_edca_turbo() local
1412 if (priv->rtllib->ht_info->iot_action & HT_IOT_ACT_DISABLE_EDCA_TURBO) in _rtl92e_dm_check_edca_turbo()
1418 if (ht_info->iot_action & HT_IOT_ACT_EDCA_BIAS_ON_RX) { in _rtl92e_dm_check_edca_turbo()
1423 edca_setting_UL[ht_info->IOTPeer]); in _rtl92e_dm_check_edca_turbo()
1431 edca_setting_DL_GMode[ht_info->IOTPeer]); in _rtl92e_dm_check_edca_turbo()
[all …]
H A Dr8192E_dev.c1821 if (ieee->ht_info->peer_mimo_ps == 0) in rtl92e_update_ratr_table()
1830 if (ieee->ht_info->cur_tx_bw40mhz && in rtl92e_update_ratr_table()
1831 ieee->ht_info->bCurShortGI40MHz) in rtl92e_update_ratr_table()
1833 else if (!ieee->ht_info->cur_tx_bw40mhz && in rtl92e_update_ratr_table()
1834 ieee->ht_info->bCurShortGI20MHz) in rtl92e_update_ratr_table()
H A Drtl_cam.c44 if ((ieee->ht_info->iot_action & HT_IOT_ACT_PURE_N_MODE) || !hwwep) { in rtl92e_enable_hw_security_config()
H A Drtl_core.c285 (!priv->rtllib->ht_info->current_rt2rt_long_slot_time)) { in _rtl92e_update_cap()
316 if (ieee->ht_info->bCurrentHTSupport) in _rtl92e_update_beacon()
318 ieee->ht_info->current_rt2rt_long_slot_time = net->bssht.bd_rt2rt_long_slot_time; in _rtl92e_update_beacon()
319 ieee->ht_info->RT2RT_HT_Mode = net->bssht.rt2rt_ht_mode; in _rtl92e_update_beacon()
607 priv->rtllib->ht_info->enable_ht = 1; in rtl92e_set_wireless_mode()
609 priv->rtllib->ht_info->enable_ht = 0; in rtl92e_set_wireless_mode()
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A Dcommon.c3374 struct ieee80211_sta_ht_cap *ht_info, in il_init_ht_hw_capab() argument
3381 ht_info->cap = 0; in il_init_ht_hw_capab()
3382 memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); in il_init_ht_hw_capab()
3384 ht_info->ht_supported = true; in il_init_ht_hw_capab()
3386 ht_info->cap |= IEEE80211_HT_CAP_SGI_20; in il_init_ht_hw_capab()
3389 ht_info->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40; in il_init_ht_hw_capab()
3390 ht_info->cap |= IEEE80211_HT_CAP_SGI_40; in il_init_ht_hw_capab()
3391 ht_info->mcs.rx_mask[4] = 0x01; in il_init_ht_hw_capab()
3396 ht_info->cap |= IEEE80211_HT_CAP_MAX_AMSDU; in il_init_ht_hw_capab()
3398 ht_info->ampdu_factor = CFG_HT_RX_AMPDU_FACTOR_DEF; in il_init_ht_hw_capab()
[all …]

12