Home
last modified time | relevance | path

Searched refs:rateset (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/
H A Dmac.c743 bool rateset; in mt7603_wtbl_set_rates() local
752 rateset = !(sta->rate_set_tsf & BIT(0)); in mt7603_wtbl_set_rates()
753 memcpy(sta->rateset[rateset].rates, rates, in mt7603_wtbl_set_rates()
754 sizeof(sta->rateset[rateset].rates)); in mt7603_wtbl_set_rates()
756 sta->rateset[rateset].probe_rate = *probe_rate; in mt7603_wtbl_set_rates()
757 ref = &sta->rateset[rateset].probe_rate; in mt7603_wtbl_set_rates()
759 sta->rateset[rateset].probe_rate.idx = -1; in mt7603_wtbl_set_rates()
760 ref = &sta->rateset[rateset].rates[0]; in mt7603_wtbl_set_rates()
763 rates = sta->rateset[rateset].rates; in mt7603_wtbl_set_rates()
764 for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) { in mt7603_wtbl_set_rates()
[all …]
H A Dmt7603.h73 struct mt7603_rate_set rateset[2]; member
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dmac.c973 bool rateset, stbc = false; in mt7615_mac_update_rate_desc() local
982 memcpy(sta->rateset[rateset].rates, rates, in mt7615_mac_update_rate_desc()
983 sizeof(sta->rateset[rateset].rates)); in mt7615_mac_update_rate_desc()
985 sta->rateset[rateset].probe_rate = *probe_rate; in mt7615_mac_update_rate_desc()
986 ref = &sta->rateset[rateset].probe_rate; in mt7615_mac_update_rate_desc()
988 sta->rateset[rateset].probe_rate.idx = -1; in mt7615_mac_update_rate_desc()
989 ref = &sta->rateset[rateset].rates[0]; in mt7615_mac_update_rate_desc()
992 rates = sta->rateset[rateset].rates; in mt7615_mac_update_rate_desc()
993 for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) { in mt7615_mac_update_rate_desc()
1050 rd->rateset = rateset; in mt7615_mac_update_rate_desc()
[all …]
H A Dusb_sdio.c112 sta->rate_probe = sta->rateset[rate->rateset].probe_rate.idx != -1; in mt7663_usb_sdio_set_rates()
120 sta->rate_set_tsf = (val & ~BIT(0)) | rate->rateset; in mt7663_usb_sdio_set_rates()
H A Dmt7615.h97 bool rateset; member
132 struct mt7615_rate_set rateset[2]; member
/freebsd/sys/dev/usb/wlan/
H A Dif_uathreg.h326 struct uath_cmd_rateset rateset; member
344 struct uath_cmd_rateset rateset; member
H A Dif_uath.c1900 create.connattr.rateset.length = rs->rs_nrates; in uath_create_connection()
1901 bcopy(rs->rs_rates, &create.connattr.rateset.set[0], in uath_create_connection()
1926 rates.rateset.length = rs->rs_nrates; in uath_set_rates()
1927 bcopy(rs->rs_rates, &rates.rateset.set[0], rs->rs_nrates); in uath_set_rates()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dmac.c1298 struct wmi_rate_set_arg *rateset = &arg->peer_legacy_rates; in ath12k_peer_assoc_h_rates() local
1318 rateset->num_rates = 0; in ath12k_peer_assoc_h_rates()
1325 rateset->rates[rateset->num_rates] = rate; in ath12k_peer_assoc_h_rates()
1326 rateset->num_rates++; in ath12k_peer_assoc_h_rates()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dmac.c1808 struct wmi_rate_set_arg *rateset = &arg->peer_legacy_rates; in ath11k_peer_assoc_h_rates() local
1828 rateset->num_rates = 0; in ath11k_peer_assoc_h_rates()
1835 rateset->rates[rateset->num_rates] = rate; in ath11k_peer_assoc_h_rates()
1836 rateset->num_rates++; in ath11k_peer_assoc_h_rates()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dmac.c2247 struct wmi_rate_set_arg *rateset = &arg->peer_legacy_rates; in ath10k_peer_assoc_h_rates() local
2267 rateset->num_rates = 0; in ath10k_peer_assoc_h_rates()
2274 rateset->rates[rateset->num_rates] = rate; in ath10k_peer_assoc_h_rates()
2275 rateset->num_rates++; in ath10k_peer_assoc_h_rates()