/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | rate.c | 306 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 D | rate.h | 241 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 D | pub.h | 134 struct brcms_c_rateset rateset; /* supported rates */ member
|
H A D | main.c | 3402 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 D | mac.c | 743 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 D | mt7603.h | 73 struct mt7603_rate_set rateset[2]; member
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | mac.c | 973 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 D | usb_sdio.c | 112 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 D | mt7615.h | 97 bool rateset; member 132 struct mt7615_rate_set rateset[2]; member
|
/linux/drivers/net/wireless/ath/ar5523/ |
H A D | ar5523_hw.h | 223 struct ar5523_cmd_rateset rateset; member 241 struct ar5523_cmd_rateset rateset; member
|
H A D | ar5523.c | 1237 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 D | ieee80211.c | 145 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 D | rtl871x_cmd.c | 209 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 D | rtl871x_cmd.h | 725 int r8712_setdatarate_cmd(struct _adapter *padapter, u8 *rateset);
|
/linux/drivers/net/wireless/intersil/p54/ |
H A D | txrx.c | 834 memset(&txhdr->rateset, 0, sizeof(txhdr->rateset)); in p54_tx_80211() 891 txhdr->rateset[ridx] = rate; in p54_tx_80211()
|
H A D | lmac.h | 248 u8 rateset[8]; member
|
/linux/drivers/net/wireless/silabs/wfx/ |
H A D | hif_api_mib.h | 284 u8 rateset:1; member
|
/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_ieee80211.c | 275 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 D | rtw_wlan_util.c | 130 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 D | ieee80211.h | 766 uint rtw_get_rateset_len(u8 *rateset);
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | fwil_types.h | 327 } rateset; /* supported rates */ member
|
/linux/drivers/net/wireless/ath/wcn36xx/ |
H A D | hal.h | 1969 struct wcn36xx_hal_rate_set rateset; member 2106 struct wcn36xx_hal_rate_set rateset; member
|
H A D | smd.c | 1742 bss->rateset = bss_v0.rateset; in wcn36xx_smd_config_bss_v1()
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | mac.c | 1812 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 D | mac.c | 1886 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()
|