Home
last modified time | relevance | path

Searched refs:rateidx (Results 1 – 25 of 89) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/
H A Dssv_ht_rc.c383 int rateidx=99; in ssv62xx_ht_rate_update() local
390 rateidx = (int)rc_sta->pinfo.rinfo[4].rc_index; in ssv62xx_ht_rate_update()
392 rateidx = (int)rc_sta->pinfo.rinfo[0].rc_index; in ssv62xx_ht_rate_update()
395 ssv_sta_priv->rx_data_rate, rateidx); in ssv62xx_ht_rate_update()
400 rateidx = (int)ssv_sta_priv->rx_data_rate; in ssv62xx_ht_rate_update()
401 rateidx -= SSV62XX_RATE_MCS_INDEX; in ssv62xx_ht_rate_update()
402 rateidx %= 8; in ssv62xx_ht_rate_update()
404 rateidx += SSV62XX_RATE_MCS_SGI_INDEX; in ssv62xx_ht_rate_update()
406 rateidx += SSV62XX_RATE_MCS_LGI_INDEX; in ssv62xx_ht_rate_update()
408 rateidx += SSV62XX_RATE_MCS_GREENFIELD_INDEX; in ssv62xx_ht_rate_update()
[all …]
H A Dssv_rc.c1075 int rateidx = 99; in ssv6xxx_get_rate() local
1127 rateidx = sc->max_rate_idx; in ssv6xxx_get_rate()
1131 rateidx = 0; in ssv6xxx_get_rate()
1141 rateidx = rc_sta->pinfo.rinfo[spinfo->txrate_idx].rc_index; in ssv6xxx_get_rate()
1144 ssv_sta_priv->rx_data_rate, rateidx); in ssv6xxx_get_rate()
1149 rateidx = ssv_sta_priv->rx_data_rate; in ssv6xxx_get_rate()
1158 rateidx = rc_sta->ht.groups.rates[MCS_GROUP_RATES-1].rc_index; in ssv6xxx_get_rate()
1160 rateidx = rc_sta->pinfo.rinfo[spinfo->txrate_idx].rc_index; in ssv6xxx_get_rate()
1167 rateidx = rc_sta->pinfo.rinfo[spinfo->tmp_rate_idx].rc_index; in ssv6xxx_get_rate()
1174 rateidx = rc_sta->pinfo.rinfo[spinfo->txrate_idx].rc_index; in ssv6xxx_get_rate()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/
H A Drtw_mp.c120 pmp_priv->rateidx = MPT_RATE_1M; in _init_mp_priv_()
1319 if (pmp_priv->rateidx <= MPT_RATE_54M) in fill_tx_desc_8188e()
1327 desc->txdw5 |= cpu_to_le32(pmp_priv->rateidx & 0x0000001F); in fill_tx_desc_8188e()
1330 if (pmp_priv->rateidx > MPT_RATE_54M) in fill_tx_desc_8188e()
1393 SET_TX_DESC_TX_RATE_8814A(pDesc, pmp_priv->rateidx); in fill_tx_desc_8814a()
1446 SET_TX_DESC_TX_RATE_8812(pDesc, pmp_priv->rateidx); in fill_tx_desc_8812a()
1503 SET_TX_DESC_TX_RATE_92E(pDesc, pmp_priv->rateidx); in fill_tx_desc_8192e()
1526 if (pmp_priv->rateidx <= MPT_RATE_54M) { in fill_tx_desc_8723b()
1534 SET_TX_DESC_TX_RATE_8723B(ptxdesc, pmp_priv->rateidx); in fill_tx_desc_8723b()
1559 if (pmp_priv->rateidx <= MPT_RATE_54M) in fill_tx_desc_8703b()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/
H A Drtw_mp.c125 pmp_priv->rateidx = RATE_1M; in _init_mp_priv_()
1463 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8188e()
1471 desc->txdw5 |= cpu_to_le32(pmp_priv->rateidx & 0x0000001F); in fill_tx_desc_8188e()
1474 if (HwRateToMPTRate(pmp_priv->rateidx) > MPT_RATE_54M) in fill_tx_desc_8188e()
1538 SET_TX_DESC_TX_RATE_8814A(pDesc, pmp_priv->rateidx); in fill_tx_desc_8814a()
1593 SET_TX_DESC_TX_RATE_8812(pDesc, pmp_priv->rateidx); in fill_tx_desc_8812a()
1648 SET_TX_DESC_TX_RATE_92E(pDesc, pmp_priv->rateidx); in fill_tx_desc_8192e()
1671 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8723b()
1678 SET_TX_DESC_TX_RATE_8723B(ptxdesc, pmp_priv->rateidx); in fill_tx_desc_8723b()
1703 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8703b()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/
H A Drtw_mp.c124 pmp_priv->rateidx = RATE_1M; in _init_mp_priv_()
1450 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8188e()
1458 desc->txdw5 |= cpu_to_le32(pmp_priv->rateidx & 0x0000001F); in fill_tx_desc_8188e()
1461 if (HwRateToMPTRate(pmp_priv->rateidx) > MPT_RATE_54M) in fill_tx_desc_8188e()
1525 SET_TX_DESC_TX_RATE_8814A(pDesc, pmp_priv->rateidx); in fill_tx_desc_8814a()
1580 SET_TX_DESC_TX_RATE_8812(pDesc, pmp_priv->rateidx); in fill_tx_desc_8812a()
1635 SET_TX_DESC_TX_RATE_92E(pDesc, pmp_priv->rateidx); in fill_tx_desc_8192e()
1658 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8723b()
1665 SET_TX_DESC_TX_RATE_8723B(ptxdesc, pmp_priv->rateidx); in fill_tx_desc_8723b()
1690 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8703b()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/
H A Drtw_mp.c125 pmp_priv->rateidx = RATE_1M; in _init_mp_priv_()
1451 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8188e()
1459 desc->txdw5 |= cpu_to_le32(pmp_priv->rateidx & 0x0000001F); in fill_tx_desc_8188e()
1462 if (HwRateToMPTRate(pmp_priv->rateidx) > MPT_RATE_54M) in fill_tx_desc_8188e()
1526 SET_TX_DESC_TX_RATE_8814A(pDesc, pmp_priv->rateidx); in fill_tx_desc_8814a()
1581 SET_TX_DESC_TX_RATE_8812(pDesc, pmp_priv->rateidx); in fill_tx_desc_8812a()
1636 SET_TX_DESC_TX_RATE_92E(pDesc, pmp_priv->rateidx); in fill_tx_desc_8192e()
1659 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8723b()
1666 SET_TX_DESC_TX_RATE_8723B(ptxdesc, pmp_priv->rateidx); in fill_tx_desc_8723b()
1691 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8703b()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/
H A Drtw_mp.c124 pmp_priv->rateidx = RATE_1M; in _init_mp_priv_()
1468 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8188e()
1476 desc->txdw5 |= cpu_to_le32(pmp_priv->rateidx & 0x0000001F); in fill_tx_desc_8188e()
1479 if (HwRateToMPTRate(pmp_priv->rateidx) > MPT_RATE_54M) in fill_tx_desc_8188e()
1543 SET_TX_DESC_TX_RATE_8814A(pDesc, pmp_priv->rateidx); in fill_tx_desc_8814a()
1598 SET_TX_DESC_TX_RATE_8812(pDesc, pmp_priv->rateidx); in fill_tx_desc_8812a()
1653 SET_TX_DESC_TX_RATE_92E(pDesc, pmp_priv->rateidx); in fill_tx_desc_8192e()
1676 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8723b()
1683 SET_TX_DESC_TX_RATE_8723B(ptxdesc, pmp_priv->rateidx); in fill_tx_desc_8723b()
1708 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8703b()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/
H A Drtw_mp.c124 pmp_priv->rateidx = RATE_1M; in _init_mp_priv_()
1463 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8188e()
1471 desc->txdw5 |= cpu_to_le32(pmp_priv->rateidx & 0x0000001F); in fill_tx_desc_8188e()
1474 if (HwRateToMPTRate(pmp_priv->rateidx) > MPT_RATE_54M) in fill_tx_desc_8188e()
1538 SET_TX_DESC_TX_RATE_8814A(pDesc, pmp_priv->rateidx); in fill_tx_desc_8814a()
1593 SET_TX_DESC_TX_RATE_8812(pDesc, pmp_priv->rateidx); in fill_tx_desc_8812a()
1648 SET_TX_DESC_TX_RATE_92E(pDesc, pmp_priv->rateidx); in fill_tx_desc_8192e()
1671 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8723b()
1678 SET_TX_DESC_TX_RATE_8723B(ptxdesc, pmp_priv->rateidx); in fill_tx_desc_8723b()
1703 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8703b()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/
H A Drtw_mp.c125 pmp_priv->rateidx = RATE_1M; in _init_mp_priv_()
1429 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8188e()
1437 desc->txdw5 |= cpu_to_le32(pmp_priv->rateidx & 0x0000001F); in fill_tx_desc_8188e()
1440 if (HwRateToMPTRate(pmp_priv->rateidx) > MPT_RATE_54M) in fill_tx_desc_8188e()
1504 SET_TX_DESC_TX_RATE_8814A(pDesc, pmp_priv->rateidx); in fill_tx_desc_8814a()
1559 SET_TX_DESC_TX_RATE_8812(pDesc, pmp_priv->rateidx); in fill_tx_desc_8812a()
1614 SET_TX_DESC_TX_RATE_92E(pDesc, pmp_priv->rateidx); in fill_tx_desc_8192e()
1637 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8723b()
1644 SET_TX_DESC_TX_RATE_8723B(ptxdesc, pmp_priv->rateidx); in fill_tx_desc_8723b()
1669 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8703b()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/
H A Drtw_mp.c125 pmp_priv->rateidx = RATE_1M; in _init_mp_priv_()
1429 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8188e()
1437 desc->txdw5 |= cpu_to_le32(pmp_priv->rateidx & 0x0000001F); in fill_tx_desc_8188e()
1440 if (HwRateToMPTRate(pmp_priv->rateidx) > MPT_RATE_54M) in fill_tx_desc_8188e()
1504 SET_TX_DESC_TX_RATE_8814A(pDesc, pmp_priv->rateidx); in fill_tx_desc_8814a()
1559 SET_TX_DESC_TX_RATE_8812(pDesc, pmp_priv->rateidx); in fill_tx_desc_8812a()
1614 SET_TX_DESC_TX_RATE_92E(pDesc, pmp_priv->rateidx); in fill_tx_desc_8192e()
1637 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8723b()
1644 SET_TX_DESC_TX_RATE_8723B(ptxdesc, pmp_priv->rateidx); in fill_tx_desc_8723b()
1669 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8703b()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/
H A Drtw_mp.c124 pmp_priv->rateidx = RATE_1M; in _init_mp_priv_()
1462 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8188e()
1470 desc->txdw5 |= cpu_to_le32(pmp_priv->rateidx & 0x0000001F); in fill_tx_desc_8188e()
1473 if (HwRateToMPTRate(pmp_priv->rateidx) > MPT_RATE_54M) in fill_tx_desc_8188e()
1537 SET_TX_DESC_TX_RATE_8814A(pDesc, pmp_priv->rateidx); in fill_tx_desc_8814a()
1592 SET_TX_DESC_TX_RATE_8812(pDesc, pmp_priv->rateidx); in fill_tx_desc_8812a()
1647 SET_TX_DESC_TX_RATE_92E(pDesc, pmp_priv->rateidx); in fill_tx_desc_8192e()
1670 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8723b()
1677 SET_TX_DESC_TX_RATE_8723B(ptxdesc, pmp_priv->rateidx); in fill_tx_desc_8723b()
1702 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8703b()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/
H A Drtw_mp.c124 pmp_priv->rateidx = RATE_1M; in _init_mp_priv_()
1468 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8188e()
1476 desc->txdw5 |= cpu_to_le32(pmp_priv->rateidx & 0x0000001F); in fill_tx_desc_8188e()
1479 if (HwRateToMPTRate(pmp_priv->rateidx) > MPT_RATE_54M) in fill_tx_desc_8188e()
1543 SET_TX_DESC_TX_RATE_8814A(pDesc, pmp_priv->rateidx); in fill_tx_desc_8814a()
1598 SET_TX_DESC_TX_RATE_8812(pDesc, pmp_priv->rateidx); in fill_tx_desc_8812a()
1653 SET_TX_DESC_TX_RATE_92E(pDesc, pmp_priv->rateidx); in fill_tx_desc_8192e()
1676 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8723b()
1683 SET_TX_DESC_TX_RATE_8723B(ptxdesc, pmp_priv->rateidx); in fill_tx_desc_8723b()
1708 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8703b()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/
H A Drtw_mp.c125 pmp_priv->rateidx = RATE_1M; in _init_mp_priv_()
1436 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8188e()
1444 desc->txdw5 |= cpu_to_le32(pmp_priv->rateidx & 0x0000001F); in fill_tx_desc_8188e()
1447 if (HwRateToMPTRate(pmp_priv->rateidx) > MPT_RATE_54M) in fill_tx_desc_8188e()
1511 SET_TX_DESC_TX_RATE_8814A(pDesc, pmp_priv->rateidx); in fill_tx_desc_8814a()
1566 SET_TX_DESC_TX_RATE_8812(pDesc, pmp_priv->rateidx); in fill_tx_desc_8812a()
1621 SET_TX_DESC_TX_RATE_92E(pDesc, pmp_priv->rateidx); in fill_tx_desc_8192e()
1644 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8723b()
1651 SET_TX_DESC_TX_RATE_8723B(ptxdesc, pmp_priv->rateidx); in fill_tx_desc_8723b()
1676 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8703b()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/
H A Drtw_mp.c124 pmp_priv->rateidx = RATE_1M; in _init_mp_priv_()
1448 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8188e()
1456 desc->txdw5 |= cpu_to_le32(pmp_priv->rateidx & 0x0000001F); in fill_tx_desc_8188e()
1459 if (HwRateToMPTRate(pmp_priv->rateidx) > MPT_RATE_54M) in fill_tx_desc_8188e()
1523 SET_TX_DESC_TX_RATE_8814A(pDesc, pmp_priv->rateidx); in fill_tx_desc_8814a()
1578 SET_TX_DESC_TX_RATE_8812(pDesc, pmp_priv->rateidx); in fill_tx_desc_8812a()
1633 SET_TX_DESC_TX_RATE_92E(pDesc, pmp_priv->rateidx); in fill_tx_desc_8192e()
1656 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8723b()
1663 SET_TX_DESC_TX_RATE_8723B(ptxdesc, pmp_priv->rateidx); in fill_tx_desc_8723b()
1688 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8703b()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/
H A Drtw_mp.c124 pmp_priv->rateidx = RATE_1M; in _init_mp_priv_()
1450 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8188e()
1458 desc->txdw5 |= cpu_to_le32(pmp_priv->rateidx & 0x0000001F); in fill_tx_desc_8188e()
1461 if (HwRateToMPTRate(pmp_priv->rateidx) > MPT_RATE_54M) in fill_tx_desc_8188e()
1525 SET_TX_DESC_TX_RATE_8814A(pDesc, pmp_priv->rateidx); in fill_tx_desc_8814a()
1580 SET_TX_DESC_TX_RATE_8812(pDesc, pmp_priv->rateidx); in fill_tx_desc_8812a()
1635 SET_TX_DESC_TX_RATE_92E(pDesc, pmp_priv->rateidx); in fill_tx_desc_8192e()
1658 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8723b()
1665 SET_TX_DESC_TX_RATE_8723B(ptxdesc, pmp_priv->rateidx); in fill_tx_desc_8723b()
1690 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8703b()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/os_dep/linux/
H A Dioctl_mp.c464 pmppriv->rateidx = rate; in rtw_mp_rate()
469 pmppriv->rateidx = MRateToHwRate(rate); in rtw_mp_rate()
485 if (pmppriv->rateidx > DESC_RATEVHTSS4MCS9) { in rtw_mp_rate()
490 if (hal_spec->tx_nss_num < 2 && MPT_IS_2SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
492 if (hal_spec->tx_nss_num < 3 && MPT_IS_3SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
494 if (hal_spec->tx_nss_num < 4 && MPT_IS_4SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
496 if (!is_supported_vht(padapter->registrypriv.wireless_mode) && MPT_IS_VHT_RATE(pmppriv->rateidx)) in rtw_mp_rate()
498 if (!is_supported_ht(padapter->registrypriv.wireless_mode) && MPT_IS_HT_RATE(pmppriv->rateidx)) in rtw_mp_rate()
503 pmppriv->rateidx = 0; in rtw_mp_rate()
505 sprintf(extra, "Set data rate to %s index %d" , input, pmppriv->rateidx); in rtw_mp_rate()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/
H A Drtw_mp.c124 pmp_priv->rateidx = RATE_1M; in _init_mp_priv_()
1433 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8188e()
1441 desc->txdw5 |= cpu_to_le32(pmp_priv->rateidx & 0x0000001F); in fill_tx_desc_8188e()
1444 if (HwRateToMPTRate(pmp_priv->rateidx) > MPT_RATE_54M) in fill_tx_desc_8188e()
1508 SET_TX_DESC_TX_RATE_8814A(pDesc, pmp_priv->rateidx); in fill_tx_desc_8814a()
1563 SET_TX_DESC_TX_RATE_8812(pDesc, pmp_priv->rateidx); in fill_tx_desc_8812a()
1618 SET_TX_DESC_TX_RATE_92E(pDesc, pmp_priv->rateidx); in fill_tx_desc_8192e()
1641 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8723b()
1648 SET_TX_DESC_TX_RATE_8723B(ptxdesc, pmp_priv->rateidx); in fill_tx_desc_8723b()
1673 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8703b()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/os_dep/linux/
H A Dioctl_mp.c464 pmppriv->rateidx = rate; in rtw_mp_rate()
469 pmppriv->rateidx = MRateToHwRate(rate); in rtw_mp_rate()
485 if (pmppriv->rateidx > DESC_RATEVHTSS4MCS9) { in rtw_mp_rate()
490 if (hal_spec->tx_nss_num < 2 && MPT_IS_2SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
492 if (hal_spec->tx_nss_num < 3 && MPT_IS_3SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
494 if (hal_spec->tx_nss_num < 4 && MPT_IS_4SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
496 …ed_vht(padapter->registrypriv.wireless_mode) && MPT_IS_VHT_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
498 …rted_ht(padapter->registrypriv.wireless_mode) && MPT_IS_HT_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
503 pmppriv->rateidx = 0; in rtw_mp_rate()
505 sprintf(extra, "Set data rate to %s index %d" , input, pmppriv->rateidx); in rtw_mp_rate()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/os_dep/linux/
H A Dioctl_mp.c464 pmppriv->rateidx = rate; in rtw_mp_rate()
469 pmppriv->rateidx = MRateToHwRate(rate); in rtw_mp_rate()
485 if (pmppriv->rateidx > DESC_RATEVHTSS4MCS9) { in rtw_mp_rate()
490 if (hal_spec->tx_nss_num < 2 && MPT_IS_2SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
492 if (hal_spec->tx_nss_num < 3 && MPT_IS_3SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
494 if (hal_spec->tx_nss_num < 4 && MPT_IS_4SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
496 …ed_vht(padapter->registrypriv.wireless_mode) && MPT_IS_VHT_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
498 …rted_ht(padapter->registrypriv.wireless_mode) && MPT_IS_HT_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
503 pmppriv->rateidx = 0; in rtw_mp_rate()
505 sprintf(extra, "Set data rate to %s index %d" , input, pmppriv->rateidx); in rtw_mp_rate()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/os_dep/linux/
H A Dioctl_mp.c465 pmppriv->rateidx = rate; in rtw_mp_rate()
470 pmppriv->rateidx = MRateToHwRate(rate); in rtw_mp_rate()
486 if (pmppriv->rateidx > DESC_RATEVHTSS4MCS9) { in rtw_mp_rate()
491 if (hal_spec->tx_nss_num < 2 && MPT_IS_2SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
493 if (hal_spec->tx_nss_num < 3 && MPT_IS_3SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
495 if (hal_spec->tx_nss_num < 4 && MPT_IS_4SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
497 …ed_vht(padapter->registrypriv.wireless_mode) && MPT_IS_VHT_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
499 …rted_ht(padapter->registrypriv.wireless_mode) && MPT_IS_HT_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
504 pmppriv->rateidx = 0; in rtw_mp_rate()
506 sprintf(extra, "Set data rate to %s index %d" , input, pmppriv->rateidx); in rtw_mp_rate()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/os_dep/linux/
H A Dioctl_mp.c464 pmppriv->rateidx = rate; in rtw_mp_rate()
469 pmppriv->rateidx = MRateToHwRate(rate); in rtw_mp_rate()
485 if (pmppriv->rateidx > DESC_RATEVHTSS4MCS9) { in rtw_mp_rate()
490 if (hal_spec->tx_nss_num < 2 && MPT_IS_2SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
492 if (hal_spec->tx_nss_num < 3 && MPT_IS_3SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
494 if (hal_spec->tx_nss_num < 4 && MPT_IS_4SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
496 …ed_vht(padapter->registrypriv.wireless_mode) && MPT_IS_VHT_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
498 …rted_ht(padapter->registrypriv.wireless_mode) && MPT_IS_HT_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
503 pmppriv->rateidx = 0; in rtw_mp_rate()
505 sprintf(extra, "Set data rate to %s index %d" , input, pmppriv->rateidx); in rtw_mp_rate()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/os_dep/linux/
H A Dioctl_mp.c439 pmppriv->rateidx = rate; in rtw_mp_rate()
444 pmppriv->rateidx = MRateToHwRate(rate); in rtw_mp_rate()
460 if (pmppriv->rateidx > DESC_RATEVHTSS4MCS9) { in rtw_mp_rate()
465 if (hal_spec->tx_nss_num < 2 && MPT_IS_2SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
467 if (hal_spec->tx_nss_num < 3 && MPT_IS_3SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
469 if (hal_spec->tx_nss_num < 4 && MPT_IS_4SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
471 …ed_vht(padapter->registrypriv.wireless_mode) && MPT_IS_VHT_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
473 …rted_ht(padapter->registrypriv.wireless_mode) && MPT_IS_HT_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
478 pmppriv->rateidx = 0; in rtw_mp_rate()
480 sprintf(extra, "Set data rate to %s index %d" , input, pmppriv->rateidx); in rtw_mp_rate()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/os_dep/linux/
H A Dioctl_mp.c464 pmppriv->rateidx = rate; in rtw_mp_rate()
469 pmppriv->rateidx = MRateToHwRate(rate); in rtw_mp_rate()
485 if (pmppriv->rateidx > DESC_RATEVHTSS4MCS9) { in rtw_mp_rate()
490 if (hal_spec->tx_nss_num < 2 && MPT_IS_2SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
492 if (hal_spec->tx_nss_num < 3 && MPT_IS_3SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
494 if (hal_spec->tx_nss_num < 4 && MPT_IS_4SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
496 …ed_vht(padapter->registrypriv.wireless_mode) && MPT_IS_VHT_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
498 …rted_ht(padapter->registrypriv.wireless_mode) && MPT_IS_HT_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
503 pmppriv->rateidx = 0; in rtw_mp_rate()
505 sprintf(extra, "Set data rate to %s index %d" , input, pmppriv->rateidx); in rtw_mp_rate()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/
H A Dioctl_mp.c464 pmppriv->rateidx = rate; in rtw_mp_rate()
469 pmppriv->rateidx = MRateToHwRate(rate); in rtw_mp_rate()
485 if (pmppriv->rateidx > DESC_RATEVHTSS4MCS9) { in rtw_mp_rate()
490 if (hal_spec->tx_nss_num < 2 && MPT_IS_2SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
492 if (hal_spec->tx_nss_num < 3 && MPT_IS_3SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
494 if (hal_spec->tx_nss_num < 4 && MPT_IS_4SS_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
496 …ed_vht(padapter->registrypriv.wireless_mode) && MPT_IS_VHT_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
498 …rted_ht(padapter->registrypriv.wireless_mode) && MPT_IS_HT_RATE(HwRateToMPTRate(pmppriv->rateidx))) in rtw_mp_rate()
503 pmppriv->rateidx = 0; in rtw_mp_rate()
505 sprintf(extra, "Set data rate to %s index %d" , input, pmppriv->rateidx); in rtw_mp_rate()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/core/
H A Drtw_mp.c129 pmp_priv->rateidx = RATE_1M; in _init_mp_priv_()
1419 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8188e()
1427 desc->txdw5 |= cpu_to_le32(pmp_priv->rateidx & 0x0000001F); in fill_tx_desc_8188e()
1430 if (HwRateToMPTRate(pmp_priv->rateidx) > MPT_RATE_54M) in fill_tx_desc_8188e()
1494 SET_TX_DESC_TX_RATE_8814A(pDesc, pmp_priv->rateidx); in fill_tx_desc_8814a()
1549 SET_TX_DESC_TX_RATE_8812(pDesc, pmp_priv->rateidx); in fill_tx_desc_8812a()
1604 SET_TX_DESC_TX_RATE_92E(pDesc, pmp_priv->rateidx); in fill_tx_desc_8192e()
1627 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8723b()
1634 SET_TX_DESC_TX_RATE_8723B(ptxdesc, pmp_priv->rateidx); in fill_tx_desc_8723b()
1659 if (HwRateToMPTRate(pmp_priv->rateidx) <= MPT_RATE_54M) in fill_tx_desc_8703b()
[all …]

1234