Home
last modified time | relevance | path

Searched refs:ra_mask (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Dmain.c946 u64 ra_mask = 0; in get_vht_ra_mask() local
956 ra_mask |= 0x3ffULL << nss; in get_vht_ra_mask()
959 ra_mask |= 0x1ffULL << nss; in get_vht_ra_mask()
962 ra_mask |= 0x0ffULL << nss; in get_vht_ra_mask()
969 return ra_mask; in get_vht_ra_mask()
1095 static u64 rtw_rate_mask_recover(u64 ra_mask, u64 ra_mask_bak) in rtw_rate_mask_recover() argument
1097 if ((ra_mask & ~(RA_MASK_CCK_RATES | RA_MASK_OFDM_RATES)) == 0) in rtw_rate_mask_recover()
1098 ra_mask |= (ra_mask_bak & ~(RA_MASK_CCK_RATES | RA_MASK_OFDM_RATES)); in rtw_rate_mask_recover()
1100 if (ra_mask == 0) in rtw_rate_mask_recover()
1101 ra_mask |= (ra_mask_bak & (RA_MASK_CCK_RATES | RA_MASK_OFDM_RATES)); in rtw_rate_mask_recover()
[all …]
Dfw.c607 SET_RA_INFO_RA_MASK0(h2c_pkt, (si->ra_mask & 0xff)); in rtw_fw_send_ra_info()
608 SET_RA_INFO_RA_MASK1(h2c_pkt, (si->ra_mask & 0xff00) >> 8); in rtw_fw_send_ra_info()
609 SET_RA_INFO_RA_MASK2(h2c_pkt, (si->ra_mask & 0xff0000) >> 16); in rtw_fw_send_ra_info()
610 SET_RA_INFO_RA_MASK3(h2c_pkt, (si->ra_mask & 0xff000000) >> 24); in rtw_fw_send_ra_info()
Dmain.h753 u64 ra_mask; member
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Dphy.c44 u64 ra_mask = 0; in get_mcs_ra_mask() local
52 ra_mask |= GENMASK_ULL(highest_mcs, 0) << nss; in get_mcs_ra_mask()
55 ra_mask |= GENMASK_ULL(highest_mcs - gap, 0) << nss; in get_mcs_ra_mask()
58 ra_mask |= GENMASK_ULL(highest_mcs - gap * 2, 0) << nss; in get_mcs_ra_mask()
65 return ra_mask; in get_mcs_ra_mask()
123 static u64 rtw89_phy_ra_mask_recover(u64 ra_mask, u64 ra_mask_bak) in rtw89_phy_ra_mask_recover() argument
125 if ((ra_mask & ~(RA_MASK_CCK_RATES | RA_MASK_OFDM_RATES)) == 0) in rtw89_phy_ra_mask_recover()
126 ra_mask |= (ra_mask_bak & ~(RA_MASK_CCK_RATES | RA_MASK_OFDM_RATES)); in rtw89_phy_ra_mask_recover()
128 if (ra_mask == 0) in rtw89_phy_ra_mask_recover()
129 ra_mask |= (ra_mask_bak & (RA_MASK_CCK_RATES | RA_MASK_OFDM_RATES)); in rtw89_phy_ra_mask_recover()
[all …]
Dfw.c1589 "ra cmd msk: %llx ", ra->ra_mask); in rtw89_fw_h2c_ra()
1605 RTW89_SET_FWCMD_RA_MASK_0(cmd, FIELD_GET(MASKBYTE0, ra->ra_mask)); in rtw89_fw_h2c_ra()
1606 RTW89_SET_FWCMD_RA_MASK_1(cmd, FIELD_GET(MASKBYTE1, ra->ra_mask)); in rtw89_fw_h2c_ra()
1607 RTW89_SET_FWCMD_RA_MASK_2(cmd, FIELD_GET(MASKBYTE2, ra->ra_mask)); in rtw89_fw_h2c_ra()
1608 RTW89_SET_FWCMD_RA_MASK_3(cmd, FIELD_GET(MASKBYTE3, ra->ra_mask)); in rtw89_fw_h2c_ra()
1609 RTW89_SET_FWCMD_RA_MASK_4(cmd, FIELD_GET(MASKBYTE4, ra->ra_mask)); in rtw89_fw_h2c_ra()
Dcore.h2079 u64 ra_mask; /* 63 bits ra_mask + 1 bit CSI ctrl */ member
2202 u64 ra_mask; member
/linux-6.1.9/drivers/staging/rtl8723bs/hal/
Dodm.c353 u32 ra_mask, in ODM_Get_Rate_Bitmap() argument
363 return ra_mask; in ODM_Get_Rate_Bitmap()
369 if (ra_mask & 0x0000000c) /* 11M or 5.5M enable */ in ODM_Get_Rate_Bitmap()
411 return ra_mask & rate_bitmap; in ODM_Get_Rate_Bitmap()
Dodm.h1133 u32 ra_mask,
Dhal_com.c572 psta->ra_mask = tx_ra_bitmap; in rtw_hal_update_sta_rate_mask()
Drtl8723b_hal_init.c1869 mask = psta->ra_mask; in UpdateHalRAMask8723B()
/linux-6.1.9/drivers/staging/r8188eu/hal/
Dodm.c717 u32 ODM_Get_Rate_Bitmap(struct odm_dm_struct *pDM_Odm, u32 macid, u32 ra_mask, u8 rssi_level) in ODM_Get_Rate_Bitmap() argument
725 return ra_mask; in ODM_Get_Rate_Bitmap()
731 if (ra_mask & 0x0000000c) /* 11M or 5.5M enable */ in ODM_Get_Rate_Bitmap()
Dusb_halinit.c995 psta->ra_mask = mask; in UpdateHalRAMask8188EUsb()
/linux-6.1.9/drivers/staging/r8188eu/include/
Dsta_info.h99 u32 ra_mask; member
Dodm.h413 u32 ra_mask, u8 rssi_level);
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Dsta_info.h109 u32 ra_mask; member
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c334 unsigned long ra_mask; in kvmppc_mmu_get_real_addr() local
336 ra_mask = kvmppc_actual_pgsz(v, r) - 1; in kvmppc_mmu_get_real_addr()
337 return (r & HPTE_R_RPN & ~ra_mask) | (ea & ra_mask); in kvmppc_mmu_get_real_addr()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.h561 u32 ra_mask; member
Dhalbtcoutsrc.c779 btcoexist->bt_info.ra_mask = *u32_tmp; in halbtc_set()
Dhalbtc8821a1ant.c2241 btcoexist->bt_info.ra_mask); in ex_btc8821a1ant_display_coex_info()
Dhalbtc8192e2ant.c2790 btcoexist->bt_info.ra_mask); in ex_btc8192e2ant_display_coex_info()
Dhalbtc8723b1ant.c2596 "Rate Mask", btcoexist->bt_info.ra_mask); in ex_btc8723b1ant_display_coex_info()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_ap.c339 tx_ra_bitmap = psta->ra_mask; in add_RATid()
418 tx_ra_bitmap = psta->ra_mask; in update_bmc_sta()