Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
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 …]
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);
Dpub.h134 struct brcms_c_rateset rateset; /* supported rates */ member
Dmain.c3411 struct brcms_c_rateset *rateset) in brcms_c_rate_lookup_init() argument
3426 for (i = 0; i < rateset->count; i++) { in brcms_c_rate_lookup_init()
3428 if (!(rateset->rates[i] & BRCMS_RATE_FLAG)) in brcms_c_rate_lookup_init()
3432 rate = (rateset->rates[i] & BRCMS_RATE_MASK); in brcms_c_rate_lookup_init()
3437 rateset->rates[i]); in brcms_c_rate_lookup_init()
4753 brcms_c_rateset_default(&bi->rateset, NULL, band->phytype, in brcms_c_bss_default_init()
5293 wlc->default_bss->rateset.count = rs.count; in brcms_c_set_gmode()
5294 memcpy(wlc->default_bss->rateset.rates, rs.rates, in brcms_c_set_gmode()
5295 sizeof(wlc->default_bss->rateset.rates)); in brcms_c_set_gmode()
5318 brcms_c_rateset_mcs_build(&wlc->default_bss->rateset, in brcms_c_set_nmode()
[all …]
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c732 bool rateset; in mt7603_wtbl_set_rates() local
741 rateset = !(sta->rate_set_tsf & BIT(0)); in mt7603_wtbl_set_rates()
742 memcpy(sta->rateset[rateset].rates, rates, in mt7603_wtbl_set_rates()
743 sizeof(sta->rateset[rateset].rates)); in mt7603_wtbl_set_rates()
745 sta->rateset[rateset].probe_rate = *probe_rate; in mt7603_wtbl_set_rates()
746 ref = &sta->rateset[rateset].probe_rate; in mt7603_wtbl_set_rates()
748 sta->rateset[rateset].probe_rate.idx = -1; in mt7603_wtbl_set_rates()
749 ref = &sta->rateset[rateset].rates[0]; in mt7603_wtbl_set_rates()
752 rates = sta->rateset[rateset].rates; in mt7603_wtbl_set_rates()
753 for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) { in mt7603_wtbl_set_rates()
[all …]
Dmt7603.h74 struct mt7603_rate_set rateset[2]; member
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c976 bool rateset, stbc = false; in mt7615_mac_update_rate_desc() local
984 rateset = !(sta->rate_set_tsf & BIT(0)); in mt7615_mac_update_rate_desc()
985 memcpy(sta->rateset[rateset].rates, rates, in mt7615_mac_update_rate_desc()
986 sizeof(sta->rateset[rateset].rates)); in mt7615_mac_update_rate_desc()
988 sta->rateset[rateset].probe_rate = *probe_rate; in mt7615_mac_update_rate_desc()
989 ref = &sta->rateset[rateset].probe_rate; in mt7615_mac_update_rate_desc()
991 sta->rateset[rateset].probe_rate.idx = -1; in mt7615_mac_update_rate_desc()
992 ref = &sta->rateset[rateset].rates[0]; in mt7615_mac_update_rate_desc()
995 rates = sta->rateset[rateset].rates; in mt7615_mac_update_rate_desc()
996 for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) { in mt7615_mac_update_rate_desc()
[all …]
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()
Dmt7615.h96 bool rateset; member
132 struct mt7615_rate_set rateset[2]; member
/linux-6.1.9/drivers/net/wireless/ath/ar5523/
Dar5523_hw.h223 struct ar5523_cmd_rateset rateset; member
241 struct ar5523_cmd_rateset rateset; member
/linux-6.1.9/drivers/staging/rtl8712/
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()
Drtl871x_cmd.h728 int r8712_setdatarate_cmd(struct _adapter *padapter, u8 *rateset);
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()
/linux-6.1.9/drivers/net/wireless/intersil/p54/
Dtxrx.c834 memset(&txhdr->rateset, 0, sizeof(txhdr->rateset)); in p54_tx_80211()
891 txhdr->rateset[ridx] = rate; in p54_tx_80211()
Dlmac.h248 u8 rateset[8]; member
/linux-6.1.9/drivers/net/wireless/silabs/wfx/
Dhif_api_mib.h284 u8 rateset:1; member
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_ieee80211.c196 uint rtw_get_rateset_len(u8 *rateset) in rtw_get_rateset_len() argument
201 if ((rateset[i]) == 0) in rtw_get_rateset_len()
Drtw_cmd.c345 u8 rtw_setdatarate_cmd(struct adapter *padapter, u8 *rateset) in rtw_setdatarate_cmd() argument
367 memcpy(pbsetdataratepara->datarates, rateset, NumRates); in rtw_setdatarate_cmd()
Drtw_wlan_util.c187 static unsigned int ratetbl2rateset(struct adapter *padapter, unsigned char *rateset) in ratetbl2rateset() argument
208 rateset[len] = rate; in ratetbl2rateset()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c274 uint rtw_get_rateset_len(u8 *rateset) in rtw_get_rateset_len() argument
279 if (rateset[i] == 0) in rtw_get_rateset_len()
Drtw_wlan_util.c131 unsigned int ratetbl2rateset(struct adapter *padapter, unsigned char *rateset);
132 unsigned int ratetbl2rateset(struct adapter *padapter, unsigned char *rateset) in ratetbl2rateset() argument
155 rateset[len] = rate; in ratetbl2rateset()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwil_types.h318 } rateset; /* supported rates */ member
/linux-6.1.9/drivers/staging/r8188eu/include/
Dieee80211.h798 uint rtw_get_rateset_len(u8 *rateset);
Drtw_cmd.h740 u8 rtw_setdatarate_cmd(struct adapter *padapter, u8 *rateset);
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Dieee80211.h763 uint rtw_get_rateset_len(u8 *rateset);

12