Lines Matching refs:prot
951 u32 prot[6]; in mt76x02_mac_set_tx_protection() local
956 for (i = 0; i < ARRAY_SIZE(prot); i++) { in mt76x02_mac_set_tx_protection()
957 prot[i] = mt76_rr(dev, MT_CCK_PROT_CFG + i * 4); in mt76x02_mac_set_tx_protection()
958 prot[i] &= ~MT_PROT_CFG_CTRL; in mt76x02_mac_set_tx_protection()
960 prot[i] &= ~MT_PROT_CFG_RATE; in mt76x02_mac_set_tx_protection()
971 prot[0] |= MT_PROT_CTRL_RTS_CTS; in mt76x02_mac_set_tx_protection()
974 prot[1] |= MT_PROT_CTRL_CTS2SELF; in mt76x02_mac_set_tx_protection()
976 prot[2] |= MT_PROT_RATE_CCK_11; in mt76x02_mac_set_tx_protection()
977 prot[3] |= MT_PROT_RATE_CCK_11; in mt76x02_mac_set_tx_protection()
978 prot[4] |= MT_PROT_RATE_CCK_11; in mt76x02_mac_set_tx_protection()
979 prot[5] |= MT_PROT_RATE_CCK_11; in mt76x02_mac_set_tx_protection()
986 prot[1] |= MT_PROT_CTRL_RTS_CTS; in mt76x02_mac_set_tx_protection()
988 prot[2] |= MT_PROT_RATE_OFDM_24; in mt76x02_mac_set_tx_protection()
989 prot[3] |= MT_PROT_RATE_DUP_OFDM_24; in mt76x02_mac_set_tx_protection()
990 prot[4] |= MT_PROT_RATE_OFDM_24; in mt76x02_mac_set_tx_protection()
991 prot[5] |= MT_PROT_RATE_DUP_OFDM_24; in mt76x02_mac_set_tx_protection()
1001 prot[2] |= MT_PROT_CTRL_RTS_CTS; in mt76x02_mac_set_tx_protection()
1002 prot[3] |= MT_PROT_CTRL_RTS_CTS; in mt76x02_mac_set_tx_protection()
1003 prot[4] |= MT_PROT_CTRL_RTS_CTS; in mt76x02_mac_set_tx_protection()
1004 prot[5] |= MT_PROT_CTRL_RTS_CTS; in mt76x02_mac_set_tx_protection()
1010 prot[3] |= MT_PROT_CTRL_RTS_CTS; in mt76x02_mac_set_tx_protection()
1011 prot[5] |= MT_PROT_CTRL_RTS_CTS; in mt76x02_mac_set_tx_protection()
1018 prot[4] |= MT_PROT_CTRL_RTS_CTS; in mt76x02_mac_set_tx_protection()
1019 prot[5] |= MT_PROT_CTRL_RTS_CTS; in mt76x02_mac_set_tx_protection()
1022 for (i = 0; i < ARRAY_SIZE(prot); i++) in mt76x02_mac_set_tx_protection()
1023 mt76_wr(dev, MT_CCK_PROT_CFG + i * 4, prot[i]); in mt76x02_mac_set_tx_protection()