Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Drate.c306 u8 rateset[BRCM_MAXRATE + 1]; in brcms_c_rate_hwrs_filter_sort_validate() local
311 memset(rateset, 0, sizeof(rateset)); in brcms_c_rate_hwrs_filter_sort_validate()
319 rateset[r] = rs->rates[i]; /* preserve basic bit! */ in brcms_c_rate_hwrs_filter_sort_validate()
326 if (rateset[r]) in brcms_c_rate_hwrs_filter_sort_validate()
327 rs->rates[count++] = rateset[r]; in brcms_c_rate_hwrs_filter_sort_validate()
494 void brcms_c_rateset_mcs_clear(struct brcms_c_rateset *rateset) in brcms_c_rateset_mcs_clear() argument
498 rateset->mcs[i] = 0; in brcms_c_rateset_mcs_clear()
501 void brcms_c_rateset_mcs_build(struct brcms_c_rateset *rateset, u8 txstreams) in brcms_c_rateset_mcs_build() argument
503 memcpy(&rateset->mcs[0], &cck_ofdm_mimo_rates.mcs[0], MCSSET_LEN); in brcms_c_rateset_mcs_build()
504 brcms_c_rateset_mcs_upd(rateset, txstreams); in brcms_c_rateset_mcs_build()
[all …]
H A Drate.h241 void brcms_c_rateset_mcs_clear(struct brcms_c_rateset *rateset);
242 void brcms_c_rateset_mcs_build(struct brcms_c_rateset *rateset, u8 txstreams);
243 void brcms_c_rateset_bw_mcs_filter(struct brcms_c_rateset *rateset, u8 bw);
H A Dpub.h134 struct brcms_c_rateset rateset; /* supported rates */ member
H A Dmain.c3402 struct brcms_c_rateset *rateset) in brcms_c_rate_lookup_init() argument
3417 for (i = 0; i < rateset->count; i++) { in brcms_c_rate_lookup_init()
3419 if (!(rateset->rates[i] & BRCMS_RATE_FLAG)) in brcms_c_rate_lookup_init()
3423 rate = (rateset->rates[i] & BRCMS_RATE_MASK); in brcms_c_rate_lookup_init()
3428 rateset->rates[i]); in brcms_c_rate_lookup_init()
4744 brcms_c_rateset_default(&bi->rateset, NULL, band->phytype, in brcms_c_bss_default_init()
5284 wlc->default_bss->rateset.count = rs.count; in brcms_c_set_gmode()
5285 memcpy(wlc->default_bss->rateset.rates, rs.rates, in brcms_c_set_gmode()
5286 sizeof(wlc->default_bss->rateset.rates)); in brcms_c_set_gmode()
5309 brcms_c_rateset_mcs_build(&wlc->default_bss->rateset, in brcms_c_set_nmode()
[all …]
/linux/drivers/net/wireless/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
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c973 bool rateset, stbc = false; in mt7615_mac_update_rate_desc() local
981 rateset = !(sta->rate_set_tsf & BIT(0)); in mt7615_mac_update_rate_desc()
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()
[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
/linux/drivers/net/wireless/ath/ar5523/
H A Dar5523_hw.h223 struct ar5523_cmd_rateset rateset; member
241 struct ar5523_cmd_rateset rateset; member
H A Dar5523.c1237 ar5523_create_rateset(ar, bss, &rates.rateset, true); in ar5523_set_basic_rates()
1256 ar5523_create_rateset(ar, bss, &create.connattr.rateset, false); in ar5523_create_connection()
/linux/drivers/staging/rtl8712/
H A Dieee80211.c145 static uint r8712_get_rateset_len(u8 *rateset) in r8712_get_rateset_len() argument
150 if ((rateset[i]) == 0) in r8712_get_rateset_len()
H A Drtl871x_cmd.c209 int r8712_setdatarate_cmd(struct _adapter *padapter, u8 *rateset) in r8712_setdatarate_cmd() argument
226 memcpy(pbsetdataratepara->datarates, rateset, NumRates); in r8712_setdatarate_cmd()
H A Drtl871x_cmd.h725 int r8712_setdatarate_cmd(struct _adapter *padapter, u8 *rateset);
/linux/drivers/net/wireless/intersil/p54/
H A Dtxrx.c834 memset(&txhdr->rateset, 0, sizeof(txhdr->rateset)); in p54_tx_80211()
891 txhdr->rateset[ridx] = rate; in p54_tx_80211()
H A Dlmac.h248 u8 rateset[8]; member
/linux/drivers/net/wireless/silabs/wfx/
H A Dhif_api_mib.h284 u8 rateset:1; member
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_ieee80211.c275 uint rtw_get_rateset_len(u8 *rateset) in rtw_get_rateset_len() argument
280 if (rateset[i] == 0) in rtw_get_rateset_len()
H A Drtw_wlan_util.c130 unsigned int ratetbl2rateset(struct adapter *padapter, unsigned char *rateset);
131 unsigned int ratetbl2rateset(struct adapter *padapter, unsigned char *rateset) in ratetbl2rateset() argument
154 rateset[len] = rate; in ratetbl2rateset()
/linux/drivers/staging/rtl8723bs/include/
H A Dieee80211.h766 uint rtw_get_rateset_len(u8 *rateset);
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwil_types.h327 } rateset; /* supported rates */ member
/linux/drivers/net/wireless/ath/wcn36xx/
H A Dhal.h1969 struct wcn36xx_hal_rate_set rateset; member
2106 struct wcn36xx_hal_rate_set rateset; member
H A Dsmd.c1742 bss->rateset = bss_v0.rateset; in wcn36xx_smd_config_bss_v1()
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c1812 struct wmi_rate_set_arg *rateset = &arg->peer_legacy_rates; in ath12k_peer_assoc_h_rates() local
1833 rateset->num_rates = 0; in ath12k_peer_assoc_h_rates()
1840 rateset->rates[rateset->num_rates] = rate; in ath12k_peer_assoc_h_rates()
1841 rateset->num_rates++; in ath12k_peer_assoc_h_rates()
/linux/drivers/net/wireless/ath/ath11k/
H A Dmac.c1886 struct wmi_rate_set_arg *rateset = &arg->peer_legacy_rates; in ath11k_peer_assoc_h_rates() local
1906 rateset->num_rates = 0; in ath11k_peer_assoc_h_rates()
1913 rateset->rates[rateset->num_rates] = rate; in ath11k_peer_assoc_h_rates()
1914 rateset->num_rates++; in ath11k_peer_assoc_h_rates()

12