Home
last modified time | relevance | path

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

12

/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.c3427 struct brcms_c_rateset *rateset) in brcms_c_rate_lookup_init() argument
3442 for (i = 0; i < rateset->count; i++) { in brcms_c_rate_lookup_init()
3444 if (!(rateset->rates[i] & BRCMS_RATE_FLAG)) in brcms_c_rate_lookup_init()
3448 rate = (rateset->rates[i] & BRCMS_RATE_MASK); in brcms_c_rate_lookup_init()
3453 rateset->rates[i]); in brcms_c_rate_lookup_init()
4774 brcms_c_rateset_default(&bi->rateset, NULL, band->phytype, in brcms_c_bss_default_init()
5324 wlc->default_bss->rateset.count = rs.count; in brcms_c_set_gmode()
5325 memcpy(wlc->default_bss->rateset.rates, rs.rates, in brcms_c_set_gmode()
5326 sizeof(wlc->default_bss->rateset.rates)); in brcms_c_set_gmode()
5349 brcms_c_rateset_mcs_build(&wlc->default_bss->rateset, in brcms_c_set_nmode()
[all …]
/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c476 bool rateset; in mt7615_mac_set_rates() local
485 rateset = !(sta->rate_set_tsf & BIT(0)); in mt7615_mac_set_rates()
486 memcpy(sta->rateset[rateset].rates, rates, in mt7615_mac_set_rates()
487 sizeof(sta->rateset[rateset].rates)); in mt7615_mac_set_rates()
489 sta->rateset[rateset].probe_rate = *probe_rate; in mt7615_mac_set_rates()
490 ref = &sta->rateset[rateset].probe_rate; in mt7615_mac_set_rates()
492 sta->rateset[rateset].probe_rate.idx = -1; in mt7615_mac_set_rates()
493 ref = &sta->rateset[rateset].rates[0]; in mt7615_mac_set_rates()
496 rates = sta->rateset[rateset].rates; in mt7615_mac_set_rates()
497 for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) { in mt7615_mac_set_rates()
[all …]
Dmt7615.h61 struct mt7615_rate_set rateset[2]; member
/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c603 bool rateset; in mt7603_wtbl_set_rates() local
612 rateset = !(sta->rate_set_tsf & BIT(0)); in mt7603_wtbl_set_rates()
613 memcpy(sta->rateset[rateset].rates, rates, in mt7603_wtbl_set_rates()
614 sizeof(sta->rateset[rateset].rates)); in mt7603_wtbl_set_rates()
616 sta->rateset[rateset].probe_rate = *probe_rate; in mt7603_wtbl_set_rates()
617 ref = &sta->rateset[rateset].probe_rate; in mt7603_wtbl_set_rates()
619 sta->rateset[rateset].probe_rate.idx = -1; in mt7603_wtbl_set_rates()
620 ref = &sta->rateset[rateset].rates[0]; in mt7603_wtbl_set_rates()
623 rates = sta->rateset[rateset].rates; in mt7603_wtbl_set_rates()
624 for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) { in mt7603_wtbl_set_rates()
[all …]
Dmt7603.h68 struct mt7603_rate_set rateset[2]; member
/drivers/net/wireless/ath/ar5523/
Dar5523_hw.h223 struct ar5523_cmd_rateset rateset; member
241 struct ar5523_cmd_rateset rateset; member
Dar5523.c1227 ar5523_create_rateset(ar, bss, &rates.rateset, true); in ar5523_set_basic_rates()
1246 ar5523_create_rateset(ar, bss, &create.connattr.rateset, false); in ar5523_create_connection()
/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.c212 int r8712_setdatarate_cmd(struct _adapter *padapter, u8 *rateset) in r8712_setdatarate_cmd() argument
229 memcpy(pbsetdataratepara->datarates, rateset, NumRates); in r8712_setdatarate_cmd()
Drtl871x_cmd.h721 int r8712_setdatarate_cmd(struct _adapter *padapter, u8 *rateset);
/drivers/net/wireless/intersil/p54/
Dtxrx.c838 memset(&txhdr->rateset, 0, sizeof(txhdr->rateset)); in p54_tx_80211()
895 txhdr->rateset[ridx] = rate; in p54_tx_80211()
Dlmac.h248 u8 rateset[8]; member
/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c195 uint rtw_get_rateset_len(u8 *rateset) in rtw_get_rateset_len() argument
200 if (rateset[i] == 0) in rtw_get_rateset_len()
Drtw_wlan_util.c173 static unsigned int ratetbl2rateset(struct adapter *padapter, unsigned char *rateset) in ratetbl2rateset() argument
194 rateset[len] = rate; in ratetbl2rateset()
/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c290 uint rtw_get_rateset_len(u8 *rateset) in rtw_get_rateset_len() argument
295 if (rateset[i] == 0) in rtw_get_rateset_len()
Drtw_wlan_util.c191 unsigned int ratetbl2rateset(struct adapter *padapter, unsigned char *rateset);
192 unsigned int ratetbl2rateset(struct adapter *padapter, unsigned char *rateset) in ratetbl2rateset() argument
215 rateset[len] = rate; in ratetbl2rateset()
Drtw_cmd.c651 u8 rtw_setdatarate_cmd(struct adapter *padapter, u8 *rateset) in rtw_setdatarate_cmd() argument
673 memcpy(pbsetdataratepara->datarates, rateset, NumRates); in rtw_setdatarate_cmd()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwil_types.h316 } rateset; /* supported rates */ member
/drivers/staging/rtl8188eu/include/
Dieee80211.h756 uint rtw_get_rateset_len(u8 *rateset);
/drivers/staging/rtl8723bs/include/
Drtw_cmd.h839 extern u8 rtw_setdatarate_cmd(struct adapter *padapter, u8 *rateset);
Dieee80211.h1157 uint rtw_get_rateset_len(u8 *rateset);
/drivers/net/wireless/ath/wcn36xx/
Dhal.h1727 struct wcn36xx_hal_rate_set rateset; member
1864 struct wcn36xx_hal_rate_set rateset; member

12