Lines Matching refs:vht_prot
870 u32 vht_prot[3]; in mt76x02_mac_set_tx_protection() local
881 for (i = 0; i < ARRAY_SIZE(vht_prot); i++) { in mt76x02_mac_set_tx_protection()
882 vht_prot[i] = mt76_rr(dev, MT_TX_PROT_CFG6 + i * 4); in mt76x02_mac_set_tx_protection()
883 vht_prot[i] &= ~(MT_PROT_CFG_CTRL | MT_PROT_CFG_RATE); in mt76x02_mac_set_tx_protection()
899 vht_prot[0] |= MT_PROT_RATE_CCK_11; in mt76x02_mac_set_tx_protection()
900 vht_prot[1] |= MT_PROT_RATE_CCK_11; in mt76x02_mac_set_tx_protection()
901 vht_prot[2] |= MT_PROT_RATE_CCK_11; in mt76x02_mac_set_tx_protection()
911 vht_prot[0] |= MT_PROT_RATE_OFDM_24; in mt76x02_mac_set_tx_protection()
912 vht_prot[1] |= MT_PROT_RATE_DUP_OFDM_24; in mt76x02_mac_set_tx_protection()
913 vht_prot[2] |= MT_PROT_RATE_SGI_OFDM_24; in mt76x02_mac_set_tx_protection()
923 vht_prot[0] |= MT_PROT_CTRL_RTS_CTS; in mt76x02_mac_set_tx_protection()
924 vht_prot[1] |= MT_PROT_CTRL_RTS_CTS; in mt76x02_mac_set_tx_protection()
925 vht_prot[2] |= MT_PROT_CTRL_RTS_CTS; in mt76x02_mac_set_tx_protection()
930 vht_prot[1] |= MT_PROT_CTRL_RTS_CTS; in mt76x02_mac_set_tx_protection()
931 vht_prot[2] |= MT_PROT_CTRL_RTS_CTS; in mt76x02_mac_set_tx_protection()
943 for (i = 0; i < ARRAY_SIZE(vht_prot); i++) in mt76x02_mac_set_tx_protection()
944 mt76_wr(dev, MT_TX_PROT_CFG6 + i * 4, vht_prot[i]); in mt76x02_mac_set_tx_protection()