/linux-5.19.10/net/mac80211/ |
D | vht.c | 121 struct ieee80211_sta_vht_cap *vht_cap = &sta->sta.deflink.vht_cap; in ieee80211_vht_cap_ie_to_sta_vht_cap() 128 if (!sta->sta.deflink.ht_cap.ht_supported) in ieee80211_vht_cap_ie_to_sta_vht_cap() 298 sta->deflink.cur_max_bandwidth = IEEE80211_STA_RX_BW_160; in ieee80211_vht_cap_ie_to_sta_vht_cap() 301 sta->deflink.cur_max_bandwidth = IEEE80211_STA_RX_BW_80; in ieee80211_vht_cap_ie_to_sta_vht_cap() 313 sta->deflink.cur_max_bandwidth = IEEE80211_STA_RX_BW_160; in ieee80211_vht_cap_ie_to_sta_vht_cap() 316 sta->sta.deflink.bandwidth = ieee80211_sta_cur_vht_bw(sta); in ieee80211_vht_cap_ie_to_sta_vht_cap() 335 struct ieee80211_sta_vht_cap *vht_cap = &sta->sta.deflink.vht_cap; in ieee80211_sta_cap_rx_bw() 336 struct ieee80211_sta_he_cap *he_cap = &sta->sta.deflink.he_cap; in ieee80211_sta_cap_rx_bw() 337 struct ieee80211_sta_eht_cap *eht_cap = &sta->sta.deflink.eht_cap; in ieee80211_sta_cap_rx_bw() 372 return sta->sta.deflink.ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ? in ieee80211_sta_cap_rx_bw() [all …]
|
D | sta_info.c | 290 free_percpu(sta->deflink.pcpu_rx_stats); in sta_info_free() 349 sta->deflink.pcpu_rx_stats = in sta_info_alloc() 351 if (!sta->deflink.pcpu_rx_stats) in sta_info_alloc() 376 memcpy(sta->deflink.addr, addr, ETH_ALEN); in sta_info_alloc() 377 memcpy(sta->sta.deflink.addr, addr, ETH_ALEN); in sta_info_alloc() 386 sta->link[0] = &sta->deflink; in sta_info_alloc() 387 sta->sta.link[0] = &sta->sta.deflink; in sta_info_alloc() 400 sta->deflink.rx_stats.last_rx = jiffies; in sta_info_alloc() 402 u64_stats_init(&sta->deflink.rx_stats.syncp); in sta_info_alloc() 412 ewma_signal_init(&sta->deflink.rx_stats_avg.signal); in sta_info_alloc() [all …]
|
D | eht.c | 17 struct ieee80211_sta_eht_cap *eht_cap = &sta->sta.deflink.eht_cap; in ieee80211_eht_cap_ie_to_sta_eht_cap() 74 sta->deflink.cur_max_bandwidth = ieee80211_sta_cap_rx_bw(sta); in ieee80211_eht_cap_ie_to_sta_eht_cap() 75 sta->sta.deflink.bandwidth = ieee80211_sta_cur_vht_bw(sta); in ieee80211_eht_cap_ie_to_sta_eht_cap()
|
D | status.c | 75 sta->deflink.status_stats.filtered++; in ieee80211_handle_filtered_frame() 791 sta->deflink.status_stats.lost_packets++; in ieee80211_lost_packet() 804 if (sta->deflink.status_stats.lost_packets < pkt_thr || in ieee80211_lost_packet() 805 !time_after(jiffies, sta->deflink.status_stats.last_pkt_time + pkt_time)) in ieee80211_lost_packet() 809 sta->deflink.status_stats.lost_packets, in ieee80211_lost_packet() 811 sta->deflink.status_stats.lost_packets = 0; in ieee80211_lost_packet() 946 sta->deflink.tx_stats.last_rate = in __ieee80211_tx_status() 992 sta->deflink.status_stats.msdu_failed[tid]++; in __ieee80211_tx_status() 994 sta->deflink.status_stats.msdu_retries[tid] += in __ieee80211_tx_status() 1127 sta->deflink.tx_stats.last_rate_info = in ieee80211_tx_status_ext() [all …]
|
D | he.c | 52 sta->sta.deflink.he_6ghz_capa = *he_6ghz_capa; in ieee80211_update_from_he_6ghz_capa() 113 struct ieee80211_sta_he_cap *he_cap = &sta->sta.deflink.he_cap; in ieee80211_he_cap_ie_to_sta_he_cap() 156 sta->deflink.cur_max_bandwidth = ieee80211_sta_cap_rx_bw(sta); in ieee80211_he_cap_ie_to_sta_he_cap() 157 sta->sta.deflink.bandwidth = ieee80211_sta_cur_vht_bw(sta); in ieee80211_he_cap_ie_to_sta_he_cap()
|
D | mesh_plink.c | 64 (s8)-ewma_signal_read(&sta->deflink.rx_stats_avg.signal) > in rssi_threshold_check() 128 if (erp_rates & sta->sta.deflink.supp_rates[sband->band]) in mesh_set_short_slot_time() 178 if (sta->sta.deflink.bandwidth > IEEE80211_STA_RX_BW_20) in mesh_set_ht_prot_mode() 181 if (!sta->sta.deflink.ht_cap.ht_supported) { in mesh_set_ht_prot_mode() 418 enum ieee80211_sta_rx_bandwidth bw = sta->sta.deflink.bandwidth; in mesh_sta_info_init() 428 sta->deflink.rx_stats.last_rx = jiffies; in mesh_sta_info_init() 436 if (sta->sta.deflink.supp_rates[sband->band] != rates) in mesh_sta_info_init() 438 sta->sta.deflink.supp_rates[sband->band] = rates; in mesh_sta_info_init() 452 if (bw != sta->sta.deflink.bandwidth) in mesh_sta_info_init() 459 if (sta->sta.deflink.bandwidth != IEEE80211_STA_RX_BW_20) in mesh_sta_info_init() [all …]
|
D | rx.c | 224 sta->deflink.rx_stats.packets++; in __ieee80211_queue_skb_to_iface() 1467 rx->sta->deflink.rx_stats.num_duplicates++; in ieee80211_rx_h_check_dup() 1763 sta->deflink.rx_stats.last_rx = jiffies; in ieee80211_rx_h_sta_process() 1766 sta->deflink.rx_stats.last_rate = in ieee80211_rx_h_sta_process() 1770 sta->deflink.rx_stats.last_rx = jiffies; in ieee80211_rx_h_sta_process() 1777 sta->deflink.rx_stats.last_rx = jiffies; in ieee80211_rx_h_sta_process() 1779 sta->deflink.rx_stats.last_rate = sta_stats_encode_rate(status); in ieee80211_rx_h_sta_process() 1782 sta->deflink.rx_stats.fragments++; in ieee80211_rx_h_sta_process() 1784 u64_stats_update_begin(&rx->sta->deflink.rx_stats.syncp); in ieee80211_rx_h_sta_process() 1785 sta->deflink.rx_stats.bytes += rx->skb->len; in ieee80211_rx_h_sta_process() [all …]
|
D | agg-rx.c | 266 if (sta->sta.deflink.he_cap.has_he && addbaext) in ieee80211_send_addba_resp() 299 if (!sta->sta.deflink.ht_cap.ht_supported && in ___ieee80211_start_rx_ba_session() 315 if (sta->sta.deflink.eht_cap.has_eht) in ___ieee80211_start_rx_ba_session() 317 else if (sta->sta.deflink.he_cap.has_he) in ___ieee80211_start_rx_ba_session() 327 (!(sta->sta.deflink.ht_cap.cap & IEEE80211_HT_CAP_DELAY_BA))) || in ___ieee80211_start_rx_ba_session() 510 if (sta->sta.deflink.eht_cap.has_eht && elems && elems->addba_ext_ie) { in ieee80211_process_addba_request()
|
D | tdls.c | 462 ht_cap.ht_supported && sta->sta.deflink.ht_cap.ht_supported) { in ieee80211_tdls_add_setup_start_ies() 464 memcpy(&ht_cap, &sta->sta.deflink.ht_cap, sizeof(ht_cap)); in ieee80211_tdls_add_setup_start_ies() 513 vht_cap.vht_supported && sta->sta.deflink.vht_cap.vht_supported) { in ieee80211_tdls_add_setup_start_ies() 515 memcpy(&vht_cap, &sta->sta.deflink.vht_cap, sizeof(vht_cap)); in ieee80211_tdls_add_setup_start_ies() 606 if (!ap_sta->sta.deflink.ht_cap.ht_supported && sta->sta.deflink.ht_cap.ht_supported) { in ieee80211_tdls_add_setup_cfm_ies() 612 ieee80211_ie_build_ht_oper(pos, &sta->sta.deflink.ht_cap, in ieee80211_tdls_add_setup_cfm_ies() 621 sta->sta.deflink.vht_cap.vht_supported) { in ieee80211_tdls_add_setup_cfm_ies() 630 ieee80211_ie_build_vht_oper(pos, &sta->sta.deflink.vht_cap, in ieee80211_tdls_add_setup_cfm_ies() 1272 if (bw != sta->sta.deflink.bandwidth) { in iee80211_tdls_recalc_chanctx() 1273 sta->sta.deflink.bandwidth = bw; in iee80211_tdls_recalc_chanctx() [all …]
|
D | ibss.c | 644 sta->sta.deflink.supp_rates[band] = supp_rates | in ieee80211_ibss_add_sta() 1012 prev_rates = sta->sta.deflink.supp_rates[band]; in ieee80211_update_sta_info() 1020 sta->sta.deflink.supp_rates[band] = supp_rates | in ieee80211_update_sta_info() 1022 if (sta->sta.deflink.supp_rates[band] != prev_rates) { in ieee80211_update_sta_info() 1026 sta->sta.deflink.supp_rates[band]); in ieee80211_update_sta_info() 1050 enum ieee80211_sta_rx_bandwidth bw = sta->sta.deflink.bandwidth; in ieee80211_update_sta_info() 1065 struct ieee80211_sta_vht_cap cap = sta->sta.deflink.vht_cap; in ieee80211_update_sta_info() 1076 if (memcmp(&cap, &sta->sta.deflink.vht_cap, sizeof(cap))) in ieee80211_update_sta_info() 1080 if (bw != sta->sta.deflink.bandwidth) in ieee80211_update_sta_info() 1090 u8 rx_nss = sta->sta.deflink.rx_nss; in ieee80211_update_sta_info() [all …]
|
D | ht.c | 246 changed = memcmp(&sta->sta.deflink.ht_cap, &ht_cap, sizeof(ht_cap)); in ieee80211_ht_cap_ie_to_sta_ht_cap() 248 memcpy(&sta->sta.deflink.ht_cap, &ht_cap, sizeof(ht_cap)); in ieee80211_ht_cap_ie_to_sta_ht_cap() 267 sta->sta.deflink.bandwidth = bw; in ieee80211_ht_cap_ie_to_sta_ht_cap() 269 sta->deflink.cur_max_bandwidth = in ieee80211_ht_cap_ie_to_sta_ht_cap()
|
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rs-fw.c | 14 switch (sta->deflink.bandwidth) { in rs_fw_bw_from_sta_bw() 41 struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in rs_fw_sgi_cw_support() 42 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in rs_fw_sgi_cw_support() 43 struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in rs_fw_sgi_cw_support() 65 struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in rs_fw_get_config_flags() 66 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in rs_fw_get_config_flags() 67 struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in rs_fw_get_config_flags() 139 u8 max_nss = sta->deflink.rx_nss; in rs_fw_vht_set_enabled_rates() 157 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20) in rs_fw_vht_set_enabled_rates() 166 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160 && in rs_fw_vht_set_enabled_rates() [all …]
|
D | sf.c | 109 if (sta->deflink.ht_cap.ht_supported || in iwl_mvm_fill_sf_command() 110 sta->deflink.vht_cap.vht_supported || in iwl_mvm_fill_sf_command() 111 sta->deflink.he_cap.has_he) { in iwl_mvm_fill_sf_command() 112 switch (sta->deflink.rx_nss) { in iwl_mvm_fill_sf_command()
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/ |
D | rc.c | 69 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20) { in _rtl_rc_get_highest_rix() 91 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20) { in _rtl_rc_get_highest_rix() 124 sgi_20 = sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20; in _rtl_rc_rate_set_series() 125 sgi_40 = sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40; in _rtl_rc_rate_set_series() 126 sgi_80 = sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80; in _rtl_rc_rate_set_series() 138 if (sta && (sta->deflink.ht_cap.cap & in _rtl_rc_rate_set_series() 141 if (sta && sta->deflink.vht_cap.vht_supported) in _rtl_rc_rate_set_series() 152 if (sta && sta->deflink.ht_cap.ht_supported && in _rtl_rc_rate_set_series() 156 if (sta && sta->deflink.vht_cap.vht_supported && in _rtl_rc_rate_set_series() 232 if (sta->deflink.ht_cap.ht_supported && in rtl_tx_status()
|
D | core.c | 906 if (sta->deflink.supp_rates[0] <= 0xf) in rtl_op_sta_add() 908 if (sta->deflink.ht_cap.ht_supported) in rtl_op_sta_add() 915 if (sta->deflink.ht_cap.ht_supported) in rtl_op_sta_add() 917 if (sta->deflink.vht_cap.vht_supported) in rtl_op_sta_add() 925 sta->deflink.supp_rates[0] &= 0xfffffff0; in rtl_op_sta_add() 1129 if (sta->deflink.ht_cap.ht_supported) in rtl_op_bss_info_changed() 1137 if (sta->deflink.supp_rates[0] <= 0xf) in rtl_op_bss_info_changed() 1143 if (sta->deflink.ht_cap.ht_supported) { in rtl_op_bss_info_changed() 1150 if (sta->deflink.vht_cap.vht_supported) { in rtl_op_bss_info_changed() 1259 if (sta->deflink.ht_cap.ampdu_density > in rtl_op_bss_info_changed() [all …]
|
D | base.c | 632 sgi_40 = sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40; in _rtl_query_shortgi() 633 sgi_20 = sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20; in _rtl_query_shortgi() 634 sgi_80 = sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80; in _rtl_query_shortgi() 636 if (!sta->deflink.ht_cap.ht_supported && in _rtl_query_shortgi() 637 !sta->deflink.vht_cap.vht_supported) in _rtl_query_shortgi() 649 bw_40 = sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40; in _rtl_query_shortgi() 650 bw_80 = sta->deflink.vht_cap.vht_supported; in _rtl_query_shortgi() 868 if (!(sta->deflink.ht_cap.ht_supported) || in _rtl_query_bandwidth_mode() 869 !(sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40)) in _rtl_query_bandwidth_mode() 872 if (!mac->bw_40 || !(sta->deflink.ht_cap.ht_supported)) in _rtl_query_bandwidth_mode() [all …]
|
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mcu.c | 115 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_he_mcs() 155 sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160) in mt7915_mcu_set_sta_he_mcs() 168 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in mt7915_mcu_set_sta_vht_mcs() 169 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_vht_mcs() 191 sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160) in mt7915_mcu_set_sta_vht_mcs() 200 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_ht_mcs() 203 ht_mcs[nss] = sta->deflink.ht_cap.mcs.rx_mask[nss] & mask[nss]; in mt7915_mcu_set_sta_ht_mcs() 791 struct ieee80211_he_cap_elem *elem = &sta->deflink.he_cap.he_cap_elem; in mt7915_mcu_sta_he_tlv() 797 if (!sta->deflink.he_cap.has_he) in mt7915_mcu_sta_he_tlv() 883 mcs_map = sta->deflink.he_cap.he_mcs_nss_supp; in mt7915_mcu_sta_he_tlv() [all …]
|
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/ |
D | mt76_connac_mcu.c | 613 struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in mt76_connac_mcu_sta_he_tlv() 701 switch (sta->deflink.bandwidth) { in mt76_connac_mcu_sta_he_tlv() 753 ht_cap = &sta->deflink.ht_cap; in mt76_connac_get_phy_mode_v2() 754 vht_cap = &sta->deflink.vht_cap; in mt76_connac_get_phy_mode_v2() 755 he_cap = &sta->deflink.he_cap; in mt76_connac_get_phy_mode_v2() 804 if (sta->deflink.ht_cap.ht_supported) { in mt76_connac_mcu_sta_tlv() 809 ht->ht_cap = cpu_to_le16(sta->deflink.ht_cap.cap); in mt76_connac_mcu_sta_tlv() 813 if (sta->deflink.vht_cap.vht_supported) { in mt76_connac_mcu_sta_tlv() 820 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt76_connac_mcu_sta_tlv() 821 vht->vht_rx_mcs_map = sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in mt76_connac_mcu_sta_tlv() [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtw88/ |
D | main.c | 913 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in get_vht_ra_mask() 1133 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info() 1136 if (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_RXSTBC_MASK) in rtw_update_sta_info() 1138 if (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_RXLDPC) in rtw_update_sta_info() 1140 } else if (sta->deflink.ht_cap.ht_supported) { in rtw_update_sta_info() 1141 ra_mask |= (sta->deflink.ht_cap.mcs.rx_mask[1] << 20) | in rtw_update_sta_info() 1142 (sta->deflink.ht_cap.mcs.rx_mask[0] << 12); in rtw_update_sta_info() 1143 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_RX_STBC) in rtw_update_sta_info() 1145 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_LDPC_CODING) in rtw_update_sta_info() 1153 ra_mask |= (u64)sta->deflink.supp_rates[NL80211_BAND_5GHZ] << 4; in rtw_update_sta_info() [all …]
|
D | tx.c | 79 u8 exp = sta->deflink.ht_cap.ampdu_factor; in get_tx_ampdu_factor() 90 return sta->deflink.ht_cap.ampdu_density; in get_tx_ampdu_density() 98 if (rtwdev->hal.rf_type == RF_2T2R && sta->deflink.ht_cap.mcs.rx_mask[1] != 0) in get_highest_ht_tx_rate() 113 tx_mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.tx_mcs_map); in get_highest_vht_tx_rate() 347 if (sta->deflink.vht_cap.vht_supported) in rtw_tx_data_pkt_info_update() 349 else if (sta->deflink.ht_cap.ht_supported) in rtw_tx_data_pkt_info_update() 351 else if (sta->deflink.supp_rates[0] <= 0xf) in rtw_tx_data_pkt_info_update()
|
/linux-5.19.10/drivers/net/wireless/ath/ath11k/ |
D | mac.c | 1639 ratemask = sta->deflink.supp_rates[band]; in ath11k_peer_assoc_h_rates() 1684 const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in ath11k_peer_assoc_h_ht() 1721 if (sta->deflink.bandwidth >= IEEE80211_STA_RX_BW_40) { in ath11k_peer_assoc_h_ht() 1779 arg->peer_nss = min(sta->deflink.rx_nss, max_nss); in ath11k_peer_assoc_h_ht() 1881 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath11k_peer_assoc_h_vht() 1927 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_80) in ath11k_peer_assoc_h_vht() 1930 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160) in ath11k_peer_assoc_h_vht() 1935 if (vht_nss > sta->deflink.rx_nss) { in ath11k_peer_assoc_h_vht() 1937 for (nss_idx = sta->deflink.rx_nss - 1; nss_idx >= 0; nss_idx--) { in ath11k_peer_assoc_h_vht() 1947 sta->deflink.rx_nss, sta->addr); in ath11k_peer_assoc_h_vht() [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtw89/ |
D | phy.c | 79 struct ieee80211_sta_he_cap cap = sta->deflink.he_cap; in get_he_ra_mask() 82 switch (sta->deflink.bandwidth) { in get_he_ra_mask() 175 if (sta->deflink.he_cap.has_he) { in rtw89_phy_ra_mask_cfg() 180 } else if (sta->deflink.vht_cap.vht_supported) { in rtw89_phy_ra_mask_cfg() 185 } else if (sta->deflink.ht_cap.ht_supported) { in rtw89_phy_ra_mask_cfg() 226 if (sta->deflink.he_cap.has_he) { in rtw89_phy_ra_sta_update() 231 if (sta->deflink.he_cap.he_cap_elem.phy_cap_info[2] & in rtw89_phy_ra_sta_update() 234 if (sta->deflink.he_cap.he_cap_elem.phy_cap_info[1] & in rtw89_phy_ra_sta_update() 237 } else if (sta->deflink.vht_cap.vht_supported) { in rtw89_phy_ra_sta_update() 238 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in rtw89_phy_ra_sta_update() [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | hw.c | 1805 u8 curshortgi_40mhz = (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl92de_update_hal_rate_table() 1807 u8 curshortgi_20mhz = (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ? in rtl92de_update_hal_rate_table() 1812 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl92de_update_hal_rate_table() 1814 ratr_value = sta->deflink.supp_rates[0]; in rtl92de_update_hal_rate_table() 1815 ratr_value |= (sta->deflink.ht_cap.mcs.rx_mask[1] << 20 | in rtl92de_update_hal_rate_table() 1816 sta->deflink.ht_cap.mcs.rx_mask[0] << 12); in rtl92de_update_hal_rate_table() 1883 u8 curtxbw_40mhz = (sta->deflink.bandwidth >= IEEE80211_STA_RX_BW_40) ? 1 : 0; in rtl92de_update_hal_rate_mask() 1884 u8 curshortgi_40mhz = (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl92de_update_hal_rate_mask() 1886 u8 curshortgi_20mhz = (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ? in rtl92de_update_hal_rate_mask() 1904 ratr_bitmap = sta->deflink.supp_rates[1] << 4; in rtl92de_update_hal_rate_mask() [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.c | 1844 u8 curshortgi_40mhz = (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl8723e_update_hal_rate_table() 1846 u8 curshortgi_20mhz = (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ? in rtl8723e_update_hal_rate_table() 1852 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl8723e_update_hal_rate_table() 1854 ratr_value = sta->deflink.supp_rates[0]; in rtl8723e_update_hal_rate_table() 1857 ratr_value |= (sta->deflink.ht_cap.mcs.rx_mask[1] << 20 | in rtl8723e_update_hal_rate_table() 1858 sta->deflink.ht_cap.mcs.rx_mask[0] << 12); in rtl8723e_update_hal_rate_table() 1931 u8 curtxbw_40mhz = (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) in rtl8723e_update_hal_rate_mask() 1933 u8 curshortgi_40mhz = (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl8723e_update_hal_rate_mask() 1935 u8 curshortgi_20mhz = (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ? in rtl8723e_update_hal_rate_mask() 1952 ratr_bitmap = sta->deflink.supp_rates[1] << 4; in rtl8723e_update_hal_rate_mask() [all …]
|
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 1768 u8 curshortgi_40mhz = (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ? in rtl92ce_update_hal_rate_table() 1770 u8 curshortgi_20mhz = (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ? in rtl92ce_update_hal_rate_table() 1776 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl92ce_update_hal_rate_table() 1778 ratr_value = sta->deflink.supp_rates[0]; in rtl92ce_update_hal_rate_table() 1782 ratr_value |= (sta->deflink.ht_cap.mcs.rx_mask[1] << 20 | in rtl92ce_update_hal_rate_table() 1783 sta->deflink.ht_cap.mcs.rx_mask[0] << 12); in rtl92ce_update_hal_rate_table() 1856 u8 curtxbw_40mhz = (sta->deflink.ht_cap.cap & in rtl92ce_update_hal_rate_mask() 1858 u8 curshortgi_40mhz = (sta->deflink.ht_cap.cap & in rtl92ce_update_hal_rate_mask() 1860 u8 curshortgi_20mhz = (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ? in rtl92ce_update_hal_rate_mask() 1877 ratr_bitmap = sta->deflink.supp_rates[1] << 4; in rtl92ce_update_hal_rate_mask() [all …]
|