Home
last modified time | relevance | path

Searched refs:BrateCfg (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/staging/r8188eu/core/
Drtw_wlan_util.c1232 u16 BrateCfg = 0; in rtw_set_basic_rate() local
1241 HalSetBrateCfg(adapter, rates, &BrateCfg); in rtw_set_basic_rate()
1248 BrateCfg = (BrateCfg | 0xd) & 0x15d; in rtw_set_basic_rate()
1250 BrateCfg |= 0x01; /* default enable 1M ACK rate */ in rtw_set_basic_rate()
1252 rtw_write8(adapter, REG_RRSR, BrateCfg & 0xff); in rtw_set_basic_rate()
1253 rtw_write8(adapter, REG_RRSR + 1, (BrateCfg >> 8) & 0xff); in rtw_set_basic_rate()
1261 while (BrateCfg > 0x1) { in rtw_set_basic_rate()
1262 BrateCfg = (BrateCfg >> 1); in rtw_set_basic_rate()
/Linux-v6.1/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c3268 u16 BrateCfg = 0; in SetHwReg8723B() local
3272 HalSetBrateCfg(padapter, val, &BrateCfg); in SetHwReg8723B()
3275 BrateCfg |= rrsr_2g_force_mask; in SetHwReg8723B()
3276 BrateCfg &= rrsr_2g_allow_mask; in SetHwReg8723B()
3281 if ((BrateCfg & (RRSR_24M|RRSR_12M|RRSR_6M)) == 0) in SetHwReg8723B()
3282 BrateCfg |= RRSR_6M; in SetHwReg8723B()
3285 pHalData->BasicRateSet = BrateCfg; in SetHwReg8723B()
3288 rtw_write16(padapter, REG_RRSR, BrateCfg); in SetHwReg8723B()