Home
last modified time | relevance | path

Searched refs:rateset (Results 1 – 25 of 30) 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.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 …]
/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c714 bool rateset; in mt7603_wtbl_set_rates() local
723 rateset = !(sta->rate_set_tsf & BIT(0)); in mt7603_wtbl_set_rates()
724 memcpy(sta->rateset[rateset].rates, rates, in mt7603_wtbl_set_rates()
725 sizeof(sta->rateset[rateset].rates)); in mt7603_wtbl_set_rates()
727 sta->rateset[rateset].probe_rate = *probe_rate; in mt7603_wtbl_set_rates()
728 ref = &sta->rateset[rateset].probe_rate; in mt7603_wtbl_set_rates()
730 sta->rateset[rateset].probe_rate.idx = -1; in mt7603_wtbl_set_rates()
731 ref = &sta->rateset[rateset].rates[0]; in mt7603_wtbl_set_rates()
734 rates = sta->rateset[rateset].rates; in mt7603_wtbl_set_rates()
735 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
/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c837 bool rateset, stbc = false; in mt7615_mac_update_rate_desc() local
845 rateset = !(sta->rate_set_tsf & BIT(0)); in mt7615_mac_update_rate_desc()
846 memcpy(sta->rateset[rateset].rates, rates, in mt7615_mac_update_rate_desc()
847 sizeof(sta->rateset[rateset].rates)); in mt7615_mac_update_rate_desc()
849 sta->rateset[rateset].probe_rate = *probe_rate; in mt7615_mac_update_rate_desc()
850 ref = &sta->rateset[rateset].probe_rate; in mt7615_mac_update_rate_desc()
852 sta->rateset[rateset].probe_rate.idx = -1; in mt7615_mac_update_rate_desc()
853 ref = &sta->rateset[rateset].rates[0]; in mt7615_mac_update_rate_desc()
856 rates = sta->rateset[rateset].rates; in mt7615_mac_update_rate_desc()
857 for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) { in mt7615_mac_update_rate_desc()
[all …]
Dusb_sdio.c120 sta->rate_probe = sta->rateset[rate->rateset].probe_rate.idx != -1; in mt7663_usb_sdio_set_rates()
124 sta->rate_set_tsf = (val & ~BIT(0)) | rate->rateset; in mt7663_usb_sdio_set_rates()
Dmt7615.h102 bool rateset; member
144 struct mt7615_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.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()
/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.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()
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/wfx/
Dhif_api_mib.h281 u8 rateset:1; member
/drivers/staging/rtl8188eu/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_wlan_util.c147 static unsigned int ratetbl2rateset(struct adapter *padapter, unsigned char *rateset) in ratetbl2rateset() argument
168 rateset[len] = rate; in ratetbl2rateset()
/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c291 uint rtw_get_rateset_len(u8 *rateset) in rtw_get_rateset_len() argument
296 if (rateset[i] == 0) in rtw_get_rateset_len()
Drtw_wlan_util.c165 unsigned int ratetbl2rateset(struct adapter *padapter, unsigned char *rateset);
166 unsigned int ratetbl2rateset(struct adapter *padapter, unsigned char *rateset) in ratetbl2rateset() argument
189 rateset[len] = rate; in ratetbl2rateset()
/drivers/staging/rtl8188eu/include/
Dieee80211.h736 uint rtw_get_rateset_len(u8 *rateset);
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwil_types.h318 } rateset; /* supported rates */ member
/drivers/staging/rtl8723bs/include/
Drtw_cmd.h830 extern u8 rtw_setdatarate_cmd(struct adapter *padapter, u8 *rateset);
Dieee80211.h1156 uint rtw_get_rateset_len(u8 *rateset);

12