Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/
Dwlc_rate.c297 u8 rateset[WLC_MAXRATE + 1]; in wlc_rate_hwrs_filter_sort_validate() local
302 memset(rateset, 0, sizeof(rateset)); in wlc_rate_hwrs_filter_sort_validate()
311 rateset[r] = rs->rates[i]; /* preserve basic bit! */ in wlc_rate_hwrs_filter_sort_validate()
319 if (rateset[r]) in wlc_rate_hwrs_filter_sort_validate()
320 rs->rates[count++] = rateset[r]; in wlc_rate_hwrs_filter_sort_validate()
481 void wlc_rateset_mcs_clear(wlc_rateset_t *rateset) in wlc_rateset_mcs_clear() argument
485 rateset->mcs[i] = 0; in wlc_rateset_mcs_clear()
488 void wlc_rateset_mcs_build(wlc_rateset_t *rateset, u8 txstreams) in wlc_rateset_mcs_build() argument
490 memcpy(&rateset->mcs[0], &cck_ofdm_mimo_rates.mcs[0], MCSSET_LEN); in wlc_rateset_mcs_build()
491 wlc_rateset_mcs_upd(rateset, txstreams); in wlc_rateset_mcs_build()
[all …]
Dwlc_rate.h166 extern void wlc_rateset_mcs_clear(struct wlc_rateset *rateset);
167 extern void wlc_rateset_mcs_build(struct wlc_rateset *rateset, u8 txstreams);
168 extern void wlc_rateset_bw_mcs_filter(struct wlc_rateset *rateset, u8 bw);
Dwlc_pub.h161 wlc_rateset_t rateset; /* supported rates */ member
536 extern void wlc_rate_lookup_init(struct wlc_info *wlc, wlc_rateset_t *rateset);
Dwlc_main.c2887 wlc->default_bss->rateset.count = rs.count; in wlc_set_gmode()
2888 memcpy(wlc->default_bss->rateset.rates, rs.rates, in wlc_set_gmode()
2889 sizeof(wlc->default_bss->rateset.rates)); in wlc_set_gmode()
2933 wlc_rateset_mcs_clear(&wlc->default_bss->rateset); in wlc_set_nmode()
2962 wlc_rateset_mcs_build(&wlc->default_bss->rateset, in wlc_set_nmode()
2966 wlc->default_bss->rateset.mcs, MCSSET_LEN); in wlc_set_nmode()
3012 memcpy(&wlc->default_bss->rateset, &new, sizeof(wlc_rateset_t)); in wlc_set_rateset()
3036 r = wlc->cfg->current_bss->rateset.rates[0]; in wlc_ofdm_rateset_war()
3038 r = wlc->default_bss->rateset.rates[0]; in wlc_ofdm_rateset_war()
3650 rs = &current_bss->rateset; in _wlc_ioctl()
[all …]
/linux-2.6.39/drivers/staging/brcm80211/brcmfmac/
Dwl_iw.c470 wl_rateset_t rateset; in wl_iw_get_range() local
535 error = dev_wlc_ioctl(dev, WLC_GET_CURR_RATESET, &rateset, in wl_iw_get_range()
536 sizeof(rateset)); in wl_iw_get_range()
541 rateset.count = le32_to_cpu(rateset.count); in wl_iw_get_range()
542 range->num_bitrates = rateset.count; in wl_iw_get_range()
543 for (i = 0; i < rateset.count && i < IW_MAX_BITRATES; i++) in wl_iw_get_range()
544 range->bitrate[i] = (rateset.rates[i] & 0x7f) * 500000; in wl_iw_get_range()
1554 if (bi->rateset.count) { in wl_iw_get_scan_prep()
1562 j < bi->rateset.count in wl_iw_get_scan_prep()
1565 (bi->rateset.rates[j] & 0x7f) * in wl_iw_get_scan_prep()
[all …]
Dwl_cfg80211.c1913 struct wl_rateset rateset; in wl_cfg80211_set_bitrate_mask() local
1924 err = wl_dev_ioctl(dev, WLC_GET_CURR_RATESET, &rateset, in wl_cfg80211_set_bitrate_mask()
1925 sizeof(rateset)); in wl_cfg80211_set_bitrate_mask()
1931 rateset.count = le32_to_cpu(rateset.count); in wl_cfg80211_set_bitrate_mask()
1939 if (val < rateset.count) { in wl_cfg80211_set_bitrate_mask()
1941 rate = rateset.rates[val] & 0x7f; in wl_cfg80211_set_bitrate_mask()
/linux-2.6.39/drivers/net/wireless/ath/ath9k/
Drc.c502 struct ath_rateset *rateset, in ath_rc_setvalid_rates() argument
508 for (i = 0; i < rateset->rs_nrates; i++) { in ath_rc_setvalid_rates()
512 u8 rate = rateset->rs_rates[i]; in ath_rc_setvalid_rates()
548 struct ath_rateset *rateset = (struct ath_rateset *)mcs_set; in ath_rc_setvalid_htrates() local
553 for (i = 0; i < rateset->rs_nrates; i++) { in ath_rc_setvalid_htrates()
557 u8 rate = rateset->rs_rates[i]; in ath_rc_setvalid_htrates()
1198 struct ath_rateset *rateset = &ath_rc_priv->neg_rates; in ath_rc_init() local
1221 if (!rateset->rs_nrates) { in ath_rc_init()
1228 rateset, ath_rc_priv->ht_cap); in ath_rc_init()
/linux-2.6.39/drivers/staging/rtl8712/
Drtl871x_cmd.h686 u8 r8712_setdatarate_cmd(struct _adapter *padapter, u8 *rateset);
687 u8 r8712_setbasicrate_cmd(struct _adapter *padapter, u8 *rateset);
Dieee80211.c159 static uint r8712_get_rateset_len(u8 *rateset) in r8712_get_rateset_len() argument
164 if ((rateset[i]) == 0) in r8712_get_rateset_len()
Drtl871x_cmd.c239 u8 r8712_setdatarate_cmd(struct _adapter *padapter, u8 *rateset) in r8712_setdatarate_cmd() argument
257 memcpy(pbsetdataratepara->datarates, rateset, NumRates); in r8712_setdatarate_cmd()
262 u8 r8712_setbasicrate_cmd(struct _adapter *padapter, u8 *rateset) in r8712_setbasicrate_cmd() argument
279 memcpy(pssetbasicratepara->basicrates, rateset, NumRates); in r8712_setbasicrate_cmd()
/linux-2.6.39/drivers/net/wireless/p54/
Dtxrx.c755 memset(&txhdr->rateset, 0, sizeof(txhdr->rateset)); in p54_tx_80211()
812 txhdr->rateset[ridx] = rate; in p54_tx_80211()
Dlmac.h251 u8 rateset[8]; member
/linux-2.6.39/drivers/staging/ath6kl/include/
Dwmi_api.h389 wmi_ap_set_rateset(struct wmi_t *wmip, u8 rateset);
/linux-2.6.39/drivers/staging/brcm80211/include/
Dwlioctl.h53 } rateset; /* supported rates */ member
/linux-2.6.39/drivers/staging/ath6kl/include/common/
Dwmi.h3119 u8 rateset;
/linux-2.6.39/drivers/staging/ath6kl/wmi/
Dwmi.c6356 wmi_ap_set_rateset(struct wmi_t *wmip, u8 rateset) argument
6370 rs->rateset = rateset;
/linux-2.6.39/drivers/staging/ath6kl/os/linux/
Dioctl.c4611 wmi_ap_set_rateset(ar->arWmi, rate.rateset); in ar6000_ioctl()